I installed a nats server on the same box where kamailio is running, and got the same error:

Nov 28 18:02:25 k1-dev k1-dev[25790]: INFO: nats [nats_mod.c:439]: nats_init_connection(): adding server [nats://127.0.0.1:4222] [1]
Nov 28 18:02:25 k1-dev k1-dev[25790]: ERROR: nats [nats_mod.c:458]: nats_init_connection(): could not create nats options [System Error]
Nov 28 18:02:25 k1-dev k1-dev[25790]: ERROR: nats [nats_mod.c:232]: init_worker(): failed to init nat connections
Nov 28 18:02:25 k1-dev k1-dev[25790]: ERROR: nats [nats_mod.c:348]: mod_child_init(): failed to init struct for worker [0]
Nov 28 18:02:25 k1-dev k1-dev[25790]: ERROR: <core> [core/sr_module.c:903]: init_mod_child(): error while initializing module nats (/usr/local/lib64/kamailio/modules/nats.so) (idx: 0 rank: -127 desc: [main])

Just noticed now that I'm using libnats 3.5.1 which is beta still, I will try to downgrade it to 3.5.0 and try again.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/issues/3253/1329540736@github.com>