Websocket error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Websocket error

Please can someone help me I'm trying to use a react native client to connect to a python server through web socket. But no matter what I do it won't just connect. I changed the URL to my IP address but it's still not connecting. Always giving me websocket error: [object object]. Please someone help

7th Mar 2023, 7:58 AM
Festus Chibuzor
1 Answer
+ 1
I might be able to help you, however I dont know enough about your issue. You are using python as backend, i assume, and you're trying communicate with the backend using javascript? Since you're using python, which way are you hosting the websocket? Are you using flask, django, http.server... or what have you?
20th Mar 2023, 9:26 PM
BOOTLOOPS
BOOTLOOPS - avatar