I think, I found problem with Stapler.

https://github.com/stapler/stapler/blob/master/core/src/main/java/org/kohsuke/stapler/ResponseImpl.java#L183-L187

StringBuilder buf = new StringBuilder(req.getScheme()).append("://").append(req.getServerName());
            if ((req.getScheme().equals("http") && req.getServerPort()!=80)
            || (req.getScheme().equals("https") && req.getServerPort()!=443))
                buf.append(':').append(req.getServerPort());

look the dump above. While scheme is really *https* and serverPort is no *443* (which is 8080), Stapler manually appends port here. Seems like RequestImpl does not know about external port even with *X-Forwarded-Port 443*

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to