-
Notifications
You must be signed in to change notification settings - Fork 376
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
cannot load GUI after v4 #262
Comments
Can you show the startup logs? The enableCors won't be related - CORS is only used for development purposes here. |
Same here. Startup logs look fine except this: |
Thanks, can you show the config for the UI from your config.json? |
After looking at my code... are you running in docker so don't have any config set for the UI (which is a perfectly valid setup)? |
There aren't any (config-ui) entries in my config.json. |
Yes. Your docker |
On chrome I get a : This site can’t be reached 192.168.10.39 refused to connect. I tried the usual stuff(delete cache etc) |
Yep, sorry about this, I'll push up a fix in a moment. I see what I did wrong! |
Ok. Keep up the good work man. |
Is there a quick fix to access it or do I have to pull the docker from the start? |
A new docker image is building right now; if you don't want to pull that, you can exec into the container and run:
|
One last question (If you have the time). Where is the homebridge container folder on a pi? |
@mspiridakis if you followed the guide on oznu/homebridge it should be under |
A new docker image has been published that implements this fix also. User's who encountered this bug and need to restore access to the GUI have two options.
|
Hi oznu, I'm running your config ui on a synology. Today either your Homebridge UI or docker was updated (don't know what it was). Since then I'm getting "This site can’t be reached xxxxxxx refused to connect. I uninstalled the UI as well as docker (no files were left) and reinstalled everything but it's no more working. |
Yeah, I'm having the same connection. As I just re-installed everythign I suppose there is no need to try the commands above as my docker image should already include the fix, isn't it? Well, I tried it anyway, doesn't help. |
I noticed that after upgrading to v4 i can access GUI only if I use localhost and not via IP. I'm using it in docker so it is impossible to access GUI via 'localhost'.
I think it might be related to this in main.ts:
// setup cors app.enableCors({ origin: ['http://localhost:8080', 'http://localhost:4200'], });
The text was updated successfully, but these errors were encountered: