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

Issues logging in from local DNS address #2166

Closed
4 tasks done
ufondu88 opened this issue Oct 22, 2024 · 8 comments
Closed
4 tasks done

Issues logging in from local DNS address #2166

ufondu88 opened this issue Oct 22, 2024 · 8 comments
Labels
🐛 Bug Something isn't working Stale

Comments

@ufondu88
Copy link

Environment

Docker

Version

0.15.6

Describe the problem

I have added Homarr to my local DNS records in Pihole and I route the traffic via Nginx Proxy Manager to the container that runs my Homarr instance. I am able to authenticate with Homarr if I enter the IP address directly in the address bar, but when I try to authenticate via the local DNS address, the request times out and I get the error in the deverloper console

Logs

Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Context

image

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@ufondu88 ufondu88 added the 🐛 Bug Something isn't working label Oct 22, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Homarr Kanban Oct 22, 2024
Copy link

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

@SeDemal
Copy link
Collaborator

SeDemal commented Oct 22, 2024

You are running on an unsigned certificate. As shown on the top left by your browser.
I assume you might need something like NODE_TLS_REJECT_UNAUTHORIZED=0 and maybe NEXTAUTH_URL="https://homarr.home" added to your environment variables.

@ufondu88
Copy link
Author

Those are not valid Homarr environment variables as seen here https://homarr.dev/docs/advanced/configuration/environment-variables

@SeDemal
Copy link
Collaborator

SeDemal commented Oct 23, 2024

Yes that would be because they are not homarr environment variables, they are for the dependency we use, nextauth.

@ufondu88
Copy link
Author

I added those env vars to the docker compose file, but I am still not able to authenticate when the address is a local DNS address

@SeDemal
Copy link
Collaborator

SeDemal commented Oct 25, 2024

Could you share your logs? the ones from homarr, not the browser.

Copy link

Hello 👋, this issue has been open for 60 days without activity. We mark issues to help prioritise and close dead issues. Can you confirm that this issue is still relevant on the latest version? I'll remove the stale label as soon as there is further activity on this issue. Thank you 🙏

@github-actions github-actions bot added the Stale label Dec 24, 2024
@Meierschlumpf
Copy link
Collaborator

As we'll release 1.0 in one of the upcoming weeks and it is a complete rewrite it is unlikely that the same issue still exists. If it does feel free to create a new issue on https://github.com/homarr-labs/homarr/ regarding it.

@Meierschlumpf Meierschlumpf closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2025
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Homarr Kanban Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working Stale
Projects
Archived in project
Development

No branches or pull requests

3 participants