当前位置:网站首页>【Zuul】com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
【Zuul】com.netflix.zuul.exception.ZuulException: Hystrix Readed time out
2022-07-02 15:50:00 【后端研发Marion】
通过API网关路由来访问用户服务,zuul默认路由规则 :http://zuul的Host地址:zuul端口/要调用的服务名/服务方法地址
浏览器中打开http://127.0.0.1:8000/wallet/system/hello/1
报错:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Tue Aug 07 17:49:01 CST 2018
There was an unexpected error (type=Gateway Timeout, status=504).
com.netflix.zuul.exception.ZuulException: Hystrix Readed time out

这个错误是应为zuul的默认超时时间比较小,我们配置下zuul的超时时间,因zuul启用了ribbon的负载均衡,还需要设置ribbon的超时时间,注意ribbon的超时时间要小于zuul超时时间 。
zuul:
host:
connect-timeout-millis: 15000 #HTTP连接超时要比Hystrix的大
socket-timeout-millis: 60000 #socket超时
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000边栏推荐
- Five reasons to choose SAP Spartacus as the implementation framework of SAP commerce cloud storefront
- Vscode knowledge points - Common Errors
- [how is the network connected] Chapter 4 explores access networks and network operators
- The difference between class and getClass ()
- uva1169
- Migrate your accelerator based SAP commerce cloud storefront to Spartacus
- VirtualLab基础实验教程-7.偏振(2)
- [非线性控制理论]8_三种鲁棒控制器的比较
- Eye of depth (II) -- matrix and its basic operations
- Navigateur Chrome pour un accès rapide au stackoverflow
猜你喜欢
![[nonlinear control theory]8_ Comparison of three robust controllers](/img/a8/03ed363659a0a067c2f1934457c106.png)
[nonlinear control theory]8_ Comparison of three robust controllers

【网络是怎么连接的】第四章 探索接入网和网络运营商

Si446 usage record (I): basic data acquisition

第十五章 字符串本地化和消息字典(一)

Daily question - xiaolele changes the number
![[非线性控制理论]8_三种鲁棒控制器的比较](/img/a8/03ed363659a0a067c2f1934457c106.png)
[非线性控制理论]8_三种鲁棒控制器的比较

VirtualLab基础实验教程-7.偏振(2)

chrome浏览器快速访问stackoverflow

easyswoole3.2重启不成功

例题 非线性整数规划
随机推荐
[nonlinear control theory]8_ Comparison of three robust controllers
si446使用记录(一):基本资料获取
Platform management background and merchant menu resource management: merchant role management design
链表求和[dummy+尾插法+函数处理链表引用常见坑位]
Idea2021.1 installation tutorial
Example nonlinear integer programming
微信小程序 —— 上下浮动的箭头
【目标跟踪】|数据集汇总
例题 非线性整数规划
每日一题——倒置字符串
[how is the network connected] Chapter 4 explores access networks and network operators
云通信接口更新迭代——SUBMAIL API V4正式上线
求简单微分方程
[how is the network connected] Chapter 6 requests arrive at the server and respond to the client (end)
最长无重复子数组
Introduction to Hisilicon hi3798mv100 set top box chip [easy to understand]
Daily question - inverted string
After meeting a full stack developer from Tencent, I saw what it means to be proficient in MySQL tuning
Eye of depth (II) -- matrix and its basic operations
Simple linear programming problem