Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stopped working after newest update. #911

Open
Mrs-Feathers opened this issue Feb 2, 2024 · 2 comments
Open

stopped working after newest update. #911

Mrs-Feathers opened this issue Feb 2, 2024 · 2 comments

Comments

@Mrs-Feathers
Copy link

updated the matrix server software (synapse) and this bot stopped working. no errors in console, it just wont do anything anymore. seems to think its connected when i boot it up, but its not online

@perfectra1n
Copy link

I experienced the same thing, there are no error logs, and the debug log says that it's online/connected. However, it just shows offline in Element/Matrix with absolutely zero information lol.

@christheradioguy
Copy link

This might have to do with the fact that some communication URIs were removed with Synapse 1.88. I noticed that after upgrading I was unable to send messages to Discord users, nor communicate with the bot. My solution was to point the appservice registration file to a local nginx server, and then rewrite the URIs to what the bridge expected.

If it helps anyone, my Nginx config looks like this:

server {
        listen 30334 default_server;
        listen [::]:30334 default_server;
        server_name _;

        # Rewrite bridge requests from new Synapse server to old bridges
        location ~ /_matrix/app/v1/transactions/(.+) {
                proxy_pass              http://127.0.0.1:29334/transactions/$1;
        }
        location / {
                proxy_pass              http://127.0.0.1:29334;
        }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants