rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

- YouTube failed with error 403 (can our server's IP be blocked?)

Open tio-trom opened this issue 4 years ago • 9 comments

Error message: Unexpected response from upstream. cUrl error: (0) PHP error: Query string: action=display&bridge=Youtube&context=By+username&u=physicswoman&duration_min=&duration_max=&format=Mrss Version: dev.2021-04-25

This is our instance https://rss.trom.tf/ - it used to work like a charm for months. We did no change, and suddenly no youtube account works.

A friend has the same rss bridge version at https://rss.alexio.tf/ and it works on that instance.

That leads me to think that our server got banned by youtube. Is that possible?

tio-trom avatar Jun 24 '21 21:06 tio-trom

Not sure, if it is ban related. Public instance is working fine: https://feed.eugenemolotov.ru/?action=display&bridge=Youtube&context=By+username&u=physicswoman&duration_min=&duration_max=&format=Mrss

em92 avatar Jul 01 '21 19:07 em92

I don't think that the IP would be a Problem, as it is working on Snopyta too. And Snopyta runs one of the most famous Invidious Instances, and therefore their IP is blocked all the time...

And it should be on the same IP, as Nitter and the Twitter Bridge seeming to be blocked at the same time.

dhuschde avatar Jul 20 '21 13:07 dhuschde

Yah it started to work again not sure why....I can close this issue. As a side note, I too run lots of instances: invidious, nitter, and so forth at https://trom.tf/ so who knows maybe my server IP got temporarily blocked.

tio-trom avatar Jul 20 '21 13:07 tio-trom

I would like to re-open the issue since it started to not work anymore. One day works, one day it does not. I would like to know how RSS Bridge fetches the youtube rss and if it is possible that youtube can ban the server IP for fetching too many (requesting too many).

Check https://rss.trom.tf/?action=display&bridge=Youtube&context=By+channel+id&c=UCvBqzzvUBLCs8Y7Axb-jZew+&duration_min=&duration_max=&format=Html as an example. Error is:

 - YouTube was unable to receive or process the remote website's content!
Error message: `Unexpected response from upstream.
cUrl error: (0)
PHP error: `
Query string: `action=display&bridge=Youtube&context=By+channel+id&c=UCvBqzzvUBLCs8Y7Axb-jZew+&duration_min=&duration_max=&format=Html`
Version: `dev.2021-04-25`

    Press Return to check your input parameters
    Press F5 to retry
    Check if this issue was already reported on GitHub (give it a thumbs-up)
    Open a GitHub Issue if this error persists

tio-trom avatar Aug 03 '21 15:08 tio-trom

I cannot reproduce it. Maybe you have error.log with this error?

If you don't want errors to appear in feed, maybe following config is enough?

[error]
output = "http"

em92 avatar Aug 15 '21 18:08 em92

What error.log file should I check? I see none in the main rss-bridge folder or var/log. But the issue is that I cannot create a youtube RSS feed as you can see in the link I provided above. It does not work. And I wonder why.

tio-trom avatar Aug 16 '21 00:08 tio-trom

What error.log file should I check? I see none in the main rss-bridge folder or var/log

That one that your server generates. If you are using nginx, that is probably /var/log/nginx/error.log

But the issue is that I cannot create a youtube RSS feed as you can see in the link I provided above. It does not work. And I wonder why.

At the moment it is related to issue https://github.com/RSS-Bridge/rss-bridge/issues/2113. I remember, that yesterday night (YEKT) it was working.

em92 avatar Aug 16 '21 06:08 em92

@tio-trom The youtube feeds fails sometimes and this is normal. If I were to guess it's when they deploy to prod or something.

dvikan avatar Mar 26 '22 23:03 dvikan

This seems to be an intermittent error, so it is probably be fixed by #2692

yamanq avatar May 11 '22 19:05 yamanq