SCM Tools - CRJAZ1368E - proxy
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
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/
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.
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
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