Code Monkey home page Code Monkey logo

Comments (8)

eyotang avatar eyotang commented on May 17, 2024 1

@zouyx 后来抓包,定位了下。是我们IP这块使用了域名方式,Nginx上配置了长轮询超时时间为5min后,问题解决了。

from agollo.

zouyx avatar zouyx commented on May 17, 2024

@jieqian 谢谢你的反馈,我会尽快解决,不过我看上去和 #9 有点像,我解决了之后,下载试试。

from agollo.

zouyx avatar zouyx commented on May 17, 2024

@jieqian 你试试最新的版本(v1.0.2或者master)有没有问题,我把这个接口的超时时间调到了10分钟,和java客户端保持一致,之前是1s。

from agollo.

eyotang avatar eyotang commented on May 17, 2024

[2020/02/22 21:09:04.522] [ERROR] [[email protected]/conf/agollo/log.go:54] [Connect Apollo Server Fail,Error: Get http://pro-uconf.xxx..com/services/config?appId=xxxxxxxxxxxxxxxxx&ip=xxx.xxx.xxx.xxx: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)]

from agollo.

eyotang avatar eyotang commented on May 17, 2024

1.0.9还有这个问题

from agollo.

zouyx avatar zouyx commented on May 17, 2024

@eyotang 十分感谢你的使用,是 curl 错误中的 url 是返回什么?我看了下错误提示,是因为没连接上你指定的域,或者连接的时候超时,请看下面的截图。

image

from agollo.

zouyx avatar zouyx commented on May 17, 2024

@eyotang 十分感谢你的反馈与分享。我觉得这个解决思路十分有用,值得记录。有什么问题随时和我联系。

from agollo.

XieWeiXie avatar XieWeiXie commented on May 17, 2024

朋友,这个问题,最终怎么解决?我这边 go 服务中使用了 apollo 配置中心。notification/v2 接口 504。上面看了一圈,貌似都在说这个长轮训的超时时间,所以这个时间,是 apollo 服务的某个启动配置之类的吗?不知道怎么解决,线上也看不到 apollo 对应的日志。

from agollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.