Comments (8)
@zouyx 后来抓包,定位了下。是我们IP这块使用了域名方式,Nginx上配置了长轮询超时时间为5min后,问题解决了。
from agollo.
@jieqian 谢谢你的反馈,我会尽快解决,不过我看上去和 #9 有点像,我解决了之后,下载试试。
from agollo.
@jieqian 你试试最新的版本(v1.0.2或者master)有没有问题,我把这个接口的超时时间调到了10分钟,和java客户端保持一致,之前是1s。
from agollo.
[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.
1.0.9还有这个问题
from agollo.
@eyotang 十分感谢你的使用,是 curl 错误中的 url 是返回什么?我看了下错误提示,是因为没连接上你指定的域,或者连接的时候超时,请看下面的截图。
from agollo.
@eyotang 十分感谢你的反馈与分享。我觉得这个解决思路十分有用,值得记录。有什么问题随时和我联系。
from agollo.
朋友,这个问题,最终怎么解决?我这边 go 服务中使用了 apollo 配置中心。notification/v2 接口 504。上面看了一圈,貌似都在说这个长轮训的超时时间,所以这个时间,是 apollo 服务的某个启动配置之类的吗?不知道怎么解决,线上也看不到 apollo 对应的日志。
from agollo.
Related Issues (20)
- apollo同步配置或者修改配置时触发onChange会panic HOT 1
- [BUG] 为啥服务的地址写错后,用GetValue 会一直卡在那里也不报错呢 HOT 7
- Update apollo demo server address HOT 1
- 支持动态添加新的namespace吗 HOT 8
- [BUG]负载均衡无法切换节点
- [FEATURE] 在获取配置时interface的value很难用 HOT 2
- [求助]当我使用GetSliceValue()不可用 HOT 3
- [BUG] 关于常见问题 issues 访问不到 HOT 2
- [Question]关于后台实时同步机制 HOT 1
- [FEATURE] 按照官方客户端的设计,没有实现 fallback 机制 HOT 1
- [BUG]当阿波罗命名空间的配置文件为空时 阿波罗去获取数据库的时候会导致进入等待状态卡死进程 HOT 2
- [BUG] start failed cause no config was read HOT 2
- [BUG] HOT 2
- [BUG]无法获取最新配置
- [BUG] 写了重试逻辑,但是不能配置重试次数,定义了最大重试次数,又给置成了 1
- 判断是不是存在问题,我们是想要把这个映射保存在本地缓存中,但是判断的键和存储的键不一样,永远不可能用到缓存中数据 HOT 3
- 创建一个新的 namesapce,但是不在 namespace 下添加任何配置文件,该 Config 的 isInit 会一直是 false HOT 1
- [BUG]Unable to read the contents of namespace properties suffix HOT 3
- [FEATURE]Support YML format reading HOT 1
- [FEATURE] Failfast for explicit error http request instead of retrying
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agollo.