You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/04/27 15:02:00 UTC

[jira] [Commented] (QPID-8176) [Broker-J][WMC] An infinite loop found in Web Management Console restart operation when OAuth2 authentication provider is configured on http port

    [ https://issues.apache.org/jira/browse/QPID-8176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16456574#comment-16456574 ] 

ASF subversion and git services commented on QPID-8176:
-------------------------------------------------------

Commit 23e968d0d538b486d3714e243fd958630477200c in qpid-broker-j's branch refs/heads/master from [~alex.rufous]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-broker-j.git;h=23e968d ]

QPID-8176: [Broker-J] Use broker REST API to check broker availability


> [Broker-J][WMC] An infinite loop found in Web Management Console restart operation when OAuth2 authentication provider is configured on http port
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-8176
>                 URL: https://issues.apache.org/jira/browse/QPID-8176
>             Project: Qpid
>          Issue Type: Bug
>    Affects Versions: qpid-java-broker-7.0.3, qpid-java-broker-7.0.2, qpid-java-broker-7.0.0, qpid-java-broker-7.0.1
>            Reporter: Alex Rudyy
>            Priority: Major
>             Fix For: qpid-java-broker-7.0.4
>
>
> An implementation of restart operation after invoking of restart method via broker REST API sends periodically requests to "/" in order to check whether broker can respond which would be an indication of finishing the restart.
> When OAuth2-based authentication provider is configured, it tries to authenticate the request and sends the redirects to authorization and token endpoints. Browsers always follow redirects for XHRs or fetch requests, but the redirects can end-up in failure due to issues with origin.  As WMC request to "/" failed,  it is repeated again but none of the attempts can be finished successfully. Thus, the loop became indefinite.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org