[JIRA] [core] (JENKINS-32024) Wrongly claims reverse proxy broken

3 views
Skip to first unread message

aristedes@java.net (JIRA)

unread,
Dec 11, 2015, 12:36:01 AM12/11/15
to jenkinsc...@googlegroups.com
aristedes created an issue
 
Jenkins / Bug JENKINS-32024
Wrongly claims reverse proxy broken
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 11/Dec/15 5:35 AM
Priority: Minor Minor
Reporter: aristedes

Our Jenkins instance sits behind Apache httpd 2.4. There is no functional problem, but a recent update (sometime at or before 1.639) shows the message:

    It appears that your reverse proxy set up is broken

Running the recommended script give me this result:

Clearly Jenkins is confused about the missing SSL, however apache is taking care of the SSL within the virtualhost before the ProxyPass kicks in.

     ProxyPass         /  http://localhost:8180/ nocanon
     ProxyPassReverse  /  http://localhost:8180/
     ProxyRequests     Off
     AllowEncodedSlashes NoDecode

This looks like an error in Jenkins.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

dbeck@cloudbees.com (JIRA)

unread,
Dec 12, 2015, 11:52:02 AM12/12/15
to jenkinsc...@googlegroups.com
Daniel Beck resolved as Not A Defect
 

This behavior is documented on the wiki page linked from the error message:
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+says+my+reverse+proxy+setup+is+broken

Change By: Daniel Beck
Status: Open Resolved
Resolution: Not A Defect

aristedes@java.net (JIRA)

unread,
Dec 12, 2015, 9:01:01 PM12/12/15
to jenkinsc...@googlegroups.com
aristedes reopened an issue
 

Sorry, but I've read that page several times and cannot find any reference to the fact that Jenkins cannot be run behind a proxy that does SSL.

There is in fact no actual problem with the operation of Jenkins, but the error message in this case is extraneous with no obvious way to get rid of it.

Change By: aristedes
Resolution: Not A Defect
Status: Resolved Reopened

dbeck@cloudbees.com (JIRA)

unread,
Dec 12, 2015, 10:05:01 PM12/12/15
to jenkinsc...@googlegroups.com
Daniel Beck commented on Bug JENKINS-32024
 
Re: Wrongly claims reverse proxy broken

The giant yellow box on top says:

Make sure the Jenkins URL configured in the System Configuration matches the URL you're using to access Jenkins.

It looks like you specified an HTTP URL in the global config, but access Jenkins via HTTPS.

aristedes@java.net (JIRA)

unread,
Dec 12, 2015, 11:33:01 PM12/12/15
to jenkinsc...@googlegroups.com

If you mean the global setting with the label "Jenkins URL" under the heading "Jenkins Location" then no, I already checked that and it starts with "https".

dbeck@cloudbees.com (JIRA)

unread,
Dec 13, 2015, 4:26:01 PM12/13/15
to jenkinsc...@googlegroups.com

Next possibly relevant quote from the linked web page:

Also, make sure to set the X-Forwarded-Proto header if your reverse proxy is accessed via HTTPS, but Jenkins itself is not.

aristedes@java.net (JIRA)

unread,
Dec 14, 2015, 6:27:01 PM12/14/15
to jenkinsc...@googlegroups.com
aristedes resolved as Not A Defect
 

My bad. Sorry for wasting your time. I read that page 5 times without seeing that line.

Change By: aristedes
Status: Reopened Resolved
Resolution: Not A Defect

rusty.carruth@smartm.com (JIRA)

unread,
Oct 23, 2019, 5:06:02 PM10/23/19
to jenkinsc...@googlegroups.com
Rusty Carruth commented on Bug JENKINS-32024
 
Re: Wrongly claims reverse proxy broken

In my case, I'm on the actual host running Jenkins, and "foolishly" used 'localhost' in the URL!  So I think this is the "Jenkins URL" problem.  Not worth my fixing, IMHO, since this is in a virtual environment for my testing anyway, and its working fine.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages