springcloud ribbon实现负载均衡的时候,提示Request URI does not contain a valid hostname: http://PRODUCT_SERVICE/
2018-02-02 09:49
3199 查看
问题描述:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Request URI does not contain a valid hostname: http://PRODUCT_SERVICE/hello
解决方案:
使用ribbon实现负载均衡的时候,服务名称不能用下划线,换成中划线。
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalStateException: Request URI does not contain a valid hostname: http://PRODUCT_SERVICE/hello
解决方案:
使用ribbon实现负载均衡的时候,服务名称不能用下划线,换成中划线。
相关文章推荐
- Spring Cloud 入门教程(五): Ribbon实现客户端的负载均衡
- 详解spring cloud中使用Ribbon实现客户端的软负载均衡
- Spring Cloud Ribbon实现客户端负载均衡的示例
- 客户端实现负载均衡:springCloud Ribbon的使用
- Spring Cloud Ribbon实现客户端负载均衡的方法
- Spring Cloud+Eureka+Ribbon实现客户端负载均衡
- 【SpringCloud】Netflix源码解析之Ribbon:负载均衡策略的定义和实现
- Does not contain a valid host:port authority: xx-_xx:9000
- SpringCloud与Consul集成实现负载均衡功能
- SpringCloud | Feign如何整合Ribbon进行负载均衡的?
- No mapping found for HTTP request with URI [/prjName/contro] in DispatcherServlet with name 'spring'
- Hadoop Exception: Does not contain a valid host
- Spring Cloud 客户端负载均衡之Ribbon(三)
- delphi7调用java写的webservice,在调用的时候弹出“wssecurityhandler:request does not contain required security header”
- eclipse配置weblogic时,提示does not contain a valid WebLogic Server install
- spring cloud中Ribbon自定义负载均衡策略
- IllegalArgumentException: Does not contain a valid host:port authority: master:8031
- 客户端负载均衡Ribbon之一:Spring Cloud Netflix负载均衡组件Ribbon介绍
- $_SERVER详解($_SERVER[PHP_SELF],$_SERVER[SCRIPT_NAME],$_SERVER['REQUEST_URI']与HTTP_HOST和SERVER_NAM的区别)
- Does not contain a valid host;port authority解决方法