Relative Content

Tag Archive for node.jsdjangoazurewebsocketazure-webapps

Websocket Connection failing on Deployed Azure web app

I am running a nodeJs server, and serving a ReactApp from it. This is deployed and hosted in an Azure WebApp.
I have container running a Django server, hosted on a separate Azure WebApp.
I am trying to open a WebSocket connection from my React app directly to my Django server.
I have tested this locally by deploying my Django app to azure, and then building my NodeJs & ReactApp LOCALLY and opening the wss:// connection and it works on my machine. But the after deploying the Node/React application to Azure the websocket connection fails with errorcode: 1006

Websocket Connection failing on Deployed Azure web app

I am running a nodeJs server, and serving a ReactApp from it. This is deployed and hosted in an Azure WebApp.
I have container running a Django server, hosted on a separate Azure WebApp.
I am trying to open a WebSocket connection from my React app directly to my Django server.
I have tested this locally by deploying my Django app to azure, and then building my NodeJs & ReactApp LOCALLY and opening the wss:// connection and it works on my machine. But the after deploying the Node/React application to Azure the websocket connection fails with errorcode: 1006