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

Jhipster registry unable to fetch configuration from Cloud foundry nodes #333

Open
jdevhari opened this issue Mar 7, 2019 · 0 comments
Open

Comments

@jdevhari
Copy link

jdevhari commented Mar 7, 2019

Overview of the issue

When Jhipster application is deployed into Cloud foundry on multiple instances, jhipster is unable to fetch the configuration or health details from specific nodes.

I have configured the instance id as

eureka:
    instance:
        hostname: ${vcap.application.uris[0]}
        instanceId: ${vcap.application.application_id}:${vcap.application.instance_index}

However as per cloud foundry documentation here, unless I set the instanceId value defined above in the X-CF-APP-INSTANCE header, the traffic will not be routed to the correct instance.

  • [X ] Checking this box is mandatory (this is just to show you read everything)
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

1 participant