Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Версия 0.25 шлет какое-то левое сообщение на сервер #47

Open
Koc opened this issue Jul 11, 2012 · 2 comments

Comments

@Koc
Copy link

Koc commented Jul 11, 2012

Есть клиент 0.25 и сервер. Транспорт LongPooling. И вот время от времени клиент после PUT запроса на отправку сообщения отправляет еще один PUT, пустой. После этого все сервак валится с таким трейсом

Beseda started on 10.1.121.11:4000

/opt/katushkin-chat/node_modules/beseda/server/lib/message_router.js:17
    if (message.channel  === undefined ||
               ^
TypeError: Cannot read property 'channel' of null
    at [object Object].dispatch (/opt/katushkin-chat/node_modules/beseda/server/lib/message_router.js:17:16)
    at [object Object].emit (events.js:67:17)
    at [object Object]._onMessage (/opt/katushkin-chat/node_modules/beseda/server/lib/io.js:69:14)
    at [object Object].emit (events.js:67:17)
    at [object Object].handleData (/opt/katushkin-chat/node_modules/beseda/server/lib/transports/connections/connection.js:27:20)
    at IncomingMessage.<anonymous> (/opt/katushkin-chat/node_modules/beseda/server/lib/transports/connections/long_polling.js:51:8)
    at IncomingMessage.g (events.js:143:14)
    at IncomingMessage.emit (events.js:61:17)
    at HTTPParser.onMessageComplete (http.js:133:23)
    at Socket.ondata (http.js:1029:22)
@Koc
Copy link
Author

Koc commented Jul 11, 2012

Откатил клиента до 0.20 и работает нормально

@Koc
Copy link
Author

Koc commented Jul 26, 2012

ping @shumkov @kononencheg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant