[GH-ISSUE #5684] Problem with reverse proxy - ERROR 502 #10924

Open
opened 2026-08-05 01:27:44 -04:00 by saavagebueno · 6 comments
Owner

Originally created by @VPjoon on GitHub (Mar 24, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5684

I am using the self-hosted version and I am experiencing ERROR 502.

I have set my CNAME's for the domain name as recommended in the setup.... this is what I have set for my name servers:

netbird.main-domain.com ---> A Record ---> Server's IP Address
*.netbird.main-domain.com ---> CNAME ---> netbird.domain.com
custom-domain.com --> A Record ---> Server IP
*.custom-domain.com --> CNAME --> netbird.main-domain.com

The SSL Certificate has been issued correctly, but when I add a custom domain for a peer, for example for Synology, I get the follwing page:

Image

When I use the internal Netbird IP address of my Synology, it works correctly, only it has an invalid SSL cert.

I am a bit lost... I would appreciate your help.

Originally created by @VPjoon on GitHub (Mar 24, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5684 I am using the self-hosted version and I am experiencing ERROR 502. I have set my CNAME's for the domain name as recommended in the setup.... this is what I have set for my name servers: netbird.main-domain.com ---> A Record ---> Server's IP Address *.netbird.main-domain.com ---> CNAME ---> netbird.domain.com custom-domain.com --> A Record ---> Server IP *.custom-domain.com --> CNAME --> netbird.main-domain.com The SSL Certificate has been issued correctly, but when I add a custom domain for a peer, for example for Synology, I get the follwing page: <img width="1324" height="688" alt="Image" src="https://github.com/user-attachments/assets/d7cd8828-09ff-4f58-acf4-81ef642d084f" /> When I use the internal Netbird IP address of my Synology, it works correctly, only it has an invalid SSL cert. I am a bit lost... I would appreciate your help.
Author
Owner

@VPjoon commented on GitHub (Mar 26, 2026):

any help would be appreciated!

<!-- gh-comment-id:4139049086 --> @VPjoon commented on GitHub (Mar 26, 2026): any help would be appreciated!
Author
Owner

@GEAR-IT-UP commented on GitHub (Mar 28, 2026):

Though ive just started using this, I actually suspect the issue what got me. orginally i added my docker container for a service and it gave the 100.x.x.x address inside the netbird tunnel (not its actually address 192.168.0.x. So instead of pointing at a peer, create a network, for your local lan (i think ur NAS? even as a range), then point toward that. it fixed it for me (hope it helps)!

<!-- gh-comment-id:4148981711 --> @GEAR-IT-UP commented on GitHub (Mar 28, 2026): Though ive just started using this, I actually suspect the issue what got me. orginally i added my docker container for a service and it gave the 100.x.x.x address inside the netbird tunnel (not its actually address 192.168.0.x. So instead of pointing at a peer, create a network, for your local lan (i think ur NAS? even as a range), then point toward that. it fixed it for me (hope it helps)!
Author
Owner

@NDebx commented on GitHub (Apr 9, 2026):

I just did an upgrade and it was fixed for me @VPjoon :)

<!-- gh-comment-id:4217827537 --> @NDebx commented on GitHub (Apr 9, 2026): I just did an upgrade and it was fixed for me @VPjoon :)
Author
Owner

@securityopa commented on GitHub (Apr 10, 2026):

@NDebx
Thanks for the reply.

Updating to 67.4 fixed the issue for me. But then when I updated my management to 68.1, it broke it again ... I am not sure if you are experiencing the same...

<!-- gh-comment-id:4221823610 --> @securityopa commented on GitHub (Apr 10, 2026): @NDebx Thanks for the reply. Updating to 67.4 fixed the issue for me. But then when I updated my management to 68.1, it broke it again ... I am not sure if you are experiencing the same...
Author
Owner

@NDebx commented on GitHub (Apr 10, 2026):

@securityopa <3

I updated everything at once. Just by pulling all the docker images and then recreate.

docker compose pull

docker compose up -d

<!-- gh-comment-id:4222870180 --> @NDebx commented on GitHub (Apr 10, 2026): @securityopa <3 I updated everything at once. Just by pulling all the docker images and then recreate. ` docker compose pull ` ` docker compose up -d `
Author
Owner

@Bajahaw commented on GitHub (May 1, 2026):

this is still happening in v0.70.4, without any interaction from my side, all services (including TCP) are down, restarting does not solve the issue

<!-- gh-comment-id:4360147448 --> @Bajahaw commented on GitHub (May 1, 2026): this is still happening in v0.70.4, without any interaction from my side, all services (including TCP) are down, restarting does not solve the issue
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10924