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

Include hostname that failed when propagating CURLE_COULDNT_CONNECT #1731

Closed
jlebon opened this issue Sep 21, 2018 · 0 comments
Closed

Include hostname that failed when propagating CURLE_COULDNT_CONNECT #1731

jlebon opened this issue Sep 21, 2018 · 0 comments

Comments

@jlebon
Copy link
Member

jlebon commented Sep 21, 2018

The error is not super helpful otherwise:

$ journalctl -b --no-hostname -p err --no-pager
Sep 21 15:53:46 rpm-ostree[1953]: Txn AutomaticUpdateTrigger on /org/projectatomic/rpmostree1/fedora_workstation failed: [7] Couldn't connect to server
Sep 21 15:54:14 rpm-ostree[1953]: Txn AutomaticUpdateTrigger on /org/projectatomic/rpmostree1/fedora_workstation failed: [7] Couldn't connect to server

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1631790

jlebon added a commit to jlebon/ostree that referenced this issue Sep 21, 2018
Just include the whole URL that failed if libcurl failed with something
elementary like CURLE_COULDNT_CONNECT or CURLE_COULDNT_RESOLVE_HOST.

Closes: ostreedev#1731
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant