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 247608 - Selecting "New Build" in team server results in failed authentication dialog
Summary: Selecting "New Build" in team server results in failed authentication dialog
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-30 20:16 UTC by chaase3
Modified: 2016-02-12 02:37 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 chaase3 2014-09-30 20:16:35 UTC
When I log in to the team server (as clara.coder), select my project, expand the Builds node, and click the New Build... link, the browser opens to http://callahan-hub.opcdeveloper.oracleinternalucf6.oraclecorp.com/profile/callahan-dev/s/callahan-dev_hello1/hudson/ with a basic authentication dialog. I tried clara.coder and Welcome1!, the password for that user, but the dialog popped up again. I tried my Oracle login, but that didn't work either. Neither did alex.admin's login. 

If my browser is set to Chrome I can just close the tab. In Firefox, I can't close the tab or the browser -- I have to kill the firefox.exe process in the task manager.

A few days ago I just got a blank tab with no authentication dialog. This may be progress ...

I am using NetBeans-ODCS build #397.
Comment 1 chaase3 2014-10-01 17:59:38 UTC
The same problem with the failed authentication dialog occurs if I try to run an existing build job (using NB-ODCS build #398).
Comment 2 Tomas Stupka 2014-10-03 10:29:05 UTC
the "New Build" link in the IDE points to the hudson page so that the user can create a new build there

seems that on callahan this doesn't work properly and the server repeatedly asks for the credentials
Comment 3 Tomas Stupka 2014-10-03 10:30:30 UTC
> The same problem with the failed authentication dialog occurs if I try to run an existing build job (using NB-ODCS build #398).
did you try to run it from web or from the IDE (services tab/hudson)?
tried from the IDE and it worked fine for me
Comment 4 Tomas Stupka 2014-10-03 10:34:43 UTC
looks like both issues (new build and run build) are server related ...
Comment 5 chaase3 2014-10-03 13:27:11 UTC
It happens from the IDE either if I click New Build from the Team tab or if I right-click and select New Build from the Services tab.

One thing I noticed is that from the IDE, the URL on which I get the failing authentication dialog is 

http://callahan-hub.opcdeveloper.oracleinternalucf6.oraclecorp.com/profile/callahan-dev/s/callahan-dev_hello1/hudson/

Whereas the URL on callahan-hub is

http://callahan-hub.opcdeveloper.oracleinternalucf6.oraclecorp.com/callahan-dev/#projects/callahan-dev_hello1/build

The change from "hudson" to "build" is, I gather from a mailing list discussion, a recent change for 14.2. Maybe that's the cause of the problem.
Comment 6 Tomas Stupka 2014-10-03 14:14:12 UTC
> It happens from the IDE either if I click New Build from the Team tab or if I right-click and select New Build from the Services tab
i understood you tried to try to run an existing build job - did you get an auth dialog in the IDE or were you redirected to the browser?
.
> One thing I noticed is that from the IDE, the URL on which I get the failing authentication dialog is 
...
> The change from "hudson" to "build" is, I gather from a mailing list discussion, a recent change for 14.2. 
> Maybe that's the cause of the > problem.
yes, part of it. 

thanks
Comment 7 chaase3 2014-10-03 14:27:43 UTC
Oh, I understand your question now! Sorry! The authentication dialog was from the web browser trying to access the URL. It was a standard HTTP basic-authentication dialog, as far as I could tell. (http://docs.oracle.com/javaee/7/tutorial/doc/security-webtier002.htm#BNCBO)
Comment 8 chaase3 2014-10-09 21:07:39 UTC
Latest update: Using NetBeans IDE Build 201410090001 with the Oracle Developer Cloud Service plugin (instead of a NetBeans-ODCS bundle), I clicked the New Build link in the Team Server window, and also tried right-clicking the project in the Services window and selecting New Build. For both, I no longer get the failed authentication dialog. 

Instead, I am back to a perfectly blank page at the URL http://callahan-hub.opcdeveloper.oracleinternalucf6.oraclecorp.com/profile/callahan-dev/s/callahan-dev_helloservlet/hudson/. As noted in Comment 5, that's not the correct URL for the builds page. I don't get an error 404, though.
Comment 9 Tomas Pavek 2016-02-11 13:12:24 UTC
There is a different URL for the Build web UI.
Fix: http://hg.netbeans.org/jet-main/rev/6243b75a6497
Comment 10 Quality Engineering 2016-02-12 02:37:13 UTC
Integrated into 'main-silver', will be available in build *201602120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6243b75a6497
User: Tomas Pavek <tpavek@netbeans.org>
Log: #247608: fixing Build web URL (in DCS different from Hudson URL for API calls)