Spontaneous Connection reset by peer errors #10
Labels
No Label
Backlog
bug::Awaiting merge
bug::fix
bug::S1
bug::S2
bug::S3
change::Awaiting merge
change::breaking
change::minor
change::new
change::patch
Good First Issue
In Progress
priority::critical
priority::high
priority::low
priority::medium
proposal::accepted
proposal::denied
proposal::pending
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: engineering/community-relations#10
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
BUG REPORT
Brief Description: At random points, but at least a few times per day, the bot will throw a ws close code of 1006, Connection reset by peer. This causes a lot of spam in the error channel out of nowhere.
Priority: (1-5, 5 being the most urgent) 3
We realistically have 2 options we can take, and 3 possible:
At the moment, we cannot tell if this is due to some sort of cloudflare proxy, though we have been receiving a couple of those as wellCloudflare proxy isn't an issue since we do not use oneUnless we are certain option 2 is being caused by a cloudflare proxy, then we will only have options 1 and 3 that we can do easilyOption 1 should be avoided though, since it is still technically an unclean closure of the websocket connection to Discord.
Option 3 also would take some time as testing is required to make sure everything works the same way.
Opinions would be greatly appreciated. Leave a comment in this issue and share your thoughts
I think we could start by trying to find from where the issue comes from
I've already been trying to do some debugging from Eris, unfortunately WS code 1006 doesn't give a reason why the connection was uncleanly closed.
changed the description