Page 1 of 1

ddns-gargoyle: ewget segfaults fetching duckdns update url

Posted: Wed Oct 15, 2014 10:09 am
by braveheartleo
ewget segfaults while trying to fetch the update url of a duckdns service for ddns-gargoyle. Another service, opendns, is not affected. Here are the relevant outputs:

Code: Select all

# /usr/bin/ddns_gargoyle -P /etc/ddns_providers.conf -C /etc/ddns_gargoyle.conf -v
local ip = <snip:IP>
update needed or force requested, performing actual update
fetching: "https://www.duckdns.org/update?domains=<snip:DOMAIN>&token=<snip:TOKEN>&ip=<snip:IP>"
Segmentation fault

# ewget "https://www.duckdns.org/update?domains=<snip:DOMAIN>&token=<snip:TOKEN>&ip=<snip:IP>"
Segmentation fault
I'm not sure when this started to manifest. Is there any way to get verbose output from ewget to troubleshoot this further? Here are the relevant version infos for reference:

Code: Select all

# opkg list-installed |egrep 'ddns-gargoyle|ewget'
ddns-gargoyle - 1.6.2-1
ewget - 1.6.2-1

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Posted: Thu Oct 16, 2014 4:20 pm
by Hondo88
I have a problem with duckdns not updating as well.
Force Update, tries to connect, but never finishes.

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Posted: Thu Oct 16, 2014 9:51 pm
by braveheartleo
Hey thanks for chiming in.

So it would seem that duckdns made changes to its web pages that became incompatible with ewget, thereby causing a segfault and the update never finishes.

This is a confirmed bug. I hope one of the devs would give advice on how to proceed from here.

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Posted: Thu Dec 04, 2014 7:07 am
by braveheartleo
In case any other is affected by this bug, as a workaround, changing the /etc/ddns_providers.conf for duckdns as follows:

Code: Select all

service duckdns.org
        url_template                    http://www.duckdns.org/update?domains=[[DOMAIN]]&token=[[TOKEN]]&ip=[[IP]]
        required_variables              domain token
        required_variable_names         DyDNS.DoNm,DyDNS.Tokn
        success_regexp                  /OK/
prevents the segfault and enables the use of duckdns dynamic dns service once more. The caveat is of course the switch to http from https, where the segfault in ewget occurs.

Re: ddns-gargoyle: ewget segfaults fetching duckdns update u

Posted: Thu Jan 08, 2015 11:40 am
by braveheartleo
This issue is SOLVED in Gargoyle 1.7.0. Thanks. :D