Jira (PUP-11188) HTTP redirect not working on Windows

3 views
Skip to first unread message

Chris Denneen (Jira)

unread,
Jul 26, 2021, 12:04:06 PM7/26/21
to puppe...@googlegroups.com
Chris Denneen created an issue
 
Puppet / Bug PUP-11188
HTTP redirect not working on Windows
Issue Type: Bug Bug
Affects Versions: PUP 7.7.0, PUP 6.23.0
Assignee: Unassigned
Components: Windows
Created: 2021/07/26 9:03 AM
Priority: Major Major
Reporter: Chris Denneen

Noticed this with archive and remote_file modules trying to download file from JFrog SaaS which performs a Direct Object redirect to the s3 bucket via a Signed URL.
This seems to work fine on Mac/Linux but not on Windows.

Also looks like in Puppet 6,7 moving this towards the file resource it still doesn't work with the Puppet HTTP client either. Not sure if this is a ruby upstream issue or bug for Puppet/Windows

{{Error: Could not set 'file' on ensure: Error 400 on SERVER: <?xml version="1.0"
 encoding="UTF-8"?>
 <Error><Code>InvalidArgument</Code><Message>Only one auth mechanism allowed; onl
 y the X-Amz-Algorithm query parameter, Signature query string parameter or the A
 uthorization header should be specified</Message><ArgumentName>Authorization</Ar
 gumentName>
 }}

https://jfrog.com/knowledge-base/artifactory-how-to-resolve-a-400-bad-request-error-when-trying-to-download-or-resolve-artifacts/

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages