Api Error : 500

Website URL

https://moviehut.web1337.net

Error Message

Error: 500 (http_request_failed - cURL error 6: Could not resolve host: patient-recipe-cf21.yehasunabid3636.workers.dev)

Other Information

Subject: Please allow outgoing connection to api.telegram.org

Hello Support Te

I am using the “WP Telegram” WordPress plugin. When it tries to connect to the Telegram API, I get this error:

cURL error 6: Could not resolve host: api.telegram.org

Please:

Fix the server DNS so that api.telegram.org can be resolved.
Allow outgoing HTTPS (TCP port 443) connections to api.telegram.org in the server firewall.
If outgoing connections are not allowed on my plan, please tell me which plan supports it.

Thank you.

Welcome to the InfinityFree community forum! Good to have you here.

  • Most people answering here are volunteers. They’re often the fastest source of help. Admin (the only staff member) checks in about once a day for issues on our end.
  • Volunteers can’t see your account or website. Share what you actually see, like error messages and what happens when you try something. That’s more useful than your theory of what’s wrong.
  • AI tools often get InfinityFree wrong. If a volunteer’s advice differs from what an AI told you, please try the volunteer’s suggestion first.
  • Solving an issue is a joint effort. Try the suggestions you get and report back what happened.

Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look.

This is a limit on free hosting, not a DNS fault. Telegram, including bots, is blocked entirely on InfinityFree. So api.telegram.org won’t resolve, and the firewall can’t be opened for it.

Your error names patient-recipe-cf21.yehasunabid3636.workers.dev, which is a Cloudflare Workers address. Cloudflare Workers is on the same blocked list, so routing the plugin through a Worker as a proxy fails the same way.

The article says connections to blocked services “may not resolve at all”, and that’s the cURL error 6: Could not resolve host you’re seeing. It also says to upgrade to premium hosting if you need these services, or to use an alternative service. It doesn’t say which premium plan.

Here is the article:

Access to the Telegram API is blocked on our hosting due to abuse. Connecting to services commonly used to bypass the block to the Telegram API is also blocked, because we do not want you to connect to the Telegram API.

The block is working as intended, so there is nothing to fix, and no exceptions will be made.

You can migrate to premium hosting to bypass it. Any premium plan is fine, this restriction is only on free hosting.