Open kirang89 opened 9 years ago
B Ik'nbd
On Sun, May 10, 2015 at 9:17 PM, Kiran Gangadharan notifications@github.com wrote:
I've been testing the
TLS_support
branch for a few days now, and it seems to work fine. There seems to be an issue, however, when I try and connect more and one client via SSL. This how I connect:-(void)loadClient { NSString *clientId = [NSString stringWithFormat:@"Client-1"]; NSString *topic = @"r/hello"; MQTTClient *client = [[MQTTClient alloc]initWithClientId:clientId]; [client setHost:@"123.456.789.0"]; [client setPort:8883]; [client setUsername:@"<username>"]; [client setPassword:@"<pass>"]; [client setCafile:[[NSBundle mainBundle]pathForResource:@"ca" ofType:@"crt"]]; [client connectWithCompletionHandler:^(MQTTConnectionReturnCode code) { if (code == ConnectionAccepted) { NSLog(@"connection accepted"); [client subscribe:topic withQos:AtLeastOnce completionHandler:^(NSArray *grantedQos) { NSLog(@"Listening"); }]; } }]; }
However, I get the following error:
0x10a551f89: movdqu 0x30(%r9), %xmm3 EXC_BAD_ACCESS(code=2)
I've had no luck debugging this.
Reply to this email directly or view it on GitHub: https://github.com/mobile-web-messaging/MQTTKit/issues/31
Wdddfx
On Sun, May 10, 2015 at 9:17 PM, Kiran Gangadharan notifications@github.com wrote:
I've been testing the
TLS_support
branch for a few days now, and it seems to work fine. There seems to be an issue, however, when I try and connect more and one client via SSL. This how I connect:-(void)loadClient { NSString *clientId = [NSString stringWithFormat:@"Client-1"]; NSString *topic = @"r/hello"; MQTTClient *client = [[MQTTClient alloc]initWithClientId:clientId]; [client setHost:@"123.456.789.0"]; [client setPort:8883]; [client setUsername:@"<username>"]; [client setPassword:@"<pass>"]; [client setCafile:[[NSBundle mainBundle]pathForResource:@"ca" ofType:@"crt"]]; [client connectWithCompletionHandler:^(MQTTConnectionReturnCode code) { if (code == ConnectionAccepted) { NSLog(@"connection accepted"); [client subscribe:topic withQos:AtLeastOnce completionHandler:^(NSArray *grantedQos) { NSLog(@"Listening"); }]; } }]; }
However, I get the following error:
0x10a551f89: movdqu 0x30(%r9), %xmm3 EXC_BAD_ACCESS(code=2)
I've had no luck debugging this.
Reply to this email directly or view it on GitHub: https://github.com/mobile-web-messaging/MQTTKit/issues/31
I've been testing the
TLS_support
branch for a few days now, and it seems to work fine.There seems to be an issue, however, when I try and connect more and one client via SSL. This how I connect:
However, I get the following error:
I've had no luck debugging this.