-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Periodically receiving 502 error dialogs #52
Comments
Hi @s7726 and thanks for your feedback. I'm on holidays right now, but will look into this in a couple of weeks when I'm back. In the meantime would you mind posting the details of the error you mentioned? They should be displayed as part of the dialog. In case they're not there (this might happen when Jenkins server returns 502 with no response body) maybe you could check you Jenkins log for any anomalies, stack traces, etc. and post them here? Thanks! |
Hi @s7726, I'm closing this ticket for now as I'm not able to reproduce the issue or investigate it further without some more details. |
Also receiving 502 errors when the page tries to refresh. Nothing shows up in the Jenkins log, but the following pops up in the browser's developer console: POST http://hostname/jenkins/ajaxBuildQueue 502 (Proxy Error) prototype.js:1585 POST http://hostname/jenkins/ajaxExecutors 502 (Proxy Error) prototype.js:1585 POST http://hostname/jenkins/$stapler/bound/028db951-be0e-40b5-a598-5c86a2c9a46b/fetchJobViews 502 (Proxy Error) angular-1.1.5.min.js:106 |
Hi @awlunsfo and thanks for reporting this issue. Could you please tell me a bit more about your network configuration? Is your Jenkins behind a proxy? This stack trace does look like a genuine proxy error - neither Build Monitor nor Jenkins client can connect to the Jenkins server... |
Yes, Jenkins is behind a proxy. The box hosting Jenkins is behind a On Sat, Apr 19, 2014 at 3:37 PM, Jan Molak notifications@github.com wrote:
|
This seems to be a problem with one of the components between the browser and your Jenkins server rather than the Build Monitor plugin itself. All the three errors you're seeing indicate a 502 Bad Gateway error:
First two requests came from Jenkins itself, the third one from the Build Monitor. 502 Bad gateway usually means that your proxy (nginx, apache, etc) couldn't connect to the upstream socket. I'd suggest checking error logs on any components that exist between the browser and the Jenkins server. Hope this helps! |
Thanks for the help! I'll dig around some more and see what I can figure On Tue, Apr 22, 2014 at 9:55 AM, Jan Molak notifications@github.com wrote:
|
No worries, good luck! |
After looking around for suggestions to fixing Jenkins proxy issues, I came SetEnv force-proxy-request-1.0 1 ...and it worked! Problem solved. More info about that flag can be found http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#envsettings On Tue, Apr 22, 2014 at 10:05 AM, Jan Molak notifications@git.luolix.topwrote:
|
Excellent! Thanks for posting the solution :-) |
We have the BMV up on a projector and periodically we it give an error 502 dialog that we have to click through. There seems to be no other issues, and clicking through it always results in normal operation until it comes back. We're on a small internal network that we don't notice any network interruptions on.
BMV: 1.3+build.72
Jenkins: 1.554
The text was updated successfully, but these errors were encountered: