Forums

Telegram API ProxyError 503 – Free Account Bot Not Responding

Subject: Telegram API blocked by proxy.server:3128 — HTTP CONNECT 503

Hello PythonAnywhere Support Team,

My Telegram bot was previously working correctly on my free PythonAnywhere account.

Since October 26, 2026, it has stopped responding to incoming messages.

I have completed several diagnostic tests.

Test results:

  • Telegram API connection: HTTP CONNECT 503
  • Error: Received HTTP code 503 from proxy after CONNECT
  • Proxy: proxy.server:3128
  • Three consecutive attempts failed.
  • Another HTTPS destination returned HTTP 200 through the same proxy.
  • The error also occurs with curl, independently of my Python application.
  • Restoring the previous working bot code did not resolve the problem.
  • The bot process starts successfully.
  • Telegram API is already on the PythonAnywhere free-account allowlist.

Example:

"HTTP=000 CONNECT=503 TIME=0.001433"

This suggests the proxy is rejecting or failing the connection to api.telegram.org:443 before the HTTPS request reaches Telegram.

Could you please investigate the proxy connectivity for my free account and check whether any temporary restriction or upstream connectivity issue is affecting Telegram?

My bot is used to manage client requests, so restoring connectivity is important.

I would like to continue using my existing free account.

Thank you.

It looks like Telegram is blocking requests from our proxy. We don't guarantee externall connections to work on a free account.