Jump to content

Error when switched from SSL to non-SSL


lifeweaver

Recommended Posts

Tested on local server.

If client is switched from SSL to non-SSL (and assuming the right client.conf is provided), and GUI is launched, this error is shown:

"Tcp channel protocol violation: expecting preamble.: xxx.xxx.xxx.xxx:xxxx"

Then GUI gives focus to another program, so users are likely to think it's closed. But it's not. It should not lose focus. Seems to be a(nother) bug.

Anyway, "Items" menu doesn't work. Others do seem fine. This symptom is the same in VS.

(Yes, I know SSL is an experimental feature. Hoping for polished SSL support soon!)

Additional note:

Switching between remote and local server with varying configs seems to have another set of problems, but it's somewhat inconsistent.

Link to comment
Share on other sites

Lifeweaver,

This is a new more convenient way to connect 1 client to two servers at the same time, one with SSL and the other with no SSL, this will be published in the blog one day!

here it goes, try the following:

your client.conf should be unmodified, meaning remove this line:

<ServerProtocol>ssl</ServerProtocol>

Then, have your two servers running, lets call them:

serverNONSSL:8090

serverSSL:8085

hence, serverhostname:portnumber

now create a file called plastic.servers and place it in your ..\plasticscm\client folder

File content should be two simple lines:

ssl://serverSSL:8085
serverNONSSL:8090

I believe this will fix the replication issue between two servers in two network modes you reported in this thread http://www.plasticscm.net/forum193/default.aspx?g=posts&m=1250#post1250

Cheers,

Miller

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...