-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
Hudson ver. 1.377
Sun GlassFish Enterprise Server v2.1.1 ((v2.1 Patch06)(9.1_02 Patch12)) (build b31g-fcs)
SunOS 5.10 Generic_120012-14 i86pc i386 i86pc Solaris
The Plugin update installer should follow 302 redirects, not download them.
Attempting to update a plugin via the "Update Center" on the web console appears to succeed, but actually always downloads a "302 redirect" file. Subsequent Hudson re-start then results in plugin failure. (And Hudson offers to discard the configuration)
eg. attempting to update "LavaLampNotifier", the LavaLampNotifier.hpi downloaded is as attached.
Note this happens when we try to update any plugin - it is not restricted just to lavaLampNotifier. Can fetch the plugins fine using "wget" :-
$ wget http://updates.hudson-labs.org/download/plugins/LavaLampNotifier/1.2/LavaLampNotifier.hpi
-11:01:20- http://updates.hudson-labs.org/download/plugins/LavaLampNotifier/1.2/LavaLampNotifier.hpi
=> `LavaLampNotifier.hpi.2'
Resolving updates.hudson-labs.org... 173.203.118.45
Connecting to updates.hudson-labs.org|173.203.118.45|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.hudson-labs.org/plugins/LavaLampNotifier/1.2/LavaLampNotifier.hpi [following]
-11:01:24- http://download.hudson-labs.org/plugins/LavaLampNotifier/1.2/LavaLampNotifier.hpi
=> `LavaLampNotifier.hpi.2'
Resolving download.hudson-labs.org... 192.18.49.134
Connecting to download.hudson-labs.org|192.18.49.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25,455 (25K) [text/plain]
100%[============================================================================================================>] 25,455 2.17K/s ETA 00:00
11:02:04 (983.61 B/s) - `LavaLampNotifier.hpi.2' saved [25455/25455]
- is related to
-
JENKINS-38340 Jenkins cannot handle redirects from http to https URLs in update sites
- In Review