Telegram Bot Issue After cTrader Update – “Bot Sleeping” Error

Created at 29 Apr 2025, 14:44
stevenrm's avatar

stevenrm

Joined 16.04.2024

Telegram Bot Issue After cTrader Update – “Bot Sleeping” Error
29 Apr 2025, 14:44


Hey fellow traders and devs 👋

I’ve been running a Telegram bot integrated with my cTrader cBot for quite a while now — it was working flawlessly to send alerts whenever trades were triggered, signals appeared, etc.

But recently, after what seems to be a new update to cTrader (not sure which exact one, maybe you’ve noticed too?), I started getting this error:

"Telegram bot sleeping, wake it up.."

Now, I haven’t changed anything in my Telegram code or webhook logic. Everything was running smooth before. So I’m starting to wonder — could this be related to the latest cTrader update?

My setup:

cBot uses async HTTP POST to send data to a Telegram bot server

It checks connection state before sending

Alerts are sent from OnBar() or OnPositionOpened() based on some internal logic

I’ve tried restarting cTrader, reconnecting the bot, even re-generating the Telegram token — no luck.

If anyone else is experiencing this, or has found a workaround or explanation, I’d really appreciate your input. 🙏 Maybe it's a change in how cTrader handles async tasks or timing?

Let’s help each other out here, especially if you also send alerts to Telegram via cTrader bots.

Cheers


@stevenrm