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!
4 answers
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
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
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!
Comments
Nagappan Annamalai
Sep 22 '14, 10:25 p.m.Hi Dmitry A. Lesin,
Dmitry A. Lesin
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.