CTFd crashing on startup due to Redis
See original GitHub issueEnvironment:
- CTFd Version/Commit: bf799fb22040a32bd2c8dcebecb010042782bc83
- Operating System: Ubuntu 16.04.6
- Web Browser and Version: Any
What happened?
We have upgraded our CTFd panels to the latest version, and they start throwing errors complaining about the lack of ‘monkey patched socket library’ when connecting to Redis.
What did you expect to happen?
CTFd start normally
How to reproduce your issue
Enable Redis caching and start CTFd
Any associated stack traces or error logs
* Loaded module, <module 'CTFd.plugins.dynamic_challenges' from '/home/ctfsyd/CTFd/CTFd/plugins/dynamic_challenges/__init__.pyc'>
* Loaded module, <module 'CTFd.plugins.flags' from '/home/ctfsyd/CTFd/CTFd/plugins/flags/__init__.pyc'>
* Loaded module, <module 'CTFd.plugins.challenges' from '/home/ctfsyd/CTFd/CTFd/plugins/challenges/__init__.pyc'>
* Loaded module, <module 'CTFd.plugins.dynamic_challenges' from '/home/ctfsyd/CTFd/CTFd/plugins/dynamic_challenges/__init__.pyc'>
* Loaded module, <module 'CTFd.plugins.flags' from '/home/ctfsyd/CTFd/CTFd/plugins/flags/__init__.pyc'>
* Loaded module, <module 'CTFd.plugins.challenges' from '/home/ctfsyd/CTFd/CTFd/plugins/challenges/__init__.pyc'>
connect handler error
Traceback (most recent call last):
File "/home/ctfsyd/.virtualenvs/ctfd/local/lib/python2.7/site-packages/engineio/server.py", line 505, in _trigger_event
return self.handlers[event](*args)
File "/home/ctfsyd/.virtualenvs/ctfd/local/lib/python2.7/site-packages/socketio/server.py", line 641, in _handle_eio_connect
self.manager.initialize()
File "/home/ctfsyd/.virtualenvs/ctfd/local/lib/python2.7/site-packages/socketio/redis_manager.py", line 64, in initialize
'with ' + self.server.async_mode)
RuntimeError: Redis requires a monkey patched socket library to work with gevent
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
[FO4] Crashing at Startup : r/FalloutMods - Reddit
I have disabled all mods. When I start F4SE, I get a black screen, ReShade loaded, and the Fallout 4 loading icon but...
Read more >redis crashing intermittently - Google Groups
It crashes without any reasons and when i try to do a "DEBUG SEGFAULT" it crashes too. but give me the output: https://gist.github.com/guilherme/ ......
Read more >Game crashes on startup as of today :: Kingdoms of Amalur ...
The game was fine for about a week but I just tried to start it and it crashes on the splash screen before...
Read more >How To Install Buffout 4 And Resolve Most Common Crashes
- Scrap Everything | Weird crashes and issues due to multiple unknown problems. This mod must be always last in your load order....
Read more >CVE - Search Results - MITRE
After initiating a password reset for the new account, CTFd will reset the victim's account password due to the username collision.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you updated gevent? Are you using Python 3?
I will give it a shot, thank you for the help