Giter Site home page Giter Site logo

Cannot establish connection about nordvpn HOT 12 CLOSED

bubuntux avatar bubuntux commented on September 15, 2024
Cannot establish connection

from nordvpn.

Comments (12)

lizardkingDOTca avatar lizardkingDOTca commented on September 15, 2024

my password start with an equal sign [=], and contains a plug sign [+] and a double quote ["]
so not sure if that is the problem

from nordvpn.

bubuntux avatar bubuntux commented on September 15, 2024

can you provide more information, command used and full logs ? (leave out user/pass)
the password should not be an issue, you could double check it's properly set by
docker exec "container_name" cat /vpn/auth

from nordvpn.

lizardkingDOTca avatar lizardkingDOTca commented on September 15, 2024

running the command I got the expected value (ie user/password)

I use docker compose, I notice that if i use UDP instead of TCP I get a bit of different error (ie it add and extra error message "AUTH: Received control message: AUTH_FAILED" hence why i mention my password with special characters could be the issue.
vpn-nordvpn.csv.log

`
version: "3"

services:
vpn:
image: bubuntux/nordvpn
container_name: vpn-nordvpn
cap_add:
- net_admin
devices:
- /dev/net/tun
environment:
- USER=[email address]
- PASS='[password]'
- COUNTRY=Canada
- PROTOCOL=UDP
- CATEGORY=P2P
- NETWORK=10.10.1.0/24
- OPENVPN_OPTS=--pull-filter ignore "ping-restart" --ping-exit 180
- TZ=America/Toronto
ports:
- 8080:80
- 8113:8112 #port for deluge
restart: unless-stopped
`

from nordvpn.

bubuntux avatar bubuntux commented on September 15, 2024

The issues is def the password then
Can you remove the single quotes for the password?

from

  • PASS='[password]'
    to
  • PASS=[password]

from nordvpn.

lizardkingDOTca avatar lizardkingDOTca commented on September 15, 2024

So that did work for UDP (which I had not try yesterday without the quote, my bad)
But still not working for TCP
vpn-nordvpn.csv.log

from nordvpn.

bubuntux avatar bubuntux commented on September 15, 2024

are u on the latest version? i believe that issues was fixes already

from nordvpn.

lizardkingDOTca avatar lizardkingDOTca commented on September 15, 2024

the image is tag as "bubuntux/nordvpn:latest", so should I put another tag.
My docker-compose it set to pull "image: bubuntux/nordvpn" which should be the latest I would think

from nordvpn.

bubuntux avatar bubuntux commented on September 15, 2024

i'm not able to reproduce the issue, are you able to connect if you only add the parameter PROTOCOL TCP (so remove COUNTRY, CATEGORY and OPENVPN_OPTS) ?

from nordvpn.

lizardkingDOTca avatar lizardkingDOTca commented on September 15, 2024

I try removing country, category and openvps_opts, same results.

from nordvpn.

bubuntux avatar bubuntux commented on September 15, 2024

i'm not sure what it could be
can you try
docker pull bubuntux/nordvpn
and make sure your container is a fresh one using the latest version, that should fix the issue, since version 2019.03.01 include that fix

from nordvpn.

kisonay avatar kisonay commented on September 15, 2024

Hate to bring up a closed issue but I am having this exact issue. I can connect via UDP protocol without issue but I get gateway timeouts and the above errors when trying to connect via TCP using the latest release.

Mon Jun 10 08:37:23 2019 OpenVPN 2.4.6 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 26 2018
Mon Jun 10 08:37:23 2019 library versions: OpenSSL 1.1.1b  26 Feb 2019, LZO 2.10
Mon Jun 10 08:37:23 2019 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Mon Jun 10 08:37:23 2019 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Mon Jun 10 08:37:23 2019 NOTE: --fast-io is disabled since we are not using UDPMon Jun 10 08:37:23 2019 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Jun 10 08:37:23 2019 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Jun 10 08:37:23 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]89.187.xxx.xx:443
Mon Jun 10 08:37:23 2019 Socket Buffers: R=[87380->87380] S=[16384->16384]Mon Jun 10 08:37:23 2019 Attempting to establish TCP connection with [AF_INET]89.187.xxx.xx:443 [nonblock]
Mon Jun 10 08:39:23 2019 TCP: connect to [AF_INET]89.187.xxx.xx:443 failed: Operation timed out
Mon Jun 10 08:39:23 2019 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Mon Jun 10 08:39:23 2019 Restart pause, 5 second(s)

from nordvpn.

bubuntux avatar bubuntux commented on September 15, 2024

@kisonay is there a .tcp file available for the server you are trying to connect ?

from nordvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.