OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] DynDNS timeout
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] DynDNS timeout  (Read 11550 times)

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
[SOLVED] DynDNS timeout
« on: March 10, 2015, 09:03:41 am »
Fitch and I already spoke about this on IRC. The Duck DNS entry (the only one I've tested so far) doesn't seem to work because of something. He knows the details.
Anyway, I just logged in on my OPNsense VM and saw this crash report.
Perhaps it will help?

Quote
Crash report begins.  Anonymous machine information:

amd64
10.1-RELEASE-p6
FreeBSD 10.1-RELEASE-p6 #0 5aa5ada(master): Thu Feb 26 16:26:03 CET 2015     root@sensey64:/usr/obj/usr/src/sys/SMP

Crash report details:

PHP Errors:
[09-Mar-2015 15:42:40 Europe/Amsterdam] PHP Fatal error:  Uncaught exception 'Exception' with message 'Timeout (120) executing :filter sync' in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:84
Stack trace:
#0 /usr/local/etc/inc/util.inc(158): OPNsense\Core\Backend->sendEvent('filter sync')
#1 /usr/local/etc/inc/util.inc(1643): send_event('filter sync')
#2 /usr/local/etc/inc/config.lib.inc(534): carp_sync_client()
#3 /usr/local/www/services_dyndns_edit.php(163): write_config()
#4 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php on line 84
[09-Mar-2015 15:44:33 Europe/Amsterdam] PHP Fatal error:  Uncaught exception 'Exception' with message 'Timeout (120) executing :filter sync' in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php:84
Stack trace:
#0 /usr/local/etc/inc/util.inc(158): OPNsense\Core\Backend->sendEvent('filter sync')
#1 /usr/local/etc/inc/util.inc(1643): send_event('filter sync')
#2 /usr/local/etc/inc/config.lib.inc(534): carp_sync_client()
#3 /usr/local/www/services_dyndns_edit.php(163): write_config()
#4 {main}
  thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Backend.php on line 84
« Last Edit: March 14, 2015, 07:40:12 am by franco »
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #1 on: March 11, 2015, 07:36:14 am »
The two are probably unrelated. Maybe I did something wrong while pushing the changes to the GitHub repository. Can test this morning. :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #2 on: March 11, 2015, 07:57:03 am »
I did not get that timeout error and Duck DNS works as expected... Did you enter your hostname correctly?

http://i.imgur.com/UOqmHD1.png
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #3 on: March 11, 2015, 09:36:01 am »
I had first only the host name as the entry, but later the FQDN as per the description below that field.
I Wil do another check.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #4 on: March 11, 2015, 10:49:46 am »
Maybe we can split off ".duckdns.org" in case it was added. But then again, if people put in a typo it may not work again, yadda, yadda....
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #5 on: March 11, 2015, 11:40:53 am »
True, true. But perhaps taking the approach on how Duck DNS want us to do things would be nice.
What I mean is, you look at that site and do things the way they tell you how to set it up.
Though I am not 100% sure they have only one way of doing things.
But they do show a separate token and the hostname, so basically what you have now as far as field name goes (Hostname) that should be enough. No need for the domain as well.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #6 on: March 12, 2015, 06:55:43 am »
It would be nice to redesign the GUI to adapt to the service's terminology, but that is even more work than maintaining the update glue underneath that could use a serious facelift and testing. So this is back to normal now for you?
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #7 on: March 12, 2015, 08:26:49 am »
What do you mean by normal?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #8 on: March 12, 2015, 08:48:17 am »
OPNsense refreshing Duck DNS IP as expected?
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #9 on: March 12, 2015, 10:07:27 am »
I disabled the entry the evening before yesterday because of the crash report it gave.
Will check it again tonight.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #10 on: March 13, 2015, 08:49:43 pm »
Duck DNS works now for me.

Important is to only use the hostname, and not the FQDN.
That will trigger an error:
Quote
opnsense: /services_dyndns_edit.php: phpDynDNS: (Unknown Response)

After I set it to just the hostname it updated fine, but does generate some logging.
Minor fine tuning no doubt:
Quote
Mar 13 20:45:55 opnsense: /services_dyndns_edit.php: phpDynDNS: (Success) IP Address Updated Successfully!
Mar 13 20:45:55 opnsense: /services_dyndns_edit.php: phpDynDNS: updating cache file /conf/dyndns_wanduckdns'machinename'0.cache: xxx.xxx.xxx.xxx
Mar 13 20:45:54 opnsense: /services_dyndns_edit.php: phpDynDNS: (ERROR!) No Password Provided.
The xxx's being my IP address obviously and machinename the hostname.

Seems something is left behind that want the password to be there, but not sure if that would mean a complete rewrite. If that is the case, it's safe to ignore that error message.

Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13602
  • Karma: 1170
    • View Profile
Re: Crash report: DynDNS timeout
« Reply #11 on: March 14, 2015, 07:39:58 am »
Thanks, I fixed both issues: FDQN is now usable as well and the password error is gone.

https://github.com/opnsense/core/commit/01d78e2a685be51d9c4beb03204d95510c5a8d97
Logged

weust

  • Hero Member
  • *****
  • Posts: 644
  • Karma: 57
    • View Profile
Re: [SOLVED] DynDNS timeout
« Reply #12 on: March 14, 2015, 11:03:58 am »
Excellent :)
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] DynDNS timeout
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2