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