Passky-Server icon indicating copy to clipboard operation
Passky-Server copied to clipboard

Error: Server is unreachable on Android connect to local server installed on Umbrel

Open alexpet opened this issue 1 year ago • 1 comments

Describe the bug When trying to connect through Android app to umbrel passkey server, I am getting "Error: Server is unreachable!"

To Reproduce Steps to reproduce the behavior:

  1. Install passky servier on umbrel using one click.
  2. Install passkey client on umbrel using one click.
  3. Sign up new account on android with server pointing to local webhost with port 5050 - receive error: server is unreachable. Android is connected to local network because I am able to connect to local webhost using web browser.
  4. Sign up new account on passkey client on umbrel - no issues.
  5. Sign in from umbrel using new account - no issues.
  6. Sign in from android using new account created on umbrel client - receive error: server is unreachable. Android is connected to local network.

Expected behavior I expect that I can both sign up and sign into umbrel local server.

Screenshots None

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.3 LTS
  • OS: Android 12

Additional context It is not clear if I can or cannot connect through the Android app to a local server.

alexpet avatar Jan 21 '24 20:01 alexpet

Hello,

It seems that you have issue with step 4 from this Post.

Summary: Your Passky server is currently running on HTTP. While Passky clients from Google Play and Microsoft Store uses HTTPS. Mixed content is not allowed.

My recommendation is to use a browser that support PWAs on your phone, navigate to your Passky client that is self-hosted from Umbrel and install it from your browser as PWA.

image

Another more advanced way is to deploy a proxy manager and install SSL certs for both Passky Server and Passky Client.

zigazajc007 avatar Jan 22 '24 05:01 zigazajc007