[sr-dev] [kamailio/kamailio] NATS Module not working (Issue #3253)

iliesh notifications at github.com
Mon Nov 28 19:18:11 CET 2022


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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3253#issuecomment-1329540736
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3253/1329540736 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221128/d2282448/attachment.htm>


More information about the sr-dev mailing list