Skip to content

Problem with Hue-Connection #11

@janhuddel

Description

@janhuddel

Hi,

after a while I get the following Exception:
Nov 16, 2016 9:24:29 PM com.tellerulam.hue2mqtt.HueHandler onError WARNUNG: Error in bridge connection. Code 22: No connection; will reconnect in 10s Nov 16, 2016 9:24:29 PM com.tellerulam.hue2mqtt.HueHandler onConnectionLost WARNUNG: Connection to bridge 192.168.2.126 lost Exception in thread "Timer-0" com.philips.lighting.hue.sdk.exception.PHHueException: You are already connected. at com.philips.lighting.hue.sdk.PHHueSDK.connect(PHHueSDK.java:286) at com.tellerulam.hue2mqtt.HueHandler.connect(HueHandler.java:66) at com.tellerulam.hue2mqtt.HueHandler.reconnect(HueHandler.java:71) at com.tellerulam.hue2mqtt.HueHandler$1.run(HueHandler.java:208) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Nov 16, 2016 9:28:47 PM com.tellerulam.hue2mqtt.HueHandler onError WARNUNG: Error in bridge connection. Code 22: No connection; will reconnect in 10s Exception in thread "Timer-1" java.lang.IllegalStateException: Timer already cancelled. at java.util.Timer.sched(Timer.java:397) at java.util.Timer.schedule(Timer.java:193) at com.tellerulam.hue2mqtt.HueHandler.onError(HueHandler.java:204) at com.philips.lighting.hue.sdk.notification.impl.PHNotificationManagerImpl$1.onReceived(PHNotificationManagerImpl.java:140) at com.philips.lighting.hue.sdk.notification.impl.PHHueResultReceiver.execute(PHHueResultReceiver.java:24) at com.philips.lighting.hue.sdk.notification.impl.PHNotificationManagerImpl.notifySDKError(PHNotificationManagerImpl.java:146) at com.philips.lighting.hue.sdk.heartbeat.PHHeartbeatProcessor.run(PHHeartbeatProcessor.java:168) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)

After this point no more updates arrived in mqtt - I have to restart hue2mqtt. Do u have an idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions