R
Railway8mo ago
Kiênn

SocketIO

I installed the Nodejs backend on railway, with the socket I configured as follows, and in the client the connection is the 2nd image, but I receive the 3rd image. Can anyone help me?
No description
No description
No description
25 Replies
Percy
Percy8mo ago
Project ID: 552a77d0-6858-464a-ba77-4b68086339b9
Kiênn
Kiênn8mo ago
552a77d0-6858-464a-ba77-4b68086339b9
Brody
Brody8mo ago
does this work locally?
Kiênn
Kiênn8mo ago
yes
Brody
Brody8mo ago
try using wss:// instead
Kiênn
Kiênn8mo ago
Where should I replace it, is it client side?
Brody
Brody8mo ago
yes
Kiênn
Kiênn8mo ago
Did I change to like this?
No description
Brody
Brody8mo ago
yes
Kiênn
Kiênn8mo ago
Bro, wait a minute, the railway is delaying
Kiênn
Kiênn8mo ago
I still have the same situation.
No description
Kiênn
Kiênn8mo ago
this is, code back-end:
No description
Brody
Brody8mo ago
what is your backend's domain?
Kiênn
Kiênn8mo ago
No description
Brody
Brody8mo ago
what is your frontend's domain?
Kiênn
Kiênn8mo ago
Pinspired
Web site created using create-react-app
Kiênn
Kiênn8mo ago
You can visit it @Brody you can help me Someone, help me!
Brody
Brody8mo ago
please be patient, this is community support what page can i see the error on?
Kiênn
Kiênn8mo ago
Page message You can search user, and create conversaiton, after You send a message. Open dev tools -> Network. You see error
Brody
Brody8mo ago
are you sure you are even registering the socketio endpoint in your backend?
Kiênn
Kiênn8mo ago
What do you mean I don't understand, can you give me an example?
Kiênn
Kiênn8mo ago
After I configured it, it changed from not found to failed
No description
Kiênn
Kiênn8mo ago
This is front-end, PORT_SOCKET is 443
No description
Brody
Brody8mo ago
what is the reason for the fail?
Want results from more Discord servers?
Add your server