Client connects first time only

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Locked
mezose
OpenVpn Newbie
Posts: 2
Joined: Mon Oct 21, 2013 7:21 pm

Client connects first time only

Post by mezose » Mon Oct 21, 2013 7:32 pm

I have tried google and searched the forum for a resolution and came up with nothing.
I am using OpenVPN Client 1.5.6 to connect. After importing the .ovpn file for configuration I click connect, enter user & password the client connects and works fine. Upon attempting to connect the next time the status windows shows "Connecting" and hangs there. The client will not connect again unless I delete the profile (.ovpn) and re-import it.

mezose
OpenVpn Newbie
Posts: 2
Joined: Mon Oct 21, 2013 7:21 pm

Re: Client connects first time only

Post by mezose » Mon Oct 21, 2013 9:19 pm

Client config:

[capi]

openvpn_exe_path=~\..\core\openvpn.exe
python_script_interpreter=~\..\core\py.exe
helper=~\..\core\capihelper.exe
profile_dir=~\profile
users_dir=~\users
log_dir=~\log
capi_log=~\log\capi.log
capi_log_append=false
config_dir=~
script_dir=~\scripts
sock=944

[capi.swupdate]

work_dir=~\update
install_log=~\msi.log
base_url=http://swupdate.openvpn.net/updates
signing_ca_bundle=~\update-ca.crt

Client log:

Mon Oct 21 16:45:13 2013 OpenVPNAS 2.1.1oOAS Win32-MSVC++ [SSL] [LZO2] built on Jul 29 2010
Mon Oct 21 16:45:13 2013 MANAGEMENT: Connected to management server at 127.0.0.1:42222
Mon Oct 21 16:45:13 2013 MANAGEMENT: CMD 'log on'
Mon Oct 21 16:45:13 2013 MANAGEMENT: CMD 'state on'
Mon Oct 21 16:45:13 2013 MANAGEMENT: CMD 'echo on'
Mon Oct 21 16:45:13 2013 MANAGEMENT: CMD 'bytecount 5'
Mon Oct 21 16:45:13 2013 MANAGEMENT: CMD 'hold off'
Mon Oct 21 16:45:13 2013 MANAGEMENT: CMD 'hold release'
Mon Oct 21 16:45:15 2013 MANAGEMENT: CMD 'username "Auth" "None"'
Mon Oct 21 16:45:46 2013 MANAGEMENT: CMD 'exit'
Mon Oct 21 16:45:46 2013 MANAGEMENT: Client disconnected
Mon Oct 21 16:45:46 2013 MANAGEMENT: Triggering management exit
Mon Oct 21 16:45:46 2013 ERROR: could not read Auth username/password/ok/string from management interface
Mon Oct 21 16:45:46 2013 Exiting

Thank you for your quick response.
After reading the log I entered the user name and password and it connects. Its not saving/caching the user name and password.

Locked