相关文章推荐
有胆有识的泡面  ·  go ...·  1 月前    · 
寂寞的警车  ·  except ...·  6 月前    · 
斯文的香烟  ·  Compiler Warning ...·  1 年前    · 
喝醉的瀑布  ·  AudioUnit中ExtAudioFile ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Running JSF 2.0 on Wildfly 10.1.0 in Docker. Am sometimes seeing 504 Gateway Timeout even though session timeout is 30 minutes by default and session has not yet been 30 minutes?. I am seeing sometimes a specific session is being timed out early(17 minutes instead of 30 for instance) but for all other sessions, they time out automatically after 30 min of inactivity.

Am puzzled on how sessions are being ended prematurely? It is extremely hard to debug as this issue is intermittent and sporadic. Is this a Wildfly bug or internal application code issue? We are calling session.invalidate() for the HTTPServlet API when a user clicks the logout button. Would appreciate any input from JSF/Wildfly gurus!

504 gateway timeout sounds like you try to request sm,ething on a remote server from yours. Security/authentication related? Kukeltje Aug 6, 2018 at 21:08 Yes session is destroyed. I have a HTTPSessionListenerImpl which logs a message when the session is destroyed. I am puzzled why that session is ending before 30 min? Kevin Cheng Aug 6, 2018 at 21:27 This is a 504 error for a web app deployed on AWS. I am unable to reproduce the error locally. We have seen 504 happen occasionally. Kevin Cheng Aug 6, 2018 at 22:34

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .