]
Max Rydahl Andersen updated JBDS-2999:
--------------------------------------
Labels: f2f2014 (was: )
Mylyn Jenkis/Hudson Connector - Fails to connect to (some) Jenkins
servers that are password protected
------------------------------------------------------------------------------------------------------
Key: JBDS-2999
URL:
https://issues.jboss.org/browse/JBDS-2999
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: 3rd-party-certification, upstream
Affects Versions: 8.0.0.Beta1
Environment: JBDS 8.0.beta1.respin-a
Reporter: Len DiMaggio
Assignee: Snjezana Peco
Labels: f2f2014
Fix For: 8.0.x
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