OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7  (Read 8261 times)

eschmacher

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« on: November 19, 2021, 05:08:52 pm »
I recently upgraded from 21.1 to 21.7.5. I have one domain set up with namecheap, and recently received a pop up on the lobby page about an error.

The error was:
Code: [Select]
[19-Nov-2021 11:02:30 America/New_York] PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Document labelled UTF-16 but has UTF-8 content in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[19-Nov-2021 11:02:30 America/New_York] PHP Warning:  simplexml_load_string():  in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[19-Nov-2021 11:02:30 America/New_York] PHP Warning:  simplexml_load_string():                                      ^ in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502

I submitted this error report and then tried forcing dyndns update manually to watch the log. Everything looked fine except for the final line:

/services_dyndns_edit.php: Dynamic DNS: (Unknown Response)

Is this something that got broken during the upgrade from 21.1? Should I consider wiping my dyndns settings and putting it in fresh?
« Last Edit: November 20, 2021, 08:21:43 pm by eschmacher »
Logged

eschmacher

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: DynDNS receives "unknown response" after upgrade to 21.7
« Reply #1 on: November 20, 2021, 08:11:55 pm »
So, I started with a fresh install, imported my config, and got the same error.

Then I removed my dyndns config entirely, and added my namecheap account again. Issue immediately returns after save and force update. Maybe namecheap changed something in their response?
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2054
  • Karma: 94
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #2 on: November 20, 2021, 08:25:29 pm »
Does the update work anyway? There are other dyndns services out there... ;-)
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

eschmacher

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #3 on: November 20, 2021, 08:31:39 pm »
It does update the IP in namecheap, but the "cached IP" in opnsense shows N/A.
Also, there are other dyndns clients plugins for opnsense? I'd rather keep it on my gateway.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2054
  • Karma: 94
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #4 on: November 20, 2021, 08:35:03 pm »
no, I mean there are other dyndns service providers out there, look drop down menu under "Service type" in Services -> Dynamic DNS

Or try "Service type" -> Custom and enter the credentials you have...
« Last Edit: November 20, 2021, 08:37:08 pm by chemlud »
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

ezhik

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #5 on: November 20, 2021, 10:19:04 pm »
Can confirm, exact same issue here!
Logged

eschmacher

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #6 on: November 20, 2021, 10:27:02 pm »
Quote from: ezhik on November 20, 2021, 10:19:04 pm
Can confirm, exact same issue here!

Thanks for chiming in! Seems like an issue with namecheap or the dyndns package then.
Logged

Kevo

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
  • back on routeros for now
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #7 on: November 22, 2021, 04:45:54 pm »
Following, found the same thing.
Logged

iBROX

  • Newbie
  • *
  • Posts: 44
  • Karma: 2
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #8 on: November 22, 2021, 11:03:07 pm »
Same issue here and it generates a dump file every time has well, have submitted to the team.

Hopefully a fix soon
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #9 on: November 23, 2021, 07:30:52 am »
There should be a log line in the system log starting with "Dynamic DNS (namecheap): PAYLOAD". What does it say?

This seems like namecheap changed the response since the code hasn't changed or something with PHP 7.3 -> 7.4 migration. Not sure.


Cheers,
Franco
Logged

iBROX

  • Newbie
  • *
  • Posts: 44
  • Karma: 2
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #10 on: November 23, 2021, 11:27:06 pm »
This is what my one says :

2021-11-19T01:11:00   opnsense[13440]   /usr/local/etc/rc.dyndns: Dynamic DNS (domain.com): PAYLOAD: <?xml version="1.0" encoding="utf-16"?>
Logged

iBROX

  • Newbie
  • *
  • Posts: 44
  • Karma: 2
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #11 on: November 25, 2021, 09:09:52 am »
I also get this just about every day when I log into the web Gui :

PHP Errors:

[25-Nov-2021 00:38:35  PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Document labelled UTF-16 but has UTF-8 content in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:35  PHP Warning:  simplexml_load_string():  in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:35 PHP Warning:  simplexml_load_string():                                      ^ in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:42  PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Document labelled UTF-16 but has UTF-8 content in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:42  PHP Warning:  simplexml_load_string():  in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:42  PHP Warning:  simplexml_load_string():                                      ^ in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:42  PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Document labelled UTF-16 but has UTF-8 content in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:42  PHP Warning:  simplexml_load_string():  in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 00:38:42  PHP Warning:  simplexml_load_string():                                      ^ in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 01:11:00 PHP Warning:  simplexml_load_string(): Entity: line 1: parser error : Document labelled UTF-16 but has UTF-8 content in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 01:11:00  PHP Warning:  simplexml_load_string():  in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
[25-Nov-2021 01:11:00 PHP Warning:  simplexml_load_string():                                      ^ in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 1502
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13695
  • Karma: 1177
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #12 on: November 25, 2021, 01:13:34 pm »
I would expect these errors to repeat if the issue is indeed not solved ;)

Please try the patch at https://github.com/opnsense/plugins/issues/2666#issuecomment-979154701

It's really just a POC to see if the remote end broken this.


Cheers,
Franco
Logged

chr

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #13 on: November 25, 2021, 05:30:34 pm »
Nice! The patch works for me.
Logged

eschmacher

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
« Reply #14 on: November 25, 2021, 07:22:44 pm »
This means the issue is on namecheap's end, as I understand it.

I already brought this up to a namecheap rep and they said they're investigating.
https://www.reddit.com/r/NameCheap/comments/qz1mjf/namecheap_dynamic_dns_returning_utf16_encoded/hljqzja
Logged

  • Print
Pages: [1] 2 3
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.7 Legacy Series »
  • Namecheap with DynDNS receives "unknown response" after upgrade to 21.7
 

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