0

How do I connect to Jhipster registry using Eureka endpoints? I followed this blog.

But Jhipster registry doesn't to recognise sidecar and the registration fails with

404 Bad request.

James Z
  • 12,209
  • 10
  • 24
  • 44
  • What are you using for your eureka URL? – Jon Ruddell Jun 25 '17 at 05:32
  • I want to register the sidecar application using eureka: client: serviceUrl: defaultZone: ${eureka-url:http://localhost:8761/eureka/} Firstly, http://localhost:8761/eureka/ is not available in jhipster I tried replacing the defaultZone with jhipster registry url (with password) but no luck – Chandra Mohan Jun 25 '17 at 08:21

1 Answers1

0

All I had to do was to frame the defaultZone using jhipster username and password http://admin:admin@localhost:8761/eureka/ The 404 error is because of jhipster security for any request coming on /eureka/**