nlewo / comin

GitOps For NixOS Machines
MIT License
484 stars 16 forks source link

Pull from remote error: context deadline exceeded #24

Closed fedeizzo closed 7 months ago

fedeizzo commented 7 months ago

Hello, thanks for your work 👋

I am encountering an error while pulling my repository (first setup).

Error

...
INFO[0000] Pull from remote '<name>' failed: Get <url>: context deadline exceeded
DEBU[0000] Fetch done with repository.Repository{SelectedCommitId: ""...
DEBU[0000] The repository status is the same than the previous one
...

I think the context is this one.

Comin version

v0.1.1

nlewo commented 7 months ago

Hello!

Yes, this timeout is too short! Sorry about this.

This PR should fix your issue: https://github.com/nlewo/comin/pull/25

Ideally, let me know if this default value is enough for you (5 minutes to Git fetch).

fedeizzo commented 7 months ago

It's working, thank you 🥇