Coder Social home page Coder Social logo

Comments (7)

zaanposni avatar zaanposni commented on July 17, 2024 1

I am not sure what would be best practice. Guess we can live without a new issue 😄.
I reviewed your change. Please respond there.

from cloudflare-ddns-client.

zaanposni avatar zaanposni commented on July 17, 2024

Thanks for providing those other services, I will look into it.
5 services seem enough tho, after all of these failing I would generate an error asking the user to check his internet connection.

from cloudflare-ddns-client.

Snuggle avatar Snuggle commented on July 17, 2024

Hey, @zaanposni! This still seems like an issue, was the exception handled correctly?

Apr 07 13:20:45 hug systemd[1]: Starting Automatically updates the CloudFlare DNS record upon IP address change....
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Cannot fetch your external ip. https://api.ipify.org not reachable.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Found external IPv4: "123.123.123.123
Apr 07 13:20:54 hug cloudflare-ddns[21430]: "
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Listing all zones.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Finding all DNS records.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Updating the A record (ID 12345678) of (sub)domain hug.snugg.ie (ID 12345678) to 123.123.123.123
Apr 07 13:20:54 hug cloudflare-ddns[21430]: .
Apr 07 13:20:54 hug cloudflare-ddns[21430]: DNS record failed to update.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: CloudFlare returned the following errors: [{'code': 1004, 'message': 'DNS Validation Error', 'error_chain': [{'code': 9041, 'message': 'This DNS record cannot be proxied - click the cloud icon to turn it gray to proceed'}]}].
Apr 07 13:20:54 hug cloudflare-ddns[21430]: CloudFlare returned the following messages: []
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Listing all zones.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Finding all DNS records.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: Updating the A record (ID 12345678) of (sub)domain beta.snugg.ie (ID 12345678) to 123.123.123.123
Apr 07 13:20:54 hug cloudflare-ddns[21430]: .
Apr 07 13:20:54 hug cloudflare-ddns[21430]: DNS record failed to update.
Apr 07 13:20:54 hug cloudflare-ddns[21430]: CloudFlare returned the following errors: [{'code': 1004, 'message': 'DNS Validation Error', 'error_chain': [{'code': 9041, 'message': 'This DNS record cannot be proxied - click the cloud icon to turn it gray to proceed'}]}].
Apr 07 13:20:54 hug cloudflare-ddns[21430]: CloudFlare returned the following messages: []

from cloudflare-ddns-client.

Snuggle avatar Snuggle commented on July 17, 2024

I am not entirely certain, but I feel like the issue may lie with this line? Only a single dot is outputted?
Apr 07 13:20:54 hug cloudflare-ddns[21430]: .

from cloudflare-ddns-client.

Snuggle avatar Snuggle commented on July 17, 2024

Ah, I believe newlines must be stripped!

Apr 07 13:20:54 hug cloudflare-ddns[21430]: Found external IPv4: "123.123.123.123
Apr 07 13:20:54 hug cloudflare-ddns[21430]: "

from cloudflare-ddns-client.

zaanposni avatar zaanposni commented on July 17, 2024

Ah, I believe newlines must be stripped!

Yeah, I also thought about that. Can you open a new issue, as this is not directly connected to "Occasional timeout with api.ipify.org"

from cloudflare-ddns-client.

Snuggle avatar Snuggle commented on July 17, 2024

Oops! A tiny bit too late, I've proposed and tested a fix in PR #43. Would you still like a new issue opened?

from cloudflare-ddns-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.