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

SiteMonitor plugin voids cookies from other plugins

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • sitemonitor-plugin
    • None

      The SiteMonitor plugin voids cookies that are held by other plugins.

      For example, using the VSphere plugin and SiteMonitor plugin on the same system, everything works fine for the VSphere plugin (logins, actions on VSphere). However, after the SiteMonitor plugin runs, the VSphere plugin can no longer establish connections to external systems, because the cookies are invalid.

      Particularly, this code in SiteMonitor is where the damage is being done:
      https://github.com/jenkinsci/sitemonitor-plugin/search?utf8=%E2%9C%93&q=CookieHandler

      As you can see, sitemonitor checks to see for a null CookieHandler and then sets its own. This caused the override and the empty cookies...

          [JENKINS-35280] SiteMonitor plugin voids cookies from other plugins

          Bob Lloyd created issue -
          Bob Lloyd made changes -
          Description Original: The SiteMonitor plugin voids cookies that are held by other plugins.

          For example, using the VSphere plugin and SiteMonitor plugin on the same system, everything works fine for the VSphere plugin (logins, actions on VSphere). However, after the SiteMonitor plugin runs, the VSphere plugin can no longer establish connections to external systems, because the cookies are invalid.
          New: The SiteMonitor plugin voids cookies that are held by other plugins.

          For example, using the VSphere plugin and SiteMonitor plugin on the same system, everything works fine for the VSphere plugin (logins, actions on VSphere). However, after the SiteMonitor plugin runs, the VSphere plugin can no longer establish connections to external systems, because the cookies are invalid.

          Particularly, this code in SiteMonitor is where the damage is being done:
          https://github.com/jenkinsci/sitemonitor-plugin/search?utf8=%E2%9C%93&q=CookieHandler

          As you can see, sitemonitor checks to see for a null CookieHandler and then sets its own. This caused the override and the empty cookies...
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171523 ] New: JNJira + In-Review [ 184343 ]
          Francisco Hernandez Suarez made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          Planned to be fixed in v0.6

          Francisco Hernandez Suarez added a comment - Planned to be fixed in v0.6

            onuba Francisco Hernandez Suarez
            blloyd Bob Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: