GithubHelp home page GithubHelp logo

Comments (5)

tuxmartin avatar tuxmartin commented on June 15, 2024

Is there any "auto reconnect" option?

from matterbridge.

JonathanBouillon avatar JonathanBouillon commented on June 15, 2024

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.

tuxmartin avatar tuxmartin commented on June 15, 2024

@JonathanBouillon hi, did you manage to solve it somehow?
Restarting matterbridge is not the solution because I will lose messages.

from matterbridge.

JonathanBouillon avatar JonathanBouillon commented on June 15, 2024

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.

tuxmartin avatar tuxmartin commented on June 15, 2024

@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)

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.