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