Rabbit-Company / Passky-Server

Server for Passky (password manager)
https://passky.org
GNU General Public License v3.0
166 stars 22 forks source link

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

Open alexpet opened 5 months ago

alexpet commented 5 months ago

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):

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

zigazajc007 commented 5 months ago

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.