Error Message: HttpUtil:233 ] - Fatal transport error: java.net.ConnectException

Hi,

i am currently experiening the above/ below mentioned error within OH log file. I am a bit lost where this one is coming from - as the only thing i did was running apt-get update/ upgrade on RPi.

Currently running on rPI A with OH Version 1.7.0 - only 1.8 binding is the WEMO binding.

12:16:01.046 [INFO ] [.httpclient.HttpMethodDirector:439  ] - I/O exception (java.net.ConnectException) caught when processing request: Verbindungsaufbau abgelehnt
12:16:01.051 [INFO ] [.httpclient.HttpMethodDirector:445  ] - Retrying request
12:16:01.059 [INFO ] [.httpclient.HttpMethodDirector:439  ] - I/O exception (java.net.ConnectException) caught when processing request: Verbindungsaufbau abgelehnt
12:16:01.068 [INFO ] [.httpclient.HttpMethodDirector:445  ] - Retrying request
12:16:01.079 [INFO ] [.httpclient.HttpMethodDirector:439  ] - I/O exception (java.net.ConnectException) caught when processing request: Verbindungsaufbau abgelehnt
12:16:01.086 [INFO ] [.httpclient.HttpMethodDirector:445  ] - Retrying request
12:16:01.093 [ERROR] [g.openhab.io.net.http.HttpUtil:233  ] - Fatal transport error: java.net.ConnectException: Verbindungsaufbau abgelehnt

Anyone could assist with this error message?

thanks
Karsten

Hi again,

still no one able to assist with this error message? It results in failure / non running of rules as well.

thanks
Karsten

I’m assuming “Verbindungsaufbau abgelehnt” is the same as “Connection refused” in English, which usually means that something is trying to connect to a remote port that isn’t listening. For example, if a server myweather.com is online but not running a web server on port 80, and you try to go to http://myweather.com, the client would get a “Connection refused” error.

So I recommend looking through your items and rules, looking for any configuration that might be referencing a server that is not serving (listening on a port) the kind of request openHAB is making. You could also edit your logback.xml file to use DEBUG logging as default instead of INFO, or run the start_debug.sh script to start openHAB in debug mode. The context of messages around the ERROR messages you reported above might help explain what code is causing Connection refused.

Hi @watou

yep sorry for missing the translation :smile:

i put already TRACE to HTTP bindinging into the logback but it doesnt show more than this. 3 times connection try - but not to where … not shown. Above is only messages from the start_debug.sh logging,

really nothing more shown.

I suspect it may be a binding, so either check the hosts and ports defined in your openhab.cfg, or comment out the configuration, binding by binding, to see which one it might be.

To get more details, add this to your logback[_debug].xml file. It’ll let you see what’s going on below the openHAB layers:

<logger name="org.apache.http" level="TRACE" />

I enabled this in my system to capture the cause of some “No route to host” type errors that occur every few days.