Emerson Sensi Thermostat

It looks like somehow your system is missing the org.glassfish.jersey.client.JerseyClientBuilder dependency. I’m not sure exactly how to get it added at this point, but I’ll do some looking around.

One thing you could try is installing a binding that has this same dependency thru paper ui. It looks like the nest binding has this same dependency. Try installing the nest binding and then try dropping in the wink binding to the addon folder again.

UPDATE: Working.
I misunderstood the readme and did not add the wink.cfg to the conf/services directory. I got it to see the dimmers already added to the Wink hub.

OK, So I decided to start fresh. Still not working.

I removed the current openhab install and re-installed to a new directory.

This time I picked the “UI Only” install option (no bindings installed automatically)

I added the WINK binding and then configured for “delegated” mode. Added the Hub manually and then searched.

Here is the log file after performing the search from startup to shutdown of openhab(I did two searches).

Thanks again for any help you can offer.

2018-09-14 19:04:22.850 [INFO ] [.internal.GenericScriptEngineFactory] - Activated scripting support for ECMAScript

2018-09-14 19:04:24.851 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.cm.ManagedService, id=123, bundle=204/file:/F:/openhab/addons/org.openhab.binding.wink-2.4.0-SNAPSHOT.jar]: Unexpected problem updating configuration org.openhab.wink
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 15 path $
	at com.google.gson.JsonParser.parse(JsonParser.java:65) [22:com.google.gson:2.7.0]
	at com.google.gson.JsonParser.parse(JsonParser.java:45) [22:com.google.gson:2.7.0]
	at org.openhab.binding.wink.client.DelegatedAuthenticationService.getResultAsJson(DelegatedAuthenticationService.java:98) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.client.DelegatedAuthenticationService.<init>(DelegatedAuthenticationService.java:60) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.internal.AuthenticationConfigurationService.configure(AuthenticationConfigurationService.java:51) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.internal.AuthenticationConfigurationService.updated(AuthenticationConfigurationService.java:39) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1479) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1435) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141) [8:org.apache.felix.configadmin:1.8.16]
	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109) [8:org.apache.felix.configadmin:1.8.16]
	at java.lang.Thread.run(Unknown Source) [?:?]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 15 path $
	at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[?:?]
	at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1401) ~[?:?]
	at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:542) ~[?:?]
	at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[?:?]
	at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[?:?]
	... 13 more
2018-09-14 19:04:27.771 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2018-09-14 19:04:28.830 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.100:8080
2018-09-14 19:04:28.831 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.100:8443
2018-09-14 19:04:29.652 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2018-09-14 19:04:29.668 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2018-09-14 20:38:13.835 [WARN ] [.core.thing.binding.BaseThingHandler] - BaseThingHandler.initialize() will be removed soon, ThingStatus can be set manually via updateStatus(ThingStatus.ONLINE)
2018-09-14 20:39:35.580 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
java.lang.IllegalStateException: Not a JSON Object: null
	at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) [22:com.google.gson:2.7.0]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getResultAsJson(CloudRestfulWinkClient.java:147) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:124) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.listDevices(CloudRestfulWinkClient.java:52) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.internal.discovery.WinkDeviceDiscoveryService$1.run(WinkDeviceDiscoveryService.java:56) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2018-09-14 20:40:31.723 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception
java.lang.IllegalStateException: Not a JSON Object: null
	at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90) [22:com.google.gson:2.7.0]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getResultAsJson(CloudRestfulWinkClient.java:147) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:124) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.listDevices(CloudRestfulWinkClient.java:52) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at org.openhab.binding.wink.internal.discovery.WinkDeviceDiscoveryService$1.run(WinkDeviceDiscoveryService.java:56) [204:org.openhab.binding.wink:2.4.0.201808071632]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:?]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Unknown Source) [?:?]
2018-09-14 20:41:37.384 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2018-09-14 20:41:37.388 [INFO ] [panel.internal.HABPanelDashboardTile] - Stopped HABPanel
2018-09-14 20:41:37.392 [INFO ] [.dashboard.internal.DashboardService] - Stopped Dashboard

OK, got the control of dimmers via openhab. When I adjust the settings via openhab, I see it reflected in the Wink app on my phone. However, if I adjust settings in the Wink App, they are not updated in openhab. Should openhab update after adjusting in Wink app?

It should update. Maybe not immediately, but it should. The longest I’ve seen is 5 min. Are there any errors in your logs, maybe search for pubnub in your log and see if any error messages could tell us some clues.

Joel

So, it appears to be updating in the logs, but not the Paper UI.

I changed the state via Paper UI here: (events.log)

2018-09-16 18:19:14.573 [ome.event.ItemCommandEvent] - Item 'wink_light_bulb_e4d82b32_59c4_400e_b9af_983ddf44c4fb_lightlevel' received command ON
2018-09-16 18:19:14.575 [vent.ItemStateChangedEvent] - wink_light_bulb_e4d82b32_59c4_400e_b9af_983ddf44c4fb_lightlevel changed from 0 to 100

I turned it off via the Wink app a couple seconds after the app updated with the status, but no change shown in Paper UI.

See below for status: (openhab.log)

2018-09-16 18:16:25.995 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered_updated_at":1536977237.047838,"desired_brightness_updated_at":1536977409.7027335,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1536977237.047838,"desired_brightness_changed_at":1536977409.7027335},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:16:26.327 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered_updated_at":1536977237.047838,"desired_brightness_updated_at":1536977409.7027335,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1536977237.047838,"desired_brightness_changed_at":1536977409.7027335},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:18:55.027 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered_updated_at":1536977237.047838,"desired_brightness_updated_at":1536977409.7027335,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1536977237.047838,"desired_brightness_changed_at":1536977409.7027335},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:18:55.520 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered":false,"desired_powered_updated_at":1537136339.4158561,"desired_brightness_updated_at":1536977409.7027335,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136339.4158561,"desired_brightness_changed_at":1536977409.7027335},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:19:14.853 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered":false,"desired_powered_updated_at":1537136339.4158561,"desired_brightness_updated_at":1536977409.7027335,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136339.4158561,"desired_brightness_changed_at":1536977409.7027335},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:19:15.209 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":true,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered":true,"desired_powered_updated_at":1537136359.1939468,"desired_brightness":1.0,"desired_brightness_updated_at":1537136359.1939468,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136359.1939468,"desired_brightness_changed_at":1537136359.1939468},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:19:15.418 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":true,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered":true,"desired_powered_updated_at":1537136359.1939468,"desired_brightness":1.0,"desired_brightness_updated_at":1537136359.1939468,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136359.1939468,"desired_brightness_changed_at":1537136359.1939468},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:19:15.693 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":true,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537134654.0014062,"needs_repair":false,"needs_repair_updated_at":1537134654.0014062,"powered":false,"powered_updated_at":1537134654.0014062,"brightness":1.0,"brightness_updated_at":1537134654.0014062,"desired_powered":true,"desired_powered_updated_at":1537136359.7378452,"desired_brightness":1.0,"desired_brightness_updated_at":1537136359.1939468,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537134654.0014062,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136359.1939468,"desired_brightness_changed_at":1537136359.1939468},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:21:25.814 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537136373.7172275,"needs_repair":false,"needs_repair_updated_at":1537136373.7172275,"powered":false,"powered_updated_at":1537136373.7172275,"brightness":1.0,"brightness_updated_at":1537136373.7172275,"desired_powered_updated_at":1537136373.6371195,"desired_brightness_updated_at":1537136360.2472386,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537136373.5041091,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136373.6371195,"desired_brightness_changed_at":1537136360.2472386},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}
2018-09-16 18:21:26.033 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {"uuid":"e4d82b32-59c4-400e-b9af-983ddf44c4fb","created_at":1536520080,"updated_at":1536520097,"desired_state":{"powered":false,"brightness":1.0},"last_reading":{"connection":true,"connection_updated_at":1537136373.7172275,"needs_repair":false,"needs_repair_updated_at":1537136373.7172275,"powered":false,"powered_updated_at":1537136373.7172275,"brightness":1.0,"brightness_updated_at":1537136373.7172275,"desired_powered_updated_at":1537136373.6371195,"desired_brightness_updated_at":1537136360.2472386,"connection_changed_at":1536520080.0341692,"needs_repair_changed_at":1536520085.6543643,"powered_changed_at":1537136373.5041091,"brightness_changed_at":1537132261.762635,"desired_powered_changed_at":1537136373.6371195,"desired_brightness_changed_at":1537136360.2472386},"subscription":{"pubnub":{"subscribe_key":"xxx","channel":"87b89e2a72bef13e92c11fd357b7e1778f276f68|light_bulb-3838115|user-924054"}},"light_bulb_id":"3838115","name":"Kitchen Main Lights","locale":"en_us","units":{},"hidden_at":null,"capabilities":{},"triggers":[],"manufacturer_device_model":"lutron_p_pkg1_w_wh_d","manufacturer_device_id":null,"device_manufacturer":"lutron","model_name":"Caseta Wireless Dimmer & Pico","upc_id":"556","upc_code":"lutron_p-pkg1w-wh-d","primary_upc_code":"lutron_p-pkg1w-wh-d","gang_id":null,"hub_id":"908267","local_id":"2","radio_type":"lutron","linked_service_id":null,"order":0}

I do not see any issues with the JSON, however it appears that your logging does not have the debug messages enabled. Can you turn on debug logging and send the log messages again please?

Into the Karaf console, put:

log:set DEBUG org.openhab.binding.wink

