Error Host validation failed. See logs for more details #5412
Replies: 4 comments 6 replies
|
Just a quick note about environment variables. I have tried a multitude of variations on this. Ive now set it back to 192.168.4.54:8080 and it behaves the same way |
0 replies
|
You do not need localhost or the 127 loopback address. If you are accessing your installation via IP that is all you need. If the logs say the same thing when you put in 192.168.4.54:8080 then you haven’t set it correctly, it’s as simple as that |
6 replies
|
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
0 replies
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi everyone
I am getting this error
I have tried so much and spent hours trying to resolve it. If someone can give any guidance that would be very awesome and i appreciate any input.
Background
I have installed homepage on my truenas scale server. Heres the settings ive used:
Whats happening is it loads on the IP:port saying "Host validation failed. See logs for more details.". Ive checked the logs which suggested "HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port." which i have done
When i go to the port, if i hold down the enter button, i can see the homepage webui behind the error message. Has anyone had this before? Additionally there is no webui button
homepage version
Pulling latest from gethomepage/homepage
Installation method
Docker
Configuration
Listed in photoContainer Logs
2025-06-11 09:42:39.139988+00:00Fixing ownership of /app/config
2025-06-11 09:42:39.141592+00:00Fixing ownership of /app/.next
2025-06-11 09:44:03.881551+00:00▲ Next.js 15.3.1
2025-06-11 09:44:03.881734+00:00- Local: http://localhost:3000
2025-06-11 09:44:03.881747+00:00- Network: http://0.0.0.0:3000
2025-06-11 09:44:03.881787+00:002025-06-11T09:44:03.881787945Z
2025-06-11 09:44:03.881884+00:00✓ Starting...
2025-06-11 09:44:04.067090+00:00✓ Ready in 193ms
2025-06-11 09:44:44.743264+00:00[2025-06-11T09:44:44.742Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.830667+00:00[2025-06-11T09:44:44.830Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.836476+00:00[2025-06-11T09:44:44.836Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.839608+00:00[2025-06-11T09:44:44.839Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.843304+00:00[2025-06-11T09:44:44.843Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.846484+00:00[2025-06-11T09:44:44.846Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.850388+00:00[2025-06-11T09:44:44.850Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.853326+00:00[2025-06-11T09:44:44.853Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.863485+00:00[2025-06-11T09:44:44.862Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.866474+00:00[2025-06-11T09:44:44.866Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.869063+00:00[2025-06-11T09:44:44.868Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.871127+00:00[2025-06-11T09:44:44.870Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:44.893194+00:00[2025-06-11T09:44:44.893Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:50.808823+00:00[2025-06-11T09:44:50.808Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
2025-06-11 09:44:50.810458+00:00[2025-06-11T09:44:50.810Z] �[31merror�[39m: Host validation failed for: 192.168.4.54:8080. Hint: Set the HOMEPAGE_ALLOWED_HOSTS environment variable to allow requests from this host / port.
Browser Logs
No response
Troubleshooting
Ive spent hours configuring the install page and googling this issue to no avail
All reactions