Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

EOF and server response 500 when working with jenkins build monitor pluign #122

Open
parabolic opened this issue Jul 1, 2015 · 3 comments

Comments

@parabolic
Copy link

Hi,
first of all let me thank you for the awesome piece of software that we use everywhere in our company!.

We've been having problems when using jenkins with the following plugin:

https://wiki.jenkins-ci.org/display/JENKINS/Build+Monitor+Plugin

which actually fetches job statuses and displays them and from time to time we would get 500 response from the web server and then it stops working silently.
pic_from_ff
We've checked everything and after enabling logging with

-request-logging=true

I saw the following in the log

2015/07/01 15:44:55 reverseproxy.go:141: http: proxy error: EOF
some.ip.add.ress - [email protected] [01/Jul/2015:15:44:55 +0000] some.host.name POST 127.0.0.1:8080 "/$stapler/bound/a8679061-c79c-4afa-a8ae-e259247b2532/fetchJobViews" HTTP/1.0 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0" 500 0 0.000

Can you please investigate this.

Thanks!

@jehiah
Copy link
Member

jehiah commented Jul 1, 2015

Hi @parabolic Glad to hear it's working well for you.

The EOF error implies it's getting that response from your upstream (jenkins). Do you have any logging on that side that might indicate a request that's dropped or timed out or .. ? Any chance this correlates to a jenkins service restart or anything like that?

@jehiah jehiah added the question label Jul 1, 2015
@parabolic
Copy link
Author

Hi @jehiah thanks for the response, as far as I can see I am unable to find a 500 or an error anywhere in the logs (both jenkins and nginx )and jenkins is not restating that often once in a month maybe less. We've tried disabling the auth with specifying a regex "LIVE" which is part of the url but that doesn't load the page completely since it omits the java scripts from the plugin.

@rathan2
Copy link

rathan2 commented Nov 6, 2018

Jenkins job should read the log file if we would get 500 response in console output from log file and then job should fail.
How to solve it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants