[ 
https://issues.apache.org/jira/browse/HDDS-11096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai updated HDDS-11096:
------------------------------------
    Status: Patch Available  (was: In Progress)

> Error creating s3 auth info for request with Authorization: Negotiate
> ---------------------------------------------------------------------
>
>                 Key: HDDS-11096
>                 URL: https://issues.apache.org/jira/browse/HDDS-11096
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: s3gateway
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> Newer {{curl}} sends {{Authorization: Negotiate}} in initial request, so 
> redirect from {{/}} to {{/static}} fails:
> {code}
> $ curl --negotiate -u : -vvv http://s3g:9878/
> ...
> * Connected to s3g (172.20.0.9) port 9878 (#0)
> * Server auth using Negotiate with user ''
> > GET / HTTP/1.1
> > Host: s3g:9878
> > Authorization: Negotiate <redacted>
> > User-Agent: curl/7.81.0
> ...
> < HTTP/1.1 403 Forbidden
> ...
> <?xml version="1.0" encoding="UTF-8"?>
> <Error>
>   <Code>InvalidRequest</Code>
>   <Message>Error creating s3 auth info. The request may not be signed using 
> AWS V4 signing algorithm, or might be invalid</Message>
>   <Resource/>
>   <RequestId/>
> </Error>
> {code}
> Previously:
> {code}
> $ curl --negotiate -u : -vvv http://s3g:9878/
> ...
> * Connected to s3g (172.20.0.9) port 9878 (#0)
> > GET / HTTP/1.1
> > User-Agent: curl/7.29.0
> > Host: s3g:9878
> ...
> < HTTP/1.1 302 Found
> ...
> < Location: http://s3g:9878/static/
> < Content-Length: 0
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to