Janus Server install but Demos are not working

316 views
Skip to first unread message

Virendra Bhati

unread,
May 14, 2020, 9:10:52 AM5/14/20
to meetecho-janus
Dear Team,
I am a newbie in Janus. We have install Janus to explore and make WebRTC application for video group call, which we have in demo. But we getting some issue with API fail. I have below question.
1) Where does Janus API reside? Which we have to change into code. ex.  server = "http://" + window.location.hostname + ":8088/janus";
 Error: API call failed: [object Object]

2) Some error are coming in Janus.log. Please help us to remove them
[ERR] [transports/janus_http.c:janus_http_handler:1255] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1255] Invalid url /ws/v1/cluster/apps/new-application
[ERR] [transports/janus_http.c:janus_http_handler:1255] Invalid url /ws/v1/cluster/apps/new-application


Any help will be appreciated.

Virendra Bhati

unread,
May 14, 2020, 1:50:48 PM5/14/20
to meetecho-janus
After doing some R&D about this issue. I come to know that without SSL certificate this issue will not be resolve. So I did the job and now new issue is coming...

"NetworkError when attempting to fetch resource."

Even Server is running....

root@ip-172-26-10-202:/home/ubuntu# ps -ef | grep janus
root     26243     1  0 13:26 ?        00:01:13 ./janus
root     26913 26698  0 17:49 pts/0    00:00:00 grep --color=auto janus
root@ip-172-26-10-202:/home/ubuntu# netstat -nap | grep janus
tcp        0      0 0.0.0.0:8188            0.0.0.0:*               LISTEN      26243/./janus
tcp        0      0 172.26.10.202:8088      0.0.0.0:*               LISTEN      26243/./janus
tcp        0      0 172.26.10.202:8088      106.67.124.103:48535    ESTABLISHED 26243/./janus
tcp        0      0 172.26.10.202:8088      106.67.124.103:61295    ESTABLISHED 26243/./janus
tcp        0      0 172.26.10.202:8088      106.67.124.103:7102     ESTABLISHED 26243/./janus
udp        0      0 0.0.0.0:36709           0.0.0.0:*                           26243/./janus
udp6       0      0 :::47720                :::*                                26243/./janus
udp6       0      0 :::5002                 :::*                                26243/./janus
udp6       0      0 :::5004                 :::*                                26243/./janus
raw        0      0 0.0.0.0:132             0.0.0.0:*               7           26243/./janus
raw6       0      0 :::132                  :::*                    7           26243/./janus
unix  3      [ ]         STREAM     CONNECTED     401320   26243/./janus
unix  3      [ ]         STREAM     CONNECTED     401321   26243/./janus

Please on it...
Reply all
Reply to author
Forward
0 new messages