PHP Fatal error: Uncaught RuntimeException: Could not resolve host:

api.telegram.org

guys, please help on how to resolve this issue? 😕😢

6 ответов

39 просмотров

looks like DNS issue. Where is the bot running from?

Shrimadhav-U K Автор вопроса

hetzner.. i tried ping api.telegram.org, that is working fine. the issue in the php error. 🤔

Look here, This may help you https://github.com/irazasyed/telegram-bot-sdk/issues/293

Shrimadhav-U K Автор вопроса

oh, thanks, let me try 👍

Shrimadhav-U K Автор вопроса

thanks 👍 this worked, but not sure, why this error came all of a sudden, i was using the same server for almost 4 months. 🤷‍♂️

🤷🏻‍♂

Похожие вопросы

Карта сайта