-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://***/notifications/v2?cluster=default&appId=****** #3388
Comments
这一段是用来处理 namespace 大小写不一致的场景的,具体逻辑可以参考上述的注释。
你是自己写了客户端吗?可以尝试debug一下代码,看描述应该和这段逻辑没关系 |
【自己没有写客户端】我的报错就是一只提示:Long polling failed, will retry in ** seconds. 我看到客户端代码逻辑是:从这个链接去获取,如果返回200或304是正常的,否则就是不行。本地不会有这个报错,但是测试环境一直有这个warn日志提示,不知道是什么原因,然后尝试改了一下这个notificationId,发现就OK了能获取到。 |
#3246 我的报错和这个报错一样的,http://apolloconfig.dev.xisland.cn 这个域名是config-service的域名 |
其他遇到这个问题的同学可以同步一个认知,notification 的 http 请求有个设定是需要hold住60秒的,而并非我之前理解的每60秒去查一次或者走websocket之类的。
nginx ingress的话:
slb对于这种请求似乎是会认为是死链接,经过一个内置的超时后就直接掐了,有人知道如何配置的话请赐教 |
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in 14 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
源码里面这个方法解析我不是很明白,为什么要用小于号
com.ctrip.framework.apollo.configservice.controller.NotificationControllerV2#filterNotifications 203行
根据我传入的notificationId去获取配置列表,为什么要用小于号,导致我传入相等的也获取不到
The text was updated successfully, but these errors were encountered: