zipkin: Unable to register to an authenticated eureka server
Describe the Bug
Unable to register to an authenticated eureka server.
Steps to Reproduce
$ curl -sSL https://zipkin.io/quickstart.sh | bash -s $ EUREKA_SERVICE_URL=http://username:password@localhost:8761/eureka/ java -jar zipkin.jar
Logs:
2024-01-18T10:53:53.319+05:30 WARN [/] 17620 --- [ main] c.l.a.s.RejectedRouteHandler : Virtual host '*' has a duplicate route: /health 2024-01-18T10:53:53.420+05:30 INFO [/] 17620 --- [oss-http-*:9411] c.l.a.s.Server : Serving HTTP at /[0:0:0:0:0:0:0:0]:9411 - http://127.0.0.1:9411/ 2024-01-18T10:53:53.741+05:30 WARN [/] 17620 --- [-worker-nio-2-2] c.l.a.s.e.EurekaUpdatingListener : Failed to register in-5cg1312171 to Eureka: http://username:password@localhost:8761/eureka/. (status: 401 Unauthorized, content: )
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 19 (17 by maintainers)
Commits related to this issue
- eureka: supports credentials in EUREKA_SERVICE_URL This adds support for credentials embedded in `EUREKA_SERVICE_URL` user info, as is typically done in spring cloud. Fixes #3697 Signed-off-by: Adr... — committed to openzipkin/zipkin by deleted user 3 years ago
- eureka: supports credentials in EUREKA_SERVICE_URL (#3700) This adds support for credentials embedded in `EUREKA_SERVICE_URL` user info, as is typically done in spring cloud. Fixes #3697 Signe... — committed to openzipkin/zipkin by codefromthecrypt 3 years ago
@codefromthecrypt and @SankM1 The patch version will be released next Monday. I apologize for the delay. We have a security issue that needs to be addressed in this patch version, and we’ve decided to release it on Monday to ensure that Armeria users are not inconvenienced by a weekend release.
done! https://github.com/openzipkin/zipkin/releases/tag/3.1.0
@SankM1 ETA within a week. thanks for the patience
Not sure what you were using to lookup Zipkin, but if spring-cloud-sleuth, you need to use at least 3.0.6 and https://github.com/openzipkin/brave-example/tree/master/webmvc5-sleuth shows this works.