MattsTechInfo / Meshnet

NordVPN Meshnet Docker client
MIT License
25 stars 5 forks source link

The VPN connection has failed #15

Closed vampywiz17 closed 4 months ago

vampywiz17 commented 6 months ago

Hello there,

my problem that the container say The VPN connection has failed. My Docker host is a Alpine linux.

Here my docker compose:

version: "3"
services:
  meshnet:
    image: ghcr.io/mattstechinfo/meshnet:v3.17.0
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
      - NET_RAW
    hostname: alpine-virtual
    environment:
      - NORDVPN_TOKEN=$NORDVPN_TOKEN
      - NORDVPN_HEALTHCHECK_URL=$NORDVPN_HEALTHCHECK_URL
      - NORDVPN_HEALTHCHECK_INTERVAL=$NORDVPN_HEALTHCHECK_INTERVAL
      - NORDVPN_ALLOW_PEER_ROUTING=$NORDVPN_ALLOW_PEER_ROUTING
      - NORDVPN_ALLOW_PEER_LOCAL=$NORDVPN_ALLOW_PEER_LOCAL
      - NORDVPN_ALLOW_PEER_FILESHARE=$NORDVPN_ALLOW_PEER_FILESHARE
      - NORDVPN_ALLOW_PEER_REMOTE=$NORDVPN_ALLOW_PEER_REMOTE

the container log:

image

MattsBos commented 5 months ago

Heya Vampywiz, excuse the delay, was busy in real life.

Can you try to get some more logs by adding the env NORDVPN_MESHNET_DEBUG set to true or any non-empty value? I'm not sure if I can be of help since the actual NordVPN meshnet reports the error, this usually doesn't have anything to do with the container and means you have to contact NordVPN support for more troubleshooting.

Feel free to send me the result with debug enabled, hope it gives a bit more information!

vampywiz17 commented 5 months ago

Hello @MattsBos

I enable debug, but not see any new error line.

MattsBos commented 4 months ago

Excuse the late reply, but that's actually what I was afraid of. Like I said in my previous reply, the error is coming from NordVPN systems, not from anything I built in the container.

Unfortunately, the only way to get some more info on why NordVPN is calling this error is to contact their support as mentioned in the error, maybe they can find more on their side or give you pointers.

Will close the issue on this side, if you find a fix in the future, feel free to add it to this issue as the solution for others to find.