It's all about the answers!

Ask a question

protocol error when trying to login via scm.exe


Karthik Krishnan (8846121163) | asked Feb 13 '23, 8:55 a.m.
edited Feb 13 '23, 9:20 a.m.

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"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
</log>

Any idea what this error means?

Accepted answer


permanent link
Karthik Krishnan (8846121163) | answered Feb 15 '23, 7:35 a.m.

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



permanent link
Ralph Schoon (63.3k33646) | 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


Register or to post 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.