Closed cynicaljoy closed 2 years ago
Hi, XRay SDK periodically sends http requests to Xray for refreshing sampling rules and updating sampling related statistic, now the timeout out setting is 2 sec. So, when you got this exception it is not related to xray java agent but like a network problem.
Usually if just randomly getting this exception it is fine because the request will be retried in next 10 seconds, will finally refresh sampling config. This exception does not block the xray sdk functionality.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in next 7 days. Thank you for your contributions.
I'm going to create an AWS Support case too but just sharing with the agent team as there might be something here 🤷
I'm betting this is something with the underlying X-Ray SDK/Service but calling it out in hopes that somebody can point me in a direction as to how to resolve the issue. We added the X-Ray Java Agent a few weeks ago and it's been running great. But the last 2 days we've seen the following error 11 times in our production account: