Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322234

Summary: Getting 502 from hudson
Product: Community Reporter: Dennis Huebner <dennis.huebner>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: d_a_carver, Kenn.Hussey, nicolas.bros, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=323873
Whiteboard:
Attachments:
Description Flags
eclipse error log none

Description Dennis Huebner CLA 2010-08-10 10:01:17 EDT
Sometimes Hudson responce with Error 502.
Can't reproduce it, but saw that also our buckminster build can't get last successfull build artefacts sources from https://build.eclipse.org due to 502 Error.

Best regards,
Dennis.

Bad Gateway!
...

The proxy server could not handle the request GET /hudson/me/my-views/view/Xtext/.

Reason: Error reading from remote server

...

Error 502

build.eclipse.org
Tue Aug 10 09:37:27 2010
Apache
Comment 1 Dennis Huebner CLA 2010-08-16 03:41:28 EDT
Here is also an error stack from Buckminster, maybe it helps:

ERROR   [0002] : An error occurred while collecting items to be installed
  ERROR   [0002] : session context was:(profile=<https://build.eclipse.org/hudson/job/MWE-Language-nightly-HEAD/ws/buildroot/target.platform,> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  ERROR   [0002] : HTTP Server 'Bad Gateway' : https://build.eclipse.org/hudson/job/Xtext-nightly-HEAD/lastStableBuild/artifact/xtext.p2.repository/features/org.eclipse.xtext.runtime_1.0.0.qualifier.jar
    ERROR   HttpClient connection error response code 502.
ERROR: An error occurred while collecting items to be installed
  ERROR: session context was:(profile=<https://build.eclipse.org/hudson/job/MWE-Language-nightly-HEAD/ws/buildroot/target.platform,> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  ERROR: HTTP Server 'Bad Gateway' : https://build.eclipse.org/hudson/job/Xtext-nightly-HEAD/lastStableBuild/artifact/xtext.p2.repository/features/org.eclipse.xtext.runtime_1.0.0.qualifier.jar
org.eclipse.ecf.filetransfer.IncomingFileTransferException: HttpClient connection error response code 502.
        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:750)
        at
Comment 2 Dennis Huebner CLA 2010-08-17 14:21:29 EDT
Created attachment 176824 [details]
eclipse error log

eclipse error log during plugin update using hudson last successful URL
Comment 3 Eclipse Webmaster CLA 2010-08-30 16:48:16 EDT
I've taken a look at this but haven't seen anything yet.

-M.
Comment 4 Denis Roy CLA 2010-09-10 09:38:50 EDT
*** Bug 324933 has been marked as a duplicate of this bug. ***
Comment 5 Denis Roy CLA 2010-09-22 10:01:26 EDT
Build.eclipse.org no longer has a Hudson instance, so this bug is not deprecated.
Comment 6 Kenn Hussey CLA 2010-09-22 10:30:03 EDT
(In reply to comment #5)
> Build.eclipse.org no longer has a Hudson instance, so this bug is not
> deprecated.

Uh, will you be installing a Hudson instance there again soon?
Comment 7 David Carver CLA 2010-09-22 10:40:34 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > Build.eclipse.org no longer has a Hudson instance, so this bug is not
> > deprecated.
> 
> Uh, will you be installing a Hudson instance there again soon?

All jobs need to move to: hudson.eclipse.org/hudson.

http://wiki.eclipse.org/Hudson#Migrating_to_the_.27new.27_Eclipse.org_Hudson_service
Comment 8 Kenn Hussey CLA 2010-09-22 10:45:15 EDT
(In reply to comment #7)
> All jobs need to move to: hudson.eclipse.org/hudson.
> 
> http://wiki.eclipse.org/Hudson#Migrating_to_the_.27new.27_Eclipse.org_Hudson_service

OK, but then we need the plugins required by our build(s) to be installed in that Hudson server...
Comment 9 David Carver CLA 2010-09-22 11:01:55 EDT
(In reply to comment #8)
> (In reply to comment #7)
> > All jobs need to move to: hudson.eclipse.org/hudson.
> > 
> > http://wiki.eclipse.org/Hudson#Migrating_to_the_.27new.27_Eclipse.org_Hudson_service
> 
> OK, but then we need the plugins required by our build(s) to be installed in
> that Hudson server...

Kenn you have two choices, the hudson.eclipse.org/hudson instance. or the Hudson Sandbox which allows for any plugin to be installed.   If you need a plugin installed into the stable hudson, you'll need to open a bug report and request it.
Comment 10 Kenn Hussey CLA 2010-09-22 14:27:12 EDT
(In reply to comment #9)
> Kenn you have two choices, the hudson.eclipse.org/hudson instance. or the
> Hudson Sandbox which allows for any plugin to be installed.   If you need a
> plugin installed into the stable hudson, you'll need to open a bug report and
> request it.

I see. Where can I find a list of plugins that are currently installed? Is it at http://wiki.eclipse.org/Hudson/Admin/Installed_Plugins, or does that apply to the sandbox only?
Comment 11 David Carver CLA 2010-09-22 15:23:33 EDT
There was a bug that had the list, not sure what the number is though now.

The page you linked to to was for the old build.eclipse.org server.

Best thing I can say is request the job, if you notice something missing ask for it.
Comment 12 Dennis Huebner CLA 2010-09-22 15:44:24 EDT
Same wthing with hudson.eclipse.org:

ERROR   [0002] : An error occurred while collecting items to be installed
  ERROR   [0002] : session context was:(profile=/opt/users/hudsonbuild/.hudson/jobs/Xtext-nightly-HEAD/workspace/buildroot/target.platform, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  ERROR   [0002] : Multiple problems occurred while downloading.
    ERROR   [0002] : HTTP Server 'Bad Gateway' : https://hudson.eclipse.org/hudson/job/Xpand-nightly-HEAD/lastSuccessfulBuild/artifact/xpand.p2.repository/plugins/org.eclipse.xtend.typesystem.emf.ui_1.0.1.v201009221541.jar.pack.gz
      ERROR   HttpClient connection error response code 502.
    ERROR   [0002] : HTTP Server 'Bad Gateway' : https://hudson.eclipse.org/hudson/job/Xpand-nightly-HEAD/lastSuccessfulBuild/artifact/xpand.p2.repository/plugins/org.eclipse.xtend.typesystem.emf.ui_1.0.1.v201009221541.jar
      ERROR   HttpClient connection error response code 502.
ERROR: An error occurred while collecting items to be installed
  ERROR: session context was:(profile=/opt/users/hudsonbuild/.hudson/jobs/Xtext-nightly-HEAD/workspace/buildroot/target.platform, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  ERROR: Multiple problems occurred while downloading.
    ERROR: HTTP Server 'Bad Gateway' : https://hudson.eclipse.org/hudson/job/Xpand-nightly-HEAD/lastSuccessfulBuild/artifact/xpand.p2.repository/plugins/org.eclipse.xtend.typesystem.emf.ui_1.0.1.v201009221541.jar.pack.gz
org.eclipse.ecf.filetransfer.IncomingFileTransferException: HttpClient connection error response code 502.
	at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.
Comment 13 Denis Roy CLA 2010-09-22 15:48:35 EDT
This has to be an intermittent problem with Hudson itself.  Pinpointing this will be a task.

I got a 502 Bad Gateway at the same time you did by simply accessing the home page, and a simple F5 cured it.  I tried your URLs below and they worked.
Comment 14 Denis Roy CLA 2011-03-10 14:46:03 EST
I haven't seen a 502 in a very long time.
Comment 15 Dennis Huebner CLA 2011-03-11 04:17:55 EST
... me too
Comment 16 Nicolas Bros CLA 2012-05-30 08:56:17 EDT
I am now getting a Bad Gateway error that prevents me from accessing Hudson:

Bad Gateway!
The proxy server received an invalid response from an upstream server.
If you think this is a server error, please contact the webmaster.
Error 502
hudson.eclipse.org
Wed May 30 08:46:13 2012
Apache/2.2.12 (Linux/SUSE)
Comment 17 Eclipse Webmaster CLA 2012-05-30 09:24:56 EDT
I took a quick peek in the Apache logs and found lots of these:

[Wed May 30 08:46:21 2012] [error] proxy: pass request body failed to [::1] (localhost) from ##.##.##.## ()

So I had to force restart the Hudson process and it's responding again now.

-M.