开发者社区> 问答> 正文

nginx的一个错误日志 就反复一个错误?报错

2013/07/01 14:21:46 [error] 5412#5340: *1 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: 192.168.1.107, server: localhost, request: "GET /xxx/newmsg HTTP/1.1", upstream: "http://127.0.0.1:18081/xxx/newmsg", host: "192.168.1.108", referrer: "http://192.168.1.108/xxx/"



log反复报这个-。-,但是tomcat访问项目没问题。。可是报错日志一直有增加

展开
收起
爱吃鱼的程序员 2020-06-22 18:37:59 761 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    解决了~请问是怎么解决的呀?谢谢,能否发邮件告知一下呀smithsq_4@hotmail.com

    我也出现了同样错误,并且加载特别慢,请问您是怎么解决的?谢谢


    你好,请问你nginx访问慢并且报upstreamtimedout这个错误的问题解决了吗?从字面上看,就是nginx与后端连接不稳定,或是后端机器反应过慢

    localhost改为127.0.0.1试试

    2020-06-22 18:38:15
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载