onSubscribe is not called #447
Unanswered
krajcikondra
asked this question in
Q&A
Replies: 1 comment
-
May related following error
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I had working chat in my web applicatin 2 months ago but something happend and now is my chat broken. I don`t know why.
When I run my websocket server
php bin/console gos:websocket:server
then websocket server running without error. When I connect via javascript client to websocket server evertything looks fine
[2021-10-18T13:25:28.876644+02:00] websocket.DEBUG: INSERT CLIENT 1229 {"token":{"Lexik\\Bundle\\JWTAuthenticationBundle\\Security\\Authentication\\Token\\JWTUserToken":"JWTUserToken(user=\"[email protected]\", authenticated=true, roles=\"\")"},"username":"[email protected]"} [] [2021-10-18T13:25:28.876702+02:00] websocket.INFO: [email protected] connected {"connection_id":1229,"session_id":"1627219109616d59a8d5b60593063675","storage_id":"1229"} []
In log folder is no error but in Chrome -> network are no messages in websocket connection. I have ChatTopic.php and tried debug onSubscribe function but it is not called.
Some idea how debug why onSubscribe function is not called? I have version 3.7.2 of gos/web-socket-bundle
Beta Was this translation helpful? Give feedback.
All reactions