Issue downloading files

Created on 30 June 2024, 10 months ago
Updated 1 July 2024, 10 months ago

Problem/Motivation

Hi there,
I've just install the module and configure it locally.
I'm running version : * 2.1.5
My locall install is a php-fpm-alpine docker based image where a drupal project is running on.

I'm getting the following error launching "drush stage_file_proxy:dl" command in my container on all the assets that the module is trying to download:
[error] Stage File Proxy encountered an error when retrieving file https://www.hiddendomain.com/sites/default/files/content-galleries/mypic....
cURL error 5: Unsupported proxy syntax in ':': Port number was not a decimal number between 0 and 65535 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.hiddendomain.com/sites/default/files/content-galleries/mypic... in GuzzleHttp\Handler\CurlFactory::createRejection() (line 210 of /var/www/html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).

dumping the Guzzle client, I can see a 'proxy' property set to :

["proxy"]=>
array(3) {
["http"]=>
string(1) ":"
["https"]=>
string(1) ":"
["no"]=>
array(2) {
[0]=>
string(9) "127.0.0.1"
[1]=>
string(9) "localhost"
}
}

I've try a simple script using Guzzle on the same project where image path is hardcoded and it works like a charm.

Am I missing something on the module config ?

Thanks for your help.
Best regards.

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡«πŸ‡·France ghislefou

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024