Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC error when proxy requires authentification

Hi,

I have got a strange problem accessing external (out of the local network in my company) Jazz Team Server from RTC rich client. The problem is very similar to:

https://jazz.net/forum/questions/47411/can-not-connect-through-rtc-30-client-on-jts

But a little difference is that I need to pass through proxy with user and password settings!

If an authentication is off there is no problem. In this case I can access to target JTS. But when authentication is on then the error is displayed:

CRJAZ1247I The request to the server failed. The server returned the http error 407 with error text "Unauthorized". Examine any further details here or look in the server log files for more information on how to resolve this issue.

If I use Mozilla Firefox or Internet Explorer with settings to use proxy with authentication – no problem! I can get access to JTS in Internet. But no way to access it from RTC client. And it can be interesting that the problem is the same for both Eclipse RTC client and Microsoft RTC one.

May be somebody solved this problem already, please help!

A couple of words about environment:

  • IBM Rational Team Concert 4.0.0.1 (CLM solution 4.0.0.1 is deployed)
  • OS where RTC client is installed: Windows 7 Ultimate x64, Windows 2003 Server x32
  • Microsoft Visual Studio v2010 Professional 

Thank you!

0 votes

Comments

 Hi Dmitry A. Lesin,


I'm also facing a similar situation. Getting the following error message when accessing with any username https://<host>:9443/ccm/jauth- issue-token was denied. The status is unauthorized.

Did you manage to find a solution to this problem?

Hi Nagappan,
I decided to answer my own question in this topic with the results which I have got when was fighting with this problem. Please, take a look at the text with my simple resume at this page.



4 answers

Permanent link

  The issue is related to Proxy settings in Eclipse.

open Window > Preferences, and select the General > Network Connections category. 

For further Theory, You can read below tech note

0 votes


Permanent link
The questions for this topic are asked so far time by time. Therefore I decided to write here some results which I have got when this problem was actual for me. But I'm not sure that this is a very suitable solution. It's better to be presented as a workaround only!

I really don't know why this problem happens but I believe it's related to some network configurations which can be in some organizations.

As for Eclipse Client, I found that the problem can be easily solved if to work with Jazz by HTTPS protokol instead of HTTP. Then Eclipse Client works properly!
But at the same time, Web users can continue work with Jazz by HTTP if they did it earlier.

More difficult case when we have to use Microsoft VS Client. As IBM confirmed a year ago, the capability with proxy definition doesn't work well in VS Client. But I found a way with additional local installation of a simple proxy client and setup VS Client for operating with corporation proxy through the local one. I used CCProxy that time and it gave me perfect results!

0 votes


Permanent link
I had the same problem and after changing the password, I could login successfully.

and from some other posts, i read that using the ip address instead of the dns name works and
alternatively, adding the dns name to the hosts in network preferences seems to help.

1 vote


Permanent link
There is some information under the heading "The VS Client fails to login to the jazz server. How do I get it to work?" in this article https://jazz.net/library/article/601

The section after the screen shots looks like it might apply to your situation.

The proxy settings for the eclipse client are located under Windows > Preferences > General > Network Connections I have seen some similar issues resolved  by changing the active provider from Native to Direct but there are a number of other settings there if that one does not seem to apply.




0 votes

Comments

Thank you for quick feedback!

But sorry, I cannot get JTS directly. JTS is deployed over cloud resources in Internet. And everybody here can get it through the proxy with authentication only (the customer is a bank with complex security policies).

It's more significant to get access in RTC-VS client but it does not work in Eclipse RTC too. I played with different proxy options in both RTC-VS and Eclipse RTC, but when the authentication in proxy server is on then any traffic in proxy server is empty, and RTC client displays the error mentioned above!

As for RTC-VS, I even can see the error in detail in a window with next structure:

1. HEADER

Connection Failed

2. Message

CRRTC8500E: Server Error: Failed to log in to 'http://<CCM_URL>:9081/ccm/':

CRJAZ1247I The request to the server failed. The server returned the http error 407 with error text "Unauthorized". Examine any further details here or look in the server log files for more information on how to resolve the issue.

3. DETAILS

Exception type:
com.ibm.team.repository.TeamRepositoryException
Exception message:
Failed to log in to 'http://sandbox94.finecosoft.ru:9081/ccm/': CRJAZ1247I The request to the server failed. The server returned the http error 407 with error text "Unauthorized". Examine any further details here or look in the server log files for more information on how to resolve the issue.
Inner exception:
Exception type:
com.ibm.team.repository.TeamRepositoryException
Exception message:
CRJAZ1247I The request to the server failed. The server returned the http error 407 with error text "Unauthorized". Examine any further details here or look in the server log files for more information on how to resolve the issue.
Status code:
500
Remote exception type:
com.ibm.team.repository.common.transport.TeamServiceException
Request URI:
http://localhost:2337/service/com.ibm.team.filesystem.client.rest.IFilesystemRestClient/Login

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 26

Question asked: Dec 26 '12, 9:15 a.m.

Question was seen: 9,801 times

Last updated: May 01 '19, 10:19 a.m.

Confirmation Cancel Confirm