M
M
Maxim Grechushnikov2014-10-13 09:58:39
PHP
Maxim Grechushnikov, 2014-10-13 09:58:39

What can cause Ratchet to fall?

composer.json
...
"cboden/Ratchet": "*",
...
pecl list
Installed packages, channel pecl.php.net:
=================== ======================
Package Version State
libevent 0.1.0 beta
when connected via telnet everything is OK.
when connecting from a web page - writes that the client is connected and falls. no errors, nothing. How to debug a little I do not understand. I'm debugging files.
firefox gives this picture
The connection to ws://178.62.9.30:8080/ was interrupted while the page was loading.
conn = new WebSocket('ws://178.62.9.30:8080');
crashes after sending a string like
conn.send('{"msg_type":"enter","city_id":0,"

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Grechushnikov, 2014-10-13
@maxyc_webber

I beg your pardon. enabled E_ALL. Forgot to install on Redis server. Be careful!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question