I found how to enable debug logging in this thread.

Another thought I had while looking at the code is that there are two channels for the light. A lightlevel channel and a lightstate channel. The logs are pointing out that your item on PaperUi is hooked up to the lightlevel channel. The lightlevel channel watches the ‘brightness’ param from the JSON logs. When you made the changes, the ‘powered’ param changed, but the ‘brightness’ did not. The ‘powered’ param from the JSON is monitored by the lightstate channel.

It might be worth trying to create two items, one for each channel, and see if one or the other channels receive an update after making changes on the wink app. Then we may be able to determine what needs to change so the items will work the way you would expect.

Unfortunately, I do not have any dimmers or an actual wink hub to try any of this out on. I use the wink binding for my Sensi thermostat, which does not require a physical hub.

Send some logs with debug logging turned on and with the multiple items added to your PaperUi and I’ll look thru the code and try to figure out what is going on here.

Thanks,
Joel

Joel,

I turned debug logging on and have more outputs in the openhab.log file.

I removed the light and added it back to THINGS via PaperUI and have both channels/items enabled (Dimmer with on/off and a separate State on/off)

I am still noticing a disconnect, but it will update, just not properly. Sometimes the State will update, other times the 0-100 dimmer value, other times the dimmer on/off will update.

So, give me some to play around and put this together in a manner that makes sense. I’ll report back with either some logs or if I find something poking through the code and debug logs.

Thanks for the assistance.

Questions:

  1. Do I need to have a real Wink hub in order to use this add-on?
  2. Do I need to create a wink account first BEFORE setting up the heroku service?

Thank you.

You do not need a physical wink hub.

You do need a wink account before heroku.

Joel

Thanks Joel. I got it working after signing up for a Wink acct using the Wink app.

I would like to ask another question. Looking at OH logs, I noticed that the thermostat data seemed to get refreshed every 5 min:

2018-12-10 13:59:25.657 [INFO ] [g.wink.client.CloudRestfulWinkClient] - Json Result: {...}

Could I change the refresh rate? If yes, where?
Thank you.

Unfortunately, the refresh period is hardcoded to 5 min.

Joel

Hi new here to this thread. I’m looking for some help to get access to the current temp and humidity values from my sensi device. I have them up and operating with the wink jar and auth info. I want to dump the current temp and humidity for each thermostat to a file for use by some other scripts that I have running. I have looked at OH documentation but I very new to OH and i don’t see an easy way.
Thanks

@joel_shumann
Every now and then I get an UnknownHostException: api.wink.com error:

2019-04-07 18:50:14.701 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
javax.ws.rs.ProcessingException: java.net.UnknownHostException: api.wink.com
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287) ~[?:?]
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.doGet(CloudRestfulWinkClient.java:130) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:113) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getDevice(CloudRestfulWinkClient.java:73) ~[?:?]
	at org.openhab.binding.wink.handler.WinkHub2BridgeHandler.getDevice(WinkHub2BridgeHandler.java:151) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler.getDevice(WinkBaseThingHandler.java:171) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler$1.run(WinkBaseThingHandler.java:107) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.net.UnknownHostException: api.wink.com
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184) ~[?:?]
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:?]
	at java.net.Socket.connect(Socket.java:589) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:673) ~[?:?]
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[?:?]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:?]
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1040) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1038) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1037) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more

When this happens, my temperature items stop updating. The only way I can get out of this is to restart the OH service.

Questions:

  • Do you know why this error?
  • Is there a way to detect this problem so that I can write a rule to restart the OH service automatically?

Thanks

I think this error means that the connection to api.wink.com failed. Just before the error, a debug message should be present in your log if you have debug turned on that starts with "Doing Get: ". Can you send what that debug line shows?

I do not know of a way to detect this failure and restart the OH service, however, there has to be a way to properly handle and recover from this type of exception. I will work on that.

@joel_shumann
Unfortunately, I did not have DEBUG turned on. What package(s) should I monitor?
Thanks

I think just the wink package will do.

@joel_shumann Hi,
It finally happened this time with DEBUG turned on. Here is the long error log with my four(4) thermostat IDs X’ed out for security reason. I have to split the log into 2 parts because of the 48000 character limit per post. Thanks.

PART 1 OF 2

2019-04-17 20:01:20.630 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Getting Device: xxxxxxxxxxxxxxxxxxxx
2019-04-17 20:01:20.648 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Doing Get: JerseyWebTarget { https://api.wink.com/thermostats/xxxxxxxxxxxxxxxxxxxx }
2019-04-17 20:01:20.717 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Getting Device: xxxxxxxxxxxxxxxxxxxx
2019-04-17 20:01:20.739 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Doing Get: JerseyWebTarget { https://api.wink.com/thermostats/xxxxxxxxxxxxxxxxxxxx }
2019-04-17 20:01:20.786 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Getting Device: xxxxxxxxxxxxxxxxxxxx
2019-04-17 20:01:20.800 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Doing Get: JerseyWebTarget { https://api.wink.com/thermostats/xxxxxxxxxxxxxxxxxxxx }
2019-04-17 20:01:20.856 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Getting Device: xxxxxxxxxxxxxxxxxxxx
2019-04-17 20:01:20.872 [DEBUG] [g.wink.client.CloudRestfulWinkClient] - Doing Get: JerseyWebTarget { https://api.wink.com/thermostats/xxxxxxxxxxxxxxxxxxxx }
2019-04-17 20:01:21.499 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287) ~[?:?]
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.doGet(CloudRestfulWinkClient.java:130) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:113) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getDevice(CloudRestfulWinkClient.java:73) ~[?:?]
	at org.openhab.binding.wink.handler.WinkHub2BridgeHandler.getDevice(WinkHub2BridgeHandler.java:151) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler.getDevice(WinkBaseThingHandler.java:171) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler$1.run(WinkBaseThingHandler.java:107) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1529) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:362) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Wed Apr 17 19:59:59 EDT 2019
	at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:274) ~[?:?]
	at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.verifyValidity(BasicChecker.java:190) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144) ~[?:?]
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
2019-04-17 20:01:21.522 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287) ~[?:?]
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.doGet(CloudRestfulWinkClient.java:130) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:113) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getDevice(CloudRestfulWinkClient.java:73) ~[?:?]
	at org.openhab.binding.wink.handler.WinkHub2BridgeHandler.getDevice(WinkHub2BridgeHandler.java:151) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler.getDevice(WinkBaseThingHandler.java:171) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler$1.run(WinkBaseThingHandler.java:107) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1529) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:362) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Wed Apr 17 19:59:59 EDT 2019
	at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:274) ~[?:?]
	at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.verifyValidity(BasicChecker.java:190) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144) ~[?:?]
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
2019-04-17 20:01:21.518 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287) ~[?:?]
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.doGet(CloudRestfulWinkClient.java:130) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:113) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getDevice(CloudRestfulWinkClient.java:73) ~[?:?]
	at org.openhab.binding.wink.handler.WinkHub2BridgeHandler.getDevice(WinkHub2BridgeHandler.java:151) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler.getDevice(WinkBaseThingHandler.java:171) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler$1.run(WinkBaseThingHandler.java:107) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1529) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:362) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Wed Apr 17 19:59:59 EDT 2019
	at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:274) ~[?:?]
	at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.verifyValidity(BasicChecker.java:190) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144) ~[?:?]
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
2019-04-17 20:01:21.499 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
javax.ws.rs.ProcessingException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287) ~[?:?]
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:228) ~[?:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411) ~[?:?]
	at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.doGet(CloudRestfulWinkClient.java:130) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.executeGet(CloudRestfulWinkClient.java:113) ~[?:?]
	at org.openhab.binding.wink.client.CloudRestfulWinkClient.getDevice(CloudRestfulWinkClient.java:73) ~[?:?]
	at org.openhab.binding.wink.handler.WinkHub2BridgeHandler.getDevice(WinkHub2BridgeHandler.java:151) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler.getDevice(WinkBaseThingHandler.java:171) ~[?:?]
	at org.openhab.binding.wink.handler.WinkBaseThingHandler$1.run(WinkBaseThingHandler.java:107) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

@joel_shumann
PART 2 OF 2

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) ~[?:?]
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1529) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:362) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertPathValidatorException: validity check failed
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more
Caused by: java.security.cert.CertificateExpiredException: NotAfter: Wed Apr 17 19:59:59 EDT 2019
	at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:274) ~[?:?]
	at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.verifyValidity(BasicChecker.java:190) ~[?:?]
	at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144) ~[?:?]
	at sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:223) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140) ~[?:?]
	at sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79) ~[?:?]
	at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292) ~[?:?]
	at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:357) ~[?:?]
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:259) ~[?:?]
	at sun.security.validator.Validator.validate(Validator.java:260) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:?]
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:?]
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1506) ~[?:?]
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:226) ~[?:?]
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) ~[?:?]
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) ~[?:?]
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:?]
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) ~[?:?]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
	at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) ~[?:?]
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) ~[?:?]
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) ~[?:?]
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394) ~[?:?]
	at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285) ~[?:?]
	... 23 more

@oh_newbie Hello,
Thank you for the detailed error/debug log. I received this same error at roughly the same date/time stamp. Mine was:
2019-04-17 20:00:56.586
and yours was:
2019-04-17 20:01:21.499

This looks like an expired SSL certificate, but unfortunately I’m not sure how to properly handle this exception. If anyone has any suggestions, they would be greatly welcomed.

I found this blog entry, so I’ll try debugging with the openssl tool and see what I can learn.

-Joel