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

Attila Doroszlai resolved HDDS-11097.
-------------------------------------
    Resolution: Not A Problem

> S3 Gateway redirect to /static/ fails with SPNEGO
> -------------------------------------------------
>
>                 Key: HDDS-11097
>                 URL: https://issues.apache.org/jira/browse/HDDS-11097
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: s3gateway
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> When trying to follow redirect by S3 Gateway from {{/}} to {{/static/}}, the 
> following error 403 is encountered:
> {code}
> $ curl -L -vvv --negotiate -u : http://s3g:9878/
> ...
> * Connected to s3g (192.168.96.5) 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
> ...
> * Issue another request to this URL: 'http://s3g:9878/static/'
> ...
> > GET /static/ HTTP/1.1
> > User-Agent: curl/7.29.0
> > Host: s3g:9878
> ...
> < HTTP/1.1 401 Authentication required
> ...
> < WWW-Authenticate: Negotiate
> < Set-Cookie: hadoop.auth=; Path=/; HttpOnly
> ...
> * Issue another request to this URL: 'http://s3g:9878/static/'
> ...
> * Server auth using GSS-Negotiate with user ''
> > GET /static/ HTTP/1.1
> > Authorization: Negotiate <redacted>
> > User-Agent: curl/7.29.0
> > Host: s3g:9878
> ...
> < HTTP/1.1 403 GSSException: Failure unspecified at GSS-API level (Mechanism 
> level: Request is a replay (34))
> ...
> {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