The phenomenon that the Android app displays the Valid server address when connecting to the reverse proxy #385

Closed
opened 2025-11-20 05:10:34 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @dalso0418 on GitHub (Jun 28, 2023).

Describe the problem
A clear and concise description of what the problem is.

First, I ask for your understanding because there may be a misunderstanding in the process of translating Korean into English.

My environment is
I would like to use netbird using proxy to domain using nginx proxy manager.
In the process of building netbird as its own host, both basic installation and reverse proxy use were carried out.

During the basic installation, the server was connected normally when the Android app used https://example.com:33703

If you use reverse proxy, if you use https://example.com on the Android app, you will get the following error.
image

Both PC and Linux servers connect normally.

image

192.168.1.18 is the server on which netbird is hosted.
Setup.env has added the following.
NETBIRD_MGMT_API_PORT=443
NETBIRD_SIGNAL_PORT=443

The nginx proxy settings are as follows.

location /signalexchange{
grpc_pass grpc://192.168.1.18:10000;
}
location /management {
grpc_pass grpc://192.168.1.18:443;
}
location /api {
proxy_pass http://192.168.1.18:443;
}

Thank you for the fantastic project :)

Originally created by @dalso0418 on GitHub (Jun 28, 2023). **Describe the problem** A clear and concise description of what the problem is. First, I ask for your understanding because there may be a misunderstanding in the process of translating Korean into English. My environment is I would like to use netbird using proxy to domain using nginx proxy manager. In the process of building netbird as its own host, both basic installation and reverse proxy use were carried out. During the basic installation, the server was connected normally when the Android app used https://example.com:33703 If you use reverse proxy, if you use https://example.com on the Android app, you will get the following error. ![image](https://github.com/netbirdio/netbird/assets/107911055/d3157cfb-2c7d-4169-9b7f-8cb9ae7ffa05) Both PC and Linux servers connect normally. ![image](https://github.com/netbirdio/netbird/assets/107911055/a460d55e-a227-4357-9444-c91a1df47133) 192.168.1.18 is the server on which netbird is hosted. Setup.env has added the following. NETBIRD_MGMT_API_PORT=443 NETBIRD_SIGNAL_PORT=443 The nginx proxy settings are as follows. location /signalexchange{ grpc_pass grpc://192.168.1.18:10000; } location /management { grpc_pass grpc://192.168.1.18:443; } location /api { proxy_pass http://192.168.1.18:443; } Thank you for the fantastic project :)
Author
Owner

@dalso0418 commented on GitHub (Jun 28, 2023):

I solved it.
In management.json, it works after inserting "Provider", "Domain", and "ClientID" in the DeviceAuthorizationFlow entry.

The existing clients worked because they were pre-connected ㅠ

@dalso0418 commented on GitHub (Jun 28, 2023): I solved it. In management.json, it works after inserting "Provider", "Domain", and "ClientID" in the DeviceAuthorizationFlow entry. The existing clients worked because they were pre-connected ㅠ
Author
Owner

@dalso0418 commented on GitHub (Jun 28, 2023):

++ I think it would be nice if you could see the log on the app

@dalso0418 commented on GitHub (Jun 28, 2023): ++ I think it would be nice if you could see the log on the app
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#385