protocol error when trying to login via scm.exe
When I try to login to scm via scm.exe (command line), sometime it logs in and most of the time it fails with the following error:
The proxy protocol (http) does not match the repository protocol (https). Try 'scm help login' for more information.
This happens only on a VM which is in another sub domain.
When I issue this command via my local PC, I am able to login.
We are using 7.0.2 scm.exe. The sever is on 7.0.2 SR1. The server is using https and command I use is
scm.exe login -r "https://server.domain.com/ccm" -u user -p pass
The log on the VM for the scm call has only the following:
<?xml version="1.0" encoding="windows-1252" standalone="no"?>
Any idea what this error means?
|
Accepted answer
Was able to solve this.
On the system level (Environment variables) http_proxy, https_proxy and no_proxy was set.
After removing this, I was able to login via scm.exe.
Ralph Schoon selected this answer as the correct answer
|
One other answer
Ralph Schoon (63.4k●3●36●46)
| answered Feb 13 '23, 9:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER The error message seems to indicate that there is some kind of proxy that appears to change to HTTP (from HTTPS) and the server is rejecting this. This is about something similar: https://jazz.net/forum/questions/45038/proxy-protocol-http-does-not-match-the-repository-protocol when two applications communicate. MAybe it provides some ideas. Comments
Karthik Krishnan
commented Feb 14 '23, 2:00 a.m.
Thanks. I already looked into that post before posting this question. Sadly I cannot infer any solution.
It seem like the issue is only with this VM. I can access the ccm url via browser. Just not via the scm.exe.
|
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.