TR064 stops working

Hi,
this morning I found a Problem on my openhab system due to a restart of my router.
I’m using openhab 3.1 and openhab 3.2 M3 on two pi’s. First is the live, 2nd the testsystem.
On both I have installed the tr064 binding. I used this for a presence detection for my heating.

On both sytems this setup runs for weeks.So the Setup should be ok.
Last week my Fritzbox restarted due to a Softwareupdate to Version 7.29. But also after this update it works.

Actually I saw this ErrorMessage:

17:50:08.982 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:51:08.991 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:52:08.998 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:53:07.646 [DEBUG] [ndar.internal.ICalendarHandlerFactory] - bundle org.openhab.binding.icalendar:3.2.0.M3 (265)[org.openhab.binding.icalendar.internal.ICalendarHandlerFactory(275)] : Querying state active
17:53:07.653 [DEBUG] [.Tr064DynamicStateDescriptionProvider] - bundle org.openhab.binding.tr064:3.2.0.M3 (275)[org.openhab.binding.tr064.internal.Tr064DynamicStateDescriptionProvider(309)] : Querying state active
17:53:07.654 [DEBUG] [nal.phonebook.PhonebookProfileFactory] - bundle org.openhab.binding.tr064:3.2.0.M3 (275)[org.openhab.binding.tr064.internal.phonebook.PhonebookProfileFactory(311)] : Querying state active
17:53:07.656 [DEBUG] [064.internal.Tr064ChannelTypeProvider] - bundle org.openhab.binding.tr064:3.2.0.M3 (275)[org.openhab.binding.tr064.internal.Tr064ChannelTypeProvider(308)] : Querying state active
17:53:07.658 [DEBUG] [ng.tr064.internal.Tr064HandlerFactory] - bundle org.openhab.binding.tr064:3.2.0.M3 (275)[org.openhab.binding.tr064.internal.Tr064HandlerFactory(310)] : Querying state active
17:53:09.004 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:53:53.315 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tr064:fritzbox:f299e0ff11' changed from OFFLINE (COMMUNICATION_ERROR): could not get device definitions from 192.168.178.1 to UNINITIALIZED
17:53:53.339 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tr064:fritzbox:f299e0ff11' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
17:54:02.545 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tr064:fritzbox:f299e0ff11' changed from UNINITIALIZED (DISABLED) to INITIALIZING
17:54:02.554 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tr064:fritzbox:f299e0ff11' changed from INITIALIZING to UNKNOWN
17:54:04.634 [DEBUG] [nding.tr064.internal.Tr064RootHandler] - endpointBaseURL is now 'https://192.168.178.1:49443'
17:54:04.650 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tr064:fritzbox:f299e0ff11' changed from UNKNOWN to OFFLINE (COMMUNICATION_ERROR): java.util.concurrent.ExecutionException: java.net.ConnectException: Verbindungsaufbau abgelehnt
17:55:04.652 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:55:04.658 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'tr064:fritzbox:f299e0ff11' changed from OFFLINE (COMMUNICATION_ERROR): java.util.concurrent.ExecutionException: java.net.ConnectException: Verbindungsaufbau abgelehnt to OFFLINE (COMMUNICATION_ERROR): could not get device definitions from 192.168.178.1
17:56:04.660 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:57:04.670 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt
17:58:04.681 [DEBUG] [nhab.binding.tr064.internal.util.Util] - HTTP Failed to GET uri 'https://192.168.178.1:49443/tr64desc.xml': java.net.ConnectException: Verbindungsaufbau abgelehnt

So, for me it looks that the fritzbox did not accept the credentials any more.
What I tried.
-Create a new User on the Fritzbox. Same settings compared to the one which it was running for a long time

  • removed the binding an reinstall it again.
  • Check all settings on the fritzbox and on openhab.
    Still ending in the same Errormessage.
    Also setting the debug level of the binding to Max, I saw no additional infos.

So does someone has an idea?

Did you restart openHAB?

Yes I already tried this. First restart just open gab.
Second try restart complete pi and the fritzbox

Ok, it is working again.
What I did nothing.
The only thing that I can say,during this two days of problems I havr also problems with my internet connection. But normally this should not influence the tr064 binding because everything happens in my local. Network.
But since yesterday afternoon, after the Internet connection is alive, everything works… Very strange.

Strange. I believe that this is short-coming of the FB firmware. `Verbindungsaufbau abgelehnt" is very early in the connection process, before we even send data.