Google charts scripts fail with composer update:

Server:
Installing google (45) Downloading: Failed Downloading: 100%Writing lock file

Localhost

[Composer\Downloader\TransportException]
The "https://www.gstatic.com/charts/loader.js" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Failed to enable crypto
failed to open stream: operation failed
CommentFileSizeAuthor
composer.jpg23.33 KBadominique
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adominique created an issue. See original summary.

andileco’s picture

Try taking making the "https://www.gstatic.com/charts/loader.js" link http:// instead of https://. I *think* that should fix it.

Anonymous’s picture

I get the same error trying to install the Google Charts library as described in the README.txt. Changing the url to http:// and adding

"secure-http": false

to the composer.json worked for me.

andileco’s picture

Thanks, @LiZZerrG! I will note this in the next README.

  • andileco committed 632b21f on 8.x-3.x
    Issue #2938244 by adominique, andileco, LizZerrG: Install google charts...
andileco’s picture

Status: Active » Fixed
andileco’s picture

Status: Fixed » Closed (fixed)