Jump to content
Not connected, Your IP: 54.91.51.101
Marek.Br

OpenVPN Android: "write UDP Operation not permitted"

Recommended Posts

Hi,

I can not connect to AirVPN servers, does not matter which one, as of this error: "write UDP [ECONNREFUSED]: Operation not permitted (code=1)" (last lines on the bottom of the log-file)

 

I am running Android 7.1.2 with RessurectionRemix ROM.

Does anybody have an idea what I need to change?

 

Thank you for any advice!

 

M.B.

 

2017-07-17 14:24:40 offizielle Version 0.6.73 läuft auf Android 7.1.2 API 25, ABI arm64-v8a
2017-07-17 14:24:40 Generiere OpenVPN-Konfiguration…
2017-07-17 14:24:40 New OpenVPN Status (VPN_GENERATE_CONFIG->LEVEL_START): 
2017-07-17 14:24:40 New OpenVPN Status (VPN_GENERATE_CONFIG->LEVEL_START): 
2017-07-17 14:24:40 started Socket Thread
2017-07-17 14:24:40 Netzwerkstatus: CONNECTED  to WIFI "bluepill"
2017-07-17 14:24:40 Debug state info: CONNECTED  to WIFI "bluepill", pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED 
2017-07-17 14:24:40 Debug state info: CONNECTED  to WIFI "bluepill", pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED 
2017-07-17 14:24:40 P:Initializing Google Breakpad!
2017-07-17 14:24:40 Current Parameter Settings:
2017-07-17 14:24:40 Warte 0s Sekunden zwischen zwei Verbindungsversuchen
2017-07-17 14:24:40   config = '/data/user/0/de.blinkt.openvpn/cache/android.conf'
2017-07-17 14:24:40   mode = 0
2017-07-17 14:24:40   show_ciphers = DISABLED
2017-07-17 14:24:40   show_digests = DISABLED
2017-07-17 14:24:40   show_engines = DISABLED
2017-07-17 14:24:40   genkey = DISABLED
2017-07-17 14:24:40   key_pass_file = '[UNDEF]'
2017-07-17 14:24:40   show_tls_ciphers = DISABLED
2017-07-17 14:24:40   connect_retry_max = 0
2017-07-17 14:24:40 Connection profiles [0]:
2017-07-17 14:24:40   proto = udp
2017-07-17 14:24:40   local = '[UNDEF]'
2017-07-17 14:24:40   local_port = '[UNDEF]'
2017-07-17 14:24:40   remote = 'nl.vpn.airdns.org'
2017-07-17 14:24:40   remote_port = '443'
2017-07-17 14:24:40   remote_float = DISABLED
2017-07-17 14:24:40   bind_defined = DISABLED
2017-07-17 14:24:40   bind_local = DISABLED
2017-07-17 14:24:40   bind_ipv6_only = DISABLED
2017-07-17 14:24:40   connect_retry_seconds = 2
2017-07-17 14:24:40   connect_timeout = 120
2017-07-17 14:24:40   socks_proxy_server = '[UNDEF]'
2017-07-17 14:24:40   socks_proxy_port = '[UNDEF]'
2017-07-17 14:24:40   tun_mtu = 1500
2017-07-17 14:24:40   tun_mtu_defined = ENABLED
2017-07-17 14:24:40   link_mtu = 1500
2017-07-17 14:24:40   link_mtu_defined = DISABLED
2017-07-17 14:24:40   tun_mtu_extra = 0
2017-07-17 14:24:40   tun_mtu_extra_defined = DISABLED
2017-07-17 14:24:40   mtu_discover_type = -1
2017-07-17 14:24:40   fragment = 0
2017-07-17 14:24:40   mssfix = 1450
2017-07-17 14:24:40   explicit_exit_notification = 5
2017-07-17 14:24:40 Connection profiles END
2017-07-17 14:24:40   remote_random = DISABLED
2017-07-17 14:24:40   ipchange = '[UNDEF]'
2017-07-17 14:24:40   dev = 'tun'
2017-07-17 14:24:40   dev_type = '[UNDEF]'
2017-07-17 14:24:40   dev_node = '[UNDEF]'
2017-07-17 14:24:40   lladdr = '[UNDEF]'
2017-07-17 14:24:40   topology = 1
2017-07-17 14:24:40   ifconfig_local = '[UNDEF]'
2017-07-17 14:24:40   ifconfig_remote_netmask = '[UNDEF]'
2017-07-17 14:24:40   ifconfig_noexec = DISABLED
2017-07-17 14:24:40   ifconfig_nowarn = ENABLED
2017-07-17 14:24:40   ifconfig_ipv6_local = '[UNDEF]'
2017-07-17 14:24:40   ifconfig_ipv6_netbits = 0
2017-07-17 14:24:40   ifconfig_ipv6_remote = '[UNDEF]'
2017-07-17 14:24:40   shaper = 0
2017-07-17 14:24:40   mtu_test = 0
2017-07-17 14:24:40   mlock = DISABLED
2017-07-17 14:24:40   keepalive_ping = 0
2017-07-17 14:24:40   keepalive_timeout = 0
2017-07-17 14:24:40   inactivity_timeout = 0
2017-07-17 14:24:40   ping_send_timeout = 0
2017-07-17 14:24:40   ping_rec_timeout = 0
2017-07-17 14:24:40   ping_rec_timeout_action = 0
2017-07-17 14:24:40   ping_timer_remote = DISABLED
2017-07-17 14:24:40   remap_sigusr1 = 0
2017-07-17 14:24:40   persist_tun = ENABLED
2017-07-17 14:24:40   persist_local_ip = DISABLED
2017-07-17 14:24:40   persist_remote_ip = DISABLED
2017-07-17 14:24:40   persist_key = DISABLED
2017-07-17 14:24:40   passtos = DISABLED
2017-07-17 14:24:40   resolve_retry_seconds = 1000000000
2017-07-17 14:24:40   resolve_in_advance = ENABLED
2017-07-17 14:24:40   username = '[UNDEF]'
2017-07-17 14:24:40   groupname = '[UNDEF]'
2017-07-17 14:24:40   chroot_dir = '[UNDEF]'
2017-07-17 14:24:40   cd_dir = '[UNDEF]'
2017-07-17 14:24:40   writepid = '[UNDEF]'
2017-07-17 14:24:40   up_script = '[UNDEF]'
2017-07-17 14:24:40   down_script = '[UNDEF]'
2017-07-17 14:24:40   down_pre = DISABLED
2017-07-17 14:24:40   up_restart = DISABLED
2017-07-17 14:24:40   up_delay = DISABLED
2017-07-17 14:24:40   daemon = DISABLED
2017-07-17 14:24:40   inetd = 0
2017-07-17 14:24:40   log = DISABLED
2017-07-17 14:24:40   suppress_timestamps = DISABLED
2017-07-17 14:24:40   machine_readable_output = ENABLED
2017-07-17 14:24:40   nice = 0
2017-07-17 14:24:40   verbosity = 4
2017-07-17 14:24:40   mute = 0
2017-07-17 14:24:40   gremlin = 0
2017-07-17 14:24:40   status_file = '[UNDEF]'
2017-07-17 14:24:40   status_file_version = 1
2017-07-17 14:24:40   status_file_update_freq = 60
2017-07-17 14:24:40   occ = ENABLED
2017-07-17 14:24:40   rcvbuf = 262144
2017-07-17 14:24:40   sndbuf = 262144
2017-07-17 14:24:40   sockflags = 0
2017-07-17 14:24:40   fast_io = DISABLED
2017-07-17 14:24:40   comp.alg = 2
2017-07-17 14:24:40   comp.flags = 1
2017-07-17 14:24:40   route_script = '[UNDEF]'
2017-07-17 14:24:40   route_default_gateway = '[UNDEF]'
2017-07-17 14:24:40   route_default_metric = 0
2017-07-17 14:24:40   route_noexec = DISABLED
2017-07-17 14:24:40   route_delay = 0
2017-07-17 14:24:40   route_delay_window = 30
2017-07-17 14:24:40   route_delay_defined = DISABLED
2017-07-17 14:24:40   route_nopull = DISABLED
2017-07-17 14:24:40   route_gateway_via_dhcp = DISABLED
2017-07-17 14:24:40   allow_pull_fqdn = DISABLED
2017-07-17 14:24:40   management_addr = '/data/user/0/de.blinkt.openvpn/cache/mgmtsocket'
2017-07-17 14:24:40   management_port = 'unix'
2017-07-17 14:24:40   management_user_pass = '[UNDEF]'
2017-07-17 14:24:40   management_log_history_cache = 250
2017-07-17 14:24:40   management_echo_buffer_size = 100
2017-07-17 14:24:40   management_write_peer_info_file = '[UNDEF]'
2017-07-17 14:24:40   management_client_user = '[UNDEF]'
2017-07-17 14:24:40   management_client_group = '[UNDEF]'
2017-07-17 14:24:40   management_flags = 4390
2017-07-17 14:24:40   shared_secret_file = '[UNDEF]'
2017-07-17 14:24:40   key_direction = 1
2017-07-17 14:24:40   ciphername = 'AES-256-CBC'
2017-07-17 14:24:40   ncp_enabled = ENABLED
2017-07-17 14:24:40   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
2017-07-17 14:24:40   authname = 'SHA1'
2017-07-17 14:24:40   prng_hash = 'SHA1'
2017-07-17 14:24:40   prng_nonce_secret_len = 16
2017-07-17 14:24:40   keysize = 0
2017-07-17 14:24:40   engine = DISABLED
2017-07-17 14:24:40   replay = ENABLED
2017-07-17 14:24:40   mute_replay_warnings = DISABLED
2017-07-17 14:24:40   replay_window = 64
2017-07-17 14:24:40   replay_time = 15
2017-07-17 14:24:40   packet_id_file = '[UNDEF]'
2017-07-17 14:24:40   test_crypto = DISABLED
2017-07-17 14:24:40   tls_server = DISABLED
2017-07-17 14:24:40   tls_client = ENABLED
2017-07-17 14:24:40   key_method = 2
2017-07-17 14:24:40   ca_file = '[[INLINE]]'
2017-07-17 14:24:40   ca_path = '[UNDEF]'
2017-07-17 14:24:40   dh_file = '[UNDEF]'
2017-07-17 14:24:40   cert_file = '[[INLINE]]'
2017-07-17 14:24:40   extra_certs_file = '[UNDEF]'
2017-07-17 14:24:40   priv_key_file = '[[INLINE]]'
2017-07-17 14:24:40   pkcs12_file = '[UNDEF]'
2017-07-17 14:24:40   cipher_list = '[UNDEF]'
2017-07-17 14:24:40   tls_verify = '[UNDEF]'
2017-07-17 14:24:40   tls_export_cert = '[UNDEF]'
2017-07-17 14:24:40   verify_x509_type = 0
2017-07-17 14:24:40   verify_x509_name = '[UNDEF]'
2017-07-17 14:24:40   crl_file = '[UNDEF]'
2017-07-17 14:24:40   ns_cert_type = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 65535
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_ku[i] = 0
2017-07-17 14:24:40   remote_cert_eku = 'TLS Web Server Authentication'
2017-07-17 14:24:40   ssl_flags = 0
2017-07-17 14:24:40   tls_timeout = 2
2017-07-17 14:24:40   renegotiate_bytes = -1
2017-07-17 14:24:40   renegotiate_packets = 0
2017-07-17 14:24:40   renegotiate_seconds = 3600
2017-07-17 14:24:40   handshake_window = 60
2017-07-17 14:24:40   transition_window = 3600
2017-07-17 14:24:40   single_session = DISABLED
2017-07-17 14:24:40   push_peer_info = DISABLED
2017-07-17 14:24:40   tls_exit = DISABLED
2017-07-17 14:24:40   tls_auth_file = '[[INLINE]]'
2017-07-17 14:24:40   tls_crypt_file = '[UNDEF]'
2017-07-17 14:24:40   client = ENABLED
2017-07-17 14:24:40   pull = ENABLED
2017-07-17 14:24:40   auth_user_pass_file = '[UNDEF]'
2017-07-17 14:24:40 OpenVPN 2.5-icsopenvpn [git:icsopenvpn-d51333c645c12713+] android-21-arm64-v8a [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jun 26 2017
2017-07-17 14:24:40 library versions: OpenSSL 1.1.0f  25 May 2017, LZO 2.10
2017-07-17 14:24:40 MANAGEMENT: Connected to management server at /data/user/0/de.blinkt.openvpn/cache/mgmtsocket
2017-07-17 14:24:40 MANAGEMENT: CMD 'hold release'
2017-07-17 14:24:40 MANAGEMENT: CMD 'proxy NONE'
2017-07-17 14:24:40 MANAGEMENT: CMD 'bytecount 2'
2017-07-17 14:24:40 MANAGEMENT: CMD 'state on'
2017-07-17 14:24:41 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2017-07-17 14:24:41 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2017-07-17 14:24:41 LZO compression initializing
2017-07-17 14:24:41 Control Channel MTU parms [ L:1622 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2017-07-17 14:24:41 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
2017-07-17 14:24:41 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
2017-07-17 14:24:41 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
2017-07-17 14:24:41 TCP/UDP: Preserving recently used remote address: [AF_INET]109.202.107.19:443
2017-07-17 14:24:41 Socket Buffers: R=[212992->524288] S=[212992->524288]
2017-07-17 14:24:41 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2017-07-17 14:24:41 UDP link local: (not bound)
2017-07-17 14:24:41 UDP link remote: [AF_INET]109.202.107.19:443
2017-07-17 14:24:41 MANAGEMENT: >STATE:1500294281,WAIT,,,,,,
2017-07-17 14:24:41 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:24:41 New OpenVPN Status (WAIT->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): ,,,,,
2017-07-17 14:24:41 New OpenVPN Status (WAIT->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): ,,,,,
2017-07-17 14:24:43 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:24:47 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:24:55 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:25:12 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:25:41 New OpenVPN Status (RECONNECTING->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): tls-error,,,,,
2017-07-17 14:25:41 New OpenVPN Status (RECONNECTING->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): tls-error,,,,,
2017-07-17 14:25:41 New OpenVPN Status (CONNECTRETRY->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): 2
2017-07-17 14:25:41 New OpenVPN Status (CONNECTRETRY->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): 2
2017-07-17 14:25:41 Warte 2s Sekunden zwischen zwei Verbindungsversuchen
2017-07-17 14:25:41 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2017-07-17 14:25:41 TLS Error: TLS handshake failed
2017-07-17 14:25:41 TCP/UDP: Closing socket
2017-07-17 14:25:41 SIGUSR1[soft,tls-error] received, process restarting
2017-07-17 14:25:41 MANAGEMENT: >STATE:1500294341,RECONNECTING,tls-error,,,,,
2017-07-17 14:25:43 MANAGEMENT: CMD 'hold release'
2017-07-17 14:25:43 MANAGEMENT: CMD 'proxy NONE'
2017-07-17 14:25:43 MANAGEMENT: CMD 'bytecount 2'
2017-07-17 14:25:43 MANAGEMENT: CMD 'state on'
2017-07-17 14:25:44 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2017-07-17 14:25:44 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
2017-07-17 14:25:44 LZO compression initializing
2017-07-17 14:25:44 Control Channel MTU parms [ L:1622 D:1184 EF:66 EB:0 ET:0 EL:3 ]
2017-07-17 14:25:44 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
2017-07-17 14:25:44 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
2017-07-17 14:25:44 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
2017-07-17 14:25:44 TCP/UDP: Preserving recently used remote address: [AF_INET]109.202.107.19:443
2017-07-17 14:25:44 Socket Buffers: R=[212992->524288] S=[212992->524288]
2017-07-17 14:25:44 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2017-07-17 14:25:44 UDP link local: (not bound)
2017-07-17 14:25:44 New OpenVPN Status (WAIT->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): ,,,,,
2017-07-17 14:25:44 New OpenVPN Status (WAIT->LEVEL_CONNECTING_NO_SERVER_REPLY_YET): ,,,,,
2017-07-17 14:25:44 UDP link remote: [AF_INET]109.202.107.19:443
2017-07-17 14:25:44 MANAGEMENT: >STATE:1500294344,WAIT,,,,,,
2017-07-17 14:25:44 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:25:46 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:25:50 write UDP [ECONNREFUSED]: Operation not permitted (code=1)
2017-07-17 14:25:58 write UDP [ECONNREFUSED]: Operation not permitted (code=1)

 

Share this post


Link to post

Nevermind. I didn't properly see the logs apparently. Thanks Tapatalk.

 

Sent via Tapatalk. Means, I don't have a computer available now.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

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

×
×
  • Create New...