Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api.nordvpn.com not found #180

Open
julio8a opened this issue Dec 5, 2024 · 8 comments
Open

api.nordvpn.com not found #180

julio8a opened this issue Dec 5, 2024 · 8 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@julio8a
Copy link

julio8a commented Dec 5, 2024

Describe the bug

Seems that the API can no longer be found. I keep getting a message and it tries every 5 seconds.

Was working fine before for over a year. I also got a new Private_Key following the instructions from the README.

To Reproduce using docker-compose

docker-compose.yml if used (hide credentials)

version: "3"
services:
  nordvpn:
    image: ghcr.io/bubuntux/nordlynx:latest
    container_name: nordvpn
    network_mode: bridge
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
#    sysctls:
#      - net.ipv4.conf.all.rp_filter=2
    environment:
      - PRIVATE_KEY=[REDACTED]
      - NET_LOCAL=192.168.86.0/24
      - TZ=America/Los_Angeles      
      - QUERY=filters\[identifier\]=legacy_p2p
    ports:
      - 8080:8080 # qbittorrent web interface
      - 6881:6881 # Deluge and qbittorrent P2P
      - 6881:6881/udp # Deluge and qbittorrent P2P
    restart: unless-stopped

Error I get on loop:

ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
Seems like we have no internet connection. Retrying in 5 seconds...

Expected behavior

Connect to nordvpn and run the service.

Logs

Seems like we have no internet connection. Retrying in 5 seconds...
ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
Seems like we have no internet connection. Retrying in 5 seconds...
ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
Seems like we have no internet connection. Retrying in 5 seconds...
ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
Seems like we have no internet connection. Retrying in 5 seconds...
ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
Seems like we have no internet connection. Retrying in 5 seconds...
ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
Seems like we have no internet connection. Retrying in 5 seconds...
ip6tables v1.8.10 (nf_tables): host/network `api.nordvpn.com' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.

Additional context

Running on a raspberry Pi

@julio8a julio8a added bug Something isn't working help wanted Extra attention is needed labels Dec 5, 2024
@julio8a
Copy link
Author

julio8a commented Dec 5, 2024

Reverted to ghcr.io/bubuntux/nordlynx:2023-06-01 and it's working again.

@w1mm3r
Copy link

w1mm3r commented Dec 7, 2024

Pretty sure it is to do with
upgrade of base image that has a newer version of iptables
https://github.com/bubuntux/nordlynx/pull/178/files

@ymickler
Copy link

Is there any fix?
Reverting to ghcr.io/bubuntux/nordlynx:2023-06-01 didn't make the trick

@Riyooo
Copy link

Riyooo commented Dec 29, 2024

I had the same issue, what currently seems to work for me is disabling ipv6 :

    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1

@ymickler
Copy link

ymickler commented Jan 5, 2025

I had the same issue, what currently seems to work for me is disabling ipv6 :

    sysctls:
      - net.ipv6.conf.all.disable_ipv6=1

I have this config since the beginning, unfortunately it does not fix the issue.
Currently the service is completely broken for me, no matter which version or config I use

@linuxhd0
Copy link

linuxhd0 commented Jan 9, 2025

To get it to work, I created a Dockerfile using the solution from the link w1mm3r mentioned:

FROM ghcr.io/bubuntux/nordlynx

RUN apk add --no-cache \
  iptables-legacy && \
  cd /sbin && \
  for i in ! !-save !-restore; do \
    rm -rf iptables$(echo "${i}" | cut -c2-) && \
    rm -rf ip6tables$(echo "${i}" | cut -c2-) && \
    ln -s iptables-legacy$(echo "${i}" | cut -c2-) iptables$(echo "${i}" | cut -c2-) && \
    ln -s ip6tables-legacy$(echo "${i}" | cut -c2-) ip6tables$(echo "${i}" | cut -c2-); \
  done

and I also had to disable ipv6 like Riyooo suggested.

@stevenlafl
Copy link

Is there any fix? Reverting to ghcr.io/bubuntux/nordlynx:2023-06-01 didn't make the trick

Agreed. I can log in, but zero internet connectivity. Direct pings to IPv4 addresses receive no data.

@TrieBr
Copy link

TrieBr commented Jan 13, 2025

Reverting to ghcr.io/bubuntux/nordlynx:2023-06-01 worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants