-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
Eureka won't connect when run jhipster-registery in docker with cloud config server #538
Comments
Last time I used it, I registered my local url as |
Thanks @Tcharl for your response. I have tried this but no luck. |
You should also modify the service url in your compose file right? |
yes @Tcharl . I did that. like below Error-
Eureka instance shows DOWN on jhipster registry dashboard. I have tried with following property but in this case microservices wont get registered and Eureka server also wont start I think. |
Here's what I had on my side for local environment (I'll retest with another example in the latest version as soon as I can). Back In the old days, it worked pretty well :-).
And the application.yml (it was made when jhipster was in version 7.0.1, some properties may have changed)
|
Thanks @Tcharl for you prompt response. At local Dev profile with "central-config" works fine. Could you check jhipster-registry.yml and config-server application.yml above and let me know if I am missing anything. Thanks. |
Hi All,
I am new to jhipster and docker. Just creating a jhipster-registry instance on linux server using docker. I am getting below exception
jhipster-registry_1 | 2022-05-18 09:20:35.839 INFO 1 --- [ main] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://admin:admin@localhost:8761/eureka/}, exception=java.net.ConnectException: Connection refused (Connection refused) stacktrace=com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused (Connection refused)
jhipster-registry_1 | at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)
jhipster-registry_1 | at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)
jhipster-registry_1 | at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)
jhipster-registry_1 | at com.sun.jersey.api.client.Client.handle(Client.java:652)
It also shows Jhipster-registry instand as DOWN on dashboard
I have downloaded the jhipster registry image and created created a container using docker-compose command. I am using GIT repo for config server.
Command : docker-compose -f jhipster-registry.yml up
jhipster-registry.yml
Config-server : application.yml at GIT repo
It won't throw error when I set value to false for below property . But it won't register any microservices.
register-with-eureka: false
fetch-registry: false
Kindly help and let me know what is wrong with above configuration.
The text was updated successfully, but these errors were encountered: