honwen / aliyun-ddns-cli

ALiDDNS - Dynamic DNS CLI for [aliyun.com]
MIT License
414 stars 111 forks source link

Aliyun API Error: RequestId: Status Code: -1 Code: #4

Closed hukecolin closed 7 years ago

hukecolin commented 7 years ago

DSM 6.1-15047 Use the updated version 2017/08/15 14:22:27 Aliyun API Error: RequestId: Status Code: -1 Code: AliyunGoClientFailure Message: json: cannot unmarshal string into Go struct field RecordType.TTL of type int32

honwen commented 7 years ago

Have U update the docker?

hukecolin commented 7 years ago

The Docker version is 1.11.2-0329, and is the latest version in the synology suite.

honwen commented 7 years ago

Update the Docker of chenhw2/aliyun-ddns-cli

docker pull chenhw2/aliyun-ddns-cli

i6941 commented 7 years ago

same issue,Status: Image is up to date for chenhw2/aliyun-ddns-cli:latest

honwen commented 7 years ago

How often does this error come up? In My DSM, it only comes up 5 times in the last 24 hour, which i think it doesn't master.

hukecolin commented 7 years ago

If IP and domain resolution are correct, the domain name and IP are displayed in the log. An error occurs whenever the domain name and IP parse do not correspond to each other. And the error is to parse the error once.

honwen commented 7 years ago

I meet the same issue now. I will try to fix this.

Problem comes from https://github.com/denverdino/aliyungo/issues/148

honwen commented 7 years ago

try https://github.com/chenhw2/aliyun-ddns-cli/commit/0eaac3b1512aa482b7dfdf4860db412fd76b184b and the latest docker

hukecolin commented 7 years ago

Download the latest version of chenhw2/aliyun-ddns-cli, parsing normal. Prepare for long runs to see stability. Thank you

i6941 commented 7 years ago

It seems ok now,thank you