Replies: 18 comments
-
Hard for me to know without logs. Did you enable logs in your server? |
Beta Was this translation helpful? Give feedback.
-
Sir its not my own server, I just made a copy of the website client for botting/automation purposes. I can share a link of the site if there is a allow for it. |
Beta Was this translation helpful? Give feedback.
-
Do you know what version of Socket.IO they use? Try to connect with the latest 5.x version, and also with the 4.6.1 version, which is the latest one that used the older version of the protocol. Other than that I'm not sure how to help, you need to find out from the server what is the reason your connection is not accepted. |
Beta Was this translation helpful? Give feedback.
-
They are using EIO=3, I tried 4x (that should have been suitable) and 5x still same result :( |
Beta Was this translation helpful? Give feedback.
-
@cihangirr is the nexus site also Socket.IO? It looks like it might be plain WebSocket, which is a completely different thing. |
Beta Was this translation helpful? Give feedback.
-
Yes u are right it seems different thing not socket.io in this case i should have been connected to server. Do u have any effective suggestion sir ? I appreciate for any suggestion |
Beta Was this translation helpful? Give feedback.
-
As I said, the server is free to reject connections, and that is perfectly fine as far as the protocol goes. You can enable logging in the client if you like to have a more detailed idea of what is the communication between the client and the server, beyond that I don't know what else to suggest outside of asking the maintainers of the server you are connecting to for assistance. |
Beta Was this translation helpful? Give feedback.
-
Alright sir thanks for your time anyway, i will try to do somethings :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
That is a websocket library. This is a Socket.IO library. They are not the same thing. If the server is a WebSocket server, then use a websocket client. If the server is a Socket.IO server, then use a Socket.IO client. |
Beta Was this translation helpful? Give feedback.
-
Sir im trying to explain that server is using Socket.IO server not WebSocket server |
Beta Was this translation helpful? Give feedback.
-
You have ignored this:
See the troubleshooting section of the docs if you don't know how to do this. |
Beta Was this translation helpful? Give feedback.
-
Sir, already used "troubleshooting" in the first post. I dont know how can i explain that more clearly . |
Beta Was this translation helpful? Give feedback.
-
@cihangirr I apologize. I look at many issues every day, I cannot keep the context of every one of them in mind. In any case, I think we are going back in circles. You have logging enabled, there are no error messages, so it's just that the server refused the connection. If you can't ask the people in charge of the server for details on this problem I'm not sure what else can be done. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
@kotx The docs have a version compatibility table where you can find what versions to use for the version 3 protocol. https://python-socketio.readthedocs.io/en/latest/intro.html#version-compatibility |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
Ah oops, it seems I have to reinstall engineio as well since the version requirements are >=, not ^. It seems to be using EIO 3 now, thanks. However it seems SID is not persisting in the upgrade to WebSocket. |
Beta Was this translation helpful? Give feedback.
-
Hey first of all thanks for that amazing libray. I have little problem with connecting. My client was working well before but after some changes/updates in site i use i got that error . I tried both of the Version compatibility but still getting same result.
Here is the current version which im using ==> python-engineio==3.14.2 python-socketio==4.6.0
Where am I missing ?
Beta Was this translation helpful? Give feedback.
All reactions