You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect with my website but I'm getting the error I placed in the title and I'm not sure how I can display the unexpected status code %s?
This is my code:
sio = socketio.Client()
@sio.on('connect')
def on_connect():
print("connected")
if __name__ == '__main__':
try:
sio.connect('https://example.com/ws/socketio')
except Exception as e:
print(e)
sio.wait()
The text was updated successfully, but these errors were encountered:
I'm trying to connect with my website but I'm getting the error I placed in the title and I'm not sure how I can display the unexpected status code %s?
This is my code:
The text was updated successfully, but these errors were encountered: