Matrix: Invalid T2Bot Webhook ID
See original GitHub issueI 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:
Could be a simple fix, if that’s the case.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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! 👍
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.