Openconnect server crashes

Hello,

I'm using Openconnect VPN server on my router (Linksys WRT1900ACS) and it works fine up to version 23.05.2.

With the new 23.05.3 and the snapshots it crashes:

Mon May 13 11:38:46 2024 daemon.info procd: Instance ocserv::instance1 s in a crash loop 6 crashes, 0 seconds since last crash

I also noticed that the package of Openconnect server is quite old, version 1.3. Is there any chance this package to be updated or fixed?

Any sucess to run openconntect in 23.05.3 ?

Thanks

What version?

Unfortunately no, even worse, the latest Ocserv 1.3 version from 15th of May broke on 23.05.2. I used very old 1.1.6-2 to revert that works. I haven't tried it on 23.05.03

Do you use version installed via opkg? If it "crashes" there should be a line in dmesg about crash, or it is some ancient configuration combinations that just prevent ocserv (not openconnect) from starting?

Yes, I use the version from opkg.I tried with fresh install and still the same. Maybe the luci-app-ocserv is breaking it?

It is certainly a bug if doing trivial clicks you can break the service, try to gather as much bug evidence from the system and fill a bug report on github.
Seems you confirm v22 ocserv works

while v23 is not well with luci-app

That yields luci-app at fault.

seems you reported where due.

enclose log fragments in 3 backticks ```

1 Like

Hello,

You can edit the init script as in the commit:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.