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

Scrape fails with connection reset by peer #2495

Closed
iobestar opened this Issue Mar 13, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@iobestar
Copy link

iobestar commented Mar 13, 2017

I have targets migrated from Jetty 9.2 to 9.3 and scraping start failing with exception: connection reset by peer.

If Jetty 9.2 is used on target then scraping doesn't fail.

It seems that Go http client in Prometheus Server doesn't work well with Jetty 9.3 "half-closed" connections.

This is probably related to eclipse/jetty.project#359

Can anyone else confirm this issue?

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 13, 2017

Do you have reason to believe that Prometheus is acting incorrectly here?

@iobestar

This comment has been minimized.

Copy link
Author

iobestar commented Mar 14, 2017

Problem solved on server side. Go HTTP client handle connection closing correctly.

@iobestar iobestar closed this Mar 14, 2017

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.