E
E
EpikHigh2014-07-25 14:39:28
PHP
EpikHigh, 2014-07-25 14:39:28

Why does the websocket over SSL fall off?

There is a server on CentOS 6, with Apache and PHP 5.4 on board. There was a task to transfer some site functions to WebSocket. https://github.com/lemmingzshadow/php-websocket
was chosen for work Actually, everything works fine, but as soon as it comes to SSL, Chrome throws disconnects. www.websocket.org/echo.html says "undefined" error in console meanwhile

2014-07-25 15:24:50 [info] [client 5.XXX.XXX.XXX:54166] Connected
2014-07-25 15:24:50 [info] [client 5.XXX.XXX.XXX:54166 ]Disconnected

Connection, naturally, goes on wss:// and the certificate under TSL (Firefox only swears).
You can look at https://ws.d1xn.ru/
Actually, what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
EpikHigh, 2014-07-28
@EpikHigh

It's decided.
Launched SSL through stunnel.

P
Push Pull, 2014-07-27
@deadbyelpy

http doesn't work either, what do you have on the server? what are the logs?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question