Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add protection against calling invalid session in DelegatingHttpSession #17

Open
pzoio opened this issue Aug 19, 2020 · 0 comments
Open

Comments

@pzoio
Copy link

pzoio commented Aug 19, 2020

Have seen cases of the below:

Caused by: java.lang.IllegalStateException: Invalid for read: id=node01987v04vzgtt31dnkyxtt1gefp1 created=1596809111265 accessed=1596810649655 lastaccessed=1596810647928 maxInactiveMs=1800000 expiry=1596812449655
    at org.eclipse.jetty.server.session.Session.checkValidForRead(Session.java:692)
    at org.eclipse.jetty.server.session.Session.getAttribute(Session.java:715)
    at org.impalaframework.web.servlet.wrapper.session.DelegatingHttpSession.getAttribute(DelegatingHttpSession.java:41)
    at org.impalaframework.web.servlet.wrapper.session.PartitionedHttpSession.getAttribute(PartitionedHttpSession.java:61)
    at org.impalaframework.web.servlet.wrapper.session.StateProtectingHttpSession.getAttribute(StateProtectingHttpSession.java:74)

Not sure what the root cause is, but this adds some protection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant