Skip to content

nebula-sync fails to start - error 401 #183

@hspindel

Description

@hspindel

What happened?

nebula-sync is deployed using portainer under debian 13.

Starting the stack results in:
2025-08-18T22:50:32-07:00 FTL Sync failed error="authenticate: http://pve-pihole6.sci1.com/api/auth: unexpected status code: 401"

I have verified that my passwords are correct. pihole is running and I can access its web page. I tried enclosing the pihole specs in quotes, but got a different error about path segment in URL cannot contain colon. Where do I look next?

Expected Behaviour

nebula-sync should start up.

Nebula-sync Version

0.11.0

Runtime

docker

Operating System

debian 13 trixie

CPU Architecture

x86

Configuration

services:
  nebula-sync:
    image: ghcr.io/lovelaze/nebula-sync:latest
    container_name: nebula-sync
    environment:
    - PRIMARY=http://pve-pihole6.sci1.com|redacted
    - REPLICAS=http://pihole-synology.sci1.com|redacted
    - FULL_SYNC=true
    - RUN_GRAVITY=true
    - CRON=0 * * * *
    - TZ=America/Los_Angeles
    - CLIENT_SKIP_TLS_VERIFICATION=true

Relevant log output

Registries
Notifications

Community Edition
Containers>nebula-sync>Logs
Container logs
Log viewer settings
Auto-refresh logs
Wrap lines
Display timestamps
Fetch
Search
Lines
Actions

      

2025-08-18T23:00:29-07:00 INF Starting nebula-sync v0.11.0

2025-08-18T23:00:29-07:00 INF Running sync mode=full replicas=1

2025-08-18T23:00:29-07:00 INF Authenticating clients...

2025-08-18T23:00:30-07:00 INF Invalidating sessions...

2025-08-18T23:00:30-07:00 WRN Failed to invalidate session for target: http://pve-pihole6.sci1.com

2025-08-18T23:00:32-07:00 FTL Sync failed error="authenticate: http://pve-pihole6.sci1.com/api/auth: unexpected status code: 401"

2025-08-18T23:00:32-07:00 WRN Failed to invalidate session for target: http://pihole-synology.sci1.com

Pi-hole Version

6.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions