Comments (8)
ref: #7485 (comment)
for debugging telegram errors on self-hosted
ref: https://www.chatwoot.com/docs/contributing-guide/telegram-channel-setup
from chatwoot.
ref: #7485 (comment)
for debugging telegram errors on self-hosted
ref: https://www.chatwoot.com/docs/contributing-guide/telegram-channel-setup
Thank you for trying to help!
I did:
- installed ngrok, registered on the site and got the key
- ran it with the command
ngrok http 3000
- change FRONTEND_URL in .env file on - https://af31-2a03-6f01-1-2-00-1333ngrok-free.app
sudo systemctl restart chatwoot.target
- Tried to run the command:
curl https://api.telegram.org/bot{999999999:AAETW4vpbwZZZ2yhLr-durC1_gypcdNro21U}/getWebhookInfo
Got the answer:
{
"ok": true,
{ "result": {
{ "url": "https://af31-2a03-6f01-1-2-00-1333ngrok-free.app/webhooks/telegram/999999999:AAETW4vpbwZZ2yhLr-durC1_gypcdNro21U",
"has_custom_certificate": false,
"pending_update_count": 4,
"last_error_date": 1710268040,
"last_error_message": "Wrong response from the webhook: 404 Not Found",
"max_connections": 40,
"ip_address": "3.125.102.39"
}
}
P.S. For security, in my reply, I changed the ngrok URL and Telegram token a bit (so that no one would use my URL or token)
Maybe I'm doing something wrong?
from chatwoot.
@wedcanto, the next thing you can do is verify whether these webhooks are coming correctly to the Chatwoot . you can see it in the logs. Also note that the telegram payload has an error
" "last_error_message": "Wrong response from the webhook: 404 Not Found","
Means telegram is experiencing 404 at some point. ensure that your ngrok URL is pointed to the correct port.
from chatwoot.
closing as original issue is resolved.
please refer: https://github.com/chatwoot/chatwoot/tree/develop/app/services/telegram
from chatwoot.
PR-985 Integration with Telegram does not work
from chatwoot.
I'm not allowed access to your link.
from chatwoot.
@wedcanto, the next thing you can do is verify whether these webhooks are coming correctly to the Chatwoot . you can see it in the logs. Also note that the telegram payload has an error
" "last_error_message": "Wrong response from the webhook: 404 Not Found","
Means telegram is experiencing 404 at some point. ensure that your ngrok URL is pointed to the correct port.
Thank you so much for trying to help!
I did the following - from scratch, installed Chatwoot not in the docker, but following the "Linux VM" instructions. And everything worked...
That's very strange, because I've already tried reinstalling several times. I think the bug can be closed.
But I have a question - where are the Telegram bot files in Chatwoot? I want to order some improvements from a programmer. I need to expand the capabilities of the Telegram bot. I want to send not only text and pictures, but also "Buttons" so that the user can choose from the options I offer.
from chatwoot.
Related Issues (20)
- Initiate an email with contact HOT 4
- E-Mails without a MessageID get not parsed. HOT 3
- Show All count for Filters/Folders HOT 1
- Channel user data missing HOT 2
- Forwarding email doesn´t work out of the box? HOT 6
- microsoft email option is grayed out if azure app id not configured HOT 3
- Option to NOT disconnect an erroring IMAP inbox which was previously working HOT 2
- Alternate side of private notes HOT 2
- OpenAI proxy HOT 8
- File Received HOT 4
- feat: ability to zoom in images HOT 4
- Chatwoot goes to standby HOT 4
- Make AI (ChatGPT) Search through knowledge base for suggested answer HOT 2
- Tag bug HOT 7
- Location Message Text Is Not Wrapped HOT 3
- feat: Ability to collect CSAT survey response via whatsapp button message instead of survey link HOT 1
- Prompt CSAT with an Ongoing Campaign HOT 1
- cwctl upgrade from develop branch HOT 2
- Delete old files to avoid disk overload - Maintainability HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatwoot.