RSS-Bridge / rss-bridge

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

YouTube Embed Bridge failed with error 0 #4061

Open adegans opened 2 months ago

adegans commented 2 months ago
HttpException: cURL error : 23 (https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.youtube.com/%40arnandegans/videos in lib/http.php line 154

index.php(72): RssBridge->main()
lib/RssBridge.php(103): DisplayAction->execute()
actions/DisplayAction.php(68): DisplayAction->createResponse()
actions/DisplayAction.php(117): YoutubeEmbedBridge->collectData()
bridges/YoutubeEmbedBridge.php(47): YoutubeEmbedBridge->collectDataInternal()
bridges/YoutubeEmbedBridge.php(68): YoutubeEmbedBridge->fetch()
bridges/YoutubeEmbedBridge.php(123): getSimpleHTMLDOM()
lib/contents.php(162): getContents()
lib/contents.php(83): CurlHttpClient->request()
lib/http.php(154)

Query string: action=display&bridge=YoutubeEmbedBridge&context=Channel+handle&h=%40arnandegans&format=Html
Version: 2024-02-02
Os: Linux
PHP version: 8.1.27

What does this mean? And why is the url or the return (?) wrong (it's not... But why is libcurl being stupid with it...) It works on the public rss bridge instance in the Youtube Bridge, not on my VPS server for both this and the official Youtube bridge.

Channel ID's work fine - eg: UC-gNtK3RMsVTOxvoJxVUTMw or UCz9qw5nupdzCGwHwQiqs7qA) Custom names/Channel Handles do NOT - eg: arnandegans or imkibitz

I thought i had it working over the past 3 days or so, but today it does not. Disabling cache (null) doesn't help.

I can't figure it out and the code 23 explanation means nothing to me...

Please advise, thanks!

adegans commented 2 months ago

Same thing with the EZTVBridge...

Context
Query: action=display&bridge=EZTVBridge&ids=11126994&no480=on&no1080=on&no2160=on&noUnknownRes=on&format=Atom
Version: 2024-02-02
OS: Linux
PHP: 8.1.27
dvikan commented 2 months ago
CURLE_WRITE_ERROR (23)

An error occurred when writing received data to a local file, 
or an error was returned to libcurl from a write callback. 

Strange, Perhaps read-only fs?

adegans commented 2 months ago

Dunno, I don't know what that description means. Hence this topic. It worked in earlier tests a few days ago for YouTubeEmbedVideo which I'm developing. Plus, it works for other methods that use curl (I think).

🤷🏻‍♂️

dvikan commented 2 months ago

Full disk?

adegans commented 2 months ago

As in no more storage? No. close to 50 GB free.

dvikan commented 2 months ago

hard to debug but curl is unable to write file to your fs.

i'd check if it is read-only mounted. also i'd reboot and see if it resolve issue.

adegans commented 2 months ago

Eh... ok. No idea how to check what curl does or why (not). It's a Centos/Cpanel VPS.

I can reboot it yes.

adegans commented 2 months ago

Reboot didn't help.

adegans commented 2 months ago

Other curl stuff also appears dodgy. Checking with hosting support.

adegans commented 2 months ago

Hosting support is once again utterly useless so far. If anyone has anything smart for this issue please let me know.