Hi,
I have a balena server in production for more than 6 month, this morning no device could connect due to this issue:
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: WARNING: file 'server.key' is group or others accessible
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: OpenVPN 2.4.0 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 14 2018
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: library versions: OpenSSL 1.0.2r 26 Feb 2019, LZO 2.08
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: MANAGEMENT: Socket bind failed on local address [AF_INET]127.0.0.1:20001: Address already in use
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: Exiting due to fatal error
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: emerg: [vpn] [worker-1] process exited with code 1
Feb 11 11:06:57 281ce0e90a8d open-balena[1496]: crit: [vpn] [master] worker-1 exited with code 1
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: raven@2.6.4 alert: no DSN provided, error reporting disabled
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: notice: [vpn] [worker-1] process started with pid=30853
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: notice: [vpn] [worker-1] starting...
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: WARNING: POTENTIALLY DANGEROUS OPTION --verify-client-cert none|optional (or --client-cert-not-required) may accept clients which do not present a certificate
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: WARNING: file 'server.key' is group or others accessible
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: OpenVPN 2.4.0 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Oct 14 2018
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: library versions: OpenSSL 1.0.2r 26 Feb 2019, LZO 2.08
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: MANAGEMENT: Socket bind failed on local address [AF_INET]127.0.0.1:20001: Address already in use
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: Exiting due to fatal error
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: emerg: [vpn] [worker-1] process exited with code 1
Feb 11 11:06:58 281ce0e90a8d open-balena[1496]: crit: [vpn] [master] worker-1 exited with code 1
Feb 11 11:06:59 281ce0e90a8d open-balena[1496]: raven@2.6.4 alert: no DSN provided, error reporting disabled
what could it be? restarting the vpn service solved the issue.
Thank you for your support,
Federico