webCoRE dashboard graph link not trusted

This started this afternoon on my W10 pc and Chromebook browser. It was previously a problem with android mobile but not with the full browser. My weBcoRE dashboard graphs are not opening in Chrome. If I go to the url in the Dashboard app page I'm given the opportunity to override the security setting and "proceed." Any idea how to set the links as trusted in Chrome?

Edit: and now they work again. What is the mechanism at play here?

Hubitat uses a self-signed certificate for the hub, and this is why if https is in use with a browser, the browser needs to trust/accept the self signed certificate.

New browsers do not like mixing http: and https, ie they view this as a security issue.

So webcore use to use http for the access to the hub in the graphs, but https to the google charts js,html etc files. So I have recently changed webcore to use https to access the hub to stop the security issues. This however does bring up the self-signed certificate you need to accept in the browser once.

This gets further complicated that some self-signed certificates on older HE hubs have expired. There are other threads about putting in your own certificate (self signed or not up to you). (It would be good if Hubitat kept the self-signed certificate valid automatically).

Changing to use a non self-signed certificate is quite a bit more work as likely dns and other changes have to be applied depending on your network setup.

So in short, security changes in browsers are pushing the certificate issues more out front of everyone...

Thanks, my hub in question is a C8 .140 so I'm assuming hub age is not an issue.

I have the same issue with the HTTPS for webgraphs. I have it working in Chrome and Edge after accepting the override of the security setting.

My main dashboard, however, is using Fully Kiosk Browser. I did find a setting in Fully "Ignore SSL Errors" that allows the graphs to display, but it is not a great solution.

Is there anyway to make the Http vs Https an option in webCore?

I’ll look into making an option

2 Likes

If you have a user install, hpm repair on webcore to get the updated version where http vs. https: can be set on a graph as an option.

1 Like

Thank you for the quick response! Unfortunately I am using the imbedded version, so I will need to wait until it is captured in a Hubitat release.

Same for me. @nh.schottfam thanks for adding the option. I'll look after the next hub update. They should still be coming pretty quickly.

I have the User Install version but getting an error in HPM when attemping to do a repair on webcore. It says a fatal error and does a roll back.

In the logs all I see is a HPM Error:

app:822024-01-03 04:51:44.071 PMerrorError upgrading app: java.net.SocketTimeoutException: Read timed out

I suggest politely reboot your hub, wait 5-10 mins and try again.

Ensure you use HPM repair on webcore

If that does not work update the files by hand.