-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
.NetCore3.1引入apollo后http请求永远返回http400的状态码 #163
Comments
服务端部署的版本是1.8.1,查看了apollo-configservice的日志 并未发现异常 |
你注释掉apollo应该也是这个错误吧 |
注释掉是正常的
…---原始邮件---
发件人: ***@***.***>
发送时间: 2021年5月10日(周一) 上午9:22
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [ctripcorp/apollo.net] .NetCore3.1引入apollo后http请求永远返回http400的状态码 (#163)
你注释掉apollo应该也是这个错误吧
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@QQ897878763 你这个应该是在startup里注入了某个配置导致的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个问题真的太奇怪了,我使用nuget包或引入源码到项目都出现下面这个问题
在Startup类能够获取到apollo设置的配置项,长连接也一直是存在的。
就是出现这个400的状态码,在Program类中移除 builder.AddApollo就正常了。这是我的Program代码
下图是http的抓包数据
希望作者帮忙看下,确实自己实在是能力有限,没法解决问题,甚至原因都没找出来。
The text was updated successfully, but these errors were encountered: