dresden-elektronik / phoscon-app-beta

Access to Phoscon app beta
79 stars 5 forks source link

phoscon app not work #425

Closed sansonifabio closed 2 years ago

sansonifabio commented 3 years ago

Recently, when you call up the URL phoscon.de/app or beta, you can no longer log into the Gateway. When I call up the IP from the Gateway it works without a Problem. I have tested several Browsers on IOs Tablet and mobile Phone or Windows 10 from the PC - it does not work. It looks like the Browser hangs up.

Seit kurzem wenn man die URL phoscon.de/app oder beta aufruft kann man sich nicht mehr ins Gateway einloggen. Wenn ich die IP vom Gateway aufrufe funktioniert das ohne Problem. Ich habe mehrere Browser getestet unter IOs, Tablet und Handy oder Windows 10vom PC aus es klappt nicht. Es sieht so aus das der Browser sich aufhängt. Unter Firefox geht das noch. Grüße Fabio

sansonifabio commented 3 years ago

With this error, the URL has two logins that are not available when calling via the IP. See link.

Die URL hat bei diesem Fehler zwei Logins die beim Aufruf über die IP nicht vorhanden. Siehe Link. /pwa_/login.html?0000000000#login/_111111111111 Orginal Zahlen entfernt.

chris400 commented 2 years ago

IMHO It's due to new security settings in Chrome 94: https://developer.chrome.com/blog/private-network-access-update/

Firefox 93 is working without altering any settings, but it does take some time to find the gateway.

sansonifabio commented 2 years ago

Thank you for the info

alefab commented 2 years ago

As a workaround, you can temporarily disable the option in chrome: chrome://flags/#block-insecure-private-network-requests

sansonifabio commented 2 years ago

I'm sorry if I allow Chrome to log in because it doesn't accept my password.

stale[bot] commented 2 years ago

As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

chris400 commented 2 years ago

For me the issue persists, but changed: Mozilla Firefox fully works Google Chrome find's the gateway, but login fails

Error in DevTools:

Access to XMLHttpRequest at 'http://192.168.0.220/api/config?_=1641683195070' from origin 'http://phoscon.de' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space private.

zijam commented 2 years ago

Maybe for Chrome and iOS, the Phoscon app should redirect user to the device IP address.

stale[bot] commented 2 years ago

As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

stale[bot] commented 2 years ago

As there hasn't been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it isn't solved, request to get this opened again.