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

webUI didnt load properly #307

Closed
robrec opened this issue May 26, 2019 · 2 comments
Closed

webUI didnt load properly #307

robrec opened this issue May 26, 2019 · 2 comments

Comments

@robrec
Copy link

robrec commented May 26, 2019

Hi!

Just installed my rpi3b+ (again).

After Mosquitto, Nodered and Homekit, i installed the Config-UI-x

when i visit the GUI, it shows:

Server Status
Homebridge : Checking for updates...
Services
Homebridge Not running
Console Not running

No QR-Code, nothing.

When i try to open "plugins" i receive this error:

Error
Failed to load plugins: Http failure response for http://192.168.178.2:8080/api/plugins: 401 Unauthorized

My Config:
{
"bridge":{
"name":"Homebridge",
"username":"CC:22:3D:E3:CE:34",
"port":51826,
"pin":"031-45-154"
},
"description":"Home Smart Home",
"platforms":[
{
"platform":"config",
"name":"Config",
"port":8080,
"sudo":true
}
],
"accessories":[

]
}

Log:
pi@raspberrypi:~ $ sudo systemctl restart homebridge; sudo journalctl -fau homebridge
-- Logs begin at Sun 2019-05-26 02:58:42 CEST. --
May 26 02:58:52 raspberrypi homebridge[373]:
May 26 02:58:52 raspberrypi homebridge[373]: [5/26/2019, 2:58:52 AM] Homebridge is running on port 51826.
May 26 02:59:02 raspberrypi homebridge[373]: [5/26/2019, 2:59:02 AM] [Config] Console v4.4.2 is listening on :: port 8080
May 26 03:05:53 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...
May 26 03:05:53 raspberrypi homebridge[373]: [5/26/2019, 3:05:53 AM] Got SIGTERM, shutting down Homebridge...
May 26 03:05:58 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=143/n/a
May 26 03:05:58 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
May 26 03:05:58 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
May 26 03:05:58 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
May 26 03:05:58 raspberrypi systemd[1]: Started Node.js HomeKit Server.
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] Loaded config.json with 0 accessories and 1 platforms.
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] ---
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] Loaded plugin: homebridge-config-ui-x
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] Registering platform 'homebridge-config-ui-x.config'
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] ---
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] Loading 1 platforms...
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] [Config] Initializing config platform...
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] [Config] Spawning homebridge-config-ui-x with PID 912
May 26 03:06:00 raspberrypi homebridge[884]: [5/26/2019, 3:06:00 AM] Loading 0 accessories...
May 26 03:06:00 raspberrypi homebridge[884]: Setup Payload:
May 26 03:06:00 raspberrypi homebridge[884]: X-HM://0023ISYWZJ00P
May 26 03:06:00 raspberrypi homebridge[884]: Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]: Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]: ┌────────────┐
May 26 03:06:01 raspberrypi homebridge[884]: │ 031-45-155 │
May 26 03:06:01 raspberrypi homebridge[884]: └────────────┘
May 26 03:06:01 raspberrypi homebridge[884]:
May 26 03:06:01 raspberrypi homebridge[884]: [5/26/2019, 3:06:01 AM] Homebridge is running on port 51826.
May 26 03:06:08 raspberrypi homebridge[884]: [5/26/2019, 3:06:08 AM] [Config] Console v4.4.2 is listening on :: port 8080

Any Ideas?

My wife will kill me when she cant turn on the lights ;D

@oznu
Copy link
Member

oznu commented May 26, 2019

Try hit the logout button and log back in.

If that fails set this to true: https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#websocketcompatibilitymode

@robrec
Copy link
Author

robrec commented May 26, 2019

Try hit the logout button and log back in.

If that fails set this to true: https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#websocketcompatibilitymode

you are my hero! thanks a lot!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants