Hi CNX,
I'm having trouble trying to run the valence-connect demo as outlined in the excellent video that Johnny put together.
After setting up the demo app in the Valence Portal - I click on the application's icon. The screen displays the grid heading of "Customer #, Name, City, State" as well as the paging controls but then I get an Invalid Session message box which states:
Your Valence session is no longer active. This may be due to inactivity timeout or termination by an administrator. See error log for further details.
(see attached "Invalid Session Msg" screen shot )
I looked in the Valence Error log but no errors are listed.
I followed Johnny's example as close as I could. I had to run the "npm install valence-connect --save" on my Windows 10 desktop because our IBM i is behind a very strict firewall. But I copied the resulting folder's to our IBMi and successfully started the node app.
When I run the app from the Valence portal I can see the logged statements in my PASE console, so I know it is running.
(see attached "PASE console" screen shot)
And I can run other Valence apps from that same portal session with no problem.
My Valence 5.2 version is 5.2.20180817.1 - which several versions behind your current version, but I looked at your release notes and didn’t see anything that specifically pertained to Valence-Connect issues in the newer versions.
I can certainly have our sys admin update the version to see if I get different results, since I am trying this on our QA (non-production) LPAR. Let me know if that is worth a try or if you think there might be something else wrong.
I'm new to Node.js and have a proof-of-concept that I'd like to try but need to make sure your sample is running before I go down that road.
Thanks for any help….
Tim Green
Colorado PERA
I'm having trouble trying to run the valence-connect demo as outlined in the excellent video that Johnny put together.
After setting up the demo app in the Valence Portal - I click on the application's icon. The screen displays the grid heading of "Customer #, Name, City, State" as well as the paging controls but then I get an Invalid Session message box which states:
Your Valence session is no longer active. This may be due to inactivity timeout or termination by an administrator. See error log for further details.
(see attached "Invalid Session Msg" screen shot )
I looked in the Valence Error log but no errors are listed.
I followed Johnny's example as close as I could. I had to run the "npm install valence-connect --save" on my Windows 10 desktop because our IBM i is behind a very strict firewall. But I copied the resulting folder's to our IBMi and successfully started the node app.
When I run the app from the Valence portal I can see the logged statements in my PASE console, so I know it is running.
(see attached "PASE console" screen shot)
And I can run other Valence apps from that same portal session with no problem.
My Valence 5.2 version is 5.2.20180817.1 - which several versions behind your current version, but I looked at your release notes and didn’t see anything that specifically pertained to Valence-Connect issues in the newer versions.
I can certainly have our sys admin update the version to see if I get different results, since I am trying this on our QA (non-production) LPAR. Let me know if that is worth a try or if you think there might be something else wrong.
I'm new to Node.js and have a proof-of-concept that I'd like to try but need to make sure your sample is running before I go down that road.
Thanks for any help….
Tim Green
Colorado PERA

Comment