Unable to login to server from CLI
![]() I am trying to login to a repository from scm command line. But it is throwing an error:
I am able to login to the web client successfully. What could be the possible issue? Also, where to find the logs for scm cli? |
Accepted answer
![]()
If you happen to have a proxy the cli needs to be configure to use it.
From https://jazz.net/library/article/325/
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>".
What OS are you on and what version of RTC?
I don't think there will be much information related to this in the logs but they can be found in the following location.
Windows ..\Users\<user>\AppData\Local\jazz-scm\logs
Linux\Unix ~/.jazz-scm/logs
the eclipse .log file can be found in
jazz-scm\scratch\0\.metadata
Note there may be multiple directories under scratch, you'll need to find the one associated with the current scm process.
So far I find the right one by trial and error or by deleting all the files in this directory and reproducing the problem again
Shuchita Tripathi selected this answer as the correct answer
Comments Hi Karl,
We are using a proxy and as suggested I did the required things.
But I am still getting the error. 2 errors are coming.
Sometimes the error is CRJAZ2384E, sometimes it is CRJAZ2381E
OS is Windows7 RTC version is 4.0.5 I have RTC client v4.0 and v4.0.6 I tired with both of them. Nothing is working. Hi Karl, I finally tried with scm tools of RTC Eclipse version3.0 and it worked. I have 2 doubts regarding it. 1. My RTC version is 4.0.5, why is it working only for scmtools v3.0? 2. I tried to login with userid in small letters <user1>.(it is actually the user ID). It got logged in successfully. However after this, for every command i got the error that repository is already logged in with <USER1>. I followed this question and logged in with USER1 (all in caps) and now i am successfully able to execute every command. https://jazz.net/forum/questions/63069/rtc-scm-cli-is-disconnected-from-daemon Why is USER1 (in caps) able to login when my user id is in small letters? |
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 Shuchuta,
I see that you are using /jazz context. Do you have exactly this context? What was server address you were attempting to log in?
Yes the context is /jazz.