-
Notifications
You must be signed in to change notification settings - Fork 439
ERROR: handshake failed ... A server with the specified hostname could not be found. #55
Comments
Did you ever figure this out? I have a socketIO server running on Heroku. I'm unsure what port I'm suposed to be listening to be listening to. My javascript client works when I don't specify a port number. With this library, I don't have the option of not specifying a port number. |
Does this error got resolve ? |
@ShreyasSA I fixed my problem but it was something trivial. If you give me more information I can help you debug your problem. |
Hey guys, |
I think a common mistake is to not omit the "http://" part of the host url when using the connectToHost method. This is added automatically. So instead of "http://www.example.com", use "example.com". |
BTW, I altered my code to send a proper URL...as follows. I think Socket IO
onPort:80 withParams:nil withNamespace:@""]; I get the error below now... Warning: Error creating LLDB target at path Sent from my Google Nexus Phone
|
@anuradhavasudeva I suspect the port you have used is wrong. |
@anuradhavasudeva Does this error got resolve ? |
i use the socket all is ok,but when i disconnect wifi ,then reconncect the wifi ,it give me
-[SocketIO connection:didFailWithError:] ERROR: handshake failed ... A server with the specified hostname could not be found.
is this client mistake or server mistake? how to resolve it
The text was updated successfully, but these errors were encountered: