RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
7.37k stars 1.04k forks source link

Telegram failed with: Unable to find channel. The channel is non-existing or non-public. #4272

Open kevsfastz opened 2 months ago

kevsfastz commented 2 months ago

Recently been receiving the below error with all public telegram channels.

Exception: Unable to find channel. The channel is non-existing or non-public. in bridges/TelegramBridge.php line 46

index.php(68): RssBridge->main()
lib/RssBridge.php(39): RssBridge->{closure}()
lib/RssBridge.php(37): CacheMiddleware->__invoke()
middlewares/CacheMiddleware.php(44): RssBridge->{closure}()
lib/RssBridge.php(37): ExceptionMiddleware->__invoke()
middlewares/ExceptionMiddleware.php(17): RssBridge->{closure}()
lib/RssBridge.php(37): SecurityMiddleware->__invoke()
middlewares/SecurityMiddleware.php(19): RssBridge->{closure}()
lib/RssBridge.php(37): MaintenanceMiddleware->__invoke()
middlewares/MaintenanceMiddleware.php(10): RssBridge->{closure}()
lib/RssBridge.php(37): BasicAuthMiddleware->__invoke()
middlewares/BasicAuthMiddleware.php(13): RssBridge->{closure}()
lib/RssBridge.php(37): TokenAuthenticationMiddleware->__invoke()
middlewares/TokenAuthenticationMiddleware.php(10): RssBridge->{closure}()
lib/RssBridge.php(34): DisplayAction->__invoke()
actions/DisplayAction.php(54): DisplayAction->createResponse()
actions/DisplayAction.php(89): TelegramBridge->collectData()
bridges/TelegramBridge.php(46)

Query string: action=display&bridge=TelegramBridge&username=disclosetv&format=Html
Version: 2024-02-02 (git.master.80c43f1)
Os: Linux
PHP version: 8.2.20

Maintainer: @VerifiedJoseph

VerifiedJoseph commented 2 months ago

I can reproduce this issue locally but not on the official instance or when using the docker image.

How are you running rss-bridge?

I recommend switching a docker based setup if possible. See the link below for how. https://github.com/RSS-Bridge/rss-bridge?tab=readme-ov-file#install-from-docker-hub

kevsfastz commented 2 months ago

I am currently running rss-bridge using the rssbridge/rss-bridge:latest docker image.

I am able to reproduce with the official instance here as well as local:

https://rss-bridge.org/bridge01/?action=display&bridge=TelegramBridge&username=disclosetv&format=Html

VerifiedJoseph commented 2 months ago

Looks like the channel can't be viewed or previewed outside of telegram's app.

kevsfastz commented 2 months ago

I had the same thought, but I tried five different public channels, and they all produced the same result. Have you been able to get it working with any channel? I use RSS-Bridge with multiple channels, and they all stopped working around the same time, so I suspect something may have changed on Telegram’s side that is causing this issue.

VerifiedJoseph commented 2 months ago

Have you been able to get it working with any channel?

Yes. with rssbridge, telegram and a few others.