zuul报如下错误:com.netflix.zuul.exception.ZuulException: Forwarding error

com.netflix.zuul.exception.ZuulException: Forwarding error

 

  1. yml增加如下配置:
  2. com.netflix.zuul.exception.ZuulException: Forwarding error

 

此时还要再确定pom.xml的spring-boot-starter-parent版本不能为2.0.0.M3.我之前版本是这个的时候,一直报错(com.netflix.zuul.exception.ZuulException: Forwarding error)。

后来改成2.0.2.RELEASE才行。

网上很多说的是增加ribbon的配置的,如下:

ribbon:
  ReadTimeout: 60000
  ConnectTimeout: 60000

相关文章:

  • 2022-12-23
  • 2021-06-08
  • 2021-08-31
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2021-05-22
  • 2021-08-16
相关资源
相似解决方案