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

Failure in Thread Dump and Heap Dump Download (SBA 2.2.x) #1341

Closed
DhavalShewale opened this issue Jan 6, 2020 · 10 comments
Closed

Failure in Thread Dump and Heap Dump Download (SBA 2.2.x) #1341

DhavalShewale opened this issue Jan 6, 2020 · 10 comments

Comments

@DhavalShewale
Copy link

  1. Download Thread Dump Request fails with status code 406
    Downloading thread dump failed. Request failed with status code 406

  2. Download Heap Dump opens a new tab with below url and then performs no other action
    http://<server_path>/instances/<instance_id>/actuator/heapdump

@joshiste
Copy link
Collaborator

joshiste commented Jan 6, 2020

Which version of SBA and which Browser version are you using?

@DhavalShewale
Copy link
Author

I have tried on both SBA 2.2.0 and 2.2.1
Heap dump works fine with SBA 2.1.6
My bad to not include these details in original bug report.

I have tried it on IE, Chrome and Frontmotion Firefox. Imho browser version should not be an issue as it works for a lower SBA version. Anyways, will share the details later if required.

@DhavalShewale
Copy link
Author

I am using Chrome 79

@kamaydeo
Copy link

kamaydeo commented Jan 7, 2020

I am facing the same issue (406). I'm using SBA 2.2.1 on Chrome Version 79.0.3945.88 (Official Build) (64-bit)

@DhavalShewale DhavalShewale changed the title Failure in Thread Dump and Heap Dump Download Failure in Thread Dump and Heap Dump Download (SBA 2.2.x) Jan 7, 2020
@joshiste
Copy link
Collaborator

duplicate of #1338 which I've fixed some minutes ago.

@DhavalShewale
Copy link
Author

When can we expect this to be released?

@joshiste
Copy link
Collaborator

@DhavalShewale I wanted to upgrade to Spring Boot 2.2.3 before, but having trouble due to a bug in spring 5.2.3

@DhavalShewale
Copy link
Author

DhavalShewale commented Feb 5, 2020

@joshiste Download of Thread Dump still does not work. I have upgraded to SBA 2.2.2.

@joshiste
Copy link
Collaborator

joshiste commented Feb 5, 2020

@DhavalShewale
Is there any error in the network or console tab?

@DhavalShewale
Copy link
Author

DhavalShewale commented Feb 5, 2020

On clicking of download button it tries to hit http://<server>:<port>/<context-root>/actuator/threaddump which return 406. While for the UI display it hits http://<server>:<port>/<context-root>/instances/<instance-id>/actuator/threaddump every second.

Console Output

**ERROR**: GET http://<server>:<port>/<context-root>/actuator/threaddump 406

**WARNING**: Downloading thread dump failed. Error: Request failed with status code 406
    at t.exports (createError.js:16)
    at t.exports (settle.js:17)
    at XMLHttpRequest.d.onreadystatechange (xhr.js:61)

joshiste pushed a commit that referenced this issue Jun 5, 2020
Use the axios object (which sets the baseUrl) instead of the axios module itself.

fixes #1338 #1341
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

3 participants