当前位置:网站首页>【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边栏推荐
- From collection to output: inventory those powerful knowledge management tools - inventory of excellent note taking software (4)
- The difference between class and getClass ()
- visibilitychange – 指定标签页可见时,刷新页面数据
- executescalar mysql_ ExecuteScalar()
- Income and risk of linear programming example investment
- How to create a new page for SAP Spartacus storefront
- 【GAMES101】作业4 Bézier 曲线
- MATLAB中nexttile函数使用
- Idea2021.1 installation tutorial
- [target tracking] |siamfc
猜你喜欢

Rk1126 platform project summary

Microservice architecture practice: Construction of highly available distributed file system fastdfs architecture

Income and risk of linear programming example investment

freemarker+poi实现动态生成excel文件及解析excel文件

Example nonlinear integer programming

Easyswoole3.2 restart failed

What is the experience of maintaining Wanxing open source vector database

维护万星开源向量数据库是什么体验
![[comment le réseau se connecte] chapitre 6: demande d'accès au serveur et réponse au client (terminé)](/img/ef/1ac272dbd0e5c4d08a8f01f61d334d.png)
[comment le réseau se connecte] chapitre 6: demande d'accès au serveur et réponse au client (terminé)

Eye of depth (II) -- matrix and its basic operations
随机推荐
Séparateur JS3 de niuke
Easyswoole3.2 restart failed
【历史上的今天】7 月 2 日:BitTorrent 问世;商业系统 Linspire 被收购;索尼部署 PlayStation Now
[web technology] 1233 seconds understand web component
嵌入式开发板 ~ 说明
executescalar mysql_ExecuteScalar()
easyAI笔记——机器学习
每日一题——“水仙花数”
将您的基于 Accelerator 的 SAP Commerce Cloud Storefront 迁移到 Spartacus
Briefly introduce the use of base64encoder
VirtualLab基础实验教程-7.偏振(1)
如何给 SAP Spartacus Storefront 创建新的页面
ceph 原理
Rk1126 platform project summary
每日一题——小乐乐改数字
Dstat use [easy to understand]
VirtualLab基础实验教程-7.偏振(2)
Microservice architecture practice: using Jenkins to realize automatic construction
Alibaba Tianchi SQL learning notes - Day3
【網絡是怎樣連接的】第六章 請求到達服務器以及響應給客戶端(完結)