Comments (5)
Is there any "auto reconnect" option?
from matterbridge.
Hello,
we've got the same problem. After a RocketChat-Server restart we couldn't connect to the RocketChat-Server anymore with the same error.
time="2023-12-04T09:43:04Z" level=error msg="SendMessage failed: {"details":{"method":"sendMessage"},"error":"error-invalid-user","errorType":"Meteor.Error","isClientSafe":true,"message":"Invalid user [error-invalid-user]","reason":"Invalid user"}" prefix=gateway
After a restart of the Matterbridge instance (1.26.0) we connected successfully.
We also had some errors regarding a 404 page not found:
time="2023-12-04T00:41:51Z" level=info msg="reconnect: login" prefix=matterclient
time="2023-12-04T00:41:51Z" level=error msg="reconnect: login failed: AppErrorFromJSON: model.utils.decode_json.app_error, body: 404 page not found
, retrying in 10 seconds" prefix=matterclient
time="2023-12-04T00:42:01Z" level=info msg="reconnect: login" prefix=matterclient
time="2023-12-04T00:42:02Z" level=error msg="reconnect: login failed: AppErrorFromJSON: model.utils.decode_json.app_error, body: 404 page not found
, retrying in 10 seconds" prefix=matterclient
time="2023-12-04T00:42:12Z" level=info msg="reconnect: login" prefix=matterclient
time="2023-12-04T00:42:12Z" level=error msg="reconnect: login failed: AppErrorFromJSON: model.utils.decode_json.app_error, body: 404 page not found
, retrying in 10 seconds" prefix=matterclient
time="2023-12-04T00:42:22Z" level=info msg="reconnect: login" prefix=matterclient
time="2023-12-04T00:42:22Z" level=error msg="reconnect: login failed: AppErrorFromJSON: model.utils.decode_json.app_error, body: 404 page not found
, retrying in 10 seconds" prefix=matterclient
time="2023-12-04T00:42:32Z" level=info msg="reconnect: login" prefix=matterclient
time="2023-12-04T00:42:32Z" level=error msg="reconnect: login failed: AppErrorFromJSON: model.utils.decode_json.app_error, body: 404 page not found
, retrying in 10 seconds" prefix=matterclient
Additionally, and this could be the problem, we got a "Could not get terms of use":
time="2023-12-02T00:34:59Z" level=error msg="connection not alive: : Konnte die Nutzungsbedingungen nicht abrufen., failed to get UserTermsOfService with userId=fgsswnyyi7ff5yz1d84k95apxr: dial tcp 172.28.0.3:5432: connect: no route to host" prefix=matterclient
from matterbridge.
@JonathanBouillon hi, did you manage to solve it somehow?
Restarting matterbridge is not the solution because I will lose messages.
from matterbridge.
Hello @tuxmartin ,
unfortunately not. We are using multiple gateways for multiple clients. Therefore a restart of the instance would result in losing messages too. And restarting the instance every like 30 minutes would be "stupid" too.
from matterbridge.
@JonathanBouillon I'm not sure if Matterbridge development is still active. It is a big problem for me, I would like to send some money to solve this error.
from matterbridge.
Related Issues (20)
- Is this project active? HOT 2
- Chat log repeated with duplicate messages after reconnection to Matrix HOT 1
- Messages coming from XMPP not relayed to Matrix intermittently
- Whatsapp bridging stopped working: Client outdated HOT 24
- slack -> discord attachments
- is whatsapp no longer working? HOT 3
- PluralKit Support?
- Order is not preserved on IRC <-> Telegram
- (irc <-> discord) Starting gateway failed: Bridge irc failed to start: connection failed dial tcp: lookup hostname: i/o timeout
- WhatsApp Gateway Error Message: Please configure gateway with channel="zzz" instead of channel="zzz" HOT 1
- Matterbridge gets into endless loop of trying to connect to Discord after failure, causing bot token to be revoked
- Slack app classic deprecation, can't add new bots since 06/06/2024 HOT 5
- Failed to fetch Prekey (Whatsapp)
- Can't start, keep getting the following error....
- WhatsApp with Baileys? HOT 2
- Sending messages with some GIFs or static pictures from the Discord fails to be delivered to the Telegram
- Buffer empty after stream disconnects
- Can an IRC bot read a Discord message? HOT 2
- Some messages from Telegram are doubled HOT 1
- telegram whatsapp bridge: [Client ERROR] Client outdated (405) connect failure HOT 24
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 matterbridge.