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)
- [irc] Document "MessageClipped" config key
- Hide join/left messages in Matrix
- Split long message by spaces HOT 1
- "ReplaceMessages" does not work with image/video captions
- Update whatsmeow to support whatsapp channels
- Discord `UseLocalAvatar` option does not work for most users
- panic: runtime error: slice bounds out of range [:5] with length 4
- Mattermost: SendMessage failed: Unsupported start tag HOT 2
- Bridge discord account instead of servers
- sending from slack to discord corrupts content of the message
- Discord bridge does not delete messages when using webhooks HOT 1
- KeepQuotedReply=true breaks bridging messages from Matrix HOT 1
- use Telegram's updateDeleteMessages to propagate message deletion
- XMPP New Line EOF
- No direct tls connection to xmpp server
- Starting gateway failed: Bridge discord.account failed to start: HTTP 401 Unauthorized HOT 3
- Add support for bot shutdown/maintenance message
- Support message retraction for XMPP HOT 1
- Forwarded image from Telegram doesn't show link on IRC and XMPP HOT 1
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.