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

Access to IP address of remote endpoint when request times out. #35

Open
sbason opened this issue Jul 16, 2020 · 0 comments
Open

Access to IP address of remote endpoint when request times out. #35

sbason opened this issue Jul 16, 2020 · 0 comments

Comments

@sbason
Copy link
Contributor

sbason commented Jul 16, 2020

The problem
I want to be able to log the IP address that the request was made to when a request times out

Suggested solution
The IP address of the remote is added to the error object that is thrown when a timeout occurs. I am looking for guidance on where and how it is best do this.

Additional context
We are making requests to a CDN and seeing high levels of timeouts. In order to debug the timeouts the CDN need to the IP addresses hence we are looking to log them

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