Comments (8)
Thx a lot for your report, I gonna split it as they are 2 different issues there : #60
from errbot.
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.
I've not been keeping logs, so I will need to do that. I believe it is after long inactivity.
from errbot.
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.
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.
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.
I can confirm that 05fefde has fixed the issue
from errbot.
Awesome thx
from errbot.
Related Issues (20)
- using errbot command from user results in channel not found slack HOT 2
- Create a new release HOT 11
- in_reply_to doesn't work with telegram backend
- Is it possible to make send_stream_request to send file as a reply to the message ?
- Error while starting errbot for Slack HOT 4
- Repository
- problem installing errbot on Ubuntu Jammy Jellyfish 22.04 LTS in Oct 2023 HOT 3
- Getting a KeyError: 'team_id' HOT 2
- Automate release process HOT 2
- Problem with errbot and Werkzeug in raspbian bookworm and python 3.12.0 HOT 1
- Is errbot project still actively maintained? HOT 6
- errbot 6.2.0 image is arm64 only? HOT 1
- Automatically reconnect XMPP after connection is lost HOT 2
- No dependency version for python-telegram-bot is specified in the Documentation HOT 2
- Graphlib errors on install HOT 2
- Unable to import custom python modules on Python 3.11+ HOT 4
- Plugin config through Slack fails because of Unicode characters HOT 1
- Package installation issues
- Ignore
- Update docs to mention naming conflicts with imported python modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from errbot.