Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Hue-Connection #11

Open
janhuddel opened this issue Nov 17, 2016 · 0 comments
Open

Problem with Hue-Connection #11

janhuddel opened this issue Nov 17, 2016 · 0 comments

Comments

@janhuddel
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant