Stream Recording not working

RapidID

New Member
We are having issues using the stream recording feature of Flashphoner Webcall Server 5.1. When attempting to initiate a recording from the HTTPS Manager we get this error in flashphoner_manager.log except when checking the websocket ports nothing is bound to them:

04:59:37,765 INFO EchoApp - http-nio-9091-exec-10 handleRequest method: connect params:{nodeId=fLeSeUYtlaOf7ognTj2Lkl5a2sxDOsGd@172.31.17.112, appKey=defaultApp, sessionId=/103.252.58.6:53562/172.31.29.179:8443, useWsTunnel=false, useWsTunnelPacketization2=false, useBase64BinaryEncoding=false, mediaProviders=[WebRTC, MSE, WSPlayer], clientVersion=0.5.28, clientOSVersion=5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36, clientBrowserVersion=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36, keepAlive=false, origin=https://13.54.252.164:8888}
04:59:37,796 INFO EchoApp - http-nio-9091-exec-2 handleRequest method: ConnectionStatusEvent params:{nodeId=fLeSeUYtlaOf7ognTj2Lkl5a2sxDOsGd@172.31.17.112, appKey=defaultApp, sessionId=/103.252.58.6:53562/172.31.29.179:8443, useWsTunnel=false, useWsTunnelPacketization2=false, useBase64BinaryEncoding=false, mediaProviders=[WebRTC, MSE, WSPlayer], authToken=/103.252.58.6:53562/172.31.29.179:8443, status=ESTABLISHED, clientVersion=0.5.28, clientOSVersion=5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36, clientBrowserVersion=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36, keepAlive=false, origin=https://13.54.252.164:8888}
04:59:40,188 INFO EchoApp - http-nio-9091-exec-8 handleRequest method: publishStream params:{nodeId=fLeSeUYtlaOf7ognTj2Lkl5a2sxDOsGd@172.31.17.112, appKey=defaultApp, sessionId=/103.252.58.6:53562/172.31.29.179:8443, mediaSessionId=d9cfbe00-9ac7-11e8-8ab1-41faaf66b9c0, name=14c8ca3d, published=true, hasVideo=true, hasAudio=true, status=PENDING, record=true, width=0, height=0, bitrate=0, minBitrate=0, maxBitrate=0, quality=0, timeShift=-1, mediaProvider=WebRTC, history=false, origin=https://13.54.252.164:8888}
04:59:40,226 INFO EchoApp - http-nio-9091-exec-7 handleRequest method: StreamStatusEvent params:{nodeId=fLeSeUYtlaOf7ognTj2Lkl5a2sxDOsGd@172.31.17.112, appKey=defaultApp, sessionId=/103.252.58.6:53562/172.31.29.179:8443, mediaSessionId=d9cfbe00-9ac7-11e8-8ab1-41faaf66b9c0, name=14c8ca3d, published=true, hasVideo=true, hasAudio=true, status=FAILED, info=No free ports available, record=true, width=0, height=0, bitrate=0, minBitrate=0, maxBitrate=0, quality=0, timeShift=-1, mediaProvider=WebRTC, history=false, origin=https://13.54.252.164:8888}
 

Max

Administrator
Staff member
Hello.
To diagnose your case, please provide us the following information:
1. What WebCallServer version exactly you use?
2. Have you tried to publish stream with Two Way Streaming example? Is it works? Seems like the stream was not published because TCP ports exhausted.
3. Have you tried to restart the server and then reproduce the issue?
 

Max

Administrator
Staff member
Please share your

Code:
$ifconfig
WCS_HOME/conf/flashphoner.properties
WCS_HOME/logs/server_logs/flashphoner.log
It looks like server can't bind some ports or IP address.
That's why you have error "No free ports available" in logs.
 

RapidID

New Member
Hi Max,

We are using Flashphoner version 5.1.3417.
Two Way Streaming does not work.
We have tried restarting the same issue occurs.
Ifconfig result:
eth0 Link encap:Ethernet HWaddr 0a:64:b1:52:ac:e8
inet addr:172.31.29.179 Bcast:172.31.31.255 Mask:255.255.240.0
inet6 addr: fe80::864:b1ff:fe52:ace8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:364368 errors:0 dropped:0 overruns:0 frame:0
TX packets:329522 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:254396021 (254.3 MB) TX bytes:155295574 (155.2 MB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1662584 errors:0 dropped:0 overruns:0 frame:0
TX packets:1662584 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:362618832 (362.6 MB) TX bytes:362618832 (362.6 MB)
 

Attachments

Max

Administrator
Staff member
Your flashphoner.properties file looks incorrect.
Try to set:
Code:
ip_local=172.31.29.179
according your ifconfig
 
Top