Open AlexanderZubkov opened 10 years ago
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. Is there any other version that support GSM and can be used your wrapper?
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 error1 = Domain=AMQPConnection Code=-3
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."?