websocket not connected

jamesChoi

New Member
I have put the server under the proxy.

Everything is blocked in the firewall.

To use flashphoner webrtc, which ports should be opened?

Currently, 8888,8080,9091,1098,1099,843, UDP 30000: 32000 are in the open state.

Web socket does not connect
 

jamesChoi

New Member
proxy -> web call server

proxy firewall open
8080
9091
1098
1099
udp, tcp 30000-33000
2000
843
tcp, udp all drop

Web socket connections are made.

However, the rtsp protocol test fails.
Any other additions?
 

Max

Administrator
Staff member

Max

Administrator
Staff member
Could you provide a screenshot from Chrome browser and Developer tools Console?

upload_2018-7-11_14-42-8.png
 

jamesChoi

New Member
Yes I have attached a picture here.
Below is a log.


"sessionId" : "/192.168.76.161:64606/192.168.76.166:2050",
"mediaSessionId" : "4e090eb0-84df-11e8-8219-a3aa4638091c",
"name" : "rtsp://vnc1. :1935/vod/sample.mp4",
"published" : false,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "opus",
"info" : "Failed by DTLS error",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"createDate" : 1531295527320,
"mediaProvider" : "WebRTC",
"history" : false,
"origin" : "http://58. :9091"
}
16:54:08,673 INFO agerRemoteRmiService - RMI TCP Connection(24)-127.0.0.1 SEND REST OBJECT ==>
URL:http://localhost:9091/EchoApp/StreamStatusEvent
OBJECT:
{
"nodeId" : "TVSnVxhIeH2BYWiliREWuvFmUPUSNWBE@58. ",
"appKey" : "defaultApp",
"sessionId" : "/192.168.76.161:64606/192.168.76.166:2050",
"mediaSessionId" : "4e090eb0-84df-11e8-8219-a3aa4638091c",
"name" : "rtsp://vnc1. :1935/vod/sample.mp4",
"published" : false,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "opus",
"info" : "Failed by DTLS error",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"createDate" : 1531295527320,
"mediaProvider" : "WebRTC",
"history" : false,
"origin" : "http://58. :9091"
}
16:54:08,675 INFO agerRemoteRmiService - RMI TCP Connection(23)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/StreamStatusEvent
OBJECT:
{
"nodeId" : "TVSnVxhIeH2BYWiliREWuvFmUPUSNWBE@58. ",
"appKey" : "defaultApp",
"sessionId" : "/192.168.76.161:64606/192.168.76.166:2050",
"mediaSessionId" : "4e090eb0-84df-11e8-8219-a3aa4638091c",
"name" : "rtsp://vnc1. :1935/vod/sample.mp4",
"published" : false,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "opus",
"info" : "Failed by DTLS error",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"createDate" : 1531295527320,
"mediaProvider" : "WebRTC",
"history" : false
}
16:54:08,684 INFO agerRemoteRmiService - RMI TCP Connection(24)-127.0.0.1 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/StreamStatusEvent
OBJECT:
{
"nodeId" : "TVSnVxhIeH2BYWiliREWuvFmUPUSNWBE@58. ",
"appKey" : "defaultApp",
"sessionId" : "/192.168.76.161:64606/192.168.76.166:2050",
"mediaSessionId" : "4e090eb0-84df-11e8-8219-a3aa4638091c",
"name" : "rtsp://vnc1. :1935/vod/sample.mp4",
"published" : false,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "opus",
"info" : "Failed by DTLS error",
"record" : false,
"width" : 0,
"height" : 0,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"createDate" : 1531295527320,
"mediaProvider" : "WebRTC",
"history" : false
}
 

Attachments

Max

Administrator
Staff member
It is a server-side DTLS error.
Please gather latest logs and conf
Code:
WCS_HOME/conf
WCS_HOME/logs/server_logs
WCS_HOME/logs/flashphoner_manager.log
You can send this to support@flashphoner.com
 
Top