azinchen / nordvpn

NordVPN Docker Client
GNU Affero General Public License v3.0
98 stars 19 forks source link

cannot to connect to any server: parse error: Invalid numeric literal at line 1, column 7 #359

Closed oscar-corredor closed 1 year ago

oscar-corredor commented 1 year ago

Hey,

I've tried to get this to work on different computers with different ISPs but so far no luck, it seems that the container can't get the list of servers, I've left it running for 2 days and no luck. Any ideas on how to fix it? I'm on the latest version of the container (pulled today) and here are the logs I get:

vpn4_1 | s6-rc: info: service s6rc-oneshot-runner: starting vpn4_1 | s6-rc: info: service s6rc-oneshot-runner successfully started vpn4_1 | s6-rc: info: service fix-attrs: starting vpn4_1 | s6-rc: info: service container-init: starting vpn4_1 | s6-rc: info: service fix-attrs successfully started vpn4_1 | Process file /etc/nordvpn/init/10-adduser.sh vpn4_1 | s6-rc: info: service legacy-cont-init: starting vpn4_1 | Set nordvpn user uid 912 and nordvpn group gid 912 vpn4_1 | s6-rc: info: service legacy-cont-init successfully started vpn4_1 | usermod: no changes vpn4_1 | Process file /etc/nordvpn/init/20-firewall.sh vpn4_1 | Firewall is up, everything has to go through the vpn vpn4_1 | Enabling connection to secure interfaces vpn4_1 | Enabling connection to nordvpn group vpn4_1 | Process file /etc/nordvpn/init/30-localnetwork.sh vpn4_1 | Bypass requests to local network thru regular connection vpn4_1 | Enabling connection to network 192.168.1.0/24 vpn4_1 | Enabling connection to network 192.168.2.0/24 vpn4_1 | Process file /etc/nordvpn/init/40-whitelistnetwork.sh vpn4_1 | Bypass requests to domains from whitelist thru regular connection vpn4_1 | Bypass requests to NordVPN API thru regular connection vpn4_1 | Process file /etc/nordvpn/init/50-createvpnconfig.sh vpn4_1 | Select NordVPN server and create config file vpn4_1 | Apply filter technology "OpenVPN UDP" vpn4_1 | Request list of recommended servers vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Austria", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Belgium", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Brazil", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Canada", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Chile", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Costa Rica", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Croatia", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Denmark", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "France", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Germany", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Ireland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Italy", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Luxembourg", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Mexico", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Netherlands", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Norway", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Poland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Portugal", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Spain", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Sweden", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Switzerland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "United Kingdom", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "United States", 0 servers received vpn4_1 | 0 recommended servers in pool vpn4_1 | ERROR: list of selected servers is empty vpn4_1 | Select server "" hostname="" ip="" protocol="udp" vpn4_1 | Process file /etc/nordvpn/init/60-setupcron.sh vpn4_1 | Setup crond service vpn4_1 | Create reconnection cron vpn4_1 | Create connectivity check cron vpn4_1 | Process file /etc/nordvpn/init/70-createauth.sh vpn4_1 | Create auth file vpn4_1 | s6-rc: info: service container-init successfully started vpn4_1 | s6-rc: info: service nordvpnd: starting vpn4_1 | s6-rc: info: service crond: starting vpn4_1 | s6-rc: info: service crond successfully started vpn4_1 | s6-rc: info: service nordvpnd successfully started vpn4_1 | s6-rc: info: service legacy-services: starting vpn4_1 | Run crond service vpn4_1 | 2023-06-16 13:34:52 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations. vpn4_1 | 2023-06-16 13:34:52 OpenVPN 2.6.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] vpn4_1 | 2023-06-16 13:34:52 library versions: OpenSSL 3.1.0 14 Mar 2023, LZO 2.10 vpn4_1 | 2023-06-16 13:34:52 WARNING: --ping should normally be used with --ping-restart or --ping-exit vpn4_1 | 2023-06-16 13:34:52 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts vpn4_1 | s6-rc: info: service legacy-services successfully started vpn4_1 | 2023-06-16 13:34:52 TCP/UDP: Preserving recently used remote address: [AF_INET]0.0.4.170:1194 vpn4_1 | 2023-06-16 13:34:52 Socket Buffers: R=[212992->212992] S=[212992->212992] vpn4_1 | 2023-06-16 13:34:52 UDPv4 link local: (not bound) vpn4_1 | 2023-06-16 13:34:52 UDPv4 link remote: [AF_INET]0.0.4.170:1194 vpn4_1 | Fri Jun 16 13:35:00 UTC 2023 Check VPN Internet connection vpn4_1 | Select NordVPN server and create config file vpn4_1 | Apply filter technology "OpenVPN UDP" vpn4_1 | Request list of recommended servers vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Austria", 0 servers received vpn4_1 | Iteration 1(3), url=https://ipinfo.io/json, Connection via VPN is down vpn4_1 | Sleep between iteration for 10 vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Belgium", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Brazil", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Canada", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Chile", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Costa Rica", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Croatia", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Denmark", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "France", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Germany", 0 servers received vpn4_1 | Iteration 2(3), url=https://ipinfo.io/json, Connection via VPN is down vpn4_1 | Sleep between iteration for 10 vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Ireland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Italy", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Luxembourg", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Mexico", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Netherlands", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Norway", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Poland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Portugal", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Spain", 0 servers received vpn4_1 | Iteration 3(3), url=https://ipinfo.io/json, Connection via VPN is down vpn4_1 | Sleep between iteration for 10 vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Sweden", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Switzerland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "United Kingdom", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "United States", 0 servers received vpn4_1 | 0 recommended servers in pool vpn4_1 | ERROR: list of selected servers is empty vpn4_1 | Select server "" hostname="" ip="" protocol="udp" vpn4_1 | Reconnect to selected VPN server vpn4_1 | 2023-06-16 13:35:30 event_wait : Interrupted system call (fd=-1,code=4) vpn4_1 | 2023-06-16 13:35:30 SIGHUP[hard,] received, process restarting vpn4_1 | 2023-06-16 13:35:30 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations. vpn4_1 | 2023-06-16 13:35:30 OpenVPN 2.6.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] vpn4_1 | 2023-06-16 13:35:30 library versions: OpenSSL 3.1.0 14 Mar 2023, LZO 2.10 vpn4_1 | 2023-06-16 13:35:30 Restart pause, 1 second(s) vpn4_1 | 2023-06-16 13:35:31 WARNING: --ping should normally be used with --ping-restart or --ping-exit vpn4_1 | 2023-06-16 13:35:31 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts vpn4_1 | 2023-06-16 13:35:31 TCP/UDP: Preserving recently used remote address: [AF_INET]0.0.4.170:1194 vpn4_1 | 2023-06-16 13:35:31 Socket Buffers: R=[212992->212992] S=[212992->212992] vpn4_1 | 2023-06-16 13:35:31 UDPv4 link local: (not bound) vpn4_1 | 2023-06-16 13:35:31 UDPv4 link remote: [AF_INET]0.0.4.170:1194 vpn4_1 | Connection via VPN is down, recreate VPN vpn4_1 | Select NordVPN server and create config file vpn4_1 | Apply filter technology "OpenVPN UDP" vpn4_1 | Request list of recommended servers vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Austria", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Belgium", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Brazil", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Canada", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Chile", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Costa Rica", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Croatia", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Denmark", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "France", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Germany", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Ireland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Italy", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Luxembourg", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Mexico", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Netherlands", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Norway", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Poland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Portugal", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Spain", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Sweden", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "Switzerland", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "United Kingdom", 0 servers received vpn4_1 | parse error: Invalid numeric literal at line 1, column 7 vpn4_1 | Request servers in "United States", 0 servers received vpn4_1 | 0 recommended servers in pool vpn4_1 | ERROR: list of selected servers is empty vpn4_1 | Select server "" hostname="" ip="" protocol="udp" vpn4_1 | Reconnect to selected VPN server vpn4_1 | 2023-06-16 13:36:09 event_wait : Interrupted system call (fd=-1,code=4) vpn4_1 | 2023-06-16 13:36:09 SIGHUP[hard,] received, process restarting vpn4_1 | 2023-06-16 13:36:09 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations. vpn4_1 | 2023-06-16 13:36:09 OpenVPN 2.6.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] vpn4_1 | 2023-06-16 13:36:09 library versions: OpenSSL 3.1.0 14 Mar 2023, LZO 2.10 vpn4_1 | 2023-06-16 13:36:09 Restart pause, 1 second(s) vpn4_1 | 2023-06-16 13:36:10 WARNING: --ping should normally be used with --ping-restart or --ping-exit vpn4_1 | 2023-06-16 13:36:10 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts vpn4_1 | 2023-06-16 13:36:10 TCP/UDP: Preserving recently used remote address: [AF_INET]0.0.4.170:1194 vpn4_1 | 2023-06-16 13:36:10 Socket Buffers: R=[212992->212992] S=[212992->212992] vpn4_1 | 2023-06-16 13:36:10 UDPv4 link local: (not bound) vpn4_1 | 2023-06-16 13:36:10 UDPv4 link remote: [AF_INET]0.0.4.170:1194 vpn4_1 | Fri Jun 16 13:37:00 UTC 2023 Check VPN Internet connection vpn4_1 | Iteration 1(3), url=https://ipinfo.io/json, Connection via VPN is down vpn4_1 | Sleep between iteration for 10 vpn4_1 | 2023-06-16 13:37:10 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) vpn4_1 | 2023-06-16 13:37:10 TLS Error: TLS handshake failed vpn4_1 | 2023-06-16 13:37:10 SIGUSR1[soft,tls-error] received, process restarting vpn4_1 | 2023-06-16 13:37:10 Restart pause, 1 second(s) vpn4_1 | 2023-06-16 13:37:11 WARNING: --ping should normally be used with --ping-restart or --ping-exit vpn4_1 | 2023-06-16 13:37:11 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts vpn4_1 | 2023-06-16 13:37:11 TCP/UDP: Preserving recently used remote address: [AF_INET]0.0.4.170:1194 vpn4_1 | 2023-06-16 13:37:11 Socket Buffers: R=[212992->212992] S=[212992->212992] vpn4_1 | 2023-06-16 13:37:11 UDPv4 link local: (not bound) vpn4_1 | 2023-06-16 13:37:11 UDPv4 link remote: [AF_INET]0.0.4.170:1194 vpn4_1 | Iteration 2(3), url=https://ipinfo.io/json, Connection via VPN is down vpn4_1 | Sleep between iteration for 10 vpn4_1 | Iteration 3(3), url=https://ipinfo.io/json, Connection via VPN is down vpn4_1 | Sleep between iteration for 10 vpn4_1 | Connection via VPN is down, recreate VPN vpn4_1 | Select NordVPN server and create config file vpn4_1 | Apply filter technology "OpenVPN UDP" vpn4_1 | Request list of recommended servers

Thanks for your help.

oscar-corredor commented 1 year ago

Sorry just noticed I was getting HTTP 429 due to too many requests. Refreshed my ip and it's working now.