Attribute checking on span to prevent AttributeError: 'DroppedSpan' object has no attribute 'id'#626
Attribute checking on span to prevent AttributeError: 'DroppedSpan' object has no attribute 'id'#626sondrelg wants to merge 1 commit into
Conversation
|
We've identified our issue as being caused by a 504 Gateway Timeout error. Our app is hosted with Openshift, and the haproxy ingress router times out after 30 seconds by default 🤦♂️ To answer your previous question, we did test using v5.2.2 before forking the repo and applying the fix above, and it still logged the error as being caused by a missing Feel free to close the request and thanks for the assistance 👍 |
|
@sondrelg thanks for the update! It's still weird that you'd get and I'll close the PR for now, but will investigate what could cause this a bit further some time in the coming weeks. |
This issue has been tough to debug properly, but briefly explained, I'm running into an error in my project where
spanis missing the attributeid.This seemingly happens during the handling of a
401response, in a series of iterated requests. In about 20 requests, the first 6 run smoothly returning200s, before the 7th throws the error shown below - this pattern holds up when changing the order of requests and suggests to me that this error might be a symptom of another issue.The suggested fix solved my problem. Oddly, once fixed, there are no longer any
401s returned.Stack trace: