Status vpn always connecting

Got a problem with Viscosity or need help? Ask here!

diana.torres

Posts: 2
Joined: Sat Nov 05, 2022 7:15 am

Post by diana.torres » Sat Nov 05, 2022 7:21 am
Hi, I have a problem with a customer, when I created a new connection only import the config file, but I'm having a problem in the computer, and all the time shows the next status: connecting, but never connected.

This is the log that show me:

Nov 04 12:52:06 PM: State changed to Connecting
Nov 04 12:52:06 PM: Viscosity Windows 1.10.4 (1769)
Nov 04 12:52:06 PM: Running on Windows 10 2009 (19044) 64 bit
Nov 04 12:52:06 PM: Running on .NET Framework Version 4.8.04084.528372
Nov 04 12:52:06 PM: Checking reachability status of connection...
Nov 04 12:52:06 PM: Connection is reachable. Starting connection attempt.
Nov 04 12:52:06 PM: Interface Type: visctap0901
Nov 04 12:52:06 PM: Bringing up interface...
Nov 04 12:52:06 PM: DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
Nov 04 12:52:06 PM: OpenVPN 2.5.7 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [AEAD] built on Nov 2 2022
Nov 04 12:52:06 PM: library versions: OpenSSL 1.1.1s 1 Nov 2022, LZO 2.10
Nov 04 12:52:07 PM: Valid endpoint found: 12.207.20.162:1199:udp
Nov 04 12:52:07 PM: WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Nov 04 12:52:07 PM: TCP/UDP: Preserving recently used remote address: [AF_INET]12.207.20.162:1199
Nov 04 12:52:07 PM: UDP link local (bound): [AF_INET][undef]:1194
Nov 04 12:52:07 PM: UDP link remote: [AF_INET]12.207.20.162:1199

diana.torres

Posts: 2
Joined: Sat Nov 05, 2022 7:15 am

Post by diana.torres » Sat Nov 05, 2022 8:27 am
Nov 04 2:00:39 PM: State changed to Connecting
Nov 04 2:00:39 PM: Viscosity Windows 1.10.4 (1769)
Nov 04 2:00:39 PM: Running on Windows 10 2009 (19044) 64 bit
Nov 04 2:00:39 PM: Running on .NET Framework Version 4.8.04084.528372
Nov 04 2:00:39 PM: Checking reachability status of connection...
Nov 04 2:00:39 PM: Connection is reachable. Starting connection attempt.
Nov 04 2:00:39 PM: Interface Type: ViscTunTap
Nov 04 2:00:39 PM: Bringing up interface...
Nov 04 2:00:39 PM: There was a problem activating the interface, Viscosity will attempt to repair it. This process may take a minute or two.
Nov 04 2:00:39 PM: Please try the following if this problem persists: https://www.sparklabs.com/support/kb/ar ... s-windows/
Nov 04 2:00:39 PM: DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
Nov 04 2:00:39 PM: OpenVPN 2.5.7 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [AEAD] built on Nov 2 2022
Nov 04 2:00:39 PM: library versions: OpenSSL 1.1.1s 1 Nov 2022, LZO 2.10
Nov 04 2:00:40 PM: Valid endpoint found: 12.207.20.162:1199:udp
Nov 04 2:00:40 PM: WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Nov 04 2:00:40 PM: TCP/UDP: Preserving recently used remote address: [AF_INET]12.207.20.162:1199
Nov 04 2:00:40 PM: UDP link local (bound): [AF_INET][undef]:1194
Nov 04 2:00:40 PM: UDP link remote: [AF_INET]12.207.20.162:1199
Nov 04 2:00:41 PM: The interface is now responding, proceeding with connection attempt.
Nov 04 2:01:40 PM: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 04 2:01:40 PM: TLS Error: TLS handshake failed
Nov 04 2:01:40 PM: SIGUSR1[soft,tls-error] received, process restarting
Nov 04 2:01:50 PM: Valid endpoint found: 12.207.20.162:1199:udp
Nov 04 2:01:50 PM: WARNING: --ns-cert-type is DEPRECATED. Use --remote-cert-tls instead.
Nov 04 2:01:50 PM: TCP/UDP: Preserving recently used remote address: [AF_INET]12.207.20.162:1199
Nov 04 2:01:50 PM: UDP link local (bound): [AF_INET][undef]:1194
Nov 04 2:01:50 PM: UDP link remote: [AF_INET]12.207.20.162:1199

James

User avatar
Posts: 2203
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sun Nov 06, 2022 8:54 pm
Hi diana.torres,

Please see the following article for information on the error message in the log:
https://www.sparklabs.com/support/kb/ar ... 0-seconds/

The connection also appears to be set to bind locally to port 1194, which is probably unwanted behaviour. To fix this, edit the connection in Viscosity, go to the Options tab, tick the "No Bind" option, and Save the changes.

Cheers,
James
James Bekkema
Viscosity Developer

Web: http://www.sparklabs.com
Support: http://www.sparklabs.com/support
Twitter: http://twitter.com/sparklabs
3 posts Page 1 of 1