[
https://issues.apache.org/jira/browse/SOLR-16327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17582990#comment-17582990
]
Shawn Heisey commented on SOLR-16327:
-------------------------------------
The haproxy log shows a 503 error for both requests. The first one is the one
that results in a permission error.
{code:java}
Aug 22 07:36:54 - haproxy[540642] 73.131.246.74:34760
[22/Aug/2022:07:36:54.438] web~ be-solr/g8983 0/0/0/-1/2 503 1843 - - LHVN
1/1/0/0/1 0/0 {REDACTED hostname} "GET
/solr/dovecot_shard1_replica_n1/admin/ping?_=1661175413135&ts=1661175413135&wt=json
HTTP/3.0"
Aug 22 07:34:44 - haproxy[540361] 73.131.246.74:54939
[22/Aug/2022:07:34:44.735] web~ be-solr/g8983 0/0/0/2/2 503 825 - - --VN
1/1/0/0/1 0/0 {REDACTED hostname} "GET
/solr/dovecot_shard1_replica_n1/admin/ping?_=1661175282953&ts=1661175282953&wt=json
HTTP/3.0"
{code}
But the browser console showing the exception says it's a 503 when it works
right, but a 403 when it doesn't. The network log in the browser also says the
response code is 403. Right this minute I am suspecting a bug in haproxy where
it logs a 503 but actually sends a 403.
!image-2022-08-22-07-47-00-751.png|width=548,height=339!
!image-2022-08-22-07-47-00-809.png|width=548,height=339!
> Admin UI reports permission error if the request it made results in ANY
> exception
> ---------------------------------------------------------------------------------
>
> Key: SOLR-16327
> URL: https://issues.apache.org/jira/browse/SOLR-16327
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Admin UI
> Affects Versions: main (10.0)
> Reporter: Shawn Heisey
> Priority: Minor
> Attachments: image-2022-08-06-15-36-24-158.png,
> image-2022-08-22-07-47-00-751.png, image-2022-08-22-07-47-00-809.png,
> screenshot-1.png, solr9_ping_exception.txt
>
>
> A lot of the pages in the UI report permission errors even when the actual
> problem is some other exception. For this screenshot, I clicked first on the
> Overview, and then on Ping ... there was a misconfig in the ping handler
> where it was not declaring a default field, so the query generated an
> exception which is attached to the issue. I did not have a security.json
> file.
> !image-2022-08-06-15-36-24-158.png|width=389,height=182!
> I also saw this on other things besides Ping when I was clicking around the
> admin UI during a solr service restart. The version info showing where the
> git repo was when I compiled from branch_9x:
> 9.1.0-SNAPSHOT f1510b1f54ea9225df654e3aad0ca7da856c1f72 [snapshot build,
> details omitted]
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]