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

error on reconnect #819

Open
razaqq opened this issue Oct 5, 2020 · 0 comments
Open

error on reconnect #819

razaqq opened this issue Oct 5, 2020 · 0 comments

Comments

@razaqq
Copy link

razaqq commented Oct 5, 2020

2020/10/05 04:54:55 [DG1] wsapi.go:229:listen() error reading from gateway wss:https://gateway.discord.gg/?v=6&encoding=json websocket, websocket: close 1001 (going away): CloudFlare WebSocket proxy
2020/10/05 04:54:57 [DG1] wsapi.go:181:Open() Expected READY/RESUMED, instead got:
&discordgo.Event{Operation:9, Sequence:0, Type:"", RawData:json.RawMessage{0x66, 0x61, 0x6c, 0x73, 0x65}, Struct:interface {}(nil)}

the problem is because of this onResume() isnt called, which leads to problems if you implemented your own

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