Osstatus Error 9843
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 5 Star 32 Fork 25 projectodd/stilts Code Issues 10 Pull requests 10 Projects 0 Pulse
Osstatus Error 43 Foxtel Go
Graphs New issue Stilts.js Unable to connect to websocket server with secure osstatus error 54 true #20 Closed ggrillone opened this Issue Mar 6, 2014 · 15 comments Projects None yet Labels osstatus error 1712 None yet Milestone No milestone Assignees No one assigned 2 participants ggrillone commented Mar 6, 2014 I am having issues with subscribing to my websocket server when I turn https://www.osstatus.com/ the secure option to true. I ran an SSL validator to make sure it was set up properly and everything passed. Also to be safe, I also checked with my hosting provider so I dont believe that is the issue. And also, everything does work when secure is set to false. The WSS is running on port 8676, and I did https://github.com/projectodd/stilts/issues/20 make sure that port is open. I am using the Stomp Javascript library. I downloaded the latest version from this github master branch. I keep getting this error inside the _transmit() function: can't call transmit on undefined It seems to not be setting the _transport property inside of _buildConnector() function. I added some console.logs and it always goes to the else statement in this function. Any ideas on a fix? Or am I just missing something? I also want to note that the web app server and the websocket server are on 2 different machines. Not sure if that is part of the problem. This is how I am initializing my connection: client = new Stomp.Client('my.ip.address', 8676, true); Here is where I am logging some of the functions:
Stomp.Client = function(host, port, secure) {
console.log('host param: ' + host);
console.log('port param: ' + port);
console.log('secure param: ' + secure);
this._host = host || Stomp.DEFAULT_HOST;
this._port = port || Stomp.DEFAULT_PORT || 8675;
this._secure = secure || Stomp.DEFAULT_SECURE_FLAG || false;
console.log('this._host: ' + this._host);
console.log('this._port: ' + this._port);
console.log('this._secure: ' + this._secure);
Error -9807: Invalid certificate chain osstatus error Tags: safari websocket ios javascript By : Arjun Source: Stackoverflow.com Question! I'm getting following error while connecting to websocket's in osstatus error -43 safari, In remaining browsers it is working fine Error: WebSocket network error: OSStatus Error -9807: Invalid certificate chain Code: var websocket = new WebSocket("wss://localhost:44300/websocketHome", "Room_123") By : Arjun Related Questions Video about WebSocket network error: OSStatus Error -9807: Invalid certificate chain About Us Contact Us Legal feedback Copyright © 2015 - All Rights Reserved - www.4answered.com
Connexion | Inscription ) Forums MacBidouille>Général>Programmation>Technologies Apple [Résolu] NSStream et SSL, ça marche chez vous ? Maconnect Voir le profil 24 May 2006, 20:27 Message #1 Macbidouilleur d'Or ! Groupe: Membres Messages: 3 295 Inscrit: 18 Dec 2002 Membre no 5 203 Bonjour !Voici du code qui marchait il y a quelques mois, mais plus maintenant. Je précise que c'est probablement pas dû a ma config, car c'est pareil ailleurs.Je veux établir une connexion TLS vers un serveur. J'ai ce code tout simple :CODE- (IBAction)myAction:(id)sender{NSHost*host=[NSHost hostWithName:@"nexus.passport.com"];[NSStream getStreamsToHost:host port:443 inputStream:&inp outputStream:&outp];[outp retain];[inp retain];[inp setDelegate:self];[outp setDelegate:self];[inp scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];[outp scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];[outp setProperty:NSStreamSocketSecurityLevelTLSv1 forKey:NSStreamSocketSecurityLevelKey];//[inp setProperty:NSStreamSocketSecurityLevelTLSv1 forKey:NSStreamSocketSecurityLevelKey];[outp open];[inp open];}- (void)stream:(NSStream *)theStream handleEvent:(NSStreamEvent)streamEvent{switch(streamEvent){case NSStreamEventErrorOccurred:printf("stream error: %s\n", [[[theStream streamError] localizedDescription] cString]); break;case NSStreamEventEndEncountered:printf("stream end\n"); break;case NSStreamEventHasBytesAvailable:{UInt8buffer[2000];NSData*data;intlen=[inp read:buffer maxLength:2000];printf("stream bytes available: %d\n", len);if (len >0){data=[NSData dataWithBytes:buffer length:len];NSLog([[[NSString alloc] initWithData:data encoding:NSASCIIStrin