-
Notifications
You must be signed in to change notification settings - Fork 41.1k
spring boot2.1.11 upgrade to spring boot2.2.2 stucked when server setups #19432
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
Comments
I don't see the link between the devtools configuration, the thread waiting on a redis connection, and the server being stuck a startup. Could you provide a sample application that replicates this issue? |
below is debug info,the main thread get stuck here. |
Thanks for the feedback but this is a little confusing for us as you've mentioned it explicitly in your original description. We've one more piece of information that you think this is a regression as everything is working fine for you with Spring Boot 2.1.x. I am afraid the logs and a screenshot doesn't qualify to the sample application @bclozel asked. A zip or a link to a github repo with a small app that we can run ourselves is what we're after. Thank you. |
thanks you all the help . i original think this is about devtools, so, i explicitly disabled devtools. but the main thread always get stuck. |
@sparkcai alright. We'll resume this one once you've shared the sample we've requested. |
Thanks for the sample but it looks like from your last comment the issue is Spring Cloud specific. I have removed the Spring Cloud bits from your sample and things are working as expected for me. It looks like adding zipkin leads to the issue so please report this issue with the sample to the zipkin project. Unrelated but a number of observations on this sample:
|
ok, Thanks very much for your advice. |
set
spring.devtools.restart.enabled=false
,thread info below
The text was updated successfully, but these errors were encountered: