Unable to connect to server - Websocket connection to server failed

Jaj

New Member
I have a trial version of WCS installed on an Amazon EC2 instance running Ubuntu 18 (Not through the marketplace)
Letsencrypt SSL installed
Server working fine with all the demos running as expected
port 8443 open (Screenshot attached)
Server listening on 8443 (Again, screenshot attached)

When I try to test embedd one of your examples (https://flashphoner.com/embedding-webcam-broadcasting-in-a-browser-to-a-web-page-2/) on one of our development server, it cannot seem to connect with the WCS server. I have attached a screenshot of the browser console. The page can be tested here - https://dev.syncline.in/wcstest/

Any help would be appreciated... Thank you
 

Attachments

Max

Administrator
Staff member
Hello

Try

wss://studio.streaminglive.in:8443 instead of wss://studio.streaminglive.in

If you do not set port in the wss URL, port 443 is assumed.
 

Jaj

New Member
Thank you so much for your time Max, but I am all confused now...
Tried a different Rest API extension, for firefox this time and I get a 500 Internal error...

1618226441453.png
 

Jaj

New Member
Sorry, corrected that, but the results seem to be the same...

1618228979383.png


However, the interesting part is that if I POST the same thing to port 8888 it executes without a response..


1618228909394.png
 

Jaj

New Member
Figured it out, It had to do with the quotes that I was posting.
Everything working fine now.

Thanks a Ton for all your support Max, Much appreciated!!
 
Top