Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected response code 405 #28

Open
hussainaphroj opened this issue May 25, 2018 · 1 comment
Open

Unexpected response code 405 #28

hussainaphroj opened this issue May 25, 2018 · 1 comment

Comments

@hussainaphroj
Copy link

Hi,

I am trying to download a file from artifact graph and getting Unexpected response code 405.
Remote_file[extractfile_download]/ensure: change from absent to latest failed: Unexpected response code 405

any help will be appreciated.

Thanks,
Afroz

@reidmv
Copy link
Collaborator

reidmv commented Sep 13, 2018

@hussainaphroj I know it's been awhile since you posted so this may no longer be relevant. If you haven't gotten past this yet, the next step in debugging would be to add --debug and --trace to your Puppet command to get more information about what Remote_file is doing when it gets the 405 response code.

You could also try a curl command with --head, so that curl shows you the webserver response but doesn't actually download anything.

Most likely, the 405 response code is being presented by your webserver (artifact graph?), and because of that Remote_file is unable to continue. It needs the webserver to respond with an HTTP OK or redirect, or else it cannot download the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants