We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm experiencing a "request timeout" issue when trying to connect to localhost using Socket.IO.
However, the connection works perfectly fine with Telnet and when using input/output streams.
The problem seems to be isolated to Socket.IO.
Socket Version: 15.2.0
ERROR SocketEnginePolling: The request timed out. ERROR SocketEngine: The request timed out. ERROR SocketManager: The request timed out.
Code:
let socketManager = SocketManager(socketURL: URL(string: "http://localhost:8000")!, config: [.log(true), .compress]) let socket = socketManager.defaultSocket socket.on(clientEvent: .connect) { data, ack in print("Socket connected") } socket.on(clientEvent: .disconnect) { data, _ in print("Socket disconnected") } socket.connect()
Any suggestions on how to resolve this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm experiencing a "request timeout" issue when trying to connect to localhost using Socket.IO.
However, the connection works perfectly fine with Telnet and when using input/output streams.
The problem seems to be isolated to Socket.IO.
Socket Version: 15.2.0
ERROR SocketEnginePolling: The request timed out.
ERROR SocketEngine: The request timed out.
ERROR SocketManager: The request timed out.
Code:
Any suggestions on how to resolve this?
The text was updated successfully, but these errors were encountered: