-
Notifications
You must be signed in to change notification settings - Fork 938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http_async_client module crashing kamailio v5.5 on startup (macos 12) #2999
Comments
Thanks for the report. Not many people are using/building Kamailio on MacOS, so there might be not much response to this issue. Most people use Linux, but you probably know this. |
I compile Kamailio and a lot of modules on MacOS as for a development environment, doing some tests as well, but not planning to use it for a production system. Considering this, if you use also tls module or others modules are linked to libssl, try with If it's not that one, then provide full details of MacOS version, I can try to reproduce and if I find a quick solution, then it will be fixed, otherwise, it will have really low priority, given that newer MacOS versions have lots of restrictions related to signed and trusted apps. |
Thanks for your reply. I'm using MacBook Pro (15-inch, 2018) I totally understand and thank you for trying.. |
- exit if it fails - part of GH #2999
It seems to be failure of the libevent function event_base_dispatch(), which also logs
The above logs are from current master, as I pushed a commit to http_async_client module to exit the worker process (and thus shutdown kamailio) in the case of this failure. Could be something that changed in the new MacOS 12 kqueue implementation. I am not familiar with libevent, maybe @grumvalski or someone else can comment or analyse further. |
If it helps someone, here is a minimal config that exposes the issue at startup:
|
- exit if it fails - part of GH kamailio#2999
This issue is stale because it has been open 6 weeks with no activity. Remove stale label or comment or this will be closed in 2 weeks. |
Description
Hello,
Loading http_async_client module causes kamailio to crash on startup with the following errors:
Issue reproduced with kamailio sample configuration + loadmodule "http_async_client.so"
Additional Information
The text was updated successfully, but these errors were encountered: