Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2999

Mylyn Jenkis/Hudson Connector - Fails to connect to (some) Jenkins servers that are password protected

XMLWordPrintable

    • NEW

      When trying to connect to: http://jenkins.mw.lab.eng.bos.redhat.com/

      This error is written to stdout:

      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>404 Not Found</title>
      </head><body>
      <h1>Not Found</h1>
      <p>The requested URL /j_spring_security_check was not found on this server.</p>
      </body></html>

      And this exception is raised:

      !ENTRY org.eclipse.mylyn.builds.ui 4 0 2014-04-03 14:20:44.209
      !MESSAGE Server validation failed: Unexpected error: Unexpected response from server while logging in: Not Found
      !STACK 1
      org.eclipse.core.runtime.CoreException: Unexpected error: Unexpected response from server while logging in: Not Found
      at org.eclipse.mylyn.internal.hudson.core.HudsonCorePlugin.toCoreException(HudsonCorePlugin.java:61)
      at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.validate(HudsonServerBehaviour.java:928)
      at org.eclipse.mylyn.builds.internal.core.BuildServer.validate(BuildServer.java:369)
      at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:114)
      at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart$2.run(RepositoryLocationPart.java:558)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      Caused by: org.eclipse.mylyn.internal.hudson.core.client.HudsonException: Unexpected response from server while logging in: Not Found
      at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:169)
      at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.validate(RestfulHudsonClient.java:410)
      at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.validate(HudsonServerBehaviour.java:922)
      ... 4 more
      Caused by: java.io.IOException: Unexpected response from server while logging in: Not Found
      at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.authenticate(HudsonOperation.java:96)
      at org.eclipse.mylyn.commons.repositories.http.core.CommonHttpOperation.executeOnce(CommonHttpOperation.java:114)
      at org.eclipse.mylyn.commons.repositories.http.core.CommonHttpOperation.execute(CommonHttpOperation.java:65)
      at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$8.execute(RestfulHudsonClient.java:388)
      at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$8.execute(RestfulHudsonClient.java:1)
      at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:167)
      ... 6 more
      !SUBENTRY 1 org.eclipse.mylyn.hudson.core 4 0 2014-04-03 14:20:44.210
      !MESSAGE Unexpected error: Unexpected response from server while logging in: Not Found
      !STACK 0
      org.eclipse.mylyn.internal.hudson.core.client.HudsonException: Unexpected response from server while logging in: Not Found
      at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:169)
      at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.validate(RestfulHudsonClient.java:410)
      at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.validate(HudsonServerBehaviour.java:922)
      at org.eclipse.mylyn.builds.internal.core.BuildServer.validate(BuildServer.java:369)
      at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:114)
      at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart$2.run(RepositoryLocationPart.java:558)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      Caused by: java.io.IOException: Unexpected response from server while logging in: Not Found
      at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.authenticate(HudsonOperation.java:96)
      at org.eclipse.mylyn.commons.repositories.http.core.CommonHttpOperation.executeOnce(CommonHttpOperation.java:114)
      at org.eclipse.mylyn.commons.repositories.http.core.CommonHttpOperation.execute(CommonHttpOperation.java:65)
      at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$8.execute(RestfulHudsonClient.java:388)
      at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$8.execute(RestfulHudsonClient.java:1)
      at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:167)
      ... 6 more

              snjeza_jira Snjezana Peco (Inactive)
              ldimaggi@redhat.com Len DiMaggio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: