question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Matrix: Invalid T2Bot Webhook ID

See original GitHub issue

I get this error An invalid T2Bot/Matrix Webhook ID (192.168.1.1) was specified., although my webhook ID seems to be OK. I tried following URLs:

matrix://maaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatrix@192.168.1.1:9000
matrix://maaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatrix@192.168.1.1:9000?webhook=matrix
matrix://maaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatrix@192.168.1.1:9000?webhook=slack&format=markdown

After I looked into the code, it looks like a simple bug, that host part of the URL ist validated instead of token:

https://github.com/caronc/apprise/blob/a5510790baf5aa1d74afabab25ff57d6b2304d56/apprise/plugins/NotifyMatrix.py#L247-L248

Could be a simple fix, if that’s the case.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
caronccommented, Aug 2, 2021

Just to let you know, i finally updated the wiki docs (for Matrix) too to be more consistent with the source code. Also, a new pending pull request (#417) will add a bit more bulletproofing to service as well.

Thanks again for your help! 👍

0reactions
m1k1ocommented, Jul 29, 2021

I created PR that is fixing the major problems. After those changes I am able to fully use matrix webhook. It might need a rewrite, but as for now it works great with selfhosted t2bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

matrix-appservice-webhooks/PROVISIONING.md at master
Gets information about the bridge instance, such as the bridge bot user ID. Inputs. None. Successful Response (200). { "success": true, "botUserId" ...
Read more >
Webhooks Bridge - t2bot.io
The bridge will send you a URL to use in a private chat alongside simple instructions on how to use it. Connecting a...
Read more >
This Week in Matrix 2022-03-04
t2bot.io - a public integrations network for Matrix - has passed 1 Million known rooms and 8.3 Million bridged users.
Read more >
Invalid webhook url specified Error in Telegram bot
I am trying to make a simple telegram echo bot and use webhooks in it (ngrok). I am getting ...
Read more >
matrix-appservice-discord - Bountysource
So I think my install might have gone a bit wrong, I've upgraded from an older version (not sure which one) due to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found