-
Notifications
You must be signed in to change notification settings - Fork 509
Server message: Session expired. Please refresh this webpage. #190
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
Comments
Thanks for reporting. I was able to reproduce and I believe I have this fixed in gdbgui version 0.11.3.1. Try running
and let me know if it works (or just close this issue). What happened was Flask, a dependency of gdbgui, was upgraded with breaking changes. |
I think this actually is caused by SocketIO. It added the ability to manage its own session by making a copy of the one managed by Flask. The copy didn't inherit from dict properly and caused Installing the latest version of flask_socketio and flask seem work. However, it doesn't look like you modify the session within the SocketIO context, so you may want to disable SocketIO managed sessions all together by adding |
I also was experiencing this issue with Python 3. I had these Flask versions installed:
I upgraded Flask-SocketIO via pip3 to the latest, v4.3.0. gdbgui worked after that. |
Describe the issue
Once upgrade to 0.11.3.0, gdbgui always says "Server message: Session expired. Please refresh this webpage.". even if refresh browser, it repeated again and gdbgui does not accept any commands. I tried to recreate the virtual environment and install gdbgui again, but the issue has still happened.
Steps to replicate
gdbgui --debug
Server message: Session expired. Please refresh this webpage.
is printed onconsole_container
.Describe your environment
gdbgui -v
): 0.11.3.0gdb -v
): 8.0.1-36.fc27pip freeze
):The text was updated successfully, but these errors were encountered: