Skip to content

Problem with parsing response from easydns #354

@lemppari

Description

@lemppari

I got easydns update working by getting the latest development version which includes the fix #344. However ddclient returns error from the easydns response even if the update goes ok. I've included the response from the api call from debug output. I xxx:ed the domain and IP-address, but kept the length of the strings same. The reason for that is I had two domain in the update job and the other domain name was two characters longer and the response code with that was 92 instead of 90. Could that number in front of html-response tied somehow to the length of the domain name?

RECEIVE: HTTP/1.1 200 OK
RECEIVE: Date: Wed, 18 Aug 2021 16:48:12 GMT
RECEIVE: Server: Apache
RECEIVE: Expires: Thu, 19 Nov 1981 08:52:00 GMT
RECEIVE: Cache-Control: no-store, no-cache, must-revalidate
RECEIVE: Pragma: no-cache
RECEIVE: Set-Cookie: easydns_language=en_US; expires=Thu, 18-Aug-2022 16:48:12 GMT; Max-Age=31536000; path=/
RECEIVE: Set-Cookie: EasyDNS_SID=XXX; expires=Wed, 18-Aug-2021 18:48:12 GMT; Max-Age=7200; path=/; domain=api.cp.easydns.com; secure; HttpOnly
RECEIVE: X-Frame-Options: sameorigin
RECEIVE: Vary: Accept-Encoding
RECEIVE: Connection: close
RECEIVE: Transfer-Encoding: chunked
RECEIVE: Content-Type: text/html; charset=UTF-8
RECEIVE:
RECEIVE: 90
RECEIVE: <HTML><BODY><FONT FACE="sans-serif" SIZE="-1">OK<br />
RECEIVE: <hr noshade size="1">
RECEIVE: xxxxxxxxx.xxx updated to xx.xxx.xxx.xxx<br />
RECEIVE: </FONT></BODY></HTML>
RECEIVE: 0
RECEIVE:
FAILED: updating xxxxxxxxx.xxx: unexpected status (90)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingproviderAdds, fixes or removes a provider.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions