Sometimes Webcall Server 5 not working

Hello @Max
We are using your official license of Webcall Server 5 for our site staging.livepigeonapp.com
We are using this server to go live on Facebook using webrtc as RTMP.
The issue is that sometimes it worked ok but mostly it doesn't push stream to Facebook streaming url.
I am pasting logs of server in case when it not worked.
When starts
Code:
[root@ip-172-31-29-119 ~]# tail -f /usr/local/FlashphonerWebCallServer/logs/flashphoner_manager.log
  "audioCodec" : "opus",
  "videoCodec" : "H264",
  "record" : false,
  "width" : 0,
  "height" : 0,
  "bitrate" : 29360128,
  "quality" : 0,
  "rtmpUrl" : "rtmp://live-api-a.facebook.com:80/rtmp/",
  "mediaProvider" : "WebRTC"
}
^C
[root@ip-172-31-29-119 ~]# tail -f /usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
12:57:51,068 INFO       AudioSdpFactory - Stun4J Message Processor proxySession: null
12:57:51,078 INFO        RtpVideoConfig - Stun4J Message Processor PlayerVideoResolution C 0x0, StreamerVideoResolution C 0x0
12:57:51,180 INFO  nectivityCheckServer - Stun4J Message Processor Start ICE keepalive thread fa1dea20-1c86-11e8-9dc8-6714c67d1f72fgdp51c7e7r12c
12:57:51,180 INFO                 Agent - Stun4J Message Processor Harvester used for selected pair for audio.RTP (local ufrag fa1dea20-1c86-11e8-9dc8-6714c67d1f72fgdp51c7e7r12c): host
12:57:51,180 INFO                 Agent - Stun4J Message Processor Harvester used for selected pair for video.RTP (local ufrag fa1dea20-1c86-11e8-9dc8-6714c67d1f72fgdp51c7e7r12c): host
12:57:51,187 INFO                     B - Thread-1362 Rtmp client connected to live-api-a.facebook.com/31.13.76.111:80
12:57:51,187 INFO                     J - pool-235-thread-2 using client version 4CDBBD00
12:57:51,209 WARN                     A - pool-235-thread-2 un-handled server result for: releaseStream
12:57:51,209 WARN                     A - pool-235-thread-2 un-handled server result for: FCPublish
12:57:54,181 INFO                 Agent - TerminationThread ICE state changed from Completed to Terminated. Local ufrag fa1dea20-1c86-11e8-9dc8-6714c67d1f72fgdp51c7e7r12c
^C
[root@ip-172-31-29-119 ~]#
when stopped
Code:
[root@ip-172-31-29-119 ~]# tail -f /usr/local/FlashphonerWebCallServer/logs/flashphoner_manager.log
}
13:01:15,036 INFO  agerRemoteRmiService - RMI TCP Connection(53108)-172.31.29.119 RECEIVED REST OBJECT <==
URL:http://localhost:9091/EchoApp/ConnectionStatusEvent
OBJECT:
{
  "nodeId" : "DbnxXbU4HjGDDasKOHLUpHEaG895Za1A@127.0.0.1",
  "appKey" : "defaultApp",
  "sessionId" : "/27.255.28.51:15177/172.31.29.119:8443",
  "status" : "DISCONNECTED"
}
^C
[root@ip-172-31-29-119 ~]# tail -f /usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
13:01:15,023 INFO           WCS4Handler - WSS-pool-9-thread-3
[-- BEGIN CLIENT LOG --]
CONF: ClientConfig{rtspMedia=false, wsTunnel=false, login='q8dktooc2q5rmo7cigvite9odi', authenticationName='null', password='null', domain='null', outboundProxy='null', localPort=-1, port=0, visibleName='null', regRequired=false, applicationName='null', swfUrl='null', useProxy=true, qValue='null', pAssociatedUri='null', contactParams='null', authDate=Wed Feb 28 12:57:47 UTC 2018, authToken='/27.255.28.51:15177/172.31.29.119:8443', logsFolderName='null', clientVersion='0.5.18', clientOSVersion='5.0 (Windows)', clientBrowserVersion='Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0', wsTunnelPacketization2='false', custom='{}'}
IMPL: WSClient{channel=[id: 0x2edaa8c6, /27.255.28.51:15177 => /172.31.29.119:8443], handler=com.flashphoner.server.client.handler.DelegateHandler@7d8c6932, closed=false, pageUrl='null', countUnansweredPing=0}
LOGS:
Client didn't pushed logs to server, try to enable push_log at client side.
[-- END CLIENT LOG ----]
13:01:15,023 INFO           WCS4Handler - WSS-pool-9-thread-3 Report client-q8dktooc2q5rmo7cigvite9odi-2018.02.28.13.01.15-1519822875023.report is submitted
13:01:19,323 INFO              WSClient - WSClientsKeepaliveThread-78 Close connection for channel [id: 0x2edaa8c6, /27.255.28.51:15177 :> /172.31.29.119:8443] with status code: 1000
13:01:19,323 INFO           WCS4Handler - WSClientsKeepaliveThread-78 Disconnect client: null
^C
[root@ip-172-31-29-119 ~]#
Please let us know why its happened so its urgent.




Thanks,
Faraz
 

Max

Administrator
Staff member
Hello
1. Try to update to the latest available version
Code:
service webcallserver update
2. Set new ICE in WCS_HOME/conf/flashphoner.properties
Code:
custom_ice_agent=true
If you have any troubles please report on this thread and send server logs to logs@flashphoner.com
We will check.
We need full logfile /usr/local/FlashphonerWebCallServer/logs/server_logs/flashphoner.log
If you have any issues you can always downgrade to previous version
Code:
service webcallserver 2733
Here 2733 is number of your previous version.
You can find previous versions in WCS_HOME/logs/update.log
 
Hello @Max
We have did it and it fixed in web browsers but its not working on mobile browser.
For example i have checked on Samsung J7 Prime chrome browser its not working for it.
Before this update it was working sometimes and mostly not but now its not working.
Thanks,
Faraz
 
Hello @Max
We have did it and it fixed in web browsers but its not working on mobile browser.
For example i have checked on Samsung J7 Prime chrome browser its not working for it.
Before this update it was working sometimes and mostly not but now its not working.
Thanks,
Faraz
 
Hello @Max
1) current version of server is v. 0.5.27.2747 - 5.0.2880
2) Yes i have checked its working
3) mobile chrome browser has version 64.0.3282.137
4) Mobile OS version is android 7.0
Please let us know how to fix?

Thanks,
Faraz
 

Max

Administrator
Staff member
Hello
Since it works with Two Way Streaming sample, you have to compare the Two Way Streaming with your implementation.
Perhaps you have some runtime errors either in web console or on server-side.
Please share error logs. We will check.
Does it work on your server with our default demo sample WebRTC as RTMP?
Please open your server's dashboard and check from there:
https://host:8888 Dashboard - Demo - WebRTC as RTMP
 
Top