a year ago
I'm uploading my application to production with front in react and back in django, I configured the whole cors and allowed origins issue correctly but when I fetch the back from react I get this error WebSocketClient.js:13 WebSocket connection to 'wss://frontend-react-top-production.up.railway.app:8080/ws' failed: , I'm not using websockets, I don't understand this error
1 Replies
a year ago
Hi there, here's a couple of things I'd recommend to kick you off on debugging this:
1) Is the application working locally and on Docker? That'll help rule out any non-Railway related issues
2) It's worth looking at your connection with the MySQL db in addition to the backend — there are various errors in the deploy logs there as well
3) Check out our Django and MySQL templates to see if you might be missing something:
Django: https://railway.app/template/GB6Eki
MySQL: https://railway.app/template/mysql
Status changed to Awaiting User Response Railway • over 1 year ago
7 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 7 months ago