-
-
Notifications
You must be signed in to change notification settings - Fork 576
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
Uncaught SyntaxError: Unexpected end of JSON input #94
Comments
Hello! Do you use Memory or Redis engine? Is this reproduced all the time? |
The default, Memory. |
Hm.. Can't find what can cause this bug, and can not reproduce it. Could you post all websocket messages from chrome network console (Network -> WS)? |
I will also try that particular build as soon as I get to linux machine. |
Just tried to run on Centos 6 – works well... Could you also show the output of these 2 commands from machine where Centrifugo running (maybe you are using wrong build for your architecture)?
and
|
I'm using the same build I used for v1.4.5 |
Nothing shows in the Network section of Chrome Web Console for this |
Can you write into gitter chat - more comfortable to chat when debugging |
this is the data I'm sending in
|
Could you post all the code? Including |
@lmj0011 any news on this? |
Give me until the end of the week to update this with more code. Sorry I've been quite busy. This Sunday at the latest. |
@lmj0011 just reproduced this! will try to fix asap. |
👍😀 that's great. Now I don't have to upload my confusing code |
Just tested it, was not able to reproduce the error. |
Cool! Thanks for report! |
Nothing has changed in my code since upgrading from v1.4.5 to v1.5.0, however, I'm getting this syntax error when sending message between clients:
The JSON is being broken somehow:
This prevents my messages from being sent.
for my app I'm using:
front-end: centrifuge-js
back-end: centrifugo-1.5.0-linux-amd64
The text was updated successfully, but these errors were encountered: