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
[APM] Transaction names ending in a "/" shows no transactions details #32640
Comments
Pinging @elastic/apm-ui |
Neat! Seems to be working now. Thanks @sqren. |
Great, I'll close for now. Feel free to open if this pops up again. |
Hi just for clarity - the proxies were regressed rather than fixed :-) The real fix however is coming and will probably be rolled out early next week and is in cloud staging now if anyone wants to try it there. I'll update again back here when production is updated. |
FYI - proxy is now in all production ECE regions |
@sqren When new release 6.6+ roll out which fix this bug ? |
@cuiweiqiang The fix was not made to Kibana but the Elastic Cloud infrastructure, so it has already been rolled out. You don't need to do anything on your end if you are using Elastic Cloud. |
@cuiweiqiang If you are using a reverse proxy in front of Kibana, I'd suggest you temporarily remove it to see if that's causing the problems. |
@sqren Thx, the problem was fixed when I remove reverse proxy. But I can't use kibana without reverse proxy because of some reason... Emmm, this is in an awkward position :-( |
@cuiweiqiang That's unfortunate. Is it by any chance a proxy written in Go? |
@sqren Sorry,we are using nginx in our production and pre-production,so we can't change reverse proxy.Thanks for your help,I'm thinking about the other way. |
We're experiencing the same issue with a nginx reverse proxy on Kubernetes, and it appears that there isn't really a way to turn off decoding kubernetes/ingress-nginx#1615 In our case we can live with this as the only url it affects is the root |
I dont believe the ingress-nginx decodes the url - only if you use a rewrite rule. If you're using an ingress-nginx in GCP, however, the GCP load balancer does seem to decode the url - causing the issues highlighted here. Preventing nginx from decoding is relatively trivial fix |
@gingerwizard ah ok, it must be our GCP load balancer too then. I checked again and don't believe we're using any rewrite rules haha. For what it's worth, we worked around this on RUM by having the agent append a |
Further analysis actually determined it wasn’t a gcp load balancer but a proxy higher up in our stack. Provided you don’t use rewrite rules the nginx ingress should be fine. This is usually used with a tcp loadblancer which doesn’t rewrite or manipulate the http layer. |
Hey All, I am having the same issue in kibana 7.1.0. Can somebody take a look? Or do I need to reopen the ticket? |
@alogishetty Please elaborate. What is the problem you are having, which views and urls are affected? Do you use a proxy? If so which one, and have you tried removing it? |
Hey Sqren, I am using Kibana out of the box for on-premise software. My transaction names are like below,
When I click on a particular transaction to see the details, the charts and distribution urls fail with 404
I think the correct URLs should be
I hope this information helps |
@alogishetty Thanks! The first urls ( Are you calling kibana directly? Eg. By default kibana listens on 5601, so in that case you should access it via |
Yes @sqren, kibana is running on 5601. For the 1st urls, I get 404 response code and for the 2nd urls I get 200 response code with data. |
@sqren , please look at the transaction detail page URL, it is "api.v1~2Fusers_user_info_api" instead of "api.v1%2Fusers_user_info_api"
|
@sqren, yes, there was a proxy which was causing the issue. It is fixed now. Thank you! |
@alogishetty Good to hear. What did you do to fix it? Did you configure the proxy to not rewrite urls or remove it entirely? And what proxy was it? I'm working on a fix on our end so this shouldn't cause problems for proxies so the more info I can get the better. |
A fix for this issue has been merged to master and will be available in Kibana 7.3: #37072 |
Kibana version:
Elastic Cloud - v6.6.1
Browser version:
Chrome 72.0.3626.119
Safari 12.0.3
Browser OS version:
MacOS 10.14.3
Original install method (e.g. download page, yum, from source, etc.):
Elastic Cloud
Describe the bug:
In the APM Dashboard when selecting a transaction name (route) ending in a
/
(for examplePOST /)
. The resulting detail screen will show "No transactions were found."Steps to reproduce:
/
(see img 1)Expected behavior:
The transaction details should show up like it does with any other transaction not ending in a
/
Screenshots
The text was updated successfully, but these errors were encountered: