Jump to content
Not connected, Your IP: 52.15.223.239
Sign in to follow this  
Kitnick

[SOLVED] Failed to Start

Recommended Posts

Could anyone help?

I'm trying to connect via TOR, although I believe I had this same problem before when trying to connect directly. I have OperaTOR (and also the TBB). I am able to successfully login but when I try the 4 available servers they all return a "Failed to start" error.

I've checked Proxy and entered port 8118 as the directions instruct.

Thanks in advance!

Share this post


Link to post

this is in Windows 7 .NET framework 4 with the AirVPN client at the moment (although I also need it to work in Linux and I have the OpenVPN client app).

Share this post


Link to post

Kitnick wrote:

Could anyone help?

I'm trying to connect via TOR, although I believe I had this same problem before when trying to connect directly. I have OperaTOR (and also the TBB). I am able to successfully login but when I try the 4 available servers they all return a "Failed to start" error.

I've checked Proxy and entered port 8118 as the directions instruct.

Thanks in advance! :)

Hello!

First of all, can you please try a direct connection to one of our servers, just to see if it goes through without TOR? If it fails, please send us the logs of the attempted connection.

If you can connect directly, when you wish to connect over TOR please make sure that when you have the "proxy" option enabled, you connect to a TCP port (you can pick the connection port by selecting the "Modes" tab in the Air client main window).

If the above fails too, can you please try to connect directly with the OpenVPN client in order to determine whether it's a problem related to the Air client in your system?

Just generate the appropriate configuration in the website with menu "Member"->"Connect without our client". Make sure to compile the "proxy" option, download the air.zip file, copy all the files inside it and paste them into the OpenVPN configuration directory (on Win 7 C:\Program Files (x86)\OpenVPN\config in a default installation).

After you have launched OperaTOR (or any equivalent setup for TOR), run OpenVPN GUI, right-click on the dock icon and select "air"-->"Connect".

Finally, the following is a currently working http proxy to perform connection tests without TOR:

IP address 78.133.146.136 port 8080

Just insert in the air.ovpn configuration file the following line to make tests (do not launch OperaTOR, this is just a connection of AirVPN over http-proxy):

http-proxy 78.133.146.136 8080

and make sure that you have the line

proto tcp

in the configuration file.

We're looking forward to hearing from you.

Kind regards

Share this post


Link to post

Thanks for your reply!

Here are the things that I have tried after reading your answer, along with the results. I began by downloading the configuration files from airvpn.org, reinstalling openvpn-connect.msi from openvpn.net, closing OperaTor, closing all other VPN's, and restarting.

When I went to download the AirVPN configuration files I noticed that your post said to "compile the 'proxy' option" and that there was a checkbox for Proxy, followed by Use proxy - Host [127.0.0.1] Port [8080]". I was a little unclear what was implied by the term "compile" and I was not sure if I should change the settings here, or only change the proxy settings in the client. I checked the box to use proxy but left the settings as 127.0.0.1 and port 8080.

I downloaded air.zip and decompressed the files. I went to C:\Program Files (x86)\OpenVPN\config and noticed that my prior VPN had a ".ovpn" file in that directory, as well as a folder containing its "ca.crt", "user.crt", and "user.key" files. I did the same with the AirVPN files -- I placed "air.ovpn" directly in C:\Program Files (x86)\OpenVPN\config and I created a folder named "air" where I put the "ca.crt", "user.crt", and "user.key" files. Now I proceeded to try to connect...

************

* Attempt #1*

************

* Tor status: Not loaded

* Connection method: Using Air VPN client

* Where settings are saved: User Folder

* OpenVPN Path: Left blank

* Proxy checked in preferences? No

* Mode: Protocol = TCP, Port = 443

* Login Sucessful? Yes

* Error message: Unable to connect to the remote server

************

* Attempt #2*

************

<Man, it sure does spend a long time trying to connect>

* Tor status: Not loaded

* Connection method: Using Air VPN client

* Where settings are saved: User Folder

* OpenVPN Path: Left blank

