GoogleCloudPlatform / data-science-on-gcp

Source code accompanying book: Data Science on the Google Cloud Platform, Valliappa Lakshmanan, O'Reilly 2017
Apache License 2.0
1.31k stars 715 forks source link

add -k switch to curl commands #106

Closed dylanmpeck closed 3 years ago

dylanmpeck commented 3 years ago

We're experiencing a bug which relates to certificate issues between curl and the remote server. Curl is unable to validate the certificates on a call to a remote server, and is then unable to validate a local certificate when it is used locally to decode/unpack a downloaded file. The fix has the students use sed to insert the " -k " switch to calls to curl in the two files where this must be changed.

This would apply that fix to the source.