We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 当引入sleuth组件时,使用feign调用其他服务报错NullPointerException
To Reproduce org.springframework.cloud.openfeign.ribbon.FeignLoadBalancer#execute调用request.client().execute(request.toRequest(), options)时会走org.springframework.cloud.sleuth.instrument.web.client.feign.TracingFeignClient这个实现,TracingFeignClient在构建Feign.Request时没有设置RequestTemplate,EnhancedFeignClient实际执行时构建DefaultServiceInstance serviceInstance = new DefaultServiceInstance(request.requestTemplate().feignTarget().name(), url.getHost(), url.getPort(), url.getScheme().equals("https"));导致空指针
Environment
Additional context
The text was updated successfully, but these errors were encountered:
shedfreewu
No branches or pull requests
Describe the bug
当引入sleuth组件时,使用feign调用其他服务报错NullPointerException
To Reproduce
org.springframework.cloud.openfeign.ribbon.FeignLoadBalancer#execute调用request.client().execute(request.toRequest(), options)时会走org.springframework.cloud.sleuth.instrument.web.client.feign.TracingFeignClient这个实现,TracingFeignClient在构建Feign.Request时没有设置RequestTemplate,EnhancedFeignClient实际执行时构建DefaultServiceInstance serviceInstance = new DefaultServiceInstance(request.requestTemplate().feignTarget().name(), url.getHost(), url.getPort(), url.getScheme().equals("https"));导致空指针
Environment
Additional context
The text was updated successfully, but these errors were encountered: