Login gets stuck
After entering the correct username and password, I click login, then the loader just keeps spinning, and nothing else happens. The console doesn't show anything either.
I'm using Docker compose.
Any ideas on how to fix this?
Thanks in advance.
Version: latest
OS: Debian
Browser: Sidekick (chromium), happens in guest window as well
Docker logs in comments
33 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Do you use a password manager to enter the credentials?
Please share the required data by @Cakey Bot
I'm just updating the post with that!
No, I don't use a password manager
I've also tried accessing homarr with guest
Do you try to access it via Cloudflare tunnel?
No, how would that help?
No, just a question. Your issue sounds similar to https://discord.com/channels/972958686051962910/1285968599927885920 . @Meierschlumpf did we change recently the implementation?
Thanks for your help so far, I think I'll try an older version for now, and see if that helps?
FYI, I had to go back to 0.15.4 before it worked.
Do you have
NEXTAUTH_URL
configured?
Okay when running version 0.15.6 locally I can sign in without any problems. Is there something like a proxy between you and your Homarr instance?no, it's on the same local network as my device
No, how would I do that, and what is it for?
It should no longer be required and was used prior 0.15.4 to configure the url if it somehow did not work
Okay that's weird
Wait, I forgot, I have nginx redirecting it, so main.local would actually show main.local:7575
Okay, let me think
Can you maybe give me a screenshot of the network tab (F12 then network on chrome) So I can see if it get's stuck already when creating the admin user or only on sign in
Okay can you click on the credentials entry and either give me notice of what is shown or redact all sensitive information as your password
Is this with 0.15.4 or 0.15.6?
:latest, so I assume .6
In your logs nothing is shown I suspect, right?
yeah
Okay, it's quite weird, especially as for me I already have the cookies for csrf and callback_url set before clicking on login and then I get back the session-token. Is your nginx blocking something? Like some cookies. Also what I noticed is that somehow you have status code 304 for certain requests and 200 for others
I'll share my nginx config, one sec
The nextcloud part works fine btw
Yeah seems fine to me
I'll create a custom image for you with advanced logs, I guess then we'll find out more why it's not working
Ok, thanks
Image tag will be
credentials-login-stuck
. But it takes about 5 minutes until it's build
Okay it's ready
Another question, can you try to set NEXTAUTH_URL
to http://localhost:7575
. It might be required for such setups, then we'll probably readd it to the Dockerfile and first check if there are sideeffectsOk, I have some other things to attend to first, but I will do that and get all logs etc back to you soon. Thanks
WARN[0000] /home/main/test/docker-compose.yml:
version
is obsolete
[+] Running 1/1
✘ homarr Error Head "https://ghcr.io/v2/ajnart/credentials-login-stuck/manifests/latest": denied 0.4s
Error response from daemon: Head "https://ghcr.io/v2/ajnart/credentials-login-stuck/manifests/latest": deniedOkay I'll look into it again, when I get back from vacation 👍🏽
Hey! I'm having the same issue with homarr behind an nginx reverse proxy on the same docker network with no ports exposed, should I make a new post?
You btw changed it on the wrong location. It's not
ajnart/credentials-login-stuck:latest
and rather ajnart/homarr:credentials-login-stuck
😉No it's okay, we also have a github issue here
GitHub
Homarr don't work over reverse proxy · Issue #2171 · ajnart/homarr
Environment Docker Version 0.15.6 Describe the problem I hosting homarr with an docker container and have an Nginx Proxy Manager config with an local dns setup. When i try to login over the revese ...
Oh sorry, thanks. I'm not encountering the issue anymore when using that image...
There is a new image tag that I shared in the github issue above where it should work. You can try it out as well if you want
Fixed in 0.15.7
GitHub
Release v0.15.7 · ajnart/homarr
NoteWe've been working actively on working torwards version 1.0 which will include many improvements to performance, security and the overall look & feel of Homarr. It will greatly overhaul...