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:
Thank you! |
4 answers
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. |
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
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:
|
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! |
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
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.
Comments
Hi Dmitry A. Lesin,
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.