Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Exiting due to fatal error #168

Open
xzakier opened this issue Mar 29, 2023 · 2 comments
Open

Exiting due to fatal error #168

xzakier opened this issue Mar 29, 2023 · 2 comments

Comments

@xzakier
Copy link

xzakier commented Mar 29, 2023

2023-03-29 08:00:02.729698 [INFO] Starting OpenVPN...
2023-03-29 08:00:02 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2023-03-29 08:00:02 OpenVPN 2.5.1 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2021
2023-03-29 08:00:02 library versions: OpenSSL 1.1.1n 15 Mar 2022, LZO 2.10
2023-03-29 08:00:02 neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Username:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
2023-03-29 08:00:02 Exiting due to fatal error

@xzakier
Copy link
Author

xzakier commented Mar 29, 2023

surfshark vpn

@DyonR
Copy link
Owner

DyonR commented Apr 2, 2023

As your own log says:
DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.

You need to add this to your .ovpn file:

cipher AES-256-CBC
data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC

@DyonR DyonR closed this as completed Apr 2, 2023
@DyonR DyonR reopened this Apr 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants