Running uvicorn through terminal gives keepalive ping timeout error #1660
Replies: 1 comment 6 replies
-
long time I havn't touched websockets and not sure what your clients expects, but if you disable ping pong on the server I guess that's expected to receive those logs, the 2nd programmatic use where you receive nothing worries me more, not sure passing None is valid, would have to check |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to run my program through this command. I have tried using 0.0 and also 0 in my ping interval and timeout. Still, I get this error.
Command Used
uvicorn app:central_system --host "0.0.0.0" --port 9000 --header "Sec-WebSocket-Protocol":"ocpp1.6" --workers 1 --timeout-keep-alive 30 --log-level "debug" --ws-ping-interval 0.0 --ws-ping-timeout 0.0
Error Received
Also, when I do it through my Python IDE (Python3.10). It works properly
Beta Was this translation helpful? Give feedback.
All reactions