I’m running an IPsec VPN server on a Raspberry Pi 4 using the hwdsl2/ipsec-vpn-server image. It works perfectly fine with the device in local mode, however, as soon as I disable local mode, I get:
pluto[590]: ABORT: ASSERTION FAILED: event_initialized(&se->ev) (in free_signal_handlers() at server.c:448)
I’m using a Raspberry Pi 4, connected via Ethernet, running balenaOS 2.65.0+rev1 and supervisor 12.2.11. The compose file looks like this (as advised here):
I just tried reproducing your issue locally to test a theory about might what be causing the discrepancy. I was unable to trigger the behavior you mentioned using the docker-compose you provided and building the latest https://github.com/hwdsl2/docker-ipsec-vpn-server from source. Can you confirm you are also running commit c282440? If that’s correct, are you able to provision a second device to test if something specific to the device is not working as expected?
Hi @xginn8, thanks for looking into this. My Dockerfile only does FROM hwdsl2/ipsec-vpn-server and then changes the location where the config is loaded from. I don’t have a second device unfortunately. Do you have a hunch on what differences there are with local mode enabled vs. disabled?
Hey @jannis, we’ve been unable to reproduce this issue so far, but thank you for clarifying your build file.
Regarding the config file you are loading, could you share the file and remove any sensitive information? We just want to check if there’s anything in your IPsec config that would cause a conflict with managed mode.
Also, just to be sure that both local mode and managed mode are running the same release, could you try the following deploy methods?
when in local mode, use balena push which is probably what you’re already doing
when in managed mode, use balena deploy --build to ensure the dashboard is running the same release as local mode