'Janus invalid session (null)
I've just set up janus and got it running.
I'm connecting to it, and can see in the janus logs:
[ERR] [transports/janus_http.c:janus_http_handler:1522] Invalid session (null)
I've looked online but can't find anything. Any ideas?
Solution 1:[1]
ditched janus for a cloud service - eg Twilio - instead. IMO janus is not worth the hassle, and their dev community is detrimental to one's wellbeing. Avoid! – bionara just now Edit Delete
Solution 2:[2]
Just in case anyone has the same question. I got this error when I clicked the "start" button on janus demo page(videoroom.html) and an alert showed up something like "is the server down?".
I compared the janus demo's js script with the official testing website, I found they had replaced the HTTPS URL with wss. I uploaded a screenshot of the replaced part. Change it and everything works fine for me.
Ref:https://janus.conf.meetecho.com/docs/deploy.html official one
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | bionara |
Solution 2 | DharmanBot |