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

Failed to refresh live data from process #331

Open
swtnk-sbhm opened this issue Oct 4, 2023 · 10 comments
Open

Failed to refresh live data from process #331

swtnk-sbhm opened this issue Oct 4, 2023 · 10 comments

Comments

@swtnk-sbhm
Copy link

Steps followed:

  1. Click on spring boot dashboard.
  2. In Apps section right click on app listed.
  3. Select Run with Profile and select the profile.

Issue:

  1. Application is accessible in browser/postman but there are loaders in all the sections apps, beans and endpoint mapping keeps on spinning.

    spring-boot-dashboard-error-1
  2. After 10 retries gives a notification: Failed to refresh live data from process <pid> after retries: 10

    spring-boot-dashboard-error-2

*Attached screenshot for reference

@swtnk
Copy link

swtnk commented Oct 4, 2023

+1

@raszagar
Copy link

raszagar commented Apr 4, 2024

+1 (same project in Eclipse run perfectly)

@elsonaraujojr
Copy link

+1

@manusoftar
Copy link

Bump

@srinivas365
Copy link

srinivas365 commented Jun 22, 2024

management.endpoints.web.exposure.include=*
management.endpoints.jmx.exposure.include=*
spring.devtools.livereload.enabled=true
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-devtools</artifactId>
	<scope>runtime</scope>
	<optional>true</optional>
</dependency>

This worked for me

@shivammalviya71234
Copy link

shivammalviya71234 commented Jul 23, 2024

Did anyone find a solution to this?

@testforstephen
Copy link
Contributor

Since this message is from Spring Boot Tools extension, @martinlippert @BoykoAlex any thoughts on this issue?

@BoykoAlex
Copy link
Contributor

BoykoAlex commented Jul 25, 2024

Is this a specific project? Any chance the project can be shared with us? I assume actuators is one of the dependencies, right?

@shivammalviya71234
Copy link

This is a private project. Let me try to scale down the project and share with you. Thanks!

@shivammalviya71234
Copy link

shivammalviya71234 commented Jul 25, 2024

Hi,

I found the issue. JMX is able to refresh live data from process only when all the beans are instantiated. In my project, I had a bean which was taking forever to instantiate due which JMX was exceeding it's maximum retries. JMX failing was a side effect of a deeper issue.

Thanks for the help!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants