Jim
Jim

Reputation: 81

WebSocket error using restcomm and olympus on Amazon

Trying to use the Olympus(WebRTC) application on the restcomm service/image in AWS.

The restcomm pieces all seem to work fine. But when I go to http://myAWSIP:8080/olympus/#/ and try to login bob or alice, I get the following:

WebSocket connection to 'ws://myAWSIP:5082/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

Upvotes: 1

Views: 155

Answers (1)

atsakiridis
atsakiridis

Reputation: 1012

Right, as Javier noted, this seems like a connectivity issue. Please try the following:

  • Check the AWS security group for your instance and make sure TCP 5082 port is open
  • Login via SSH to your instance and check if Restcomm is indeed listening for TCP connections at port 5082:

    $ sudo netstat -anp | grep 5082

  • If the above all look fine, then please collect restcomm logs (RESTCOMM_DIR/standalone/log/server.log) and paste them somewhere so that I can have a better look

Best regards, Antonis

Upvotes: 2

Related Questions