SparkLabs Forum.

Community Help.


Connection Established but stuck in "Connecting" State

Hi

I have installed Viscosity in a Windows 10 environment without error and imported my connections. However, for all my connections, when I try to login the connection got successfully (and I'm able to join the servers in my vpn) but the connection status keep the "connecting" state. But the worst is when I try to disconnect from the VPN: it switch from "connecting" state to "disconnecting" and keep this state forever making me unable to join again the same VPN (until I kill viscosity and start it again).

Could you help me to solve it? below the connection log (some data are anonymized).

Connecting log:

Code: Select all

set 09 11:56:05: State changed to Creating...
set 09 11:56:12: State changed to Disconnected
set 09 11:56:24: State changed to Disconnected
set 09 11:57:03: State changed to Connecting
set 09 11:57:03: Viscosity Windows 1.6.5 (1455)
set 09 11:57:03: Running on Microsoft Windows 10 Enterprise
set 09 11:57:03: Bringing up interface...
set 09 11:57:03: Checking reachability status of connection...
set 09 11:57:12: Connection is reachable. Starting connection attempt.
set 09 11:57:12: OpenVPN 2.3.11 Windows-MSVC [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on May 11 2016
set 09 11:57:12: library versions: OpenSSL 1.0.2h  3 May 2016, LZO 2.09
set 09 11:57:28: Control Channel Authentication: using 'C:\mypath\ta.key' as a OpenVPN static key file
set 09 11:57:28: Attempting to establish TCP connection with [AF_INET]<my-vpn-ip>:<my-vpn-port> [nonblock]
set 09 11:57:29: TCP connection established with [AF_INET]<my-vpn-ip>:<my-vpn-port>
set 09 11:57:29: TCPv4_CLIENT link local: [undef]
set 09 11:57:29: TCPv4_CLIENT link remote: [AF_INET]<my-vpn-ip>:<my-vpn-port>
set 09 11:57:29: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
set 09 11:57:31: [OpenVPN Server] Peer Connection Initiated with [AF_INET]<my-vpn-ip>:<my-vpn-port>
set 09 11:57:33: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:23: block-ipv6 (2.3.11)
set 09 11:57:33: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
set 09 11:57:33: open_tun, tt->ipv6=0
set 09 11:57:33: TAP-WIN32 device [ACP LE VPN 1] opened: \\.\Global\{11111111-1111-1111-1111-111111111111}.tap
set 09 11:57:33: Set TAP-Windows TUN subnet mode network/local/netmask = <network_ip>/<local_ip>/<netmask_mask> [SUCCEEDED]
set 09 11:57:33: Notified TAP-Windows driver to set a DHCP IP/netmask of <local_ip>/<netmask_mask>.0 on interface {11111111-1111-1111-1111-111111111111} [DHCP-serv: <DHCP-server-ip>, lease-time: 31536000]
set 09 11:57:33: Successful ARP Flush on interface [29] {11111111-1111-1111-1111-111111111111}
set 09 11:57:42: Initialization Sequence Completed


disconnecting log:

Code: Select all

set 09 12:25:51: State changed to Disconnecting
Hi guidomi,

Could you please post a copy of your configuration as exported from Viscosity. You may wish to email this to us instead as this forum is public.

Regards,
Eric
Hi Eric,

I think/hope you need only the config.conf file and not the certifiacate/key files. Below you will find it (anonymized of course)

Code: Select all

#-- Config Auto Generated By Viscosity --#

#viscosity name MY VPN
#viscosity dns automatic
#viscosity usepeerdns true
#viscosity manageadapter true
#viscosity startonopen false
remote my.vpn.address.com 443 tcp-client
pull
tls-client
nobind
dev tun
ns-cert-type server
auth-user-pass
comp-lzo no
ca ca.crt
cert cert.crt
key key.key
tls-auth ta.key 1
setenv FORWARD_COMPATIBLE 1
setenv PUSH_PEER_INFO
server-poll-timeout 4
reneg-sec 604800
sndbuf 100000
rcvbuf 100000
static-challenge "Enter Google Authenticator Code" 1
route-delay 5
remote-random
dev-node {11111111-1111-1111-1111-111111111111}
Hi guidomi,

Could you please check the Event Viewer for any errors relating to Viscosity or Viscosity Service - http://sparklabs.com/support/kb/article ... nt-viewer/

Regards,
Eric
Hi Eric,

In the event viewer, after I started my vpn connection, I get periodially the 3 errors below under security stuff. Nothing, instead, under application.

Image

Image

Image
Could you please edit your connection, go to Advanced and add the following line on a new line:

#viscosity dns simultaneous

Save the connection and then try to connect again. Please let us know if the connection completes.

Regards,
Eric
Hi Eric,

Nothing is changed with this modify.
Hi Guidomi,

I'm afraid we're a little stumped. Could you please boot into safe mode and see if the problem is still present there with no other applications or services running?

Regards,
Eric
Hi Guidomi,

Viscosity v1.6.6 has been released, could you please try updating to this to see if the problem still persists as well.

Regards,
Eric
Hi Eric,

I already tried to upgrade it to the new version but I get the same issue. I also tryied the safe mode with network, but it that mode the viscosity service is unable to start.

Do you have any idea about what it could be?
19 posts Page 1 of 2

Copyright © 2016 SparkLabs Pty Ltd. All Rights Reserved. Privacy Policy