webrtmp icon indicating copy to clipboard operation
webrtmp copied to clipboard

Error connect

Open centratelemedia opened this issue 1 year ago • 3 comments

what the problem going on, is this client side or rtmp server?

WebSocket server settings:
  - Listen on :9107
  - Flash security policy server
  - SSL/TLS support
  - Deny non-SSL/TLS connections
  - proxying from :9107 to 127.0.0.1:1935
36.68.223.195 - - [24/Feb/2024 14:56:45] code 400, message Client must support 'binary' or 'base64' protocol
36.68.223.195 - - [24/Feb/2024 14:56:45] code 405, message Method Not Allowed

Another error

36.68.223.195 - - [24/Feb/2024 15:07:48] code 400, message Bad request syntax ('\x88\x8f\x89*\xe6L\x8a\xc2\xb2-\xfbM\x838\xa9I\x8a#\xfaO\x82')
36.68.223.195 - - [24/Feb/2024 15:07:58] 36.68.223.195: SSL/TLS (wss://) WebSocket connection
36.68.223.195 - - [24/Feb/2024 15:07:58] 36.68.223.195: Version hybi-13, base64: 'False'
36.68.223.195 - - [24/Feb/2024 15:07:58] connecting to: 127.0.0.1:1935
36.68.223.195 - - [24/Feb/2024 15:08:10] code 400, message Bad HTTP/0.9 request type ('\x88\x8f\x0e\xf6\xdf\x01')

centratelemedia avatar Feb 24 '24 07:02 centratelemedia

What Websocket Proxy do you use and what rtmp Server ?

aeinstein avatar Feb 27 '24 05:02 aeinstein

i create proxy using golang and echo, rtmp server using mediamtx

On Tue, 27 Feb 2024, 12:00 Michael Balen, @.***> wrote:

What Websocket Proxy do you use and what rtmp Server ?

— Reply to this email directly, view it on GitHub https://github.com/aeinstein/webrtmp/issues/2#issuecomment-1965789792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXW7N5MCA453ZYDXIUADSXLYVVR6HAVCNFSM6AAAAABDX2EZB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVG44DSNZZGI . You are receiving this because you authored the thread.Message ID: @.***>

centratelemedia avatar Feb 28 '24 06:02 centratelemedia

I guess, the log is from this proxy ? its look like that is it cant handle the websockets connections. BTW I have only used Chrome, Safari, Edge, Firefox to test. pls try websockify, I have tested it with hundreds of connections for more than a week without any problems. I will help to localise the prob.

aeinstein avatar Mar 15 '24 14:03 aeinstein