webrepl icon indicating copy to clipboard operation
webrepl copied to clipboard

Access Denied when accessing on Android Devices (via Web browser)

Open AlexzPurewoko opened this issue 5 years ago • 9 comments

An error occured (Access Denied) while using Android devices to connect. But when using PC's, it's normal (login with same password on both devices).

The configuration is: on ESP32: webrepl -> enabled wifi enabled with station (connected on my android devices via tethering)

Can you help me to fix it ? thanks:blush: :+1:

Sent from my Galaxy J2 Prime using FastHub

Dikirim dari Galaxy J2 Prime menggunakan FastHub

AlexzPurewoko avatar Apr 26 '20 23:04 AlexzPurewoko

An error occured (Access Denied) while using Android devices to connect. But when using PC's, it's normal (login with same password on both devices).

The configuration is: on ESP32: webrepl -> enabled wifi enabled with station (connected on my android devices via tethering)

Can you help me to fix it ? thanks

Sent from my Galaxy J2 Prime using FastHub

Dikirim dari Galaxy J2 Prime menggunakan FastHub

Hello, @AlexzPurewoko, did you solve this issue? I have the same issue on PC.

Derzhavin avatar Jun 01 '20 07:06 Derzhavin

It could be because the browser accesses the site via https. Only http is supported at this stage. Try to explicitly type in http://... in the browser.

dpgeorge avatar Jun 01 '20 11:06 dpgeorge

+1 confirmation there is a problem with Android access as outlined above... I have triple checked the URL is using htttp and not https, am wondering if it could be something to do with the Android soft keyboard inserting something stupid like a space character after the password - any suggestions how to begin debugging this?

norlesh avatar Oct 11 '20 05:10 norlesh

+1 confirmation there is a problem with Android access as outlined above... I have triple checked the URL is using htttp and not https, am wondering if it could be something to do with the Android soft keyboard inserting something stupid like a space character after the password - any suggestions how to begin debugging this?

Same here.

84ace avatar Nov 07 '20 11:11 84ace

Same here.

picpic020960 avatar Nov 08 '20 11:11 picpic020960

Hi @AlexzPurewoko, I'm frustrated too about this behaviour. However I found out that touching into the terminal window instead of pressing enter works and then I'm in the REPL. Unfortunately the next issue is when typing something into the REPL it is not visible but it will be performed when touching into the window instead of pressing enter on the virtual keyboard. I think this is a problem with term.js but I'm not sure.

May be we can live with the current behaviour (if this works for you too) if somebody finds out why the typed characters do not show up within the terminal window in the mobile browser.

Best, Carsten

cado4711 avatar Dec 04 '20 12:12 cado4711

I forgot to mention that I have the same behaviour in all my tested browsers (latest versions) on Android 10: -> Chrome, Firefox and Opera

cado4711 avatar Dec 04 '20 12:12 cado4711