Sometimes my VPN disconnects, and I need to manually restart it. The connection might only be down for a minute, but when I get it to come back up, my project is invalidated, and then have to close the designer.
This gets really old when I have multiple designers open or if I’m trying to work on the script console for something.
Is there a setting somewhere that might adjust the tolerance so I don’t have to close my designer if its only disconnected for a minute? It’s really a hassle.
This is basically a bug (I’ve added this thread to our internal tracker).
As a bandaid, apparently setting sessiontimeout.designer to something higher than the default 60 (via ignition.conf parameter in the wrapper.java.additional area) might help.
This also happens when a Mac goes to sleep, super annoying when I walk away for a few moments, come back and have to restart the designer. Looking forward to that getting fixed!
Is there a way to also set one of these ignition.conf parameters to increase the delay before perspective clients become invalidated? We have spotty connections in the field, if the guys lose connection for a few moments their session becomes invalidated, and they are forced to re-login. We have the inactivity time set to 2000 seconds, so I am wondering if there is another parameter we can set for Perspective Clients in ignition.conf
Increasing the ‘Session Timeout’ settings in Perspective → General should help with that, although “a few seconds” doesn’t sound anything like the default 10 minutes. You should probably get in contact with support. Also, if you’re using the mobile apps there’s another layer on top of this.
It looks like this did not increase the timeout delay, it actually made it worse and my designer will prompt for an export even if is only a second or two that the designer loses connection with the gateway.
Hmm, it’s definitely intended to be set in seconds throughout the code, but it’s possible there’s an issue somewhere. I think that ultimately this is just going to have to wait for improvements on our end.
I can’t recall this happening despite developing on Ignition servers via VPN over satellite with routine VPN connection losses–some definitely longer than a minute or two. I’ve also disconnected VPN for hours, reconnected on return to work, and the Designer consistently reconnects on VPN reconnection. Sorry this doesn’t tell you how to make it work this way for you, but I figured it might be helpful to know there’s some scenario in which VPN connection losses don’t seem to be a problem.
Tomorrow's (11-29-2022) early access build of 8.1.24-SNAPSHOT contains changes to the product which is the first step to reducing the pain point described in this thread. Look out for tomorrow's release notes for more details.