Looks like another TLS issue: first try running curl https://community.openhab.org/tags/c/apps-services/habpanel/widgetgallery.json
on your openHAB machine, if you do get the same error either try upgrading your JRE like @Dr_Kuebel did here:
Hello, I just updated my version of OpenHAB from 2.1.0 to 2.2.0-SNAPSHOT. When I open HABPanel, I see the Get More under Custom Widgets but when I click on it I get the following error:
Error: java.lang.IllegalStateException
Here’s the details of my setup:
openjdk version “1.8.0_151”
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK Client VM (build 25.151-b12, mixed mode)
Linux version 4.4.38-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #938 SMP Thu Dec 15 15:22:21 GMT 2016
Nothing is showing up in the openHAB logs unfortunately. When I go directly to the link you provided I receive the following: {"error":{"message":"java.lang.IllegalStateException","http-code":500,"exception":{"class":"javax.net.ssl.SSLException","message":"java.lang.IllegalStateException","localized-message":"java.lang.IllegalStateException","cause":"javax.net.ssl.SSLException"}}}
I’m using Build #1096 at the moment.
I’ve tried to set logging in Karaf to DEBUG but my Raspberry PI wasn’t handling it well.
You should install Zulu or Oracle Java as mentioned - that might fix the problem you’re having, and your openHAB instance will probably run better too.
Sorry if I revive an old thread, but for anyone with SSL problems, you are probably missing the let’s encrypt certificates in your java keystore.
I recently installed openhabian on my pi and got the
Import the .der certificates into the Java trustore :
(do NOT change the changeit password, this is the default one and I’m pretty sure you haven’t changed it)
I hope I created it in the right place and stuff, I’m still new to the forum and frankly, this is the first time I’m getting engaged with a community. I don’t want to do anything the wrong way
Hello, I have a proxy (HTTP/HTTPS) the HABPanel widget-gallerie has to use to connect to the internet. I have configured it on my Raspi Pi 4B for OpenHAB 3.4.4 and curl. Both is working well and using the proxy. But I was not able to find any configuration for HABPanel. Therefore I recieve following error message when I try to connect:
Fehler: {“data”:{“cause1”:“java.net.ConnectException: Die Wartezeit für die Verbindung ist abgelaufen (Connection timed out)”,“servlet”:“cxf-servlet”,“cause0”:“org.apache.cxf.interceptor.Fault: Die Wartezeit für die Verbindung ist abgelaufen (Connection timed out)”,“message”:“org.apache.cxf.interceptor.Fault: Die Wartezeit für die Verbindung ist abgelaufen (Connection timed out)”,“url”:“/rest/habpanel/gallery/community/widgets”,“status”:“500”},“status”:500,“config”:{“method”:“GET”,“transformRequest”:[null],“transformResponse”:[null],“url”:“/rest/habpanel/gallery/community/widgets”,“headers”:{“Accept”:“application/json, text/plain, /”}},“statusText”:“Server Error”}
the main error message is “Connection timed out”. Which of course make sense. Using wireshark I see that HABPanel is trying to connect directly to community.openhab.org at 46.101.248.207 and port 443.
Is there any possibility to configure HABPanel to use the proxy like it is possible with openHAB?