Remote Rig

RRC 1258 Support in English => General discussion forum => Topic started by: kpgrimes on 2011-03-04, 22:36:58

Title: DynDNS Status: Error, code 12
Post by: kpgrimes on 2011-03-04, 22:36:58
I'm running 2.34 of the firmware, and consistently get this message with DynDNS enabled.  I've tried resetting the device via the UI, power cycling it, removing the DynDNS config info, rebooting, and re-entering it, all to no effect.

Is there a list of what the different error codes mean?  For example, if I remove my domain name from the config it returns an error code of 2 instead of 12, so there's got to be some information somewhere on what they are.
Title: Re: DynDNS Status: Error, code 12
Post by: dj0qn on 2011-03-04, 22:41:46
My DynDNS also stopped working with 2.33, but my error code is 8.

I have an account with DynDNS and have several names that work
just fine every day. User name and password are good, and I never
made any kind of change, it just stopped working.

73,
Mitch DJ0QN / K7DX
Title: Re: DynDNS Status: Error, code 12
Post by: Jan (Microbit) on 2011-03-05, 06:05:49
The list of codes is currently not available to others than us at Microbit. The codes were primarily meant for helping debug issues like this. But what you can do is click on the word "status" which should turn into a link once there is a DynDNS error. Doing so gives a page which might look this:

HTTP/1.1 200 OK
Date: Sat, 05 Mar 2011 05:00:30 GMT
Server: Apache
Content-Type: text/plain
Connection: close

badauth

Copy and paste it here and then we will be able to tell you why it failes.
Title: Re: DynDNS Status: Error, code 12
Post by: dj0qn on 2011-03-05, 07:35:43
Here is my error code 8, Jan:

HTTP/1.1 200 OK
Content-Type: text/html
Server: DynDNS-CheckIP/1.0
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 106

73,
Mitch
Title: Re: DynDNS Status: Error, code 12
Post by: Jan (Microbit) on 2011-03-07, 10:23:29
I'm running 2.34 of the firmware, and consistently get this message with DynDNS enabled.  I've tried resetting the device via the UI, power cycling it, removing the DynDNS config info, rebooting, and re-entering it, all to no effect.

Is there a list of what the different error codes mean?  For example, if I remove my domain name from the config it returns an error code of 2 instead of 12, so there's got to be some information somewhere on what they are.
Error code 2 means that it failed initializing, in your case due to a missing domain name. The 12 code means it timed out waiting for reply from the DynDNS server. Are you able to use DynDNS from routers or other devices on the same network as the RRC uses?
Title: Re: DynDNS Status: Error, code 12
Post by: Jan (Microbit) on 2011-03-07, 10:30:03
Here is my error code 8, Jan:

HTTP/1.1 200 OK
Content-Type: text/html
Server: DynDNS-CheckIP/1.0
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 106

73,
Mitch
The 8 error code is more unexpected than others would have been as it means that the TCP/IP stack failed sending a request to the DynDNS server. It should not fail like that, unless there is some network error. Is browsing to the RRC working ok?
Title: Re: DynDNS Status: Error, code 12
Post by: dj0qn on 2011-03-07, 10:39:41
Yes, I have no problem browsing the RRC.

Note that I have three other devices on the same LAN that are
updating DynDNS using different host names, but the same account.

73,
Mitch DJ0QN / K7DX
Title: Re: DynDNS Status: Error, code 12
Post by: Jan (Microbit) on 2011-03-07, 11:34:28
Then I feel out of ideas what could be the reason for it to happen. If browsing is ok then TCP as such is working. Strange...
Title: Re: DynDNS Status: Error, code 12
Post by: kpgrimes on 2011-03-07, 14:57:04
If you telnet into the device, it looks like there are two other settings available, one of which points to members.dyndns.org.  I unfortunately don't have the boxes here anymore (boss had to take them to use over the weekend), but I'm wondering if an address had changed somewhere on DynDNS's end.  It looks like there's a setting that lists the server the RRC uses to retrieve its public IP, and a setting that lists the server it tries to connect to to log in to DynDNS.  If either that address has changed, or the way it expects you to log in has changed, that may explain it.

Also, I don't run into any issues using the web UI on the RRC, and I tried the DynDNS client on a windows machine here earlier and it worked normally.
Title: Re: DynDNS Status: Error, code 12
Post by: Jan (Microbit) on 2011-03-07, 15:39:11
Those settings were removed from the web interface since they are supposed to always be the same. The reason they are host names and not IP addresses is that DynDNS might change the IP addresses they "point to". So not getting an answer from "checkip.dyndns.org" or "members.dyndns.org" should not be caused by wrong IP addresses.
Title: Re: DynDNS Status: Error, code 12
Post by: kpgrimes on 2011-03-07, 21:18:31
Do you get a response on those hostnames if you try to ping them from your end?
Title: Re: DynDNS Status: Error, code 12
Post by: Jan (Microbit) on 2011-03-08, 09:12:26
Do you get a response on those hostnames if you try to ping them from your end?
I am not sure those addresses are supposed to reply on ping. They seem to be configured to use http. So http://checkip.dyndns.org/ and http://members.dyndns.org give replies accordingly.