- Bot does not receive updates in polling mode.
- Ensure webhook is deleted (
deleteWebhook).
- Ensure webhook is deleted (
- Telegram cannot open Mini App.
- Check
TELEGRAM_MINIAPP_URLis public HTTPS.
- Check
- Telegram linking does not confirm in browser.
- In Telegram chat with bot, press
Start, then press confirmation button. - Ensure
TELEGRAM_BOT_LINK_SECRETis identical inapps/backend/.envandapps/bot/.env. - Ensure
apps/bot/.env:BACKEND_PORTmatchesapps/backend/.env:PORT. - Ensure
apps/bot/.env:BACKEND_HOSTis reachable from bot runtime. - If bot shows
Link failed: Bot backend linking integration is not configured, check env and restart bot.
- In Telegram chat with bot, press
- Telegram auth endpoint returns signature/authorization error.
- Ensure
apps/backend/.env:TELEGRAM_BOT_TOKENmatchesapps/bot/.env:TELEGRAM_BOT_TOKEN.
- Ensure
- Webhook returns unauthorized.
- Check
TELEGRAM_WEBHOOK_SECRETand headerx-telegram-bot-api-secret-token.
- Check
- Backend DB issues.
- Re-run compose + migrations and verify tables.
- Rate limiting with Redis seems inactive.
- Ensure
RATE_LIMIT_ENABLED=trueandREDIS_URLis configured. - Ensure backend startup logs include
rate_limit_store_selectedwithprovider=redis. - Verify Redis keys after repeated auth attempts:
redis-cli -u "$REDIS_URL" --scan --pattern "rl:*"
- Ensure