You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we extend session on every keyword type in terminal by adding AuthUtil.setTimeout(httpSession) in SecureShellWS/onMessage.
But if we type commands like 'top' session will not update. So i have added AuthUtil.setTimeout(httpSession) in SentOutputTask on every response from server. It will work fine some time. but after it throws bellow error.
java.lang.IllegalStateException
at org.eclipse.jetty.server.session.AbstractSession.checkValid(AbstractSession.java:106)
at org.eclipse.jetty.server.session.HashedSession.checkValid(HashedSession.java:79)
at org.eclipse.jetty.server.session.AbstractSession.changeAttribute(AbstractSession.java:518)
at org.eclipse.jetty.server.session.AbstractSession.setAttribute(AbstractSession.java:469)
at com.ec2box.common.util.AuthUtil.setTimeout(AuthUtil.java:186)
at com.ec2box.manage.task.SentOutputTask.run(SentOutputTask.java:67)
at java.lang.Thread.run(Unknown Source)
Can you please suggest me any alternate way to extend session for above scenario or way to solve above issue.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
preetampatil3d
changed the title
Update session timeout for commands like 'top'
Update/Extend session timeout for commands like 'top'
Jan 10, 2018
Hello,
Currently we extend session on every keyword type in terminal by adding AuthUtil.setTimeout(httpSession) in SecureShellWS/onMessage.
But if we type commands like 'top' session will not update. So i have added AuthUtil.setTimeout(httpSession) in SentOutputTask on every response from server. It will work fine some time. but after it throws bellow error.
Can you please suggest me any alternate way to extend session for above scenario or way to solve above issue.
Thanks in advance.
The text was updated successfully, but these errors were encountered: