[OpenSIPS-Users] Should opensips support pong on websocket?
Răzvan Crainea
razvan at opensips.org
Sun Sep 6 06:26:19 EST 2020
Hi, Robert!
Websocket has itself support for ping/pong messages, therefore there's
no point supporting them at the "application" level. So the answer is
no, opensips does not support CRLF ping-pong messages for websocket
connections.
Best regards,
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
On 9/4/20 9:38 PM, Robert Dyck wrote:
> Context opensips-3.0.2
>
> The TCP protocol enables support for ping/pong by default. It is the
> underlying protocol for websocket. I am seeing short messages from
> webrtc UAs at 10 second intervals. Opensips is rejecting the messages.
>
> Sep 4 11:15:30 [3091728] DBG:proto_wss:ws_process: Using the global (
> per process ) buff
> Sep 4 11:15:30 [3091728] DBG:proto_wss:tls_update_fd: New fd is 4
> Sep 4 11:15:30 [3091728] DBG:proto_wss:_tls_read: 10 bytes read
> Sep 4 11:15:30 [3091728] DBG:proto_wss:ws_process: We're releasing the
> connection in state 0
> Sep 4 11:15:30 [3091728] INFO:core:parse_first_line: message too short: 0
> Sep 4 11:15:30 [3091728] INFO:core:parse_first_line: bad message
> Sep 4 11:15:30 [3091728] DBG:core:parse_msg: invalid message
> Sep 4 11:15:30 [3091728] ERROR:core:parse_msg: message=<
>
>>
> Sep 4 11:15:30 [3091728] ERROR:core:receive_msg: Unable to parse msg
> received from [2001::380C:39874]
> Sep 4 11:15:30 [3091728] ERROR:proto_wss:ws_process: receive_msg failed
> Sep 4 11:15:30 [3091728] DBG:proto_wss:ws_process: ws_read end
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list