netbirdio / netbird

Connect your devices into a secure WireGuard®-based overlay network with SSO, MFA and granular access controls.
https://netbird.io
BSD 3-Clause "New" or "Revised" License
11.32k stars 519 forks source link

failed to login android localhost:53000 refused #1392

Open alexunderboots opened 11 months ago

alexunderboots commented 11 months ago

Describe the problem can't add android to my network

To Reproduce Android 9

Steps to reproduce the behavior:

  1. Fresh install Netbird from PlayM and fresh update chrome from PlayM
  2. Go to 'change server', add self-hosted server
  3. Click on 'connect'
  4. Click on 'admin'account
  5. See error — localhost:53000 err_connection_refused

Expected behavior I want to connect android to the netbird network

Screenshots localhost:53000 err_connection_refused

mlsmaycon commented 11 months ago

Hello @alexunderboots, to understand your case better, can you check this behavior with the cloud-hosted version?

alexunderboots commented 11 months ago

Hello @alexunderboots, to understand your case better, can you check this behavior with the cloud-hosted version?

Same error with cloud after pk-request

j007bond007 commented 5 months ago

I'm also getting this on Android on my Pixel 8 phone. I am directed to Authentik, login successfully, and then I'm redirected to localhost:53000 "This site can't be reached: localhost refused to connect". This worked in older client/server version (I had everything turned off and just upgraded all the apps). Odd how it tries to connect to the localhost address after authentication.

P4uLT commented 4 months ago

Got the same issue today with a brand new account.

Only one node is registered

mlsmaycon commented 4 months ago

@P4uLT is this a cloud or self-hosted account? if self-hosted, you may need to add more endpoints for pkce, please share your identity provider.

P4uLT commented 4 months ago

@mlsmaycon a cloud account. I got only one peer configured.

P4uLT commented 4 months ago

I managed to get this before the login popup opens Screenshot_20240716_182004_NetBird

tojoski commented 2 months ago

Just got this on a new account, cloud config on a pixel 8 pro.

the-real-naxgo commented 2 months ago

I got the same thing on a Samsung S20 with a brand new account. Any idea why?

dportabella commented 1 week ago

same problem

the-real-naxgo commented 1 week ago

I figured it out. After connecting to my truenas, this port sometimes gets messed up. Reboot the phone.

dportabella commented 1 week ago

I figured it out. After connecting to my truenas, this port sometimes gets messed up. Reboot the phone.

it works, thanks