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

Investigate how Discord.py / gIRC reconnect #4

Open
DanielOaks opened this issue Jan 24, 2016 · 1 comment
Open

Investigate how Discord.py / gIRC reconnect #4

DanielOaks opened this issue Jan 24, 2016 · 1 comment
Labels

Comments

@DanielOaks
Copy link
Contributor

We should optimally have the IM Managers reconnect automatically. I'm not 100% sure gIRC does this automagically yet, and I have absolutely no clue how Discord.py handles it, but we should see and correct this if they don't autoreconnect.

Yay logs from IRC:

irc: ita  -> ERROR :Closing Link: bibanon.discord.bouncer (Ping timeout: 240 seconds)
Connection closed
Task was destroyed but it is pending!
task: <Task pending coro=<run() running at /home/dan/itabashi/env/lib/python3.4/site-packages/websockets/protocol.py:302> wait_for=<Future pending cb=[Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.4/asyncio/tasks.py:394]>
Task was destroyed but it is pending!
task: <Task pending coro=<keep_alive_handler() running at /home/dan/itabashi/env/lib/python3.4/site-packages/discord/client.py:286> wait_for=<Future pending cb=[Task._wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<get() running at /usr/lib/python3.4/asyncio/queues.py:186> wait_for=<Future pending cb=[Task._wakeup()]> cb=[_wait.<locals>._on_completion() at /usr/lib/python3.4/asyncio/tasks.py:394]>
Task was destroyed but it is pending!
task: <Task pending coro=<main_task() running at /home/dan/itabashi/itabashi/discord.py:37> wait_for=<Future pending cb=[Task._wakeup()]>>
(env) 
@DanielOaks
Copy link
Contributor Author

This is done for Discord, but I don't think IRC reconnects automagically yet. Will probably fix that upstream in the gIRC library rather than specifically in this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants