Skip to content

Cannot send notifications through matrix #415

@monkeyfella

Description

@monkeyfella

Running watchtower, and have tried by sending notifications with the 0.8 version as well.

I have joined a room on the matrix server, because I could not get the bot to join a room it was invited to.

In watchtower I try to send with this url:
WATCHTOWER_NOTIFICATION_URL: "matrix://shoutrrr:redacted@matrix.domain.com"

I get:

level=error msg="Failed to send shoutrrr notification" error="1 error(s) sending message, with initial error: failed to send message to room '!DSfY3QSFnozlLb7Qhu:domain.com': M_UNRECOGNIZED: Unrecognized request" index=0 notify=no service=matrix

And on the matrix server the logs show:

2023-11-21T07:01:40.011417Z  WARN conduit: Not found: 
/_matrix/client/r0/rooms/%21DSfY3QSFnozlLb7Qhu:domain.com/send/m.room.message?access_token=<REDACTED>
2023-11-21T07:02:22.868338Z  WARN conduit: Not found: /_matrix/client/r0/rooms/

When trying to send with

./shoutrrr send -u matrix://shoutrrr:password@matrix.domain.com -m test

Logs show:

1 error(s) sending message, with initial error: failed to send message to room '!DSfY3QSFnozlLb7Qhu:domain.com': M_UNRECOGNIZED: Unrecognized request

and the logs on the matrix server shows:

2023-11-21T07:07:53.824758Z  WARN conduit: Not found: /_matrix/client/r0/rooms/%21DSfY3QSFnozlLb7Qhu:domain.com/send/m.room.message?access_token=<REDACTED>

I've redacted the real domain name

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions