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

Getting the IP address for failed requests due to timeout #2329

Open
rjbma opened this issue Feb 1, 2024 · 0 comments
Open

Getting the IP address for failed requests due to timeout #2329

rjbma opened this issue Feb 1, 2024 · 0 comments

Comments

@rjbma
Copy link

rjbma commented Feb 1, 2024

What would you like to discuss?

Is it possible to get the remote IP address when a timeout occurs?

#827 implemented the possibility to get the IP address like so:

  response.ip (for successful calls)
  err.response.ip (for failed calls)

However, for timeouts there's no err.response, therefore we can't get the IP from there.
Is there any way to get it? By the way, this is of course for the case that DNS lookup was successful, it's just the the remote server took too long to respond.
...

Checklist

  • [X ] I have read the documentation.
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

1 participant