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

Stops working when the internet connection breaks. #3

Open
Suleman-Elahi opened this issue Sep 6, 2019 · 4 comments
Open

Stops working when the internet connection breaks. #3

Suleman-Elahi opened this issue Sep 6, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Suleman-Elahi
Copy link

When internet connection breaks, it stops working. Ideally, it should wait for the internet connection to be restored and then check again and then push changes into the Cloudflare account(If IP is changed).

image

@siennathesane
Copy link
Owner

Ah, yeah, I have it as log.Fatalf since I wrote it with container workloads in mind, so the container runtime would just restart after a failure. I would recommend running it as a daemon in Docker/etc. or as a Kubernetes workload, if possible, then it'll auto-restart.

Would either of those work for you?

@siennathesane siennathesane added enhancement New feature or request good first issue Good for newcomers labels Sep 6, 2019
@siennathesane siennathesane self-assigned this Sep 6, 2019
@Suleman-Elahi
Copy link
Author

I don't have Docker on Windows. But yeah, that will be a good option. I was just giving it a try, so I just build it and used the EXE file directly.

@siennathesane
Copy link
Owner

I will think on the right way to go about this. :)

@siennathesane
Copy link
Owner

siennathesane commented Jan 28, 2020

@Suleman-Elahi can you take a look and see if the the latest commits fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants