Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75149

Plugin tries to fetch JS over http when Jenkins is running on https

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • log-parser-plugin
    • None
    • Jenkins 2.493 on Ubuntu 24.04; Jenkins proxied through Apache. Log parser 2.3.7.

      When attempting to examine the log, clicking on the Errors or Warnings link does nothing. It turns out there is a failure to retrieve the required JS, because although the browser is connected over https, requests for JS resources are being made over plain http:

      Blocked loading mixed active content "http://.../plugin/log-parser/js/log-parser-behaviour.js"
      log_ref.html
      Loading failed for the <script> with source "http://.../plugin/log-parser/js/log-parser-behaviour.js". log_ref.html:5:136
      Blocked loading mixed active content "http://.../plugin/log-parser/js/log-parser-behaviour.js"
      log_content.html
      Loading failed for the <script> with source "http://.../plugin/log-parser/js/log-parser-behaviour.js".

       

          [JENKINS-75149] Plugin tries to fetch JS over http when Jenkins is running on https

          Martin Holmes created issue -

          Mark Waite added a comment - - edited

          That likely indicates that either your Jenkins URL is incorrectly configured in "Manage Jenkins" -> "System" or your reverse proxy is incorrectly configured. It is probably worth comparing the configuration of your reverse proxy with the configuration instructions in the Jenkins documentation.

          Mark Waite added a comment - - edited That likely indicates that either your Jenkins URL is incorrectly configured in "Manage Jenkins" -> "System" or your reverse proxy is incorrectly configured. It is probably worth comparing the configuration of your reverse proxy with the configuration instructions in the Jenkins documentation .

          Martin Holmes added a comment -

          This server has been running with the same configuration for years without a problem. I'll go and have a look, but nothing has changed recently.

          Martin Holmes added a comment - This server has been running with the same configuration for years without a problem. I'll go and have a look, but nothing has changed recently.

            mreinhardt Martin Reinhardt
            martindholmes Martin Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: