You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most cases, a server closes a websocket connection for it regards it as a security threat. For example, --ws-max-size 1048576 would trigger a shutdown of the connection if one frame the client sends exceeds 1MB. The customized code may close a connection because it does not send anything at all or sent wrong login information.
I noticed uvicorn logging only records client's ip after connection, but not after disconnection. Could you just add recording of client's ip after the disconnection? I need to identify malicious users and ban their ip's.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In most cases, a server closes a websocket connection for it regards it as a security threat. For example,
--ws-max-size 1048576
would trigger a shutdown of the connection if one frame the client sends exceeds 1MB. The customized code may close a connection because it does not send anything at all or sent wrong login information.I noticed uvicorn logging only records client's ip after connection, but not after disconnection. Could you just add recording of client's ip after the disconnection? I need to identify malicious users and ban their ip's.
Beta Was this translation helpful? Give feedback.
All reactions