-
-
Notifications
You must be signed in to change notification settings - Fork 572
Description
Hi there,
I am writing to report a problem I encountered while using your websockets library.
I am sending messages to a client using the library and the code appears to be sending them successfully (no exceptions are thrown). But in practice the client is not receiving any WebSocket messages and Wireshark is not capturing any sent WebSocket messages. Moreover, the WebSocketServerProtocol object's state remains at 1 regardless of whether the client receives the WebSocket message or not.
I have included some debugging information below.
I added logging when sending messages to the client on the server side:
{Image 1}
When sending succeeds, the connection state is 1:
{Image 2}
When sending fails, the connection state remains at 1:
{Image 3}
At this point, the settings for my server were as follows:
{Image 4}
I removed the "ping_interval=None" setting as shown in Image 5.
{Image 5}
After removing the ping_interval configuration, the actual sending failure problem no longer occurs.
I would really appreciate it if you could fix this issue as soon as possible




