I have the following installation:
(A) 3CX PABX Cloud
(B) Janus Server installed in a CentOS Amazon AWS VM
Janus Server (B) is compiled from source ( Janus and many Libraries ) and has HTTP, HTTPS, WEBSOCKET and SECURE WEBSOCKET enaled, both for API and ADMIN.
Eventually I get one error:
[ERR] [transports/janus_http.c:janus_http_handler:1215] Invalid url /ws/v1/cluster/apps/new-application
Below yo find the link for the Janus Log file:
https://gist.github.com/zig-github/d691661a4f86d714f7b34675829d2c41
Below you find all the changes I did in the .cfg files:
janus.cfg
{
stun_server = stun.l.google.com
stun_port = 19302
nat_1_1_mapping = 18.228.38.229
}
janus.transport.http.cfg
{
http = yes
port = 8088
https = yes
secure_port = 8089
admin_http = yes
admin_port = 7088
admin_https = yes
admin_secure_port = 7889
}
janus.transport.websockets.cfg
{
ws = yes
ws_port = 8188
wss = yes
wss_port = 8989
admin_ws = yes
admin_ws_port = 7188
admin_wss = yes
admin_wss_port = 7989
}
- What means the error above "Invalid url /ws/v1/cluster/apps/new-application" ?
(C) Janus HTML/Javascript installed in a Windows Amazon AWS VM
Does not work.
After inspecting ADMIN I found out it does not connect.
- How should I configure Amazon AWS to make it work with Janus HTML/JavaScript ?
(D) Janus HTML/Javascript installed in a Windows Server ( not a VM )
Works perfectly with HTTP and WEBSOCKET for API.
Works just with HTTP for ADMIN.
Does not work with HTTPS and SECUE WEBSOCKET, both for API and ADMIN.
- Why does Janus not work with HTTPS and SECURE WEB SOCKET ?
Is this an Amazon AWS problem ?
Thanks
Just to give some more information, below you find all the ports enabled in Linux Firewall:
firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --zone=public --add-port=443/tcp --permanent
firewall-cmd --zone=public --add-port=8088/tcp --permanent
firewall-cmd --zone=public --add-port=8089/tcp --permanent
firewall-cmd --zone=public --add-port=8188/tcp --permanent
firewall-cmd --zone=public --add-port=8989/tcp --permanent
firewall-cmd --zone=public --add-port=7088/tcp --permanent
firewall-cmd --zone=public --add-port=7889/tcp --permanent
firewall-cmd --zone=public --add-port=7188/tcp --permanent
firewall-cmd --zone=public --add-port=7989/tcp --permanent
Thanks
I don't know who bugswheel94 is.
Is there any other POST available about the same subject ?
If so, please let me know.
By the way, thanks for developing Janus.
I am using WebRTC for one year and Janus for 3 weeks.
It's really a very nice software with a very good documentation.
I guess the problems I am having are related to Amazon AWS, not to Janus.
Thanks
Hi Lorenzo,I don't know who bugswheel94 is.
Is there any other POST available about the same subject ?
If so, please let me know.
By the way, thanks for developing Janus.
I am using WebRTC for one year and Janus for 3 weeks.
It's really a very nice software with a very good documentation.
I guess the problems I am having are related to Amazon AWS, not to Janus.
Thanks
2. Invalid url /ws/v1/cluster/apps/new-application
Eventually I get the error above.
I am not sure if this an error caused by AMAZON AWS or a Janus bug.
siptest.js ( API )
//var server = "http://webrtc.siegmar.com.br:8088/janus"
//var server = "https://webrtc.siegmar.com.br:8089/janus"
//var server = "ws://webrtc.siegmar.com.br:8188"
var server = "wss://webrtc.siegmar.com.br:8989"
admin.js ( ADMIN )
//var server = "http://webrtc.siegmar.com.br:7088/admin"
//var server = "https://webrtc.siegmar.com.br:7889/admin"
//var server = "ws://webrtc.siegmar.com.br:7188"
var server = "wss://webrtc.siegmar.com.br:7989"
Is there something else I should have changed ?
Thanks