I'm trying to configure my spring boot app to log into a zipkin server. The problem is that this server is protected by a proxy (with basic auth) and I cannot find any documentation describing how to configure authorization with spring-sleuth.
I have tried to use that kind of configuration :
spring.zipkin.baseUrl: http://user:password@zipkin-server:9411
But without success, logs indicating :
ZipkinRestTemplateWrapper : Created POST request for "http://user:password@zipkin-server:9411/api/v2/spans"
ZipkinRestTemplateWrapper : Setting request Accept header to [text/plain, application/json, application/*+json, */*]
ZipkinRestTemplateWrapper : Writing [[B@46d92b65] as "application/json" using [org.springframework.http.converter.ByteArrayHttpMessageConverter@53804b23]
ZipkinRestTemplateWrapper : POST request for "http://user:password@zipkin-server:9411/api/v2/spans" resulted in 401 (Unauthorized); invoking error handler
I have tried with curl and it works.
Has someone already succeed to configure authentication with spring-sleuth ?