Skip to content

Unexpected disconnect does not reconnect #5

@sjrct

Description

@sjrct

This happened after receiving 4 PR close notifications from the github module, although I don't know how connected that is. Regardless, we should reconnect in this case. This may be a general issue with reconnection, and not specific to this circumstance.

It should be noted that while pydle reports that it is trying to reconnect within 5 seconds, it just hung, not doing much of anything let alone reconnecting.

Error log tail:

192.30.252.34 - - [11/Mar/2019 14:21:10] "POST / HTTP/1.1" 204 -
DEBUG:Github:Received pull_request closed event.
DEBUG:Github:Reporting event to freenode/##halibot
DEBUG:IrcClient:freenode:>> PRIVMSG ##halibot :Pull request "Some small tweaks and "fixes" to halauth" closed and merged by richteer in Halibot/halibot.

192.30.252.40 - - [11/Mar/2019 14:21:34] "POST / HTTP/1.1" 204 -
ERROR:IrcClient:freenode:Encountered error on socket.
TimeoutError: Ping timeout: no data received from server in 300 seconds.
ERROR:pydle.client:Unexpected disconnect. Attempting to reconnect within 5 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions