This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252891 - Can't connect to jenkins
Summary: Can't connect to jenkins
Status: RESOLVED INCOMPLETE
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-09 07:10 UTC by Christian Lenz
Modified: 2015-08-09 01:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2015-06-09 07:10:58 UTC
When I try to add a new Hudson instance (For me we have jenkins), I click on it and set the url to this: https://build.companyurl.net/jenkins/. After clicking ok I got a message that there was an error. I looked into the IDE log and got this:

INFO [org.netbeans.modules.hudson.api.Utilities]
java.net.HttpRetryException: Server rejected connection to https://build.companyurl.net/jenkins/?checking=redirects with code 401
	at org.netbeans.modules.hudson.api.ConnectionBuilder.doConnection(ConnectionBuilder.java:417)
	at org.netbeans.modules.hudson.api.ConnectionBuilder.connection(ConnectionBuilder.java:265)
	at org.netbeans.modules.hudson.api.ConnectionBuilder.httpConnection(ConnectionBuilder.java:465)
[catch] at org.netbeans.modules.hudson.api.Utilities.checkHudsonURL(Utilities.java:247)
	at org.netbeans.modules.hudson.ui.wizard.InstanceDialog$2.run(InstanceDialog.java:112)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)


We have an authentication with the service, but here we don't have any question for credentials.


Regards

Chris
Comment 1 Jaroslav Havlin 2015-08-07 15:04:58 UTC
I don't know what could be wrong.
At least adding response message to the log:
http://hg.netbeans.org/core-main/rev/789ff29d4cf9

Please try connecting again from development version when the change is available in it (you will be automatically notified by a comment in this issue) and check the IDE Log. It may contain some useful information.
Comment 2 Quality Engineering 2015-08-09 01:22:01 UTC
Integrated into 'main-silver', will be available in build *201508090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/789ff29d4cf9
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #252891: Log response message if Hudson connection fails