-
Bug
-
Resolution: Fixed
-
Major
-
None
Note: As I don't have any idea which component this is, as the "Winstone Servlet Engine" isn't in the list and there doesn't seem to be an "Incoming" component, please re-assign as required.
I'm using jenkins with the debian packages. I've configured Jenkins to listen on IPv6, and an IPv4 reverse proxy. Everything works as expected, however, Jenkins complains that the reverse proxy isn't configured correctly. After investigating and using the hint from https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+says+my+reverse+proxy+setup+is+broken, I've encountered the following output.
It seems that the Winstone Servlet doesn't support IPv6, because 2a01:4f8:161:286:aaaa::103:8080 isn't correct. It should be [2a01:4f8:161:286:aaaa::103]:8080
wget --no-check-certificate --debug -O /dev/null http://ci.partkeepr.org//administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test Setting --output-document (outputdocument) to /dev/null DEBUG output created by Wget 1.13.4 on linux-gnu. URI encoding = `UTF-8' --2012-07-17 05:38:46-- http://ci.partkeepr.org//administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test Resolving ci.partkeepr.org (ci.partkeepr.org)... 78.46.93.106 Caching ci.partkeepr.org => 78.46.93.106 Connecting to ci.partkeepr.org (ci.partkeepr.org)|78.46.93.106|:80... connected. Created socket 4. Releasing 0x000000000108b260 (new refcount 1). ---request begin--- GET //administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test HTTP/1.1 User-Agent: Wget/1.13.4 (linux-gnu) Accept: */* Host: ci.partkeepr.org Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 302 Found Date: Tue, 17 Jul 2012 03:38:46 GMT Server: Winstone Servlet Engine v0.9.10 Location: http://2a01:4f8:161:286:aaaa::103:8080/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test-for-reverse-proxy-setup Content-Length: 0 X-Powered-By: Servlet/2.5 (Winstone/0.9.10) Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/plain ---response end--- 302 Found Registered socket 4 for persistent reuse. Location: http://2a01:4f8:161:286:aaaa::103:8080/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test-for-reverse-proxy-setup [following] ] done. URI content encoding = None http://2a01:4f8:161:286:aaaa::103:8080/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test-for-reverse-proxy-setup: Bad port number. felicitus@feli-desktop ~/public_html/PartKeepr $ wget --no-check-certificate --debug -O /dev/null http://ci.partkeepr.org/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test Setting --output-document (outputdocument) to /dev/null DEBUG output created by Wget 1.13.4 on linux-gnu. URI encoding = `UTF-8' --2012-07-17 05:38:51-- http://ci.partkeepr.org/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test Resolving ci.partkeepr.org (ci.partkeepr.org)... 78.46.93.106 Caching ci.partkeepr.org => 78.46.93.106 Connecting to ci.partkeepr.org (ci.partkeepr.org)|78.46.93.106|:80... connected. Created socket 4. Releasing 0x0000000001d3c260 (new refcount 1). ---request begin--- GET /administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test HTTP/1.1 User-Agent: Wget/1.13.4 (linux-gnu) Accept: */* Host: ci.partkeepr.org Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 302 Found Date: Tue, 17 Jul 2012 03:38:52 GMT Server: Winstone Servlet Engine v0.9.10 Location: http://2a01:4f8:161:286:aaaa::103:8080/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test-for-reverse-proxy-setup Content-Length: 0 X-Powered-By: Servlet/2.5 (Winstone/0.9.10) Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/plain ---response end--- 302 Found Registered socket 4 for persistent reuse. Location: http://2a01:4f8:161:286:aaaa::103:8080/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test-for-reverse-proxy-setup [following] ] done. URI content encoding = None http://2a01:4f8:161:286:aaaa::103:8080/administrativeMonitor/hudson.diagnosis.ReverseProxySetupMonitor/test-for-reverse-proxy-setup: Bad port number.