TelegramBots / Telegram.Bot

.NET Client for Telegram Bot API
https://telegrambots.github.io/book
MIT License
3.17k stars 684 forks source link

unable to receive messages via webhook #88

Closed eulphean closed 7 years ago

eulphean commented 8 years ago

I'm using Telegram.Bot sdk and went through the steps to configure the webhook. I'm not receiving any messages from telegram. Here are some things I'm doing and some questions:

1: I'm configuring endpoint with port 443 and not 8443. Telegram's FAQ says that it's fine.

2: I call the setWebhook utility with a self-signed certificate and the endpoint url. This succeeds gracefully. Do I still need to configure the endpoint using the commands you mentioned? If so, why?

// Endpoint musst be configured with netsh: // netsh http add urlacl url=https://+:8443/ user= // netsh http add sslcert ipport=0.0.0.0:8443 certhash= appid=

3: I'm deploying this on Azure website and it gives me a https endpoint by default.

Thanks in advance for your help.

fontourafernando commented 8 years ago

Hi, I'm having the same problem. Managed to solve ?

mhverbakel commented 8 years ago

I have no problem with this. How are you handling the webhook request?

ddadkhah commented 7 years ago

I have same problem. Is any one to help us?

mhverbakel commented 7 years ago

How do you deploy the application?

ddadkhah commented 7 years ago

My Problem resolved automatically. I don't know why. Thx

poulad commented 7 years ago

@eulphean Feel free to reopen this if the issue isn't resolved and please follow issue template.