Open manikantabhagavatula opened 10 months ago
I'm running into the same issue with gdbgui 0.15.2 on Ubuntu.
It seems like newer versions of eventlet.wsgi.server (used in the flask_socketio package) don't want an ssl_context as a kwarg, and instead want you to pass in certfile and keyfile as kwargs to set up an SSL connection.
Describe the bug TypeError: server() got an unexpected keyword argument 'ssl_context'
To Reproduce Steps to reproduce the behavior:
Expected behavior Open gdbgui in a browser window with https in the url.
Opening gdbgui with default browser at https://127.0.0.1:5000 View gdbgui dashboard at https://127.0.0.1:5000/dashboard
Python Traceback Traceback (most recent call last): File "../myvenv/bin/gdbgui", line 8, in
sys.exit(main())
File "../myvenv/lib/python3.6/site-packages/gdbgui/cli.py", line 258, in main
certificate=args.cert,
File "../myvenv/lib/python3.6/site-packages/gdbgui/server/server.py", line 100, in run_server
kwargs,
File "../myvenv/lib/python3.6/site-packages/flask_socketio/init.py", line 630, in run
run_server()
File "../myvenv/lib/python3.6/site-packages/flask_socketio/init.py", line 625, in run_server
log_output=log_output, kwargs)
TypeError: server() got an unexpected keyword argument 'ssl_context'
Please complete the following information:
gdbgui -v
): 0.15.1.0gdb -v
): 13.1.0pip freeze
): Long list. Can post if needed