OK, I'm sorry, didn't read your first email properly.

Are you using the jzmq zauth class? Or JeroMQ? (I thought you were
using CZMQ at first).

Authentication is failing with a 400 "no access" error code. You can
debug the zap handler in zauth to see what is going on.

-Pieter

On Sat, Jan 9, 2016 at 12:11 AM, Robert Johnston <[email protected]> wrote:
> The problem is happening in my application using CURVE.  I only went to the 
> test to see what I was doing wrong.  When I found the same failure in the 
> test it gave me a way to show you the problem.
>
> Right now, I can ignore it.  "Working mostly" allows me to keep developing.  
> Soon either you will fix it or I will try.
>
> Thanks for all you have done.
>
> Robert
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Pieter 
> Hintjens
> Sent: Friday, January 08, 2016 1:49 PM
> To: [email protected]
> Cc: ZeroMQ development list <[email protected]>
> Subject: Re: [zeromq-dev] zauth failure
>
> Sounds like a timing issue.
>
> You can simply comment out that test step, or ignore the test failure.
> It's not significant and we can fix it independently of you trying out the 
> auth stuff.
>
>
> On Fri, Jan 8, 2016 at 9:02 PM, Robert Johnston <[email protected]> wrote:
>> Now I am.  And still occasionally stops at same place.  Note: after I
>> posted yesterday I tried to debug using Eclipse.  But the failure
>> doesn't occur.  So the debugger changes something (timing?)
>>
>> -----Original Message-----
>> From: [email protected] [mailto:[email protected]] On Behalf Of Pieter
>> Hintjens
>> Sent: Friday, January 08, 2016 11:22 AM
>> To: [email protected]; ZeroMQ development list
>> <[email protected]>
>> Subject: Re: [zeromq-dev] zauth failure
>>
>> Robert, are you using CZMQ and libzmq from github master?
>>
>> On Fri, Jan 8, 2016 at 12:36 AM, Robert Johnston <[email protected]> wrote:
>>> Hi,
>>>
>>>
>>>
>>> I am adding authorization to one of our projects.  It works – mostly.
>>> Sometimes it freezes – quietly: no crash, assert, etc.
>>>
>>>
>>>
>>> To see what I was doing wrong I tried running your zauth_test.  It
>>> works too
>>> - mostly. And it too sometimes freezes – quietly: no crash, assert, etc.
>>>
>>>
>>>
>>> * zauth:
>>>
>>> I: 16-01-07 15:10:46 zauth: ZAP request mechanism=NULL
>>> ipaddress=127.0.0.1
>>>
>>> I: 16-01-07 15:10:46 zauth: - allowed (NULL)
>>>
>>> I: 16-01-07 15:10:46 zauth: - ZAP reply status_code=200
>>> status_text=OK
>>>
>>> I: 16-01-07 15:10:46 zauth: API command=DENY
>>>
>>> I: 16-01-07 15:10:46 zauth: - blacklisting ipaddress=127.0.0.1
>>>
>>> I: 16-01-07 15:10:46 zauth: ZAP request mechanism=NULL
>>> ipaddress=127.0.0.1
>>>
>>> I: 16-01-07 15:10:46 zauth: - denied (blacklist) address=127.0.0.1
>>>
>>> I: 16-01-07 15:10:46 zauth: - ZAP reply status_code=400
>>> status_text=No access
>>>
>>> I: 16-01-07 15:10:47 zauth: API command=ALLOW
>>>
>>> I: 16-01-07 15:10:47 zauth: - whitelisting ipaddress=127.0.0.1
>>>
>>> I: 16-01-07 15:10:47 zauth: ZAP request mechanism=NULL
>>> ipaddress=127.0.0.1
>>>
>>> I: 16-01-07 15:10:47 zauth: - passed (whitelist) address=127.0.0.1
>>>
>>> I: 16-01-07 15:10:47 zauth: - ZAP reply status_code=200
>>> status_text=OK
>>>
>>> I: 16-01-07 15:10:47 zauth: ZAP request mechanism=PLAIN
>>> ipaddress=127.0.0.1
>>>
>>> I: 16-01-07 15:10:47 zauth: - passed (whitelist) address=127.0.0.1
>>>
>>> I: 16-01-07 15:10:47 zauth: - denied (PLAIN) no password file defined
>>>
>>> I: 16-01-07 15:10:47 zauth: - ZAP reply status_code=400
>>> status_text=No access
>>>
>>>
>>>
>>> That’s all folks!!!
>>>
>>>
>>>
>>> Apparently it is waiting for Godot.
>>>
>>>
>>>
>>> As usual, any and all comments, suggestions, praise, or blame
>>> gratefully accepted.
>>>
>>>
>>>
>>> Robert Johnston
>>>
>>> [email protected]
>>>
>>>
>>> _______________________________________________
>>> zeromq-dev mailing list
>>> [email protected]
>>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>>
>>
>
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to