chatwoot
chatwoot copied to clipboard
Chatwoot-Telgram integration chatwoot is running on cloud plotform but after integrating telegram bot messages are not coming and going
Chatwoot-Telgram integration chatwoot is running on cloud platform but after integrating telegram bot messages are not coming and going. Please do the needful
@jayachandrab, Could you provide a screencast of the behavior?
Please find the attached screen shot
as shown in the above screen shot there is not send message option or not receiving any messages sent to bot by other users.
@jayachandrab, you can verify whether your telegram bot is successfully connected to the chatwoot installation by calling the following URL
#replace your bot token with the actual token
https://api.telegram.org/bot{your_bot_token}/getWebhookInfo
If successfully connected, it will return your installation/webhooks/telegram. if it is not connected, try deleting the inbox and reconnecting again.
ref: https://www.chatwoot.com/docs/contributing-guide/telegram-channel-setup
I got the below response {"ok":true,"result":{"url":"","has_custom_certificate":false,"pending_update_count":7}} when hit the below url. https://api.telegram.org/bot{your_bot_token}/getWebhookInfo
after registering webhook url with blew link
https://api.telegram.org/bot5691078884:AAGFaarH8Ku8Ap85ruA2v2N7NpKHd0_odf0/setWebhook?url=https://blai.cloudgaming.my
i got below response for the below url
https://api.telegram.org/bot5691078884:AAGFaarH8Ku8Ap85ruA2v2N7NpKHd0_odf0/getWebhookInfo
{"ok":true,"result":{"url":"https://blai.cloudgaming.my","has_custom_certificate":false,"pending_update_count":9,"last_error_date":1663161009,"last_error_message":"SSL error {error:0A000086:SSL routines::certificate verify failed}","max_connections":40,"ip_address":"52.187.37.182"}}
@jayachandrab please refer : https://stackoverflow.com/questions/49308744/telegram-bot-ssl-error-ssl-error-error1416f086ssl-routinestls-process-serve
currently I am getting below error now the ssl corticate error is not coming
{"ok":true,"result":{"url":"https://blai.cloudgaming.my/app/accounts/1/inbox/31","has_custom_certificate":false,"pending_update_count":4,"last_error_date":1663571034,"last_error_message":"Wrong response from the webhook: 404 Not Found","max_connections":40,"ip_address":"52.187.37.182"}}
@jayachandrab you don't need to manually set the url. if the you fixed the SSL error. just delete the inbox and recreate a new one. Chatwoot will automatically register the appropriate webhook with telegram
if I add a new one again same issue, no messages are coming to inbox and goin from inbox. Without manually setting when I hit the below url
https://api.telegram.org/bot5691078884:AAGFaarH8Ku8Ap85ruA2v2N7NpKHd0_odf0/getWebhookInfo
got below response.
{"ok":true,"result":{"url":"","has_custom_certificate":false,"pending_update_count":8}}
Closing this here as the problem is not related to Chatwoot but an issue with SSL Setup.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.