Skip to content

HTTP 400 Failed to read after some days #39

@MaxGitHubAccount

Description

@MaxGitHubAccount

Hi all,

first of all thank you for this tool. It's very useful to automatically update the server's ip for my ionos domains.

Since I use it however I have the problem, that various dns entries cannot be set after a short period of time. I have a cronjob which runs every minute as specified in the tutorial at ionos on my lxc debian container on a debian server.

I created a bunch of DNS-Entries in the settings file 10+ and after some days some of them start to fail and are not set anymore.
When I manually run the update I see that for those I get the following response:

Cannot get async token: Failed to read from https://api.domainconnect.1and1.com/ v2/oauth/access_token?client_id=domainconnect.org&client_secret=inconceivable&gr ant_type=refresh_token&redirect_uri=https%3A%2F%2Fdynamicdns.domainconnect.org%2 Fddnscode&refresh_token=MTKzDUuyxWta0-wT04EqZHbzoH2WMP_y7E2JQg7Wedw. HTTP code: 400
Could not update DNS records.

I can see that the last time I updated the settings file it was 3 days ago, when all updates ran through, so I guess that it's not the expiring issue as here: #24

Debian Buster 4.19.0-9-amd64
Python 3.7.3
Tutorial: https://www.ionos.de/hilfe/domains/ip-adresse-konfigurieren/domain-mittels-dynamischen-dns-mit-einem-netzwerk-mit-wechselnder-ip-verbinden-linux/

Metadata

Metadata

Assignees

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