gluetun: Bug: Container failing health check constantly with Mullvad WireGuard

Is this urgent?

No

Host OS

Ubuntu 22.04 LTS

CPU arch

x86_64

VPN service provider

Mullvad

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2023-03-01T14:10:28.105Z (commit ab5dbdc)

What’s the problem 🤔

Running with docker-compose, the container cannot connect to the internet. It’ll give errors such as 2023-03-21T16:11:52Z ERROR [vpn] cannot get version information: Get "https://api.github.com/repos/qdm12/gluetun/commits": context canceled, gluetun | 2023-03-21T16:11:54Z WARN [dns over tls] cannot update files: Get "https://www.internic.net/domain/named.root": dial tcp: lookup www.internic.net on 1.1.1.1:53: read udp 10.66.184.113:47803->1.1.1.1:53: i/o timeout, and constant healthcheck messages in the format of [healthcheck] program has been unhealthy for <duration>: restarting VPN.

I’ve tried allowing 51820 through firewall, switching to OpenVPN and allowing 1194, etc. None have worked. I’ve tried the minimal configuration in https://github.com/qdm12/gluetun/issues/1458, and that doesn’t work either.

Share your logs

https://0bin.net/paste/wunrIwJN#LstigsGN04fHavS8gJV68w6UCkAnxhT+zoBcTQvS+XJ

Share your configuration

version: "3.7"
services:
  gluetun:
    container_name: gluetun
    image: qmcgaw/gluetun:latest
    cap_add:
      - NET_ADMIN
    # Added 8/10/22:
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - 9091:9091/tcp  # qbitorrent
      - 51820:51820
    environment:
      # See https://github.com/qdm12/gluetun/wiki
      #- HEALTH_TARGET_ADDRESS
      - VPN_SERVICE_PROVIDER=mullvad
      #- VPN_TYPE=openvpn
      - VPN_TYPE=wireguard
# Wireguard:
      - WIREGUARD_PRIVATE_KEY=<PK from mullvad config>
      - WIREGUARD_ADDRESSES=<IP>/32
      - SERVER_HOSTNAME=ca-mtr-wg-105
      - FIREWALL_VPN_INPUT_PORTS=56244
    restart: always

  transmission:
    image: linuxserver/transmission
    container_name: transmission
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
    volumes:
      - /mnt/storage:/downloads # downloads ***downloads=storage***
      - ${ROOT}/config/transmission:/config # config files
    network_mode: service:gluetun
    restart: unless-stopped

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (2 by maintainers)

Most upvoted comments

Strangely I get the exact same problems with Mullvad or IVPN since yesterday.

exact same message with exact same problem….