SCM Tools - CRJAZ1368E - proxy
![](http://jazz.net/_images/myphoto/d34b13a6804cc20b9fc27879064e9527.jpg)
Hi,
I am trying to log in to jazz with SCM Tools with following command:
and I receive the error:
I am behind proxy so I updated scm.ini file respectively:
Is it right way to set up proxy?
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?
6 answers
![](http://jazz.net/_images/myphoto/d34b13a6804cc20b9fc27879064e9527.jpg)
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/
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/
![](http://jazz.net/_images/myphoto/d34b13a6804cc20b9fc27879064e9527.jpg)
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&id=53279 in Jazz that it can't connect through such proxy.
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&id=53279 in Jazz that it can't connect through such proxy.
![](http://jazz.net/_images/myphoto/d34b13a6804cc20b9fc27879064e9527.jpg)
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.
I myself never used SCM CLI through a proxy.
My colleague had done what I told here.
He told me that it worked.
Comments
![](http://jazz.net/_images/myphoto/c1e344155ee83a9ac6e3caa649b6aaef.jpg)
Hi Yoshihisa
Was it under Windows? I think under Windows it can't work with this environment variable...
![](http://jazz.net/_images/myphoto/69e30c8120a75ce29e1474d95ddc1678.jpg)
Yes, my colleague did it on Windows.
Also if you google "windows command proxy", you may find plenty of information.
![](http://jazz.net/_images/myphoto/f676fee16a39eb23905c1b0601bc2bb3.jpg)
Hi David,
Setting the environment variable should work in Windows as well. Which version of SCM CLI are you using?
- Sridevi
RTC SCM CLI