Closed atrimech closed 8 years ago
@medooch Hello :-). Yes, since Hoa\Socket
supports encryption, but there is several under-review PRs (#44 & co.) to ease this usage (with wss://
directly). If you can wait 1 week maximum, you will have this feature automatically.
Hi hywan, This is my connection to server push var host = 'wss://...:port'; Try{ socket = new WebSocket(host); // } catch(e){ console.log(e); }
this is the error that ive got WebSocket connection to 'wss://...:port' failed: Error in connection establishment: net::ERR_CONNECTION_CLOSED
@medooch How your server looks like?
@Hywan this is the url of my server : http://push.accessleader.com/WebSocket/, my server push is run successfuly with http, but it's not with https : https://push.accessleader.com/WebSocket/# .
@medooch You have two sides to consider:
ws://
and wss://
schemes,Hoa\Websocket
? Hoa\Websocket
is a PHP library to write Websocket clients and servers.Your client seems correct. What about your server? Can we some information on it?
Hi all, Does this bundle support ssl certificate ?
I have create my server push, when i communicate my app with the server via http, its work perfectly. But it's not the case with https !
What can i do ? i use Mamp Pro on localhost, this is the url of my app, https://ispace:8890/admin/ . Thanks