trappar/remote_syslog2-cookbook

403 "Forbidden" on remote_syslog.tar.gz

Closed this issue · 1 comments

Hi,

Any idea why i'm receiving 403?

[2016-11-25T03:09:24+00:00] INFO: Processing file[/usr/local/bin/remote_syslog2] action delete (remote_syslog2::install line 5)
[2016-11-25T03:09:24+00:00] INFO: Processing remote_file[/tmp/remote_syslog.tar.gz] action create (remote_syslog2::install line 11)
[2016-11-25T03:09:24+00:00] INFO: remote_file[/tmp/remote_syslog.tar.gz] created file /tmp/remote_syslog.tar.gz
[2016-11-25T03:09:24+00:00] INFO: HTTP Request Returned 403 Forbidden: 
 
================================================================================
Error executing action `create` on resource 'remote_file[/tmp/remote_syslog.tar.gz]'
================================================================================
 
 
Net::HTTPServerException
------------------------
403 "Forbidden"
 
 
Resource Declaration:
---------------------
# In /var/lib/aws/opsworks/cache.stage2/cookbooks/remote_syslog2/recipes/install.rb
 
11: remote_file install['download_path'] do
12:   source install['download_file']
13:   mode '0644'
14:   not_if { ::File.exists?(bin_file) }
15: end
16: 
 
 
 
Compiled Resource:
------------------
# Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/remote_syslog2/recipes/install.rb:11:in `from_file'
 
remote_file("/tmp/remote_syslog.tar.gz") do
provider Chef::Provider::RemoteFile
action "create"
retries 0
retry_delay 2
path "/tmp/remote_syslog.tar.gz"
backup 5
atomic_update true
source ["https://github.com/papertrail/remote_syslog2/releases/download/v0.17/remote_syslog_linux_i386.tar.gz"]
use_etag true
use_last_modified true
cookbook_name "remote_syslog2"
recipe_name "install"
mode "0644"
not_if { #code block }
end
 
 
 
[2016-11-25T03:09:24+00:00] INFO: Running queued delayed notifications before re-raising exception
[2016-11-25T03:09:24+00:00] ERROR: Running exception handlers
[2016-11-25T03:09:24+00:00] ERROR: Exception handlers complete
[2016-11-25T03:09:24+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage2/chef-stacktrace.out
[2016-11-25T03:09:24+00:00] ERROR: remote_file[/tmp/remote_syslog.tar.gz] (remote_syslog2::install line 11) had an error: Net::HTTPServerException: 403 "Forbidden"
[2016-11-25T03:09:24+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)