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 Embed Bridge failed with error 0 #4061

Open
adegans opened this issue Apr 5, 2024 · 10 comments
Open

YouTube Embed Bridge failed with error 0 #4061

adegans opened this issue Apr 5, 2024 · 10 comments

Comments

@adegans
Copy link

adegans commented Apr 5, 2024

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
Copy link
Author

adegans commented Apr 5, 2024

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
Copy link
Contributor

dvikan commented Apr 5, 2024

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
Copy link
Author

adegans commented Apr 5, 2024

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
Copy link
Contributor

dvikan commented Apr 5, 2024

Full disk?

@adegans
Copy link
Author

adegans commented Apr 5, 2024

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

@dvikan
Copy link
Contributor

dvikan commented Apr 5, 2024

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
Copy link
Author

adegans commented Apr 5, 2024

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
Copy link
Author

adegans commented Apr 5, 2024

Reboot didn't help.

@adegans
Copy link
Author

adegans commented Apr 6, 2024

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

@adegans
Copy link
Author

adegans commented Apr 23, 2024

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

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

No branches or pull requests

2 participants