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

Stress test encountered an error: Connection Closed #33

Open
brokencode64 opened this issue Mar 15, 2021 · 2 comments
Open

Stress test encountered an error: Connection Closed #33

brokencode64 opened this issue Mar 15, 2021 · 2 comments

Comments

@brokencode64
Copy link

Hello!

I am trying to run thanosbench stress-test against thanos-query in kubernetes. Thanos services are otherwise working perfectly. I have tried:

  1. Running it against thanobench locally with the thanos-query service forwarded to localhost via kube port-forward
  2. Running a thanosbench pod in the same namespace and pointing it to the service ip or name.

In either case I have run into the same error:

level=info ts=2021-03-15T10:51:24.079523257Z caller=stress.go:118 msg="stress test encountered an error" err="rpc error: code = Unavailable desc = connection closed"
level=error ts=2021-03-15T10:51:24.079695729Z caller=main.go:114 msg="running command failed" err="rpc error: code = Unavailable desc = connection closed"
@GiedriusS
Copy link
Member

It sounds like the TCP connection gets closed. Does it work if you telnet (or netcat) the same IP/port?

@brokencode64
Copy link
Author

It sounds like the TCP connection gets closed. Does it work if you telnet (or netcat) the same IP/port?

Just tried, and yes I can actually connect to the service successfully with both netcat and telnet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants