schwabe / ics-openvpn

OpenVPN for Android
3.34k stars 1.2k forks source link

Keep on getting "Connection reset, restarting [-1]" message and its can't connect #423

Closed Woodtrain closed 8 years ago

Woodtrain commented 8 years ago

Hi, I am using a third party VPN service provided by GoTrusted.com. They have a specific instruction on how to use OpenVPN client to connect to their server, as shown in here:

https://www.gotrusted.com/android-configure-ovpn.php

I tried, two things very puzzling:

  1. If I use the mobile phone 4G network to connect, after many many tries, I may get lucky and get connected;
  2. If I use a wifi router to connect, no luck at all.

The following is the a typical log file:

2015-12-23 10:14:02 正式版本 0.6.46 running on Sony C6833 (MSM8974), Android 4.4.4 (14.4.A.0.108) API 19, ABI armeabi-v7a, (Sony/C6833/C6833:4.4.4/14.4.A.0.108/k___jQ:user/release-keys) 2015-12-23 10:14:02 正在生成配置 2015-12-23 10:14:05 started Socket Thread 2015-12-23 10:14:05 网络状态: CONNECTED to WIFI "RM-6-105-Main" 2015-12-23 10:14:05 P:Initializing Google Breakpad! 2015-12-23 10:14:05 Current Parameter Settings: 2015-12-23 10:14:05 config = '/data/data/de.blinkt.openvpn/cache/android.conf' 2015-12-23 10:14:05 mode = 0 2015-12-23 10:14:05 show_ciphers = DISABLED 2015-12-23 10:14:05 show_digests = DISABLED 2015-12-23 10:14:05 show_engines = DISABLED 2015-12-23 10:14:05 genkey = DISABLED 2015-12-23 10:14:05 key_pass_file = '[UNDEF]' 2015-12-23 10:14:05 show_tls_ciphers = DISABLED 2015-12-23 10:14:05 connect_retry_max = 5 2015-12-23 10:14:05 Connection profiles [0]: 2015-12-23 10:14:05 proto = tcp-client 2015-12-23 10:14:05 local = '[UNDEF]' 2015-12-23 10:14:05 local_port = '[UNDEF]' 2015-12-23 10:14:05 remote = '100.42.29.212' 2015-12-23 10:14:05 remote_port = '443' 2015-12-23 10:14:05 remote_float = ENABLED 2015-12-23 10:14:05 bind_defined = DISABLED 2015-12-23 10:14:05 bind_local = DISABLED 2015-12-23 10:14:05 bind_ipv6_only = DISABLED 2015-12-23 10:14:05 connect_retry_seconds = 5 2015-12-23 10:14:05 connect_timeout = 120 2015-12-23 10:14:05 socks_proxy_server = '[UNDEF]' 2015-12-23 10:14:05 socks_proxy_port = '[UNDEF]' 2015-12-23 10:14:05 socks_proxy_retry = DISABLED 2015-12-23 10:14:05 tun_mtu = 1500 2015-12-23 10:14:05 tun_mtu_defined = ENABLED 2015-12-23 10:14:05 link_mtu = 1500 2015-12-23 10:14:05 link_mtu_defined = DISABLED 2015-12-23 10:14:05 tun_mtu_extra = 0 2015-12-23 10:14:05 tun_mtu_extra_defined = DISABLED 2015-12-23 10:14:05 mtu_discover_type = -1 2015-12-23 10:14:05 fragment = 0 2015-12-23 10:14:05 mssfix = 1450 2015-12-23 10:14:05 explicit_exit_notification = 0 2015-12-23 10:14:05 Connection profiles END 2015-12-23 10:14:05 remote_random = DISABLED 2015-12-23 10:14:05 ipchange = '[UNDEF]' 2015-12-23 10:14:05 dev = 'tun' 2015-12-23 10:14:05 dev_type = '[UNDEF]' 2015-12-23 10:14:05 dev_node = '[UNDEF]' 2015-12-23 10:14:05 lladdr = '[UNDEF]' 2015-12-23 10:14:05 topology = 1 2015-12-23 10:14:05 tun_ipv6 = DISABLED 2015-12-23 10:14:05 ifconfig_local = '[UNDEF]' 2015-12-23 10:14:05 ifconfig_remote_netmask = '[UNDEF]' 2015-12-23 10:14:05 ifconfig_noexec = DISABLED 2015-12-23 10:14:05 ifconfig_nowarn = ENABLED 2015-12-23 10:14:05 ifconfig_ipv6_local = '[UNDEF]' 2015-12-23 10:14:05 ifconfig_ipv6_netbits = 0 2015-12-23 10:14:05 ifconfig_ipv6_remote = '[UNDEF]' 2015-12-23 10:14:05 shaper = 0 2015-12-23 10:14:05 mtu_test = 0 2015-12-23 10:14:05 mlock = DISABLED 2015-12-23 10:14:05 keepalive_ping = 0 2015-12-23 10:14:05 keepalive_timeout = 0 2015-12-23 10:14:05 inactivity_timeout = 0 2015-12-23 10:14:05 ping_send_timeout = 0 2015-12-23 10:14:05 ping_rec_timeout = 0 2015-12-23 10:14:05 ping_rec_timeout_action = 0 2015-12-23 10:14:05 ping_timer_remote = DISABLED 2015-12-23 10:14:05 remap_sigusr1 = 0 2015-12-23 10:14:05 persist_tun = ENABLED 2015-12-23 10:14:05 persist_local_ip = DISABLED 2015-12-23 10:14:05 persist_remote_ip = DISABLED 2015-12-23 10:14:05 persist_key = DISABLED 2015-12-23 10:14:05 passtos = DISABLED 2015-12-23 10:14:05 resolve_retry_seconds = 60 2015-12-23 10:14:05 resolve_in_advance = ENABLED 2015-12-23 10:14:05 username = '[UNDEF]' 2015-12-23 10:14:05 groupname = '[UNDEF]' 2015-12-23 10:14:05 chroot_dir = '[UNDEF]' 2015-12-23 10:14:05 cd_dir = '[UNDEF]' 2015-12-23 10:14:05 writepid = '[UNDEF]' 2015-12-23 10:14:05 up_script = '[UNDEF]' 2015-12-23 10:14:05 down_script = '[UNDEF]' 2015-12-23 10:14:05 down_pre = DISABLED 2015-12-23 10:14:05 up_restart = DISABLED 2015-12-23 10:14:05 up_delay = DISABLED 2015-12-23 10:14:05 daemon = DISABLED 2015-12-23 10:14:05 inetd = 0 2015-12-23 10:14:05 log = DISABLED 2015-12-23 10:14:05 suppress_timestamps = DISABLED 2015-12-23 10:14:05 machine_readable_output = ENABLED 2015-12-23 10:14:05 nice = 0 2015-12-23 10:14:05 verbosity = 4 2015-12-23 10:14:05 mute = 0 2015-12-23 10:14:05 gremlin = 0 2015-12-23 10:14:05 status_file = '[UNDEF]' 2015-12-23 10:14:05 status_file_version = 1 2015-12-23 10:14:05 status_file_update_freq = 60 2015-12-23 10:14:05 occ = ENABLED 2015-12-23 10:14:05 rcvbuf = 0 2015-12-23 10:14:05 sndbuf = 0 2015-12-23 10:14:05 sockflags = 0 2015-12-23 10:14:05 fast_io = DISABLED 2015-12-23 10:14:05 comp.alg = 2 2015-12-23 10:14:05 comp.flags = 1 2015-12-23 10:14:05 route_script = '[UNDEF]' 2015-12-23 10:14:05 route_default_gateway = '[UNDEF]' 2015-12-23 10:14:05 route_default_metric = 0 2015-12-23 10:14:05 route_noexec = DISABLED 2015-12-23 10:14:05 route_delay = 0 2015-12-23 10:14:05 route_delay_window = 30 2015-12-23 10:14:05 route_delay_defined = DISABLED 2015-12-23 10:14:05 route_nopull = DISABLED 2015-12-23 10:14:05 route_gateway_via_dhcp = DISABLED 2015-12-23 10:14:05 allow_pull_fqdn = DISABLED 2015-12-23 10:14:05 route 0.0.0.0/0.0.0.0/vpn_gateway/nil 2015-12-23 10:14:05 management_addr = '/data/data/de.blinkt.openvpn/cache/mgmtsocket' 2015-12-23 10:14:05 management_port = 'unix' 2015-12-23 10:14:05 management_user_pass = '[UNDEF]' 2015-12-23 10:14:05 management_log_history_cache = 250 2015-12-23 10:14:05 management_echo_buffer_size = 100 2015-12-23 10:14:05 management_write_peer_info_file = '[UNDEF]' 2015-12-23 10:14:05 management_client_user = '[UNDEF]' 2015-12-23 10:14:05 management_client_group = '[UNDEF]' 2015-12-23 10:14:05 management_flags = 4390 2015-12-23 10:14:05 shared_secret_file = '[UNDEF]' 2015-12-23 10:14:05 key_direction = 0 2015-12-23 10:14:05 ciphername_defined = ENABLED 2015-12-23 10:14:05 ciphername = 'BF-CBC' 2015-12-23 10:14:05 authname_defined = ENABLED 2015-12-23 10:14:05 authname = 'SHA1' 2015-12-23 10:14:05 prng_hash = 'SHA1' 2015-12-23 10:14:05 prng_nonce_secret_len = 16 2015-12-23 10:14:05 keysize = 0 2015-12-23 10:14:05 engine = DISABLED 2015-12-23 10:14:05 replay = ENABLED 2015-12-23 10:14:05 mute_replay_warnings = DISABLED 2015-12-23 10:14:05 replay_window = 64 2015-12-23 10:14:05 replay_time = 15 2015-12-23 10:14:05 packet_id_file = '[UNDEF]' 2015-12-23 10:14:05 use_iv = ENABLED 2015-12-23 10:14:05 test_crypto = DISABLED 2015-12-23 10:14:05 tls_server = DISABLED 2015-12-23 10:14:05 tls_client = ENABLED 2015-12-23 10:14:05 key_method = 2 2015-12-23 10:14:05 ca_file = '[[INLINE]]' 2015-12-23 10:14:05 ca_path = '[UNDEF]' 2015-12-23 10:14:05 dh_file = '[UNDEF]' 2015-12-23 10:14:05 cert_file = '[UNDEF]' 2015-12-23 10:14:05 extra_certs_file = '[UNDEF]' 2015-12-23 10:14:05 priv_key_file = '[UNDEF]' 2015-12-23 10:14:05 pkcs12_file = '[UNDEF]' 2015-12-23 10:14:05 cipher_list = '[UNDEF]' 2015-12-23 10:14:05 tls_verify = '[UNDEF]' 2015-12-23 10:14:05 tls_export_cert = '[UNDEF]' 2015-12-23 10:14:05 verify_x509_type = 0 2015-12-23 10:14:05 verify_x509_name = '[UNDEF]' 2015-12-23 10:14:05 crl_file = '[UNDEF]' 2015-12-23 10:14:05 ns_cert_type = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_ku[i] = 0 2015-12-23 10:14:05 remote_cert_eku = '[UNDEF]' 2015-12-23 10:14:05 ssl_flags = 0 2015-12-23 10:14:05 tls_timeout = 2 2015-12-23 10:14:05 renegotiate_bytes = 0 2015-12-23 10:14:05 renegotiate_packets = 0 2015-12-23 10:14:05 renegotiate_seconds = 3600 2015-12-23 10:14:05 handshake_window = 60 2015-12-23 10:14:05 transition_window = 3600 2015-12-23 10:14:05 single_session = DISABLED 2015-12-23 10:14:05 push_peer_info = DISABLED 2015-12-23 10:14:05 tls_exit = DISABLED 2015-12-23 10:14:05 tls_auth_file = '[UNDEF]' 2015-12-23 10:14:05 client = ENABLED 2015-12-23 10:14:05 pull = ENABLED 2015-12-23 10:14:05 auth_user_pass_file = 'stdin' 2015-12-23 10:14:05 OpenVPN 2.4-icsopenvpn [git:icsopenvpn_645-e6b5e62e37c02d5b] android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH] [IPv6] built on Dec 8 2015 2015-12-23 10:14:05 library versions: OpenSSL 1.0.2e 3 Dec 2015, LZO 2.09 2015-12-23 10:14:05 MANAGEMENT: Connected to management server at /data/data/de.blinkt.openvpn/cache/mgmtsocket 2015-12-23 10:14:05 MANAGEMENT: CMD 'hold release' 2015-12-23 10:14:05 MANAGEMENT: CMD 'bytecount 2' 2015-12-23 10:14:05 MANAGEMENT: CMD 'state on' 2015-12-23 10:14:05 MANAGEMENT: CMD 'username 'Auth' hongyuan.yang@gmail.com' 2015-12-23 10:14:05 MANAGEMENT: CMD 'password [...]' 2015-12-23 10:14:05 MANAGEMENT: CMD 'proxy NONE' 2015-12-23 10:14:06 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. 2015-12-23 10:14:06 LZO compression initializing 2015-12-23 10:14:06 Control Channel MTU parms [ L:1544 D:1210 EF:40 EB:0 ET:0 EL:3 ] 2015-12-23 10:14:06 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:3 ] 2015-12-23 10:14:06 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client' 2015-12-23 10:14:06 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server' 2015-12-23 10:14:06 TCP/UDP: Preserving recently used remote address: [AF_INET]100.42.29.212:443 2015-12-23 10:14:06 Socket Buffers: R=[2097152->2097152] S=[524288->524288] 2015-12-23 10:14:06 Attempting to establish TCP connection with [AF_INET]100.42.29.212:443 [nonblock] 2015-12-23 10:14:06 MANAGEMENT: >STATE:1450836846,TCP_CONNECT,,,,,, 2015-12-23 10:14:06 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:07 TCP connection established with [AF_INET]100.42.29.212:443 2015-12-23 10:14:07 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:07 TCP_CLIENT link local: (not bound) 2015-12-23 10:14:07 TCP_CLIENT link remote: [AF_INET]100.42.29.212:443 2015-12-23 10:14:07 MANAGEMENT: >STATE:1450836847,WAIT,,,,,, 2015-12-23 10:14:07 Connection reset, restarting [-1] 2015-12-23 10:14:07 TCP/UDP: Closing socket 2015-12-23 10:14:07 SIGUSR1[soft,connection-reset] received, process restarting 2015-12-23 10:14:07 MANAGEMENT: >STATE:1450836847,RECONNECTING,connection-reset,,,,, 2015-12-23 10:14:10 MANAGEMENT: CMD 'hold release' 2015-12-23 10:14:10 MANAGEMENT: CMD 'bytecount 2' 2015-12-23 10:14:10 MANAGEMENT: CMD 'state on' 2015-12-23 10:14:10 MANAGEMENT: CMD 'proxy NONE' 2015-12-23 10:14:11 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. 2015-12-23 10:14:11 LZO compression initializing 2015-12-23 10:14:11 Control Channel MTU parms [ L:1544 D:1210 EF:40 EB:0 ET:0 EL:3 ] 2015-12-23 10:14:11 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:3 ] 2015-12-23 10:14:11 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client' 2015-12-23 10:14:11 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server' 2015-12-23 10:14:11 TCP/UDP: Preserving recently used remote address: [AF_INET]100.42.29.212:443 2015-12-23 10:14:11 Socket Buffers: R=[2097152->2097152] S=[524288->524288] 2015-12-23 10:14:11 Attempting to establish TCP connection with [AF_INET]100.42.29.212:443 [nonblock] 2015-12-23 10:14:11 MANAGEMENT: >STATE:1450836851,TCP_CONNECT,,,,,, 2015-12-23 10:14:11 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:12 TCP connection established with [AF_INET]100.42.29.212:443 2015-12-23 10:14:12 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:12 TCP_CLIENT link local: (not bound) 2015-12-23 10:14:12 TCP_CLIENT link remote: [AF_INET]100.42.29.212:443 2015-12-23 10:14:12 MANAGEMENT: >STATE:1450836852,WAIT,,,,,, 2015-12-23 10:14:12 Connection reset, restarting [-1] 2015-12-23 10:14:12 TCP/UDP: Closing socket 2015-12-23 10:14:12 SIGUSR1[soft,connection-reset] received, process restarting 2015-12-23 10:14:12 MANAGEMENT: >STATE:1450836852,RECONNECTING,connection-reset,,,,, 2015-12-23 10:14:15 MANAGEMENT: CMD 'hold release' 2015-12-23 10:14:15 MANAGEMENT: CMD 'bytecount 2' 2015-12-23 10:14:15 MANAGEMENT: CMD 'state on' 2015-12-23 10:14:15 MANAGEMENT: CMD 'proxy NONE' 2015-12-23 10:14:16 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. 2015-12-23 10:14:16 LZO compression initializing 2015-12-23 10:14:16 Control Channel MTU parms [ L:1544 D:1210 EF:40 EB:0 ET:0 EL:3 ] 2015-12-23 10:14:16 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:3 ] 2015-12-23 10:14:16 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client' 2015-12-23 10:14:16 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server' 2015-12-23 10:14:16 TCP/UDP: Preserving recently used remote address: [AF_INET]100.42.29.212:443 2015-12-23 10:14:16 Socket Buffers: R=[2097152->2097152] S=[524288->524288] 2015-12-23 10:14:16 Attempting to establish TCP connection with [AF_INET]100.42.29.212:443 [nonblock] 2015-12-23 10:14:16 MANAGEMENT: >STATE:1450836856,TCP_CONNECT,,,,,, 2015-12-23 10:14:16 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:17 TCP connection established with [AF_INET]100.42.29.212:443 2015-12-23 10:14:17 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:17 TCP_CLIENT link local: (not bound) 2015-12-23 10:14:17 TCP_CLIENT link remote: [AF_INET]100.42.29.212:443 2015-12-23 10:14:17 MANAGEMENT: >STATE:1450836857,WAIT,,,,,, 2015-12-23 10:14:17 Connection reset, restarting [-1] 2015-12-23 10:14:17 TCP/UDP: Closing socket 2015-12-23 10:14:17 SIGUSR1[soft,connection-reset] received, process restarting 2015-12-23 10:14:17 MANAGEMENT: >STATE:1450836857,RECONNECTING,connection-reset,,,,, 2015-12-23 10:14:20 MANAGEMENT: CMD 'hold release' 2015-12-23 10:14:20 MANAGEMENT: CMD 'bytecount 2' 2015-12-23 10:14:20 MANAGEMENT: CMD 'state on' 2015-12-23 10:14:20 MANAGEMENT: CMD 'proxy NONE' 2015-12-23 10:14:21 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. 2015-12-23 10:14:21 LZO compression initializing 2015-12-23 10:14:21 Control Channel MTU parms [ L:1544 D:1210 EF:40 EB:0 ET:0 EL:3 ] 2015-12-23 10:14:21 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:3 ] 2015-12-23 10:14:21 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client' 2015-12-23 10:14:21 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server' 2015-12-23 10:14:21 TCP/UDP: Preserving recently used remote address: [AF_INET]100.42.29.212:443 2015-12-23 10:14:21 Socket Buffers: R=[2097152->2097152] S=[524288->524288] 2015-12-23 10:14:21 Attempting to establish TCP connection with [AF_INET]100.42.29.212:443 [nonblock] 2015-12-23 10:14:21 MANAGEMENT: >STATE:1450836861,TCP_CONNECT,,,,,, 2015-12-23 10:14:21 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:22 TCP connection established with [AF_INET]100.42.29.212:443 2015-12-23 10:14:22 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:22 TCP_CLIENT link local: (not bound) 2015-12-23 10:14:22 TCP_CLIENT link remote: [AF_INET]100.42.29.212:443 2015-12-23 10:14:22 MANAGEMENT: >STATE:1450836862,WAIT,,,,,, 2015-12-23 10:14:22 Connection reset, restarting [-1] 2015-12-23 10:14:22 TCP/UDP: Closing socket 2015-12-23 10:14:22 SIGUSR1[soft,connection-reset] received, process restarting 2015-12-23 10:14:22 MANAGEMENT: >STATE:1450836862,RECONNECTING,connection-reset,,,,, 2015-12-23 10:14:25 MANAGEMENT: CMD 'hold release' 2015-12-23 10:14:25 MANAGEMENT: CMD 'bytecount 2' 2015-12-23 10:14:25 MANAGEMENT: CMD 'state on' 2015-12-23 10:14:26 MANAGEMENT: CMD 'proxy NONE' 2015-12-23 10:14:26 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. 2015-12-23 10:14:26 LZO compression initializing 2015-12-23 10:14:26 Control Channel MTU parms [ L:1544 D:1210 EF:40 EB:0 ET:0 EL:3 ] 2015-12-23 10:14:26 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:393 ET:0 EL:3 ] 2015-12-23 10:14:26 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client' 2015-12-23 10:14:26 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server' 2015-12-23 10:14:26 TCP/UDP: Preserving recently used remote address: [AF_INET]100.42.29.212:443 2015-12-23 10:14:26 Socket Buffers: R=[2097152->2097152] S=[524288->524288] 2015-12-23 10:14:26 Attempting to establish TCP connection with [AF_INET]100.42.29.212:443 [nonblock] 2015-12-23 10:14:26 MANAGEMENT: >STATE:1450836866,TCP_CONNECT,,,,,, 2015-12-23 10:14:26 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:27 TCP connection established with [AF_INET]100.42.29.212:443 2015-12-23 10:14:27 MANAGEMENT: CMD 'needok 'PROTECTFD' ok' 2015-12-23 10:14:27 TCP_CLIENT link local: (not bound) 2015-12-23 10:14:27 TCP_CLIENT link remote: [AF_INET]100.42.29.212:443 2015-12-23 10:14:27 MANAGEMENT: >STATE:1450836867,WAIT,,,,,, 2015-12-23 10:14:27 Connection reset, restarting [-1] 2015-12-23 10:14:27 TCP/UDP: Closing socket 2015-12-23 10:14:27 SIGUSR1[soft,connection-reset] received, process restarting 2015-12-23 10:14:27 MANAGEMENT: >STATE:1450836867,RECONNECTING,connection-reset,,,,, 2015-12-23 10:14:30 MANAGEMENT: CMD 'hold release' 2015-12-23 10:14:30 MANAGEMENT: CMD 'bytecount 2' 2015-12-23 10:14:30 MANAGEMENT: CMD 'state on' 2015-12-23 10:14:30 MANAGEMENT: CMD 'proxy NONE' 2015-12-23 10:14:31 MANAGEMENT: Client disconnected 2015-12-23 10:14:31 All connections have been connect-retry-max (5) times unsuccessful, exiting 2015-12-23 10:14:31 Exiting due to fatal error 2015-12-23 10:14:31 MGMT: Got unrecognized command>FATAL:All connections have been connect-retry-max (5) times unsuccessful, exiting 2015-12-23 10:14:31 Process exited with exit value 1

schwabe commented 8 years ago

Connection reset means that a TCP connection is being reset. That means that either your VPN provider or some network elememt in between rests the connection. Check with your VPN provider or try using a different network (e.g. mobile)