* Proxy checked in preferences? YES

* Proxy settings: 78.133.146.136 port 8080

* Mode: Protocol = TCP, Port = 443

* Login Sucessful? Yes

* Error message: Failed to start

************

* Attempt #3*

************

* Tor status: Not loaded

* Connection method: Using Air VPN client

* Where settings are saved: User Folder

* OpenVPN Path: Left blank

* Proxy checked in preferences? YES

* Proxy settings: 127.0.0.1 port 8118

* Mode: Protocol = TCP, Port = 443

* Login Sucessful? Yes

* Error message: It staying on the "connecting..." screen for a long, long time (over 5 minutes) so I had a look at the log which said TCP: connect to 127.0.0.1:8118 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED) and decided to shutdown the client as it had this message many, many times.

************

* Attempt #4*

************

Now I quit the AirVPN client, loaded OpenVPN GUI (Tor is still off), right-clicked the dock icon, highlighted air-->connect

Error: Connecting to air has failed

Sun Jan 01 17:26:51 2012 OpenVPN 2.2.1 Win32-MSVC++ [sSL] [LZO2] built on Jul 1 2011

Sun Jan 01 17:26:51 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables

Sun Jan 01 17:26:52 2012 Cannot load certificate file user.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib

Sun Jan 01 17:26:52 2012 Exiting

************

* Attempt #5*

************

The same as #4 but this time I loaded Tor first. I received the same messages.

************

* Attempt #6*

************

Based on the OpenVPN GUI log messages, I wonder if I was incorrect to place some of the files into a folder rather than directly into the config directory. As such, I have now moved all files from air.zip directly into the config directory.

That seemed to help, but now I get the same error that I got in the AirVPN log

Sun Jan 01 17:31:48 2012 Attempting to establish TCP connection with 127.0.0.1:8080

Sun Jan 01 17:31:49 2012 TCP: connect to 127.0.0.1:8080 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)

Sun Jan 01 17:31:55 2012 TCP: connect to 127.0.0.1:8080 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)

Sun Jan 01 17:32:01 2012 TCP: connect to 127.0.0.1:8080 failed, will try again in 5 seconds: Connection refused (WSAECONNREFUSED)

************

* Attempt #7*

************

Finally, I edited the configuration file as you mentioned, to make it say http-proxy 78.133.146.136 8080

YAY!! That worked!!

So, now I am connected. However I am still concerned about my incoming IP address. Since I am not running the AirVPN client I can not tell if it is using my real IP address or a Tor IP address. I have to say -- I thought the Tor Browser Bundle and OperaTor only changed the IP address seen by websites accessed through the pre-configured browsers, not through other applications like OpenVPN GUI?

To make me feel more comfortable, now I am turning off OpenVPN GUI and running the AirVPN client to see if I can connect that way and to see what it says about my incoming IP address (by incoming I just mean the IP address seen by the VPN before it changes it to your server's IP).

************

* Attempt #8*

************

Now I am trying the AirVPN client once more with the Proxy host 78.133.146.136 on port 8080

Error: Unable to connect to the remote server

Here's the end of the log

1/1/2012 - 5:42 PM Initialization Sequence Completed

1/1/2012 - 5:42 PM Starting Management Interface...

1/1/2012 - 5:42 PM Checking...

1/1/2012 - 5:42 PM Disconnected.

1/1/2012 - 5:43 PM TCP/UDP: Closing socket

1/1/2012 - 5:43 PM C:\WINDOWS\system32\route.exe DELETE 10.5.0.1 MASK 255.255.255.255 10.5.1.93

1/1/2012 - 5:43 PM Route deletion via IPAPI succeeded [adaptive]

1/1/2012 - 5:43 PM C:\WINDOWS\system32\route.exe DELETE 78.133.146.136 MASK 255.255.255.255 10.0.1.1

1/1/2012 - 5:43 PM Route deletion via IPAPI succeeded [adaptive]

1/1/2012 - 5:43 PM C:\WINDOWS\system32\route.exe DELETE 0.0.0.0 MASK 128.0.0.0 10.5.1.93

1/1/2012 - 5:43 PM Route deletion via IPAPI succeeded [adaptive]

1/1/2012 - 5:43 PM C:\WINDOWS\system32\route.exe DELETE 128.0.0.0 MASK 128.0.0.0 10.5.1.93

1/1/2012 - 5:43 PM Route deletion via IPAPI succeeded [adaptive]

1/1/2012 - 5:43 PM Closing TUN/TAP interface

1/1/2012 - 5:43 PM SIGTERM[hard,] received, process exiting

Share this post


Link to post

* Follow up: The situation is a bit worse than I thought. Even though OpenVPN GUI shows me as being connected and displays a different IP when I hover my mouse over its dock icon when I go to www.whatismyip.com in FireFox I see my real IP

Share this post


Link to post

@kitnick

Hello!

Attempt #3 failed because you specified a proxy which was not running (127.0.0.1:8118).

Attemp #4 and #5 failed because of misplacement of user.crt, user.key and ca.crt files. When you put them in a different folder you have to specify the path on the corresponding .ovpn configuration file. Our configuration generator creates an .ovpn file which expects to find those files in the same directory you put the air.ovpn file itself.

Attempt #6 failed because you specified a proxy which was not running (127.0.0.1:8080).

Attempt #7 is ok. Our server sees you connecting from the http-proxy 78.133.146.136, while the proxy sees encrypted traffic from you directed to the VPN server, or coming from the VPN server and directed to you. You get out to the Internet with the VPN server exit-IP address. You can check this by browsing our website and watching at the address shown in the central box in the bottom part of the home page.

Attempt #2 and #8 failed perhaps because of the http-proxy being down or too lagged.

Now let's get a step back to see why Attempt #1 failed.

Please try a connection only with the OpenVPN GUI (no TOR, no proxy) and please send us the complete logs. Please do not send an edited version, like the final part only. Then, try a connection with the AirVPN client alone (no proxy, no TOR, do not run OpenVPN GUI) and send again the logs (you can access the logs by right-clicking on the dock icon and selecting "Logs"; then you can copy them to the clipboard by clicking on the "Copy to clipboard" button in the middle of the bottom part of the logs window).

We're looking forward to hearing from you.

Kind regards

Share this post


Link to post

Thanks again for your help!

About the logs -- I'm kind of a privacy freak, which is of course why I like your VPN service (!). But I've avoided giving my real e-mail thus far, which is important to me, so I wonder if there's any other way for me to send you the log?

Obviously posting the whole thing here is not ideal, which is why I only posted the end part of it before.

Perhaps there's some way for me to send it as a private message over this forum? Or can I send it to you from a disposable e-mail address and look for your reply here?

Share this post


Link to post

I just submitted the log via the "Contact Us" page (I sent it to the Webmaster).

Just one final note -- both with "Attempt 7" from last night and with my connection right this second, on which the log file was based, it does say I'm connected but both your website and www.whatismyip.com show my real IP address.

Thanks!

Share this post


Link to post

@Kitnick

Ok, support from now on transferred to e-mail. You'll receive a reply soon.

Kind regards

[EDIT] Please note that the problem has been detected from your log files. Unfortunately you gave an invalid e-mail address, so we can't send you via e-mail the solution. We paste it here:

The first part of the log shows an "AUTH_FAILED" problem (maybe the connection was too lagged, it may happen with an http proxy) which anyway is solved in the second connection attempt displayed on the log.

The second part is significant because it shows a failure in the "route.exe add" Windows command. If the command fails, like it happened, your traffic can't be routed inside the encrypted tunnel (you can see the failure on all the lines reporting "route addition failed [...] accessis denied"). FlushIPNetTable failed as well for the same reason.

Under Windows, this problem usually is caused by a lack of privileges for OpenVPN. Please make sure that you launch OpenVPN with administrator privileges (so that it can modify the route) and also that OpenVPN was properly installed (the installer must be launched with administrator privileges too). Finally, please check that the TUN/TAP adapter has been properly installed (Windows might complain about unsigned drivers).

Kind regards

Share this post


Link to post

Thanks!

Yes I think there's a problem with TUN TAP as you're saying.

I'm currently connected through Tunnelblick on OS X and I had to reinstall TUN/TAP there too, but now it works fine.

Thanks again

Share this post


Link to post

Kitnick wrote:

Thanks!

Yes I think there's a problem with TUN TAP as you're saying.

I'm currently connected through Tunnelblick on OS X and I had to reinstall TUN/TAP there too, but now it works fine.

Thanks again

Hello!

Very well!

Please do not hesitate to contact us for any further information.

Kind regards

Share this post


Link to post

logs.

2012-11-04 - 18:05 AirVPN client version: 1,7

2012-11-04 - 18:05 Reading options from C:\Users\Papis\AppData\Roaming\AirVPN\Air\1.0.0.0\AirVPN.xml

2012-11-04 - 18:05 OpenVPN bundle version: OpenVPN 2.2.2

2012-11-04 - 18:05 OpenVPN current version: OpenVPN 2.2.2

2012-11-04 - 18:05 Ready.

2012-11-04 - 18:05 Login...

2012-11-04 - 18:05 Login success.

2012-11-04 - 18:05 Contacting service...

2012-11-04 - 18:05 Connecting...

2012-11-04 - 18:05 OpenVPN 2.2.2 Win32-MSVC++ [sSL] [LZO2] [PKCS11] built on Dec 15 2011

2012-11-04 - 18:05 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables

2012-11-04 - 18:05 LZO compression initialized

2012-11-04 - 18:05 Control Channel MTU parms [ L:1558 D:138 EF:38 EB:0 ET:0 EL:0 ]

2012-11-04 - 18:05 Socket Buffers: R=[8192->8192] S=[8192->8192]

2012-11-04 - 18:05 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]

2012-11-04 - 18:05 Local Options hash (VER=V4): '22188c5b'

2012-11-04 - 18:05 Expected Remote Options hash (VER=V4): 'a8f55717'

2012-11-04 - 18:05 UDPv4 link local: [undef]

2012-11-04 - 18:05 UDPv4 link remote: 62.212.85.65:443

2012-11-04 - 18:05 TLS: Initial packet from 62.212.85.65:443, sid=2c3e66b5 98b8c881

2012-11-04 - 18:05 VERIFY OK: depth=1, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=airvpn.org_CA/emailAddress=info@airvpn.org

2012-11-04 - 18:05 VERIFY OK: nsCertType=SERVER

2012-11-04 - 18:05 VERIFY OK: depth=0, /C=IT/ST=IT/L=Perugia/O=airvpn.org/CN=server/emailAddress=info@airvpn.org

2012-11-04 - 18:05 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

2012-11-04 - 18:05 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

2012-11-04 - 18:05 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key

2012-11-04 - 18:05 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

2012-11-04 - 18:05 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA

2012-11-04 - 18:05 [server] Peer Connection Initiated with 62.212.85.65:443

2012-11-04 - 18:05 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

2012-11-04 - 18:05 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.4.0.1,comp-lzo no,route 10.4.0.1,topology net30,ping 10,ping-restart 60,ifconfig 10.4.36.178 10.4.36.177'

2012-11-04 - 18:05 OPTIONS IMPORT: timers and/or timeouts modified

2012-11-04 - 18:05 OPTIONS IMPORT: LZO parms modified

2012-11-04 - 18:05 OPTIONS IMPORT: --ifconfig/up options modified

2012-11-04 - 18:05 OPTIONS IMPORT: route options modified

2012-11-04 - 18:05 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

2012-11-04 - 18:05 ROUTE default_gateway=192.168.1.1

2012-11-04 - 18:05 TAP-WIN32 device [Po??czenie lokalne 3] opened: \\.\Global\{5ACE99E5-62AA-4A93-8D5F-8F40689FCE58}.tap

2012-11-04 - 18:05 TAP-Win32 Driver Version 9.9

2012-11-04 - 18:05 TAP-Win32 MTU=1500

2012-11-04 - 18:05 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Po??czenie lokalne 3 dhcp

2012-11-04 - 18:05 gu lub sk?adnia etykiety woluminu jest niepoprawna.

2012-11-04 - 18:05

2012-11-04 - 18:05

2012-11-04 - 18:05 ERROR: netsh command failed: returned error code 1

2012-11-04 - 18:05 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Po??czenie lokalne 3 dhcp

2012-11-04 - 18:05 gu lub sk?adnia etykiety woluminu jest niepoprawna.

2012-11-04 - 18:05

2012-11-04 - 18:05

2012-11-04 - 18:05 ERROR: netsh command failed: returned error code 1

2012-11-04 - 18:05 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Po??czenie lokalne 3 dhcp

2012-11-04 - 18:05 gu lub sk?adnia etykiety woluminu jest niepoprawna.

2012-11-04 - 18:05

2012-11-04 - 18:05

2012-11-04 - 18:05 ERROR: netsh command failed: returned error code 1

2012-11-04 - 18:05 NETSH: C:\WINDOWS\system32\netsh.exe interface ip set address Po??czenie lokalne 3 dhcp

2012-11-04 - 18:05 gu lub sk?adnia etykiety woluminu jest niepoprawna.

2012-11-04 - 18:05

2012-11-04 - 18:05

2012-11-04 - 18:05 ERROR: netsh command failed: returned error code 1

2012-11-04 - 18:05 NETSH: command failed

2012-11-04 - 18:05 Exiting

2012-11-04 - 18:05 Failed to start.

can't connect to the vpn. few days ago it works ok but now it can't connect.

Share this post


Link to post

@superduper

Hello!

Please try to uninstall completely OpenVPN. Then re-install it making sure that you authorize the installer to install all the drivers.

Kind regards

Share this post


Link to post
Guest Hellas

Hello,

I have problem to connect AirVPN over Tor, this is the log:

14/03/2014 - 19.26	Login...	
14/03/2014 - 19.26	Login success.	
14/03/2014 - 19.26	Contacting service...	
14/03/2014 - 19.26	Connecting...	
14/03/2014 - 19.26	OpenVPN 2.3.2 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013	
14/03/2014 - 19.26	Socket Buffers: R=[8192->8192] S=[8192->8192]	
14/03/2014 - 19.26	Attempting to establish TCP connection with [AF_INET]127.0.0.1:9150	
14/03/2014 - 19.26	TCP connection established with [AF_INET]127.0.0.1:9150	
14/03/2014 - 19.26	socks_handshake: server asked for username/login auth but we were not provided any credentials	
14/03/2014 - 19.26	SIGTERM[soft,init_instance] received, process exiting	
14/03/2014 - 19.26	Failed to start.	
14/03/2014 - 19.26	Login...	
14/03/2014 - 19.26	Login success.	
14/03/2014 - 19.26	Contacting service...	
14/03/2014 - 19.26	Connecting...	
14/03/2014 - 19.26	OpenVPN 2.3.2 i686-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Aug 22 2013	
14/03/2014 - 19.26	Socket Buffers: R=[8192->8192] S=[8192->8192]	
14/03/2014 - 19.26	Attempting to establish TCP connection with [AF_INET]127.0.0.1:9150	
14/03/2014 - 19.26	TCP connection established with [AF_INET]127.0.0.1:9150	
14/03/2014 - 19.26	socks_handshake: server asked for username/login auth but we were not provided any credentials	
14/03/2014 - 19.26	SIGTERM[soft,init_instance] received, process exiting	
14/03/2014 - 19.26	Failed to start.	

I tried with airvpn client and without client (OpenVpn configuration) , but result doesn't  change My credentials are ok...

Suggestion?

Share this post


Link to post
Guest Hellas

Solved, I wrote

SocksPort 127.0.0.1:9150 PreferSOCKSNoAuth

in torrc file.

It's work now.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...