-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Error Host validation failed. See logs for more details #5412
Replies: 2 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 |
Beta Was this translation helpful? Give feedback.
All reactions
-
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 |
Beta Was this translation helpful? Give feedback.
All reactions
-
Please change it to exactly that and post the logs after re-creating the container |
Beta Was this translation helpful? Give feedback.
All reactions
-
Changed to IP: port Record_2025-06-12-23-45-51.mp4It shows up for a second then defaults to error screen Results below: ' |
Beta Was this translation helpful? Give feedback.
All reactions
-
I don’t need a video, the logs are enough proof that you did not correctly set the env to the value in the logs. In normal docker you need to recreate a container, not just restart it, when you change env. It looks like you’re using truenas or something I don’t know but you’ll need to figure that part out. If you open a shell inside the container and run |
Beta Was this translation helpful? Give feedback.
All reactions
-
I ditched the truenas apps version and have installed dockge and have tried on there. Solved some problems but brought up new ones. As you can tell im new to this haha. i appreciate any advice services: homepage | /app/config already owned by correct UID/GID, skipping chown |
Beta Was this translation helpful? Give feedback.
All reactions
-
It literally says the problem there as well as how to solve it |
Beta Was this translation helpful? Give feedback.
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 photo
Container 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
Beta Was this translation helpful? Give feedback.
All reactions