Help: Dnspod 401 Authorization Required #386

Closed
opened 2025-11-20 04:23:26 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @Shen-Chris on GitHub (Apr 17, 2024).

TLDR: Dnspod 401 Authorization Required

Failure (HTTP status is not valid: 401:
401 Authorization Required
nginx
), 46s ago

  1. Is this urgent: Yes

  2. DNS provider(s) you use: DNSPod

  3. Program version:

    Running version latest built on 2024-04-01T13:55:55.861Z (commit ae2bcd5)

  4. What are you using to run the container: docker-compose

  5. Extra information (optional)

Logs:

2024-04-17T06:22:52Z INFO reading JSON config from file /updater/data/config.json
2024-04-17T06:22:52Z INFO Found single setting to update record
2024-04-17T06:22:53Z INFO Reading history from database: domain xxxx.cn host chat ipv4 or ipv6
2024-04-17T06:22:53Z INFO [backup] disabled
2024-04-17T06:22:53Z INFO [healthcheck server] listening on 127.0.0.1:9999
2024-04-17T06:22:53Z INFO [http server] listening on :8000
2024-04-17T06:22:54Z INFO IP address of chat.xxxx.cn is [xxxx] and your IP address is [xxxx]
2024-04-17T06:22:54Z INFO Updating record [domain: xxxx.cn | host: chat | provider: dnspod | ip: ipv4 or ipv6] to use [xxxx]
2024-04-17T06:22:54Z ERROR HTTP status is not valid: 401: <html><head><title>401 Authorization Required</title></head><body><center><h1>401 Authorization Required</h1></center><hr><center>nginx</center></body></html>

Configuration file (remove your credentials!):

{
    "settings": [
        {
          "provider": "dnspod",
          "domain": "xxxx.cn",
          "host": "chat",
          "token": "xxxx",
          "ip_version": "ipv4 or ipv6",
          "ipv6_suffix": ""
        }
    ]
}

Host OS:

Linux version 4.18.0-348.7.1.el8_5.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)) #1 SMP Wed Dec 22 13:25:12 UTC 2021
Originally created by @Shen-Chris on GitHub (Apr 17, 2024). <!-- HAVE A CHAT FIRST! https://github.com/qdm12/ddns-updater/discussions --> **TLDR**: *Dnspod 401 Authorization Required* Failure (HTTP status is not valid: 401: 401 Authorization Required nginx ), 46s ago 1. Is this urgent: Yes 2. DNS provider(s) you use: [DNSPod](https://www.dnspod.cn/) 3. Program version: <!-- See the line at the top of your logs --> `Running version latest built on 2024-04-01T13:55:55.861Z (commit ae2bcd5)` 4. What are you using to run the container: docker-compose 5. Extra information (optional) Logs: ```log 2024-04-17T06:22:52Z INFO reading JSON config from file /updater/data/config.json 2024-04-17T06:22:52Z INFO Found single setting to update record 2024-04-17T06:22:53Z INFO Reading history from database: domain xxxx.cn host chat ipv4 or ipv6 2024-04-17T06:22:53Z INFO [backup] disabled 2024-04-17T06:22:53Z INFO [healthcheck server] listening on 127.0.0.1:9999 2024-04-17T06:22:53Z INFO [http server] listening on :8000 2024-04-17T06:22:54Z INFO IP address of chat.xxxx.cn is [xxxx] and your IP address is [xxxx] 2024-04-17T06:22:54Z INFO Updating record [domain: xxxx.cn | host: chat | provider: dnspod | ip: ipv4 or ipv6] to use [xxxx] 2024-04-17T06:22:54Z ERROR HTTP status is not valid: 401: <html><head><title>401 Authorization Required</title></head><body><center><h1>401 Authorization Required</h1></center><hr><center>nginx</center></body></html> ``` Configuration file (**remove your credentials!**): ```json { "settings": [ { "provider": "dnspod", "domain": "xxxx.cn", "host": "chat", "token": "xxxx", "ip_version": "ipv4 or ipv6", "ipv6_suffix": "" } ] } ``` Host OS: ``` Linux version 4.18.0-348.7.1.el8_5.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-4) (GCC)) #1 SMP Wed Dec 22 13:25:12 UTC 2021 ```
Author
Owner

@Shen-Chris commented on GitHub (Apr 17, 2024):

dnspod config token is "id,token"

okkkk..............................

@Shen-Chris commented on GitHub (Apr 17, 2024): dnspod config token is "id,token" okkkk..............................
Author
Owner

@qdm12 commented on GitHub (Apr 17, 2024):

Hi @Shen-Chris did you see this documented on the dns pod website? Because it's not documented in the docs/dnspod.md file, I would like to add this detail, any information you would like to share? Thanks!

@qdm12 commented on GitHub (Apr 17, 2024): Hi @Shen-Chris did you see this documented on the dns pod website? Because it's not documented in the docs/dnspod.md file, I would like to add this detail, any information you would like to share? Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#386