Django services and websocket deploying in Amazon EC2 [closed]
I have a project with websockets with angular and django, it works fine locally when I have deployed to Amazon EC2.
I have attached a screenshot of the server in django in Amazon EC2 that it looks that is running ok.
The client that is an angular app, when I'm trying to connect to the server
this.globals.socket = new WebSocket('ws://mydomain.com.com/stocks')
I'm getting this error
WebSocket connection to 'ws://mydomain.com.com/stocks' failed: Error during WebSocket handshake: Unexpected response code: 404.
Any help or clue is really appreciated.
python amazon-ec2 django
closed as too broad by DavidPostill♦ Dec 20 '18 at 18:22
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I have a project with websockets with angular and django, it works fine locally when I have deployed to Amazon EC2.
I have attached a screenshot of the server in django in Amazon EC2 that it looks that is running ok.
The client that is an angular app, when I'm trying to connect to the server
this.globals.socket = new WebSocket('ws://mydomain.com.com/stocks')
I'm getting this error
WebSocket connection to 'ws://mydomain.com.com/stocks' failed: Error during WebSocket handshake: Unexpected response code: 404.
Any help or clue is really appreciated.
python amazon-ec2 django
closed as too broad by DavidPostill♦ Dec 20 '18 at 18:22
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I have a project with websockets with angular and django, it works fine locally when I have deployed to Amazon EC2.
I have attached a screenshot of the server in django in Amazon EC2 that it looks that is running ok.
The client that is an angular app, when I'm trying to connect to the server
this.globals.socket = new WebSocket('ws://mydomain.com.com/stocks')
I'm getting this error
WebSocket connection to 'ws://mydomain.com.com/stocks' failed: Error during WebSocket handshake: Unexpected response code: 404.
Any help or clue is really appreciated.
python amazon-ec2 django
I have a project with websockets with angular and django, it works fine locally when I have deployed to Amazon EC2.
I have attached a screenshot of the server in django in Amazon EC2 that it looks that is running ok.
The client that is an angular app, when I'm trying to connect to the server
this.globals.socket = new WebSocket('ws://mydomain.com.com/stocks')
I'm getting this error
WebSocket connection to 'ws://mydomain.com.com/stocks' failed: Error during WebSocket handshake: Unexpected response code: 404.
Any help or clue is really appreciated.
python amazon-ec2 django
python amazon-ec2 django
edited Dec 20 '18 at 21:15
Victor H
asked Dec 19 '18 at 21:55
Victor HVictor H
63
63
closed as too broad by DavidPostill♦ Dec 20 '18 at 18:22
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by DavidPostill♦ Dec 20 '18 at 18:22
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes