-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
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
error "Failed to login on server." #2
Comments
HI, this version not support GSM and 3G or 4G nets. Only Wi-Fi. MB error related with this? |
I've got this error on simulator. |
And can be used with your wrapper |
i don't know whats will be wrong with your situation, need test and debug. What about support GSM, i starting developing new version of AMQPProtocol without libRabbitMQ-C (this library based on socket.c lib, and not support modern net connections types) i tested CocoaAsyncSocket its work perfectly, but in my company stopped developing in this thread, so sorry. If i found free time and investors i can continue developing AMQProtocol. |
Whats tell you &error pointer? This nil or not? MB you use https? |
Ok, it's a pity. |
error = nil What do you mean "use https"? As a host? |
the communication is done over SSL |
Hmm so strange.. give me know if you found cause of this bug. |
AMQPConnection _connection = [[AMQPConnection alloc] init];
NSError *error,_error1;
[connection connectToHost:server onPort:port error:&error];
[connection loginAsUser:login withPasswort:password onVHost:@"/" error:&error1];
if (error1) {
NSLog(@"%@", error1);
}
2014-06-30 13:14:11.438 AZApp[62979:60b] Error Domain=AMQPConnection Code=-3 "Failed to login on server." UserInfo=0x99bb0e0 {NSLocalizedDescription=Failed to login on server.}
sending:
00000000: 01 00 01 00 00 00 05 00 : 14 00 0A 00 CE .............
0000000D:
I've checked server, port, login and password. They are OK and working on android device. Why does it shows "Failed to login on server."?
The text was updated successfully, but these errors were encountered: