oauth2_proxy icon indicating copy to clipboard operation
oauth2_proxy copied to clipboard

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

Open parabolic opened this issue 10 years ago • 3 comments

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!

parabolic avatar Jul 01 '15 16:07 parabolic

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 avatar Jul 01 '15 16:07 jehiah

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.

parabolic avatar Jul 02 '15 07:07 parabolic

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

rathan2 avatar Nov 06 '18 15:11 rathan2