Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AlexzPurewoko opened this issue Apr 26, 2020 · 9 comments
Open

Comments

@AlexzPurewoko
Copy link

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

@Derzhavin
Copy link

Derzhavin commented Jun 1, 2020

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.

@dpgeorge
Copy link
Member

dpgeorge commented Jun 1, 2020

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.

@norlesh
Copy link

norlesh commented Oct 11, 2020

+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?

@84ace
Copy link

84ace commented Nov 7, 2020

+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.

@picpic020960
Copy link

Same here.

@cado4711
Copy link

cado4711 commented Dec 4, 2020

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
Copy link

cado4711 commented Dec 4, 2020

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

@h3llyeah
Copy link

The issue persists still with Chrome and Brave-Browser latest updates. With Firefox webrepl works good.

Setup:
(sysname='esp8266', nodename='esp8266', release='2.2.0-dev(9422289)', version='v1.20.0 on 2023-04-26', machine='ESP module with ESP8266')

Android 13

@woofwoof
Copy link

Finally got this working on Android 13. Disabled the certifcates for Letsencrypt (settings --> Security etc), opened up an incognito browser in Chrome having deleted all history etc then of course ensured all devices are on the same network. Finally run the micropython webrepl client in desktop mode but then had to use a bluetooth keyboard (popup keyboard wasn't displaying) ! Still a little work to do so this is a portable solution - primarily run off a portable hotspot device. Its a clunky solution yet works. Even transferred a file from my esp8266 to edit on the Android phone using this. So, to sum, it is possible but the jury is still out if the costs outweigh benefits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants