Closed nminaya closed 3 years ago
Not sure what could be causing this exception, but it's only happening after upgrading Telegram.Bot to v16
Maybe now, that PR #280 was merged, everything is OK with this issue @nminaya
@Jadhielv The only change I see in v.16.0.2 is a property rename. (https://github.com/TelegramBots/Telegram.Bot/commit/22f0425ec1d0f8c7f9fa3e51efa54652fdb31f44). Not sure if that could be related with this issue. The exception counter is currently 4, I'll leave the issue opened to see if the counter increases.
This is an issue created automatically by GrammarNazi when an exception was captured.
Date (UTC): 07/06/2021 01:10:16
Exception:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 502 (Bad Gateway). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at Telegram.Bot.TelegramBotClient.MakeRequestAsync[TResponse](IRequest`1 request, CancellationToken cancellationToken) at Telegram.Bot.TelegramBotClientPollingExtensions.ReceiveAsync(ITelegramBotClient botClient, IUpdateHandler updateHandler, CancellationToken cancellationToken)
Exception caught counter: 8.