[GH-ISSUE #1688] Network Error #1977

Closed
opened 2026-04-16 08:53:08 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @aleduc-cyb on GitHub (Oct 17, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1688

Describe the Bug

Hi,
I tried to install via Docker Compose with exact config from here: https://docs.digpangolin.com/self-host/manual/docker-compose, but I get "Network Error" on the initial setup page.
I do not see any error in the containers logs.
I have a Debian 13 VPS.
Thanks for your help :)

Image

Environment

  • OS Type & Version: Debian 13
  • Pangolin Version: latest (1.11.0)
  • Gerbil Version: latest (1.2.2)
  • Traefik Version: 3.4.0
  • Newt Version: N/A
  • Olm Version: N/A

To Reproduce

Follow the steps in https://docs.digpangolin.com/self-host/manual/docker-compose on Debian 13.

Expected Behavior

No "Network Error"

Originally created by @aleduc-cyb on GitHub (Oct 17, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1688 ### Describe the Bug Hi, I tried to install via Docker Compose with exact config from here: https://docs.digpangolin.com/self-host/manual/docker-compose, but I get "Network Error" on the initial setup page. I do not see any error in the containers logs. I have a Debian 13 VPS. Thanks for your help :) <img width="531" height="815" alt="Image" src="https://github.com/user-attachments/assets/99ec7c27-36b4-4d46-a652-5f6b0e1c781d" /> ### Environment - OS Type & Version: Debian 13 - Pangolin Version: latest (1.11.0) - Gerbil Version: latest (1.2.2) - Traefik Version: 3.4.0 - Newt Version: N/A - Olm Version: N/A ### To Reproduce Follow the steps in https://docs.digpangolin.com/self-host/manual/docker-compose on Debian 13. ### Expected Behavior No "Network Error"
Author
Owner

@hhftechnology commented on GitHub (Oct 17, 2025):

recheck your compose file. delete the db in config folder and try again

name: pangolin
services:
  pangolin:
    image: docker.io/fosrl/pangolin:latest
    container_name: pangolin
    restart: unless-stopped
    volumes:
      - ./config:/app/config
      - pangolin-data:/var/certificates
      - pangolin-data:/var/dynamic
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
      interval: "10s"
      timeout: "10s"
      retries: 15

  gerbil:
    image: docker.io/fosrl/gerbil:latest
    container_name: gerbil
    restart: unless-stopped
    depends_on:
      pangolin:
        condition: service_healthy
    command:
      - --reachableAt=http://gerbil:3003
      - --generateAndSaveKeyTo=/var/config/key
      - --remoteConfig=http://pangolin:3001/api/v1/
    volumes:
      - ./config/:/var/config
    cap_add:
      - NET_ADMIN
      - SYS_MODULE
    ports:
      - 51820:51820/udp
      - 21820:21820/udp
      - 443:443
      - 80:80

  traefik:
    image: docker.io/traefik:v3.5
    container_name: traefik
    restart: unless-stopped

    network_mode: service:gerbil # Ports appear on the gerbil service

    depends_on:
      pangolin:
        condition: service_healthy
    command:
      - --configFile=/etc/traefik/traefik_config.yml
    volumes:
      - ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
      - ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
      - ./config/traefik/logs:/var/log/traefik # Volume to store Traefik logs
      # Shared volume for certificates and dynamic config in file mode 
      - pangolin-data:/var/certificates:ro
      - pangolin-data:/var/dynamic:ro
      - ./config/traefik/rules:/rules

networks:
  default:
    driver: bridge
    name: pangolin
    enable_ipv6: true

volumes:
  pangolin-data:
<!-- gh-comment-id:3416919563 --> @hhftechnology commented on GitHub (Oct 17, 2025): recheck your compose file. delete the db in config folder and try again ``` name: pangolin services: pangolin: image: docker.io/fosrl/pangolin:latest container_name: pangolin restart: unless-stopped volumes: - ./config:/app/config - pangolin-data:/var/certificates - pangolin-data:/var/dynamic healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"] interval: "10s" timeout: "10s" retries: 15 gerbil: image: docker.io/fosrl/gerbil:latest container_name: gerbil restart: unless-stopped depends_on: pangolin: condition: service_healthy command: - --reachableAt=http://gerbil:3003 - --generateAndSaveKeyTo=/var/config/key - --remoteConfig=http://pangolin:3001/api/v1/ volumes: - ./config/:/var/config cap_add: - NET_ADMIN - SYS_MODULE ports: - 51820:51820/udp - 21820:21820/udp - 443:443 - 80:80 traefik: image: docker.io/traefik:v3.5 container_name: traefik restart: unless-stopped network_mode: service:gerbil # Ports appear on the gerbil service depends_on: pangolin: condition: service_healthy command: - --configFile=/etc/traefik/traefik_config.yml volumes: - ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration - ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates - ./config/traefik/logs:/var/log/traefik # Volume to store Traefik logs # Shared volume for certificates and dynamic config in file mode - pangolin-data:/var/certificates:ro - pangolin-data:/var/dynamic:ro - ./config/traefik/rules:/rules networks: default: driver: bridge name: pangolin enable_ipv6: true volumes: pangolin-data: ```
Author
Owner

@aleduc-cyb commented on GitHub (Oct 18, 2025):

Thanks for your feedback. Tried your method but same result.

<!-- gh-comment-id:3418757545 --> @aleduc-cyb commented on GitHub (Oct 18, 2025): Thanks for your feedback. Tried your method but same result.
Author
Owner

@Ultimatum22 commented on GitHub (Oct 20, 2025):

I have the same issue. Log is on debug but nothing is shown. What I do see with F12 in the console in the browser is this while I try to logon:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://example.com/api/v1/auth/set-server-admin. (Reason: CORS request did not succeed). Status code: (null).

I have a real working domain in my case.

I haven't found which combination works yet.

To be clear, I only have pangolin and traefik running. I don't need gebril yet right to first get the dashboard up? I want to take it step by step.

Okay, I made a lot of shortcuts which I shouldn't. Updating the Traefik dynamic routes where missing on my end. @aleduc-cyb can you try my steps and see if that helps you?

<!-- gh-comment-id:3422157631 --> @Ultimatum22 commented on GitHub (Oct 20, 2025): I have the same issue. Log is on debug but nothing is shown. What I do see with F12 in the console in the browser is this while I try to logon: `Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://example.com/api/v1/auth/set-server-admin. (Reason: CORS request did not succeed). Status code: (null).` I have a real working domain in my case. I haven't found which combination works yet. To be clear, I only have pangolin and traefik running. I don't need gebril yet right to first get the dashboard up? I want to take it step by step. Okay, I made a lot of shortcuts which I shouldn't. Updating the Traefik dynamic routes where missing on my end. @aleduc-cyb can you try my steps and see if that helps you?
Author
Owner

@aleduc-cyb commented on GitHub (Oct 24, 2025):

Ok I got the same error as you with Firefox. What is actually weird is that the URL in the CORS error message is "pangolin.mydomain.ovh.com/api/v1/auth/set-server-admin". I double checked my traefik configs and it seems I did not input anything like "mydomain.ovh.com" anywhere.

To be clear: the URL should be "pangolin.mydomain.ovh/api/v1/auth/set-server-admin", without the .com.

<!-- gh-comment-id:3441867309 --> @aleduc-cyb commented on GitHub (Oct 24, 2025): Ok I got the same error as you with Firefox. What is actually weird is that the URL in the CORS error message is "pangolin.mydomain.ovh.com/api/v1/auth/set-server-admin". I double checked my traefik configs and it seems I did not input anything like "mydomain.ovh.com" anywhere. To be clear: the URL should be "pangolin.mydomain.ovh/api/v1/auth/set-server-admin", without the .com.
Author
Owner

@aleduc-cyb commented on GitHub (Oct 24, 2025):

I used pangolin 1.9.4 image, and I do not have the problem. Problem is there with 1.10.0 and latest though (all tested with traefik 3.4.4).

<!-- gh-comment-id:3441957529 --> @aleduc-cyb commented on GitHub (Oct 24, 2025): I used pangolin 1.9.4 image, and I do not have the problem. Problem is there with 1.10.0 and latest though (all tested with traefik 3.4.4).
Author
Owner

@ArthurBussiere commented on GitHub (Oct 26, 2025):

Same issue here

<!-- gh-comment-id:3448493164 --> @ArthurBussiere commented on GitHub (Oct 26, 2025): Same issue here
Author
Owner

@oschwartz10612 commented on GitHub (Oct 26, 2025):

Hey everyone. This sounds like a cors issue. Not sure yet why there would be issues on the latest version. Can you check your config and make sure there is something like this in the server section? The domain should be your domain you are using.

server:
    secret: "Ti21lrb0UF62y9i68IbSoPZniQifoFkh"
    cors:
        origins: ["https://p.fosrl.io"]
        methods: ["GET", "POST", "PUT", "DELETE", "PATCH"]
        allowed_headers: ["X-CSRF-Token", "Content-Type"]
        credentials: false
<!-- gh-comment-id:3448997397 --> @oschwartz10612 commented on GitHub (Oct 26, 2025): Hey everyone. This sounds like a cors issue. Not sure yet why there would be issues on the latest version. Can you check your config and make sure there is something like this in the server section? The domain should be your domain you are using. ``` server: secret: "Ti21lrb0UF62y9i68IbSoPZniQifoFkh" cors: origins: ["https://p.fosrl.io"] methods: ["GET", "POST", "PUT", "DELETE", "PATCH"] allowed_headers: ["X-CSRF-Token", "Content-Type"] credentials: false ```
Author
Owner

@aleduc-cyb commented on GitHub (Oct 27, 2025):

OK my dumb ass forgot to check the pangolin config file, I indeed had a typo :)
Thanks a lot for your help.

<!-- gh-comment-id:3450237185 --> @aleduc-cyb commented on GitHub (Oct 27, 2025): OK my dumb ass forgot to check the pangolin config file, I indeed had a typo :) Thanks a lot for your help.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1977