-
Notifications
You must be signed in to change notification settings - Fork 504
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
When trace id is invalid, Jaeger UI send this request forever #128
Comments
why do we need to repeat the request at all, if we already got a response (even if the response is empty)? |
@yurishkuro Updated. |
I think stopping the repeat is the solution for the original issue. The uppercase issue a bit strange, I suspect it only exists in the UI, because on the server side I just tried a unit test that parses the URL like |
@yurishkuro Agreed, stopping the repeat is the solution for the original issue. The uppercase is a different manifestation of the same problem but is recoverable, unlike the original issue. The server returns trace IDs in lowercase regardless of the casing of the ID in the HTTP request. Not repeating the request will stop the loop, but the user is still not able to view the trace. Moving to a URL with lowercase trace ID will allow the request to be issued once and succeed. |
what I'm saying is that I don't think the upper-case URL even gets to the server. If it did, the server would've returned the trace. You can verify in our internal installation, just use the View Trace JSON button and change the trace ID in the URL to upper case. |
@yurishkuro Per our discussion earlier, the uppercase URL gets to the server and it does return the data. But, the traceID in the returned data is lowercase. So, the UI re-issues the request because the two traceIDs don't match. Shifting URLs with uppercase traceIDs to lowercase and then issuing the HTTP request should resolve the issue. |
Related to jaegertracing/jaeger#556.
The UI loops endlessly if the HTTP request to get a trace succeeds but does not have the expected trace. This can happen in the scenario described in the ticket and also when the URL has uppercase letters in the trace ID because the HTTP response always uses lowercase.
Limit the number of times the same request is issuedThe text was updated successfully, but these errors were encountered: