ForecastUI handshake_failure

Since a few days I receive a lot of handshake_failure errors from the ForecastIO binding:

2016-10-05 16:04:28.278 [ERROR] [.w.i.p.AbstractWeatherProvider] - FORECASTIO: Received fatal alert: handshake_failure
2016-10-05 16:04:28.384 [ERROR] [o.o.b.w.i.scheduler.WeatherJob] - Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[na:1.7.0_60]
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) ~[na:1.7.0_60]
	at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959) ~[na:1.7.0_60]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077) ~[na:1.7.0_60]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) ~[na:1.7.0_60]
	at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702) ~[na:1.7.0_60]
	at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) ~[na:1.7.0_60]
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[na:1.7.0_60]
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[na:1.7.0_60]
	at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) ~[na:na]
	at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565) ~[na:na]
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) ~[na:na]
	at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) ~[na:na]
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) ~[na:na]
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) ~[na:na]
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) ~[na:na]
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) ~[na:na]
	at org.openhab.binding.weather.internal.provider.AbstractWeatherProvider.executeRequest(AbstractWeatherProvider.java:113) ~[na:na]
	at org.openhab.binding.weather.internal.provider.AbstractWeatherProvider.getWeather(AbstractWeatherProvider.java:68) ~[na:na]
	at org.openhab.binding.weather.internal.scheduler.WeatherJob.execute(WeatherJob.java:49) ~[na:na]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz-all-2.1.7.jar:na]
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz-all-2.1.7.jar:na]

Has maybe something changed in the ForecastIO api or what could cause this problem?

A system reboot seams to have solved this problem. Maybe the apt-get updates of one of the ssl packets caused this problem.

Glad you got past it. Would you consider trying the latest nightly JAR for the weather binding, because the API URL has been updated from api.forecast.io to api.darksky.net (through this PR)? It should run the same, but any extra bit of testing is good!

Would someone be so kind an past his/her openhab.cfg config how to setup the connection to DarkSky?

Is the naming convention in the ForcastIO definition consistently migrated to DarkSky meaning that all “ForecastIO” has been prelaced with “DarkSky”.

I want to use this provider as well but it is not clear to me, how to make the configuration right in openhab.cfg file (or do I also need the weather.cfg file???)

Thanks for a reply :slightly_smiling_face:
Cheers
Justus