After 15 or 20 minutes, the session gets closed on HTTP transport. How to handle it?
Logs for a particualar session:
[Fri Oct 18 07:16:06 2024] Creating new session: 3684576602261809; 0x7e951404fdb0
[Fri Oct 18 07:16:07 2024] Creating new handle in session 3684576602261809: 1159693023064952; 0x7e951404fdb0 0x7e956400d750
[Fri Oct 18 07:36:57 2024] Timeout expired for session 3684576602261809…
[Fri Oct 18 07:36:57 2024] Destroying session 3684576602261809; 0x7e951404fdb0
[Fri Oct 18 07:37:06 2024] [ERR][transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:06 2024] [ERR][janus.c:janus_process_incoming_request:1194] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:06 2024] [ERR][transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:06 2024] [ERR][janus.c:janus_process_incoming_request:1194] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:06 2024] [ERR][janus.c:janus_process_incoming_request:1194] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:07 2024] [ERR][transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:07 2024] [ERR][janus.c:janus_process_incoming_request:1194] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:07 2024] [ERR][transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 3684576602261809…
[Fri Oct 18 07:37:07 2024] [ERR][janus.c:janus_process_incoming_request:1194] Couldn’t find any session 3684576602261809…
Another Session in 15 min:-
2024-10-18 12:44:00.389 IST
[Fri Oct 18 07:14:00 2024] Creating new session: 5325889410793889; 0x7e0fe003fe90
2024-10-18 12:44:00.975 IST
[Fri Oct 18 07:14:00 2024] Creating new handle in session 5325889410793889: 272796469513460; 0x7e0fe003fe90 0x7e102001b800
2024-10-18 13:58:50.609 IST
[Fri Oct 18 08:28:50 2024] Timeout expired for session 5325889410793889…
2024-10-18 13:58:50.609 IST
[Fri Oct 18 08:28:50 2024] Destroying session 5325889410793889; 0x7e0fe003fe90
2024-10-18 13:58:51.461 IST
[Fri Oct 18 08:28:51 2024] e[31m[ERR]e[0m [transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 5325889410793889…
2024-10-18 13:58:51.461 IST
[Fri Oct 18 08:28:51 2024] e[31m[ERR]e[0m [janus.c:janus_process_incoming_request:1194] Couldn’t find any session 5325889410793889…
2024-10-18 13:58:59.722 IST
[Fri Oct 18 08:28:59 2024] e[31m[ERR]e[0m [transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 5325889410793889…
2024-10-18 13:58:59.722 IST
[Fri Oct 18 08:28:59 2024] e[31m[ERR]e[0m [janus.c:janus_process_incoming_request:1194] Couldn’t find any session 5325889410793889…
2024-10-18 13:59:00.014 IST
[Fri Oct 18 08:29:00 2024] e[31m[ERR]e[0m [transports/janus_http.c:janus_http_handler:1615] Couldn’t find any session 5325889410793889…
2024-10-18 13:59:00.014 IST
[Fri Oct 18 08:29:00 2024] e[31m[ERR]e[0m [janus.c:janus_process_incoming_request:1194] Couldn’t find any session 5325889410793889…
Janus Info
{
“janus”: “server_info”,
“transaction”: “ird4EnKyNGM”,
“name”: “Janus WebRTC Server”,
“version”: 1202,
“version_string”: “1.2.2”,
“author”: “Meetecho s.r.l.”,
“commit-hash”: “b98e3bb91bd728ce21f6fd56519a303f2775f755”,
“compile-time”: “Fri Feb 23 14:11:23 UTC 2024”,
“log-to-stdout”: true,
“log-to-file”: true,
“log-path”: “/tmp/janus.log”,
“data_channels”: true,
“accepting-new-sessions”: true,
“session-timeout”: 60,
“reclaim-session-timeout”: 0,
“candidates-timeout”: 45,
“server-name”: “MyJanusInstance”,
“local-ip”: “10.70.0.75”,
“ipv6”: false,
“ice-lite”: true,
“ice-tcp”: true,
“ice-nomination”: “aggressive”,
“ice-consent-freshness”: false,
“ice-keepalive-conncheck”: true,
“hangup-on-failed”: false,
“full-trickle”: true,
“mdns-enabled”: true,
“min-nack-queue”: 500,
“nack-optimizations”: true,
“twcc-period”: 200,
“dtls-mtu”: 1200,
“allow-force-relay”: true,
“static-event-loops”: 0,
“api_secret”: false,
“auth_token”: false,
“event_handlers”: false,
“opaqueid_in_api”: false,
“dependencies”: {
“glib2”: “2.72.4”,
“jansson”: “2.13.1”,
“libnice”: “0.1.18”,
“libsrtp”: “libsrtp2 2.5.0”,
“libcurl”: “7.81.0”,
“crypto”: “OpenSSL 3.0.2 15 Mar 2022”
},
“transports”: {
“janus.transport.http”: {
“name”: “JANUS REST (HTTP/HTTPS) transport plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This transport plugin adds REST (HTTP/HTTPS) support to the Janus API via libmicrohttpd.”,
“version_string”: “0.0.2”,
“version”: 2
},
“janus.transport.websockets”: {
“name”: “JANUS WebSockets transport plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This transport plugin adds WebSockets support to the Janus API via libwebsockets.”,
“version_string”: “0.0.1”,
“version”: 1
}
},
“events”: {
},
“loggers”: {
},
“plugins”: {
“janus.plugin.audiobridge”: {
“name”: “JANUS AudioBridge plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a plugin implementing an audio conference bridge for Janus, mixing Opus streams.”,
“version_string”: “0.0.12”,
“version”: 12
},
“janus.plugin.recordplay”: {
“name”: “JANUS Record&Play plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a trivial Record&Play plugin for Janus, to record WebRTC sessions and replay them.”,
“version_string”: “0.0.4”,
“version”: 4
},
“janus.plugin.textroom”: {
“name”: “JANUS TextRoom plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a plugin implementing a text-only room for Janus, using DataChannels.”,
“version_string”: “0.0.2”,
“version”: 2
},
“janus.plugin.nosip”: {
“name”: “JANUS NoSIP plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a simple RTP bridging plugin that leaves signalling details (e.g., SIP) up to the application.”,
“version_string”: “0.0.1”,
“version”: 1
},
“janus.plugin.sip”: {
“name”: “JANUS SIP plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a simple SIP plugin for Janus, allowing WebRTC peers to register at a SIP server and call SIP user agents through a Janus instance.”,
“version_string”: “0.0.8”,
“version”: 8
},
“janus.plugin.videocall”: {
“name”: “JANUS VideoCall plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a simple video call plugin for Janus, allowing two WebRTC peers to call each other through a server.”,
“version_string”: “0.0.6”,
“version”: 6
},
“janus.plugin.streaming”: {
“name”: “JANUS Streaming plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a streaming plugin for Janus, allowing WebRTC peers to watch/listen to pre-recorded files or media generated by an external source.”,
“version_string”: “0.0.10”,
“version”: 10
},
“janus.plugin.echotest”: {
“name”: “JANUS EchoTest plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface.”,
“version_string”: “0.0.7”,
“version”: 7
},
“janus.plugin.videoroom”: {
“name”: “JANUS VideoRoom plugin”,
“author”: “Meetecho s.r.l.”,
“description”: “This is a plugin implementing a videoconferencing SFU (Selective Forwarding Unit) for Janus, that is an audio/video router.”,
“version_string”: “0.0.10”,
“version”: 10
}
}
}