I updated to the latest gateway version. I am running the janus sample programs (echotest, videocall, videomcu) as confidence tests and am getting a lot of long poll connection network failures. The failures cause the app to stop and the server becomes unstable after this occurs as it cannot find the session id to destroy. It seems the failures occur when the bandwidth is around 500 kbits/sec. Did not have this problem with the previous gateway version.
If I just concentrate on the echotest and run it on your site it works fine and I run it for a couple of hours. However the running the same code from an apache and nodejs web servers stops after about 15 minutes and sometimes a shorter time run. The runs always stop due to a long poll timeout. I tried setting the longpoll ajax timeout to different values with no luck. Any suggestions?
New connection on REST API: 108.20.20.72
Got a HTTP GET request on /janus/3886497332...
... Just parsing headers for now...
Got a HTTP GET request on /janus/3886497332...
... parsing request...
Session: 3886497332
Session 3886497332 found... returning up to 1 messages
... handling long poll...
Long poll time out for session 3886497332...
We have a message to serve...
{"janus" : "keepalive"}
Request completed, freeing data
New connection on REST API: 108.20.20.72
New connection on REST API: 108.20.20.72
Got a HTTP GET request on /janus/3886497332...
... Just parsing headers for now...
Got a HTTP GET request on /janus/3886497332...
... parsing request...
Session: 3886497332
Session 3886497332 found... returning up to 1 messages
... handling long poll...
Long poll time out for session 3886497332...
We have a message to serve...
{"janus" : "keepalive"}
Request completed, freeing data
New connection on REST API: 108.20.20.72
Got a HTTP GET request on /janus/3886497332...
... Just parsing headers for now...
Got a HTTP GET request on /janus/3886497332...
... parsing request...
Session: 3886497332
Session 3886497332 found... returning up to 1 messages
... handling long poll...
Long poll time out for session 3886497332...
We have a message to serve...
{"janus" : "keepalive"}
Request completed, freeing data
Timeout expired for session 3886497332...
Cleaning up session 3886497332...
Destroying session 3886497332
Detaching handle from JANUS VideoCall plugin
Removing user wj session...
No WebRTC media anymore
-- Removed: 1
[1719927149] Adding event to queue of messages...
Handle detached (0), scheduling destruction
Checking 1 old sessions
Checking 1 old sessions
Checking 1 old sessions
Checking 1 old sessions
thanks
wilbert jackson