Skip to content
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

transport module SimpleHttpClient 400 but no any logs #1551

Closed
qq664042 opened this issue Jun 16, 2020 · 1 comment
Closed

transport module SimpleHttpClient 400 but no any logs #1551

qq664042 opened this issue Jun 16, 2020 · 1 comment
Labels
kind/question Category issues related to questions or problems

Comments

@qq664042
Copy link

sentinel及sentinel控制台版本:1.6.3
假设项目demo接入sentinel控制台,如果demo所在服务器并不能连接到sentinel控制台,demo并没有任何错误日志(cat /home/ordinaryUser/logs/csp/sentinel-record.log.2020-06-16.0, 项目日志中也没有), 给排查问题带来很大难度。

最后通过arthas监听发现是网络连接不通400(watch com.alibaba.csp.sentinel.transport.heartbeat.client.SimpleHttpClient request returnObj), 后面改成外网ip才可以正常访问到sentinel控制台(之前是填的内网ip,暂不知道为什么)

image

@sczyh30 sczyh30 added the kind/question Category issues related to questions or problems label Jun 16, 2020
@sczyh30 sczyh30 changed the title 连接sentinel控制台bug transport module SimpleHttpClient 400 but no any logs Jun 16, 2020
@sczyh30
Copy link
Member

sczyh30 commented Jun 16, 2020

This has been improved in #1303. You may upgrade to the latest version.

@sczyh30 sczyh30 closed this as completed Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

2 participants