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

SCM Tools - CRJAZ1368E - proxy

Hi,
I am trying to log in to jazz with SCM Tools with following command:

scm login -u USER -r https://URL -n  repository


and I receive the error:


Could not log in to https://.... as user USER: CRJAZ1368E The URL "https://URL/com.ibm.team.repository.common.internal.IRepositoryRemoteService" cannot be reached. The network stated the URL is invalid. The error is "java.nio.channels.UnresolvedAddressException". Verify the URL and contact your administrator.


I am behind proxy so I updated scm.ini file respectively:

-vmargs

-Dhttp.proxyHost=surf.proxy.agis.allianz
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=surf.proxy.agis.allianz
-Dhttps.proxyPort=8080


Is it right way to set up proxy?

1 vote



6 answers

Permanent link
That looks good to me, this tells the Virtual Machine to go through the proxy for each Net call
Does it work fine ?

1 vote


Permanent link
Hi Matus

Below may be answer to your question.

For the Jazz SCM command line and Visual Studio client, you can configure your terminal or command window to take advantage of a forward proxy by setting one of two environment variables prior to executing the command line.  If using http, set the environment variable http_proxy to "http://<yourproxyhost>:<yourProxyPort>".   If using HTTPS, set the environment variable https_proxy to "https://<yourproxyhost>:<yourProxyPort>".
https://jazz.net/library/article/325/

1 vote


Permanent link
No it doesn't work :) You can see the error in my previous post.
But I suspect that this proxy is NTLM and there is known bug https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&amp;id=53279 in Jazz that it can't connect through such proxy.

0 votes


Permanent link
I try to use the SCM CLI behind a non-NTLM proxy. How do I have to configure that?
I tried both ways of setting the environment variable and setting the proxy via vmargs, but nothing worked.

Thanks for your help!


0 votes


Permanent link
Hi David,
Please run "set proxy=on" after setting the environment variable.

0 votes

Comments

 Hi Yoshihisa


Thanks for your help, but it didn't worked.
Have you ever used the SCM CLI through a proxy?


Permanent link
Hi David,
I myself never used SCM CLI through a proxy.
My colleague had done what I told here.
He told me that it worked.

0 votes

Comments

 Hi Yoshihisa


Was it under Windows? I think under Windows it can't work with this environment variable...

Yes, my colleague did it on Windows.
Also if you google "windows command proxy", you may find plenty of information.

Hi David,

Setting the environment variable should work in Windows as well. Which version of SCM CLI are you using?

- Sridevi
RTC SCM CLI

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

Question asked: Sep 20 '10, 10:44 a.m.

Question was seen: 8,303 times

Last updated: May 24 '13, 12:32 a.m.

Confirmation Cancel Confirm