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

Inspect the HostResolutionError to know which domain fails #129

Open
jlecour opened this issue Oct 12, 2012 · 1 comment
Open

Inspect the HostResolutionError to know which domain fails #129

jlecour opened this issue Oct 12, 2012 · 1 comment

Comments

@jlecour
Copy link

jlecour commented Oct 12, 2012

Hi,

I'm using curb through Savon (a SOAP client).

Sometimes, I get some Curl::Err::HostResolutionError errors. It's expected, sometimes resolvers fail, domains are not well configured, …

But I'd like to know which exact domain is causing this error. I've tried to rescue the exception and inspect the object, but I can't get anything useful.

Is there a way to know what was the request ?

Thanks.

@taf2
Copy link
Owner

taf2 commented Oct 25, 2012

Good question, you might look in curb/ext/curb_errors.c I don't know for
sure but that might be a good place to start...

On Fri, Oct 12, 2012 at 4:20 AM, Jérémy Lecour notifications@github.comwrote:

Hi,

I'm using curb through Savon (a SOAP client).

Sometimes, I get some Curl::Err::HostResolutionError errors. It's
expected, sometimes resolvers fail, domains are not well configured, …

But I'd like to know which exact domain is causing this error. I've tried
to rescue the exception and inspect the object, but I can't get anything
useful.

Is there a way to know what was the request ?

Thanks.


Reply to this email directly or view it on GitHubhttps://github.com//issues/129.

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

2 participants