Giter VIP home page Giter VIP logo

Comments (8)

gbin avatar gbin commented on August 22, 2024

Thx a lot for your report, I gonna split it as they are 2 different issues there : #60

from errbot.

gbin avatar gbin commented on August 22, 2024

May I ask you for the logs around when Err is kicked out of the room ? Is it after a long moment of inactivity ?
Thx

from errbot.

bubba-h57 avatar bubba-h57 commented on August 22, 2024

I've not been keeping logs, so I will need to do that. I believe it is after long inactivity.

from errbot.

zoni avatar zoni commented on August 22, 2024

I've been seeing the same issue as well, Err isn't rejoining channels after being disconnected (This bot runs on HipChat as well, fwiw).

At first I thought it only happened when HipChat kicked the bot due to inactivity, but I just noticed it happened after losing connection as well.

Here's a debug log from around that time: https://gist.github.com/3689379

from errbot.

gbin avatar gbin commented on August 22, 2024

Thx a lot ! I think this time I squashed it. Simply on disconnection a "connected" flag was not resetted.
Try 05fefde or master

Now I have this behavior after a disconnection (see emphasis):

DEBUG:Closed shelf of Snippets
WARNING:Connection lost, retry to connect in 10 seconds.
INFO:Start Connection ...........
INFO:Connect attempt
INFO:Auth attempt
INFO:Connection established
INFO:Send Hello to everyone
INFO:Get Roster
INFO:* roster ***
INFO: [email protected]
INFO: [email protected]
INFO:
* roster ***
INFO:Registered handler: message
INFO:Registered handler: presence
INFO:............ Connection Done
INFO:Activate internal commands
INFO:Activating all the plugins...
INFO:Activate plugin: Webserver
INFO:Activating Webserver with min_err_version = 1.6.4 and max_version = 1.6.4
DEBUG:Templates directory found for this plugin [/home/gbin/projects/err/errbot/builtins/templates]
DEBUG:Activating plugin: bots.Webserver
INFO:Webserver is not configured. Forbid activation
INFO:Activate plugin: VersionChecker
INFO:Activating VersionChecker with min_err_version = 1.6.4 and max_version = 1.6.4
DEBUG:Templates directory found for this plugin [/home/gbin/projects/err/errbot/builtins/templates]
DEBUG:Activating plugin: bots.VersionChecker
DEBUG:Checking version
DEBUG:Programming the polling of version_check every 86400 seconds with args [] and kwargs {}
DEBUG:Init storage for VersionChecker
DEBUG:Loading /home/gbin/tmp/r2/plugins/VersionChecker.db
DEBUG:Opened shelf of VersionChecker
INFO:Activate plugin: ChatRoom
INFO:Activating ChatRoom with min_err_version = 1.6.4 and max_version = 1.6.4
DEBUG:Templates directory found for this plugin [/home/gbin/projects/err/errbot/builtins/templates]
DEBUG:Activating plugin: bots.ChatRoom
DEBUG:Init storage for ChatRoom
DEBUG:Loading /home/gbin/tmp/r2/plugins/ChatRoom.db
DEBUG:Opened shelf of ChatRoom
DEBUG:Programming the polling of keep_alive every 10 seconds with args [] and kwargs {}
INFO:Activate plugin: Snippets
INFO:Activating Snippets with min_err_version = None and max_version = None
DEBUG:No templates directory found for this plugin [Looking for /home/gbin/projects/err-snippets/templates]
DEBUG:Activating plugin: bots.Snippets
DEBUG:Init storage for Snippets
DEBUG:Loading /home/gbin/tmp/r2/plugins/Snippets.db
DEBUG:Opened shelf of Snippets
DEBUG:Adding command : snippet_add -> snippet_add
INFO:
INFO:Notifying connection to all the plugins...
INFO:Callback_connect
INFO:Join room [email protected]
INFO:
INFO:Plugin activation done.

from errbot.

zoni avatar zoni commented on August 22, 2024

Looks good! I just bumped our version up to the latest, will keep an eye on the logs and let you know if it's fixed for sure or not

from errbot.

zoni avatar zoni commented on August 22, 2024

I can confirm that 05fefde has fixed the issue

from errbot.

gbin avatar gbin commented on August 22, 2024

Awesome thx

from errbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.