Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help: ... Failure (bad HTTP status: 404: Error 404 : Page not found ) #235

Closed
DevXen opened this issue Aug 22, 2021 · 7 comments
Closed

Comments

@DevXen
Copy link

DevXen commented Aug 22, 2021

TLDR: FreeDNS is not connecting. it says: Failure (bad HTTP status: 404: Error 404 : Page not found ), 1m48s ago

  1. Is this urgent: No

  2. DNS provider(s) you use: FreeDNS/DuckDNS

  3. Program version: Not sure how to check version on unraid (no logs in appdata, only config/updates json files). but I am using the latest docker image from repository: qmcgaw/ddns-updater. also it only appeared a few weeks ago in the community apps so i'd guess it's on the latest.

    Running version latest built on 2020-03-13T01:30:06Z (commit d0f678c)

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

  5. Extra information (optional)

Logs:

2021/08/22 08:26:48 INFO Updating record [domain: homeplex.org | host: [removed] | provider: freedns | ip: ipv4] to use [IP removed]
2021/08/22 08:26:48 ERROR bad HTTP status: 404: Error 404 : Page not found

Configuration file (remove your credentials!):

{
  "settings": {
      "provider": "freedns",
      "domain": "homeplex.org",
      "host": "[Removed]",
      "token": "Token from afraid.org - found in the link to directly update IP",
      "ip_version": "ipv4"
  }
}

it's worth noting that none of my FreeDNS addresses update. but all my DuckDNS ones do.

Host OS: Unraid

@qdm12
Copy link
Owner

qdm12 commented Aug 24, 2021

Can you try https://sync.afraid.org/u/<your-token>/ in your browser (make sure to remove the url from your browser history to not leak your token)? What do you get?

Not sure how to check version on unraid

I was just meaning the docker image version which is logged out as you did, perfect!

@DevXen
Copy link
Author

DevXen commented Aug 26, 2021

Hey I apologize i got pretty busy with work. but i tried the url, and it shows: Error 404 : Page not found
So i checked the direct update link. and the token is the same. but the url for the direct update link on their site is:

https://freedns.afraid.org/dynamic/update.php?>

So maybe they changed their update url? i dunno.

@jhotmann
Copy link
Contributor

jhotmann commented Aug 30, 2021

Just confirming that all my FreeDNS update URLS are https://freedns.afraid.org/dynamic/update.php?token

Edit: @DevXen Just found there is a v2 dynamic dns config screen at https://freedns.afraid.org/dynamic/v2/
Go there and enable Dynamic DNS for the applicable subdomains and then you'll be able to see the sync.afraid.org URLs. I think the documentation should note this since the v2 interface isn't what's shown by default.

@qdm12
Copy link
Owner

qdm12 commented Aug 30, 2021

@DevXen sorry for the delay, I must had missed the notification email.

@jhotmann Nice! But should the program use the php url instead to simplify setup? Or do you see any reason to prefer the v2 dynamic dns url?

@DevXen
Copy link
Author

DevXen commented Sep 1, 2021

@jhotmann That worked. thank you for your help. I agree the documentation should note that.

@qdm12 it's all good and i got it working. thank you for your help as well.

@DevXen DevXen closed this as completed Sep 1, 2021
@qdm12
Copy link
Owner

qdm12 commented Sep 3, 2021

(Sorry to repeat)

@jhotmann Should the program use the php url instead to simplify setup? Or do you see any reason to prefer the v2 dynamic dns url?

@jhotmann
Copy link
Contributor

jhotmann commented Sep 3, 2021

(Sorry to repeat)

@jhotmann Should the program use the php url instead to simplify setup? Or do you see any reason to prefer the v2 dynamic dns url?

I would stick with the current setup. Their V2 API has some advantages over V1 and with the updated documentation it shouldn't be an issue to configure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants