Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Feed failed to generate with error 0 #2256

Closed
pech2 opened this issue Aug 29, 2021 · 5 comments · Fixed by #2208
Closed

YouTube Feed failed to generate with error 0 #2256

pech2 opened this issue Aug 29, 2021 · 5 comments · Fixed by #2208

Comments

@pech2
Copy link

pech2 commented Aug 29, 2021

I'm running RSS-Bridge locally with Docker. When I try to generate a YouTube feed I get the following error message.

Error message: `Unexpected response from upstream.
cUrl error:  (7)
PHP error: `
Query string: `action=display&bridge=Youtube&context=By+channel+id&c=veritasium&duration_min=&duration_max=&format=Html`
Version: `dev.2021-04-25`

I tried generating a feed with Twitter and it seems to look ok. It seems to specifically not work with YouTube.

@em92
Copy link
Contributor

em92 commented Aug 30, 2021

@em92 em92 linked a pull request Aug 30, 2021 that will close this issue
@pech2
Copy link
Author

pech2 commented Aug 31, 2021

I tried your suggestion and received this error.

Error message: `Unexpected response from upstream.
cUrl error:  (7)
PHP error: `
Query string: `action=display&bridge=Youtube&context=By+channel+id&c=UCHnyfMqiRRG1u-2MsSQLbXA&duration_min=&duration_max=&format=Html`
Version: `dev.2021-04-25`

I tried creating a feed on https://feed.eugenemolotov.ru/ which is running RSS-Bridge on git.master.68d9e2f and it works with UCHnyfMqiRRG1u-2MsSQLbXA.

@em92
Copy link
Contributor

em92 commented Sep 5, 2021

Still cannot reproduce it. If you have ssh access, run following commands and upload termbin links here.

curl https://www.youtube.com/feeds/videos.xml?channel_id=UCHnyfMqiRRG1u-2MsSQLbXA -v 2>&1 | nc termbin.com 9999
curl https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA/videos -v 2>&1 | nc termbin.com 9999

@pech2
Copy link
Author

pech2 commented Sep 7, 2021

I'm running rss-bridge with docker-compose on Windows 10 using WSL 2 as the backend.

version: '2'
services:
  rss-bridge:
    volumes:
      - ./whitelist.txt:/app/whitelist.txt
    build:
      context: .
    image: rssbridge/rss-bridge:latest
    ports:
      - 12382:80
    restart: unless-stopped

On Windows:
https://termbin.com/s44p
https://termbin.com/dakp

Inside the rss-bridge container:
https://termbin.com/g4a6
https://termbin.com/7dii

Seems like the error might have something to do with IPv6?

@pech2
Copy link
Author

pech2 commented Sep 7, 2021

So the issue is probably related to WSL 2 not supporting IPv6 as described here microsoft/WSL#4518. Since this is unrelated to RSS-Bridge, I'm going to close the issue.

Thanks @em92 for the help.

@pech2 pech2 closed this as completed Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants