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

Clicking on the console icon to open the console dialog a screen with a "Server not found" error is displayed

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • build-pipeline-plugin
    • None
    • Jenkins version 1.580.1
      Standalone (i.e. not run in container)
      jdk1.7.0_07
      build pipeline view plugin version 1.4.4
      server is redhat
      client is windows firefox

      This issue started happening after upgrading from version 1.4.3 to 1.4.4 of the build-pipeline-view plugin

      In the pipeline view, when I click on the console icon on one of the builds the dialog displays a "Server not found" error.

      In pictures: clicking on the console button:

      gives:

      I debugged the issue and discovered the cause was a '/' added to the href. This is done in line 105 of build-pipeline.js:

      	fillDialog : function(href, title) {
      		jQuery.fancybox({
      			type: 'iframe',
      			title: title,
      			titlePosition: 'outside',
      			href: '/' + href,
      			transitionIn : 'elastic',
      			transitionOut : 'elastic',
      			width: '90%',
      			height: '80%'
      		});
      	},
      

          [JENKINS-25460] Clicking on the console icon to open the console dialog a screen with a "Server not found" error is displayed

          Simon created issue -
          Simon made changes -
          Description Original: In the pipeline view, when I click on the console icon on one of the builds the dialog displays a "Server not found" error.

          In pictures: clicking on the console button:

          !attached-image.gif!

          gives:

          !attached-image.gif!

          I debugged the issue and discovered the cause was a '/' added to the href. This is done in line 105 of build-pipeline.js:

          {code}
          fillDialog : function(href, title) {
          jQuery.fancybox({
          type: 'iframe',
          title: title,
          titlePosition: 'outside',
          href: '/' + href,
          transitionIn : 'elastic',
          transitionOut : 'elastic',
          width: '90%',
          height: '80%'
          });
          },
          {code}
          New: This issue started happening after upgrading from version 1.4.3 to 1.4.4 of the build-pipeline-view plugin

          In the pipeline view, when I click on the console icon on one of the builds the dialog displays a "Server not found" error.

          In pictures: clicking on the console button:

          !build-pipeline-view.png!

          gives:

          !build-pipeline-view-console-dialog.png!

          I debugged the issue and discovered the cause was a '/' added to the href. This is done in line 105 of build-pipeline.js:

          {code}
          fillDialog : function(href, title) {
          jQuery.fancybox({
          type: 'iframe',
          title: title,
          titlePosition: 'outside',
          href: '/' + href,
          transitionIn : 'elastic',
          transitionOut : 'elastic',
          width: '90%',
          height: '80%'
          });
          },
          {code}
          Environment Original: Jenkins version 1.580.1
          Standalone (i.e. not run in container)
          jdk1.7.0_07
          build pipeline plugin version 1.4.4
          server is redhat
          client is windows firefox
          New: Jenkins version 1.580.1
          Standalone (i.e. not run in container)
          jdk1.7.0_07
          build pipeline view plugin version 1.4.4
          server is redhat
          client is windows firefox
          Kanstantsin Shautsou made changes -
          Link New: This issue duplicates JENKINS-25430 [ JENKINS-25430 ]
          Kanstantsin Shautsou made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 159428 ] New: JNJira + In-Review [ 196077 ]

            Unassigned Unassigned
            simontank Simon
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: