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

WebSocket randomly closing. #60

Open
sb7766 opened this issue Jul 3, 2016 · 4 comments
Open

WebSocket randomly closing. #60

sb7766 opened this issue Jul 3, 2016 · 4 comments

Comments

@sb7766
Copy link

sb7766 commented Jul 3, 2016

I'm using the current NuGet version at the time of writing this (0.6.2.0), and it seems that the websocket repeatedly closes itself every minute or two. No clue why it's doing this.

@suicvne
Copy link
Owner

suicvne commented Jul 3, 2016

i don't work on this too much nowadays but try the latest version from source. nuget hasn't been updated since april tbh

@Dimitrias
Copy link

I have the same issue, also with the latest version. Some people were asking in the discord api chat room about this as well.

@ghost
Copy link

ghost commented Jul 8, 2016

Step 1 that fixed it for me was reducing the keep alive ping from 41500 to 15000 (41.5s to 15s)

@foxbot
Copy link

foxbot commented Jul 8, 2016

wouldn't reccomend lowering your heartbeat to 15s, discord specifies 41.5s for a reason. I'd deviate 5s off the reccomended heartbeat at max, going down to 15 might cause issues

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

4 participants