Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.
This repository was archived by the owner on Jul 4, 2024. It is now read-only.

dns update command reports "Remote API service is unreachable" #285

@Ronmi

Description

@Ronmi

Failed to run gandi dns update, which shows An error occured during call: Remote API service is unreachable when calling domain record api

Here's part of the log

[DEBUG] calling url: GET https://dns.api.gandi.net/api/v5/domains/gg-in.in
[DEBUG] with params: {'headers': {'X-Api-Key': '**********'}}
[DUMP] responded: {'zone_uuid': '5fb3e900-472b-11e9-ae02-00163e4e76d5', 'zone_records_href': 'https://dns.api.gandi.net/api/v5/zones/5fb3e900-472b-11e9-ae02-00163e4e76d5/records', 'fqdn': 'gg-in.in', 'zone_href': 'https://dns.api.gandi.net/api/v5/zones/5fb3e900-472b-11e9-ae02-00163e4e76d5', 'domain_href': 'https://dns.api.gandi.net/api/v5/domains/gg-in.in', 'domain_keys_href': 'https://dns.api.gandi.net/api/v5/domains/gg-in.in/keys', 'domain_records_href': 'https://dns.api.gandi.net/api/v5/domains/gg-in.in/records'}
[DEBUG] calling url: PUT https://dns.api.gandi.net/api/v5/domains/gg-in.in/records
[DEBUG] with params: {'data': b'@ 10800 IN SOA ns1.gandi.net. hostmaster.gandi.net. 1556293726 10800 3600 604800 10800\n*.home 3600 IN CNAME home.gg-in.in.\n@ 3600 IN A 45.79.84.159\n@ 3600 IN TXT "v=spf1" "ip4:45.79.84.159" "~all"\n_imap._tcp.gg-in.in 3600 IN SRV 0 0 993 mail.gg-in.in.\n_imaps._tcp.gg-in.in 3600 IN SRV 0 0 993 mail.gg-in.in.\n_submission._tcp.gg-in.in 3600 IN SRV 0 0 587 mail.gg-in.in.\nhome 3600 IN A 114.35.100.230\nimap 3600 IN CNAME mail.gg-in.in.\nmail 3600 IN A 45.79.84.159\nsmtp 3600 IN CNAME mail.gg-in.in.\ntest 60 IN CNAME home.gg-in.in.', 'headers': {'X-Api-Key': '******', 'Content-Type': 'text/plain'}}
An error occured during call: Remote API service is unreachable
  • I use latest cli client installed in brand new virtualenv with python 3.5.3
  • gandi -vvvv dns update --file test.dns gg-in.in
  • Checked http://status.gandi.net/ and it says all services are up and running

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions