Skip to content

Instantly share code, notes, and snippets.

@thoughtcroft
Created May 28, 2014 02:33
Show Gist options
  • Save thoughtcroft/72d3f275a914a6b75d91 to your computer and use it in GitHub Desktop.
Save thoughtcroft/72d3f275a914a6b75d91 to your computer and use it in GitHub Desktop.
Chef remote_file redirect from http -> https fails
[2014-05-27T23:44:24+00:00] INFO: Processing remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] action create_if_missing (repmgr::source_install line 40)
[2014-05-27T23:44:24+00:00] DEBUG: touching /var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz to create it
[2014-05-27T23:44:24+00:00] INFO: remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] created file /var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz
[2014-05-27T23:44:24+00:00] DEBUG: remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] checking for changes
[2014-05-27T23:44:24+00:00] DEBUG: turning gzip compression off due to filename ending in gz
[2014-05-27T23:44:24+00:00] DEBUG: Cache control headers: {}
[2014-05-27T23:44:24+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request
[2014-05-27T23:44:24+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request
[2014-05-27T23:44:24+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request
[2014-05-27T23:44:24+00:00] DEBUG: Initiating GET to http://github.com/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz
[2014-05-27T23:44:24+00:00] DEBUG: ---- HTTP Request Header Data: ----
[2014-05-27T23:44:24+00:00] DEBUG: ---- End HTTP Request Header Data ----
[2014-05-27T23:44:25+00:00] DEBUG: ---- HTTP Status and Header Data: ----
[2014-05-27T23:44:25+00:00] DEBUG: HTTP 1.1 301 Moved Permanently
[2014-05-27T23:44:25+00:00] DEBUG: content-length: 0
[2014-05-27T23:44:25+00:00] DEBUG: location: https://github.com:80/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz
[2014-05-27T23:44:25+00:00] DEBUG: connection: close
[2014-05-27T23:44:25+00:00] DEBUG: ---- End HTTP Status/Header Data ----
[2014-05-27T23:44:25+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete
[2014-05-27T23:44:25+00:00] DEBUG: No content-length information collected for the streamed download, cannot identify streamed download.
[2014-05-27T23:44:25+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete
[2014-05-27T23:44:25+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete
[2014-05-27T23:44:25+00:00] DEBUG: Following redirect 1/10
[2014-05-27T23:44:25+00:00] DEBUG: Initiating GET to https://github.com:80/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz
[2014-05-27T23:44:25+00:00] DEBUG: ---- HTTP Request Header Data: ----
[2014-05-27T23:44:25+00:00] DEBUG: ---- End HTTP Request Header Data ----
[2014-05-27T23:44:25+00:00] ERROR: SSL Validation failure connecting to host: http://github.com - SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
[2014-05-27T23:44:25+00:00] INFO: Running queued delayed notifications before re-raising exception
[2014-05-28T01:34:36+00:00] INFO: Processing remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] action create_if_missing (repmgr::source_install line 40)
[2014-05-28T01:34:36+00:00] DEBUG: remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] checking for changes
[2014-05-28T01:34:36+00:00] DEBUG: Sending HTTP Request via GET to github.com:80/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz
[2014-05-28T01:34:37+00:00] DEBUG: Streaming download from http://github.com/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz to tempfile /tmp/chef-rest20140528-27049-15kz8k7
[2014-05-28T01:34:37+00:00] DEBUG: Following redirect 1/10
[2014-05-28T01:34:37+00:00] DEBUG: Sending HTTP Request via GET to github.com:443/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz
[2014-05-28T01:34:38+00:00] DEBUG: Streaming download from https://github.com/chrisroberts/repmgr/archive/bugfix/standby-follow-user.tar.gz to tempfile /tmp/chef-rest20140528-27049-jfb4x
[2014-05-28T01:34:38+00:00] DEBUG: Following redirect 2/10
[2014-05-28T01:34:38+00:00] DEBUG: Sending HTTP Request via GET to codeload.github.com:443/chrisroberts/repmgr/tar.gz/bugfix/standby-follow-user
[2014-05-28T01:34:39+00:00] DEBUG: Streaming download from https://codeload.github.com/chrisroberts/repmgr/tar.gz/bugfix/standby-follow-user to tempfile /tmp/chef-rest20140528-27049-1dpomy6
[2014-05-28T01:34:40+00:00] DEBUG: remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] checking for file existence of /var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz
[2014-05-28T01:34:40+00:00] DEBUG: remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] creating /var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz
[2014-05-28T01:34:40+00:00] INFO: remote_file[/var/cache/repmgr/repmgr-bugfix-standby-follow-user.tar.gz] updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment