You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/03/25 14:24:00 UTC

[jira] [Updated] (HDDS-6497) S3 Gateway throws exception when checking jmx or prom pages from browser

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

Attila Doroszlai updated HDDS-6497:
-----------------------------------
    Issue Type: Bug  (was: Improvement)

> S3 Gateway throws exception when checking jmx or prom pages from browser
> ------------------------------------------------------------------------
>
>                 Key: HDDS-6497
>                 URL: https://issues.apache.org/jira/browse/HDDS-6497
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Janus Chow
>            Assignee: Janus Chow
>            Priority: Major
>              Labels: pull-request-available
>
> When checking the JMX or Prometheus or other pages of S3g from browser, the following error was throw from S3g. (From docker container, might be different from local service)
> {code:java}
> 2022-03-23 15:32:57,281 [qtp124888672-18] INFO ozone.OmUtils: ozone.om.internal.service.id is not defined, falling back to ozone.om.service.ids to find serviceID for OzoneManager if it is HA enabled cluster
> 2022-03-23 15:32:57,282 [qtp124888672-18] INFO ozone.OmUtils: No OzoneManager ServiceID configured.
> Mar 23, 2022 3:32:57 PM org.glassfish.jersey.internal.Errors logErrors
> WARNING: The following warnings have been detected: WARNING: Unknown HK2 failure detected:
> MultiException stack 1 of 1
> javax.ws.rs.WebApplicationException: User doesn't have the right to access this resource.{code}
> The reason for this issue is when trying to send request from browser, the browser will send another request like "http://localhost:9878/favicon.ico", which would be treated as a request to bucket of "favicon.ico", as a result a new OzoneClient was to inject for this request.
> This ticket is to fix this issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org