Hi all,
We're running py4web with Rocket3 behind nginx on Ubuntu. After systemctl restart py4web.service, Rocket3 sometimes enters a state where it binds to port 8000 (systemd reports "active/running", logs show "Listening on sockets: 127.0.0.1:8000") but does not process any HTTP requests. Curl to 127.0.0.1:8000 times out — confirmed it's not nginx or any upstream proxy.
A second restart via systemd always fixes it.
py4web version: 1.20250922.1
Rocket3 version: 20241225.1
Python 3.12
Ubuntu, systemd-managed service
reloader=False
Feels like a thread deadlock during startup.
Happy to provide logs or test a patch. By the way, I'm using Claude Code and the above it its diagnosis of a problem I've had for months. 2 Restarts always seems to work - I kind of took it for granted, but asked Claude to diagnose the problem. Is this a known Rocket 3 problem? Would a Rocket upgrade or config help? Best regards,
Paul.
--
You received this message because you are subscribed to the Google Groups "py4web" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4web+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/f4e4e5d3-c6a7-4c35-a4e2-858b5f822c70n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/282927eb-bfea-4482-ba0b-d1eeeb2afca8n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/py4web/4655c7a7-59eb-4a67-a583-47d23ec632d3n%40googlegroups.com.