[zeromq-dev] Malamute broker project
Pieter Hintjens
ph at imatix.com
Sun Mar 1 19:12:22 CET 2015
On Sun, Mar 1, 2015 at 6:57 PM, Kenneth Adam Miller
<kennethadammiller at gmail.com> wrote:
> I'm having difficulty - I run the malamute command and it reads up the
> malamute.cfg because it announces that it's binding to tcp://*:9999
>
> I then have the following code with regards to establishing a client
> connection to it:
>
> mlm_client_t *frontend_reader = mlm_client_new();
> assert(frontend_reader);
> int rc=mlm_client_connect (frontend_reader, "tcp://127.0.0.1:9999" ,
> 1000, "reader/secret");
> assert(rc==0); //this is line 67
>
> and I get this error:
> LIBZMQ I: security failure, self=NULL peer=PLAIN
The error happens because the broker is configured to NULL and the
client is using PLAIN, I guess.
You'll want to take the latest Malamute master, as this API call
changed. There's now a separate call to set plain authentication on
the client.
To use NULL security, remove the security section from the config
file, and don't set any plain security at the client side.
-Pieter
More information about the zeromq-dev
mailing list