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

Upgrade jhipster-registry to v6.5.0 #13332

Merged

Conversation

pascalgrimaud
Copy link
Member


Please make sure the below checklist is followed for Pull Requests.

When you are still working on the PR, consider converting it to Draft (bellow reviewers) and adding skip-ci label, you can still see CI build result at your branch.

@mraible
Copy link
Contributor

mraible commented Dec 19, 2020

I've generated a couple of microservice architectures this morning to test the main branch. It seems I always have to start JHipster Registry twice to get it to stay up. Any idea why this is happening?

@pascalgrimaud
Copy link
Member Author

@mraible : is it with JWT or OAuth2 ? I suppose OAuth2 : is it with Keycloak or Okta ?

@mraible
Copy link
Contributor

mraible commented Dec 19, 2020

It's with OAuth 2.0 and Keycloak.

@pascalgrimaud
Copy link
Member Author

it happens to me if I start registry at the same time than Keycloak, few weeks ago:

  • start keycloak
  • wait at least 20sec
  • start registry

Tell me if it works for you ?

@mraible
Copy link
Contributor

mraible commented Dec 19, 2020

That makes sense. Yes, if I start Keycloak and wait before starting the JHipster Registry, it works. Thanks, @pascalgrimaud!

@pascalgrimaud
Copy link
Member Author

@mraible : in fact, in an older version of JHipster, it would be possible, as the Registry waited Keycloak to be up, instead of failing immediatly. So something has changed with Spring Boot imo... or it can be a missing configuration

@mraible
Copy link
Contributor

mraible commented Dec 19, 2020

In my experience, startup has always failed with Spring Boot + OAuth when the identity provider is not available. It might keep retrying when using WebFlux. I'm not sure.

@pascalgrimaud pascalgrimaud force-pushed the upgrade-jhipster-registry-v6.5.0 branch from 98e8191 to ca357d0 Compare December 19, 2020 19:24
@pascalgrimaud pascalgrimaud merged commit 95ddb21 into jhipster:main Dec 19, 2020
@pascalgrimaud pascalgrimaud added this to the 7.0.0-beta.0 milestone Dec 19, 2020
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

Successfully merging this pull request may close these issues.

2 participants