It's all about the answers!

Ask a question

RTC error when proxy requires authentification


Dmitry A. Lesin (24826996) | asked Dec 26 '12, 9:15 a.m.
edited Dec 26 '12, 9:20 a.m.

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!


Comments
Nagappan Annamalai commented Sep 22 '14, 10:22 p.m. | edited Sep 22 '14, 10:25 p.m.

 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?


Dmitry A. Lesin commented Sep 24 '14, 1:41 a.m.

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
Dinesh Kumar B (4.1k413) | answered Jul 17 '14, 4:04 a.m.
JAZZ DEVELOPER
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.

permanent link
Karl Weinert (2.0k52736) | answered Dec 26 '12, 10:21 a.m.
JAZZ DEVELOPER
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.





Comments
Dmitry A. Lesin commented Dec 26 '12, 11:35 a.m. | edited Sep 22 '14, 3:32 a.m.

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


permanent link
Dmitry A. Lesin (24826996) | answered Sep 24 '14, 1:36 a.m.
edited Sep 24 '14, 1:42 a.m.
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!

permanent link
Salman Shaikh (23413875) | answered May 01 '19, 10:19 a.m.

  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

Your answer


Register or 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.