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

Display port with 2 digits leads to wrong port number

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • vncviewer-plugin
    • None

      I installed the latest version of this plugin and wanted to test it in our environment. But we use as default display port something in the range 10-99.

      Noticing the console output, i saw, that the display got replaced by :59xx.
      Thus it wont be able to connect.

      The corresponding source code line is:

      if (vncServReplaced.split(":")[1].length() == 2)
      {
      vncServReplaced = vncServReplaced.replace(":", ":59");
      }

      In my opinion this does not really make sense, the user should define what display port is correct.

      Some fallback if it is not given or the ENV couldn't dispatched correctly is valid.

            tbaum Dimitri Tenenbaum
            zilmtt Falk Zilm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: