Hi all,
I have a OpenHAB instance V 1.6.1 running and querying two Fritz Powerline Adapters for power voltage and temperature. I can't see any notable difference in their configuration, but interestingly one is working fine and the other one is throwing exceptions:
2014-12-21 11:10:55.235 [ERROR] [g.openhab.io.net.http.HttpUtil] - Fatal transport error: java.net.ConnectException: Connection refused
2014-12-21 11:10:55.236 [ERROR] [o.b.f.i.h.FritzahaWebInterface] - FritzBox does not respond
2014-12-21 11:10:55.244 [WARN ] [ipse.jetty.client.HttpExchange] - CONNECTION FAILED FritzahaContentExchange@17501fc=GET//wohnzimmer:80/webservices/homeautoswitch.lua?switchcmd=getswitchenergy&ain=24:65:11:C3:F1:4B#CONNECTING(7ms)->EXCEPTED(0ms)
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.7.0_67]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:739) ~[na:1.7.0_67]
at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:117) ~[na:1.7.0_67]
at org.eclipse.jetty.client.SelectConnector.startConnection(SelectConnector.java:74) ~[org.eclipse.jetty.client_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.client.HttpDestination.startNewConnection(HttpDestination.java:272) [org.eclipse.jetty.client_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.client.HttpDestination.doSend(HttpDestination.java:556) [org.eclipse.jetty.client_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.client.HttpDestination.send(HttpDestination.java:494) [org.eclipse.jetty.client_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.eclipse.jetty.client.HttpClient.send(HttpClient.java:160) [org.eclipse.jetty.client_8.1.3.v20120522.jar:8.1.3.v20120522]
at org.openhab.binding.fritzaha.internal.hardware.FritzahaWebInterface.asyncGet(FritzahaWebInterface.java:285) [bundlefile:na]
at org.openhab.binding.fritzaha.internal.hardware.devices.FritzahaWebserviceMeter.updateMeterValue(FritzahaWebserviceMeter.java:82) [bundlefile:na]
at org.openhab.binding.fritzaha.internal.FritzahaBinding.execute(FritzahaBinding.java:117) [bundlefile:na]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) [org.openhab.core_1.6.1.jar:na]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) [org.openhab.core_1.6.1.jar:na]
Directly querying that URL....
...gives me an forbidden header with no content...
HTTP/1.1 403 Forbidden
Connection: Keep-Alive
Content-Length: 0
Content-Type: text/plain; charset=utf-8
Keep-Alive: timeout=60, max=300
...which is interesting because it's not "Connection refused" as stated in the log message.
The only notable difference I'm aware of is not in configuration, but in firmware version: I recently updated that exception-throwing one to latest Fritz OS 6.20, while the working one is still on 6.05. I set up the OpenHAB just now, so I don't know if it would probably have worked before.
I'm also running a Fritzbox which has V 6.20 since quite a while. Querying that works just fine (...except it's hell-slow: 4-8 secs for squeezing out just one integer value... WTF!?!)
Before you ask: the powerline feature is deactivated and both Powerline adapters are connected via ethernet. I can ping both of them just fine and access their webfrontend, etc...
Is there any known issue in the fritzaha binding with the 546E and V6.20?
Cheers,
Jochen