Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Fatal error: Uncaught Exception: Failed to connect (was: It doesn't work for me) #413

Closed
bschemms opened this issue Sep 17, 2019 · 7 comments

Comments

@bschemms
Copy link

Description

I get this error message whenever I try to upload a video:
Fatal error: Uncaught Exception: Failed to connect to r1---sn-uxaxiv0nxx5q-nv4l.googlevideo.com port 443: Connection refused in /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Http/CurlClient.php:203 Stack trace: #0 /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Http/CurlClient.php(113): YoutubeDownloader\Http\CurlClient->getHttpResponseFromCurl(Resource id #52, Array) #1 /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Http/CurlClient.php(76): YoutubeDownloader\Http\CurlClient->sendRequest(Object(YoutubeDownloader\Http\Request)) #2 /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Application/ControllerAbstract.php(105): YoutubeDownloader\Http\CurlClient->send(Object(YoutubeDownloader\Http\Request), Array) #3 /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Application/ResultController.php(174): YoutubeDownloader\Application\ControllerAbstract->getSize('https://r1---sn...', Object(YoutubeDownloader\Config), Object(YoutubeDownloader\Toolkit)) #4 /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Application/App.php(83): Y in /srv/disk1/2948198/www/yttomp3yeet.125mb.com/src/Http/CurlClient.php on line 206

Steps to Reproduce

https://www.youtube.com/watch?v=PaErPyEnDvk

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: It lets me download it

Actual behavior: The error message above happens

Version

I don't know

Additional Information

I am using Google Chrome

@jeckman
Copy link
Owner

jeckman commented Sep 17, 2019

Thanks for providing detailed info.

The "Failed to connect" and "Connection refused" suggest that the server you are running this on can't connect to youtube's servers.

Possible your hosting provider does not allow the use of curl to connect to other servers?

Can you ssh in to a command line and try to use curl from the command line?

@mrhussnain
Copy link

same issue here but i have ssh and command line do you have any solution

@jeckman
Copy link
Owner

jeckman commented Sep 17, 2019

@mrhussnain you have the same error message? The same fatal exception at the same line?

@mrhussnain
Copy link

i am heaving this
error No format stream map found - was the video id correct?

@mrhussnain
Copy link

it is showing Error in video ID: HTTP is not supported.

@jeckman
Copy link
Owner

jeckman commented Sep 17, 2019

so if you are having "error No format stream map found - was the video id correct" then you are not having the same issue. That's covered in #396

If you're having "Error in video ID: HTTP is not supported" than you are using an outdated version as that was fixed some time ago.

Please don't jump onto threads like this as it only makes it harder for people to debug their own issues

@jeckman jeckman changed the title It doesn't work for me Fatal error: Uncaught Exception: Failed to connect (was: It doesn't work for me) Sep 17, 2019
@jeckman
Copy link
Owner

jeckman commented Jan 18, 2020

Old issue with no follow up - closing

@jeckman jeckman closed this as completed Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants