Error logging into server using scm command line tool
Jason Mobarak (10●1●2)
| asked Jun 09 '16, 9:04 p.m.
edited Jun 11 '16, 3:02 p.m. by David Lafreniere (4.8k●7)
Seeing the follow error when attempting to login in to our ccm server:
scm login -r 'https://{redacted}/ccm' -n pw -u xyz -c
Password ({redacted} @ https://{redacted}/ccm):Problem running 'login':
This is the trace log:
|
2 answers
To verify that the server is reachable can you try connecting via the browser?
Comments
Jason Mobarak
commented Jun 10 '16, 1:45 a.m.
It works fine via the browser and the eclipse client. From the trace log it looks like it's getting an initial 200 response to the first request, but a 500 response from the second request. Are you using any proxy on your machine?
Jason Mobarak
commented Jun 10 '16, 7:41 p.m.
There is a proxy on my machine, but I disabled it for this test.
Jason Mobarak
commented Jun 10 '16, 7:43 p.m.
If the proxy is enabled I get a different error, after I disabled the proxy, I got this error. If you need to use the proxy to connect to the rtc server then set the following environment variable before running scm command line:
http_proxy="http://<yourproxyhost>:<yourproxyport>" or
https_proxy="https://<yourproxyhost>:<yourproxyport>"
Jason Mobarak
commented Jun 13 '16, 5:10 p.m.
Hi Shashikant-- Like I said, I've tried with and without our proxy. We have eclipse configured to bypass the proxy for this domain, so direct access should work from the command line. With the proxy enabled I see 404 errors, with the proxy disabled I see the 500 error. Any other ideas? Thanks, -Jason
showing 5 of 6
show 1 more comments
|
This appears to be mostly user error, I modified the scm script to attempt to resolve an SSL error, and that appears to have caused most of the problems. However I had to follow the instructions here:
https://jazz.net/forum/questions/104164/command-line-tools-fail-to-run-after-upgrade-from-3015-to-401-mkroot-problem
And set the RTC_SCRIPTS_BASE and PRGPATH environment variables. Also, the able to run the command line tools and the eclipse client at the same time I had to set SCM_ALLOW_INSECURE.
|
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.