TelegramBots / Telegram.Bot.Examples

Examples for the Telegram.Bot C# Library
MIT License
640 stars 294 forks source link

Telegram Bot on the server #488

Closed fox-15 closed 1 year ago

fox-15 commented 1 year ago

Good evening!

I'm using this example for ASP.NET Core to build a bot and further test it. In development mode I use ngrok which creates a tunnel to localhost 8443 ngrok http https://localhost:8443 This code works great, the bot responds to simple messages

I placed the project on the server, the application responds, the web page opens, the certificate works, but the bot does not accept messages and therefore does not respond. I use IIS, added the https://myserver.com:8443 binding, my certificate: V3 sha256RSA CN = R3 O = Let's Encrypt C = US

Maybe Let's Encrypt doesn't meet the standard required for Telegram?

karb0f0s commented 1 year ago

We do not provide this kind of support on Github. If you want to chat, feel free to join our group.

fox-15 commented 1 year ago

Ok! Thank you!