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

FS#4012 - Can't login to LUCI but can SSH #9004

openwrt-bot opened this issue Sep 6, 2021 · 2 comments

FS#4012 - Can't login to LUCI but can SSH #9004

openwrt-bot opened this issue Sep 6, 2021 · 2 comments
flyspray release/21.02


Copy link

@openwrt-bot openwrt-bot commented Sep 6, 2021


Linksys WRT3200ACM
OpenWRT 21.02.0 Stable

Steps to reproduce:

  • Install OpenWRT 21.02.0 Stable as a fresh install.
  • Visit and sign into Luci (with no password since it is a fresh install), go to System -> Administration and assign a password
  • Close the browser window
  • Login through SSH and enable HTTPS-redirect for Luci (as mentioned in the release notes:
  • Open a new browser window in Incognito-mode
  • Visit (should be redirected to HTTPS and may get browser warning about being unsafe)
  • Try to sign into Luci (should get message that the user/password is incorrect)

I have tried clearing my browser cookies, tried disabling the HTTPS redirect, restarted the router manually (power switch on device), tried using the "passwd" command to reset the password (and then restarted the router manually).

No matter what, I cannot login into the router ever again after enabling HTTPS redirect for Luci (even if the redirect is turned off and router restarted). I can, strangely, log into the router through SSH with the password I set for root.

I had to login through SSH and run the (cant remember exact) command to reset the router as if I just installed OpenWRT in order to gain access again.

Copy link

@openwrt-bot openwrt-bot commented Sep 16, 2021


I have the same/similar problem - 21.02 stable, Netgear R6220. Also


doesn't fix it. The weird thing is that

"Thu Sep 16 20:24:05 2021 daemon.err uhttpd[1786]: luci: accepted login on / for root from 192.168.x.x"

is logged so hm, some session management problem maybe.

No cookies are being set.

Oh. I was trying to log in via http:// ! There was no redirection to https://.

All above was with http://.

When I used https:// I logged in just fine.

@aparcar aparcar added the release/21.02 label Feb 22, 2022
Copy link

@gut5 gut5 commented Mar 1, 2022

Same thing happens on openwrt 21.02.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
flyspray release/21.02
None yet

No branches or pull requests

3 participants