cURL fails if the production server runs some sort of cheap SSL certificate that can't be validated (for example, certificates that have chained root CA's). Stage File Proxy should therefore simply ignore SSL related errors.

Comments

smk-ka’s picture

Status: Active » Needs review
StatusFileSize
new748 bytes
smk-ka’s picture

Fixed coding style, sorry.

greggles’s picture

Status: Needs review » Closed (duplicate)

I think this would also be fixed by #1014470: Use drupal_http_request instead of cURL so marking a duplicate of that.

BarisW’s picture

I'm getting similar errors in the D8 version of the module. Could this be related?

GuzzleHttp\Exception\RequestException: cURL error 56: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in GuzzleHttp\Handler\CurlFactory::createRejection() (line 187 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).

jwilson3’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Issue summary: View changes
Status: Closed (duplicate) » Active

This problem has recurred on the Drupal 8 version of the module.

luksak’s picture

Status: Active » Postponed (maintainer needs more info)

@jwilson3 do have the "Verify SSL" setting enabled? In 8.x you can disable that.

greggles’s picture

Category: Feature request » Support request
Status: Postponed (maintainer needs more info) » Fixed

I guess Lukas von Blarer's suggestion has fixed this for people so updating status to that. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.