You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Tomas Restrepo (JIRA)" <qp...@incubator.apache.org> on 2007/02/20 19:53:05 UTC

[jira] Created: (QPID-385) Failover support sometimes masks authentication errors

Failover support sometimes masks authentication errors
------------------------------------------------------

                 Key: QPID-385
                 URL: https://issues.apache.org/jira/browse/QPID-385
             Project: Qpid
          Issue Type: Bug
          Components: Dot Net Client
         Environment: .NET
            Reporter: Tomas Restrepo


The failover support sometimes masks client authentication errors during connection by causing the exception to be thrown to be of type FailoverException("Failing over about to start") (even with no failover brokers defined) instead of the real AMQAuthenticationException exception.

The problem seems to be intermittent and causes the PasswordFailureConnection test in ConnectionTest.cs to fail sometimes. It never reproduces in the debugger, which suggests some degree of synchronization issue is involved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (QPID-385) Failover support sometimes masks authentication errors

Posted by "Tomas Restrepo (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Restrepo closed QPID-385.
-------------------------------

       Resolution: Fixed
    Fix Version/s: M2
         Assignee: Tomas Restrepo

> Failover support sometimes masks authentication errors
> ------------------------------------------------------
>
>                 Key: QPID-385
>                 URL: https://issues.apache.org/jira/browse/QPID-385
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>         Environment: .NET
>            Reporter: Tomas Restrepo
>         Assigned To: Tomas Restrepo
>             Fix For: M2
>
>         Attachments: QPID-385.diff
>
>
> The failover support sometimes masks client authentication errors during connection by causing the exception to be thrown to be of type FailoverException("Failing over about to start") (even with no failover brokers defined) instead of the real AMQAuthenticationException exception.
> The problem seems to be intermittent and causes the PasswordFailureConnection test in ConnectionTest.cs to fail sometimes. It never reproduces in the debugger, which suggests some degree of synchronization issue is involved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (QPID-385) Failover support sometimes masks authentication errors

Posted by "Tomas Restrepo (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Restrepo updated QPID-385:
--------------------------------

    Attachment: QPID-385.diff

This simple match, which matches the Java code, seems to prevent the issue from happening (an eager start of failover when not necessary) and seems to be able to keep the failed authentication test succeeding.

> Failover support sometimes masks authentication errors
> ------------------------------------------------------
>
>                 Key: QPID-385
>                 URL: https://issues.apache.org/jira/browse/QPID-385
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>         Environment: .NET
>            Reporter: Tomas Restrepo
>         Attachments: QPID-385.diff
>
>
> The failover support sometimes masks client authentication errors during connection by causing the exception to be thrown to be of type FailoverException("Failing over about to start") (even with no failover brokers defined) instead of the real AMQAuthenticationException exception.
> The problem seems to be intermittent and causes the PasswordFailureConnection test in ConnectionTest.cs to fail sometimes. It never reproduces in the debugger, which suggests some degree of synchronization issue is involved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (QPID-385) Failover support sometimes masks authentication errors

Posted by "Rupert Smith (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476621 ] 

Rupert Smith commented on QPID-385:
-----------------------------------

Patch applied. Tests succesfully run.

> Failover support sometimes masks authentication errors
> ------------------------------------------------------
>
>                 Key: QPID-385
>                 URL: https://issues.apache.org/jira/browse/QPID-385
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>         Environment: .NET
>            Reporter: Tomas Restrepo
>         Attachments: QPID-385.diff
>
>
> The failover support sometimes masks client authentication errors during connection by causing the exception to be thrown to be of type FailoverException("Failing over about to start") (even with no failover brokers defined) instead of the real AMQAuthenticationException exception.
> The problem seems to be intermittent and causes the PasswordFailureConnection test in ConnectionTest.cs to fail sometimes. It never reproduces in the debugger, which suggests some degree of synchronization issue is involved.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.