DynDNS Problem on IPFire 2.25 Core144

Hello,

i have since 20.05.2020 at 21:05 problems with DynDNS on my IPFire.

That is what i get in my logfile:

Dynamic DNS update for myname.ddnss.de (DDNSS) threw an unhandled exception: Traceback (most recent call last): File “/usr/lib/python3.8/site-packages/ddn s/init.py”, line 164, in _update entry(force=force) File “/usr/lib/pyt hon3.8/site-packages/ddns/providers.py”, line 158, in call self.update() File “/usr/lib/python3.8/site-packages/ddns/providers.py”, line 182, in updat e self.update_protocol(protocol) File “/usr/lib/python3.8/site-packages/dd ns/providers.py”, line 648, in update_protocol output = header.getheader(‘dd nss-response’) AttributeError: ‘HTTPMessage’ object has no attribute ‘getheader’

Can anybody help me?

Thanks.

Hi Stephan,

sounds simliar to the Duckdns-problem.

As far as I can see: no solution yet, sorry.

HTH,
Matthias

Hmm, that sounds not good, because i changed nothing at my IPFire and suddenly the problem is there.

Whats going on?

I think the problem/bug is already known.

https://bugzilla.ipfire.org/show_bug.cgi?id=12328

Hope somebody will have a look at this.

This patch work for me.

https://patchwork.ipfire.org/patch/3133/

Thanks to the developer.

Hello Stephan, sorry, but I don’t know, how to install the patch. Can you help me, please?
Thanks
Marcus

Reading thru the patch looks like the patch is changing providers.py. So I searched for providers.py on the IPFire box and I find it here:

[root@ipfire ~]# find / -iname providers.py
/usr/lib/python3.8/site-packages/ddns/providers.py

Make a copy of providers.py incase you make a mistake.

Edit providers.py and search for the line with:
output = header.getheader('ddnss-response').

Near that spot remove three lines. In the patch they begin with -

Remove:

		header = response.info()

		output = header.getheader('ddnss-response')

And replace with. . .
Add:

		output = response.getheader('ddnss-response')

Save the edited file.

You may need to reboot the IPFire box for this to take.

Hello Jon and Stephan,

thank you very much, this seems to work. There were ten updates every five minutes this morning and then it stopped. For whatever reason this ten updates were made, this is ok.

Marcus

I have to modify my comment.
I have still an issue: I get the message
DDNSUdateError: The Update could not be performed

OK works again, I had two wait two hours with Dyndns deactivated.