svn+ssh trouble with rhodecode svn

80 views
Skip to first unread message

Peter Katzmann

unread,
Jun 30, 2025, 6:42:23 AMJun 30
to TortoiseSVN
Hello,,
i try to get the latest (released and snapshot) TortoiseSVN to connect with rhodecode 5.x.x .
Certificates are correct and working, the same plink/tortoisePlink connection string works with SlikSVN but not with TortoiseSVN.
So i made some ssl traces with not working TortoiseSVN and working SlikSVN.
Could please someone have a look and can advice whats wrong ?
The only difference i can see is an extra () at the end for the SlikSVN response:

peter

...
Event Log: Started a shell/command
Incoming packet #0xe, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 01 00 00 00 00 cf 28 20 73 75 63 63 65 73  ........( succes
  00000010  73 20 28 20 32 20 32 20 28 20 29 20 28 20 65 64  s ( 2 2 ( ) ( ed
  00000020  69 74 2d 70 69 70 65 6c 69 6e 65 20 73 76 6e 64  it-pipeline svnd
  00000030  69 66 66 31 20 61 63 63 65 70 74 73 2d 73 76 6e  iff1 accepts-svn
  00000040  64 69 66 66 32 20 61 62 73 65 6e 74 2d 65 6e 74  diff2 absent-ent
  00000050  72 69 65 73 20 63 6f 6d 6d 69 74 2d 72 65 76 70  ries commit-revp
  00000060  72 6f 70 73 20 64 65 70 74 68 20 6c 6f 67 2d 72  rops depth log-r
  00000070  65 76 70 72 6f 70 73 20 61 74 6f 6d 69 63 2d 72  evprops atomic-r
  00000080  65 76 70 72 6f 70 73 20 70 61 72 74 69 61 6c 2d  evprops partial-
  00000090  72 65 70 6c 61 79 20 69 6e 68 65 72 69 74 65 64  replay inherited
  000000a0  2d 70 72 6f 70 73 20 65 70 68 65 6d 65 72 61 6c  -props ephemeral
  000000b0  2d 74 78 6e 70 72 6f 70 73 20 66 69 6c 65 2d 72  -txnprops file-r
  000000c0  65 76 73 2d 72 65 76 65 72 73 65 20 6c 69 73 74  evs-reverse list
  000000d0  20 29 20 29 20 29 20                              ) ) )
Outgoing packet #0xa, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 00 00 00 00 00 d7 28 20 32 20 28 20 65 64  ........( 2 ( ed
  00000010  69 74 2d 70 69 70 65 6c 69 6e 65 20 73 76 6e 64  it-pipeline svnd
  00000020  69 66 66 31 20 61 63 63 65 70 74 73 2d 73 76 6e  iff1 accepts-svn
  00000030  64 69 66 66 32 20 61 62 73 65 6e 74 2d 65 6e 74  diff2 absent-ent
  00000040  72 69 65 73 20 64 65 70 74 68 20 6d 65 72 67 65  ries depth merge
  00000050  69 6e 66 6f 20 6c 6f 67 2d 72 65 76 70 72 6f 70  info log-revprop
  00000060  73 20 29 20 34 37 3a 73 76 6e 2b 73 73 68 3a 2f  s ) 47:svn+ssh:/
  00000070  2f 73 76 6e 30 36 2d 30 30 31 2e 65 64 61 67 2e  /svn.xx.
  00000080  64 65 2f 41 64 6d 69 6e 69 73 74 72 61 74 69 6f  de/Administratio
  00000090  6e 2f 54 65 73 74 20 33 34 3a 53 56 4e 2f 31 2e  n/Test 34:SVN/1.
  000000a0  31 34 2e 35 20 28 78 36 34 2d 6d 69 63 72 6f 73  14.5 (x64-micros
  000000b0  6f 66 74 2d 77 69 6e 64 6f 77 73 29 20 28 20 32  oft-windows) ( 2
  000000c0  34 3a 54 6f 72 74 6f 69 73 65 53 56 4e 2d 31 2e  4:TortoiseSVN-1.
  000000d0  31 34 2e 39 2e 32 39 37 34 33 20 29 20 29 20     14.9.29743 ) )
Incoming packet #0xf, type 95 / 0x5f (SSH2_MSG_CHANNEL_EXTENDED_DATA)
  00000000  00 00 01 00 00 00 00 01 00 00 00 2a 73 76 6e 73  ...........*svns
  00000010  65 72 76 65 3a 20 45 32 31 30 30 30 34 3a 20 4d  erve: E210004: M
  00000020  61 6c 66 6f 72 6d 65 64 20 6e 65 74 77 6f 72 6b  alformed network
  00000030  20 64 61 74 61 0a                                 data.
```
And this is a working session qirh SlikSVN.

```
Event Log: Started a shell/command
Incoming packet #0xe, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 01 00 00 00 00 cf 28 20 73 75 63 63 65 73  ........( succes
  00000010  73 20 28 20 32 20 32 20 28 20 29 20 28 20 65 64  s ( 2 2 ( ) ( ed
  00000020  69 74 2d 70 69 70 65 6c 69 6e 65 20 73 76 6e 64  it-pipeline svnd
  00000030  69 66 66 31 20 61 63 63 65 70 74 73 2d 73 76 6e  iff1 accepts-svn
  00000040  64 69 66 66 32 20 61 62 73 65 6e 74 2d 65 6e 74  diff2 absent-ent
  00000050  72 69 65 73 20 63 6f 6d 6d 69 74 2d 72 65 76 70  ries commit-revp
  00000060  72 6f 70 73 20 64 65 70 74 68 20 6c 6f 67 2d 72  rops depth log-r
  00000070  65 76 70 72 6f 70 73 20 61 74 6f 6d 69 63 2d 72  evprops atomic-r
  00000080  65 76 70 72 6f 70 73 20 70 61 72 74 69 61 6c 2d  evprops partial-
  00000090  72 65 70 6c 61 79 20 69 6e 68 65 72 69 74 65 64  replay inherited
  000000a0  2d 70 72 6f 70 73 20 65 70 68 65 6d 65 72 61 6c  -props ephemeral
  000000b0  2d 74 78 6e 70 72 6f 70 73 20 66 69 6c 65 2d 72  -txnprops file-r
  000000c0  65 76 73 2d 72 65 76 65 72 73 65 20 6c 69 73 74  evs-reverse list
  000000d0  20 29 20 29 20 29 20                              ) ) )
Outgoing packet #0xa, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 00 00 00 00 00 c3 28 20 32 20 28 20 65 64  ........( 2 ( ed
  00000010  69 74 2d 70 69 70 65 6c 69 6e 65 20 73 76 6e 64  it-pipeline svnd
  00000020  69 66 66 31 20 61 63 63 65 70 74 73 2d 73 76 6e  iff1 accepts-svn
  00000030  64 69 66 66 32 20 61 62 73 65 6e 74 2d 65 6e 74  diff2 absent-ent
  00000040  72 69 65 73 20 64 65 70 74 68 20 6d 65 72 67 65  ries depth merge
  00000050  69 6e 66 6f 20 6c 6f 67 2d 72 65 76 70 72 6f 70  info log-revprop
  00000060  73 20 29 20 34 37 3a 73 76 6e 2b 73 73 68 3a 2f  s ) 47:svn+ssh:/
  00000070  2f 73 76 6e 30 36 2d 30 30 31 2e 65 64 61 67 2e  /svn.xx.
  00000080  64 65 2f 41 64 6d 69 6e 69 73 74 72 61 74 69 6f  de/Administratio
  00000090  6e 2f 54 65 73 74 20 34 32 3a 53 56 4e 2f 31 2e  n/Test 42:SVN/1.
  000000a0  31 34 2e 35 2d 53 6c 69 6b 53 76 6e 20 28 78 36  14.5-SlikSvn (x6
  000000b0  34 2d 6d 69 63 72 6f 73 6f 66 74 2d 77 69 6e 64  4-microsoft-wind
  000000c0  6f 77 73 29 20 28 20 29 20 29 20                 ows) ( ) )
Incoming packet #0xf, type 94 / 0x5e (SSH2_MSG_CHANNEL_DATA)
  00000000  00 00 01 00 00 00 00 4f 28 20 73 75 63 63 65 73  .......O( succes
  00000010  73 20 28 20 28 20 41 4e 4f 4e 59 4d 4f 55 53 20  s ( ( ANONYMOUS
  00000020  45 58 54 45 52 4e 41 4c 20 29 20 33 36 3a 61 34  EXTERNAL ) 36:a4
  00000030  33 37 36 36 63 61 2d 61 32 34 64 2d 31 31 65 64  3766ca-a24d-11ed
  00000040  2d 61 64 32 35 2d 63 37 31 30 34 31 64 37 65 62  -ad25-c71041d7eb
  00000050  30 63 20 29 20 29 20                             0c ) )

```

Stefan

unread,
Jul 1, 2025, 8:18:41 AMJul 1
to TortoiseSVN
On Monday, June 30, 2025 at 12:42:23 PM UTC+2 p.kat...@gmail.com wrote:
Hello,,
i try to get the latest (released and snapshot) TortoiseSVN to connect with rhodecode 5.x.x .
Certificates are correct and working, the same plink/tortoisePlink connection string works with SlikSVN but not with TortoiseSVN.

What exactly does not work? What error message do you get?

Peter Katzmann

unread,
Jul 1, 2025, 9:57:32 AMJul 1
to TortoiseSVN on behalf of Stefan
Hello,
you can see it in the Network response to Tortoise:
svnserver: E210004 Malformed Network Data

--
You received this message because you are subscribed to a topic in the Google Groups "TortoiseSVN" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tortoisesvn/TOlWPbQBQGk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tortoisesvn...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tortoisesvn/62b9343a-0a38-42ed-8b64-e07f6de6932fn%40googlegroups.com.

Stefan

unread,
Jul 1, 2025, 10:34:02 AMJul 1
to TortoiseSVN
On Tuesday, July 1, 2025 at 3:57:32 PM UTC+2 p.kat...@gmail.com wrote:
Hello,
you can see it in the Network response to Tortoise:
svnserver: E210004 Malformed Network Data

These errors usually come from an antivirus app interfering with the connection. And yes: because TSVN is a GUI app calling another app with redirected stdout/stderr/stdin pipes, antivirus apps tend to interfere more than with CONSOLE apps that do the very same. So try to add an exception for TSVN.

Another source for this error would be if the repository is very old and hasn't been updated. So try running
svnadmin upgrade /path/to/repo

apart from these hints, I can't give you much help.

Peter Katzmann

unread,
Jul 1, 2025, 11:04:42 AMJul 1
to TortoiseSVN
Well,
I don't think the repository type will be the problem.
It's the latest, and SlikSVN is also fine, as you can see in the second network dump.
Both programs run svnserve -t, but they respond differently to svnserve's response from the remote site.

I'll check the firewall, but honestly, I doubt it makes a difference.
TSVN and SlikSVN connect via plink/tortoisePlink. SilkSVN works, TSVN doesn't.
Can I start TSVN from the command line interface?



Stefan

unread,
Jul 1, 2025, 11:40:12 AMJul 1
to TortoiseSVN
On Tuesday, July 1, 2025 at 5:04:42 PM UTC+2 p.kat...@gmail.com wrote:
Well,
I don't think the repository type will be the problem.

I didn't say it is, but that there's a chance it could be.
 
It's the latest, and SlikSVN is also fine, as you can see in the second network dump.
Both programs run svnserve -t, but they respond differently to svnserve's response from the remote site.

I'll check the firewall, but honestly, I doubt it makes a difference.
TSVN and SlikSVN connect via plink/tortoisePlink. SilkSVN works, TSVN doesn't.
Can I start TSVN from the command line interface?

TSVN is a GUI app. So while you can start it from the command line, it will still show the UI:

Also, TSVN does not do ssl/ssh or any networking itself, it uses the svn library for that.
As of course SlikSVN does.
 

Peter Katzmann

unread,
Jul 2, 2025, 6:41:57 AMJul 2
to TortoiseSVN
I checked it, not firewall Messages for the IP and format is 5 and db/format is 8
So both newest version..

Daniel Sahlberg

unread,
Jul 2, 2025, 3:43:18 PMJul 2
to TortoiseSVN
måndag 30 juni 2025 kl. 12:42:23 UTC+2 skrev p.kat...@gmail.com:
Hello,,
i try to get the latest (released and snapshot) TortoiseSVN to connect with rhodecode 5.x.x .

I tried to figure out if Rhodecode is using Apache Subversion (and in that case, which version) or their own implementation but their website wasn't very clear. Can you figure this out?

And answering your question elsewhere in the thread, yes you can install the Command line tools in the TortoiseSVN installer and then run the normal svn commands. This way you would rule out any problems in the TortoiseSVN GUI.

Cheers,
Daniel

Peter Katzmann

unread,
Jul 3, 2025, 2:41:24 AMJul 3
to TortoiseSVN
No problem;
>> rhodecode-docker-5.6.0 / $ svn --version                                                                                                                  
svn, version 1.14.4 (r1920901)                                                                                                                                
   compiled Jun 23 2025, 19:06:23 on x86_64-pc-linux-gnu                                                                                                      
                                                                                                                                                             
Copyright (C) 2024 The Apache Software Foundation.                                                                                                            
This software consists of contributions made by many people;                                                                                                  
see the NOTICE file for more information.                                                                                                                    
Subversion is open source software, see http://subversion.apache.org/                                                                                        
                                                                                                                                                             
The following repository access (RA) modules are available:                                                                                                  
                                                                                                                                                             
* ra_svn : Module for accessing a repository using the svn network protocol.                                                                                  
  - with Cyrus SASL authentication                                                                                                                            
  - handles 'svn' scheme                                                                                                                                      
* ra_local : Module for accessing a repository on local disk.                                                                                                
  - handles 'file' scheme                                                                                                                                    
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.                                                                                
  - using serf 1.3.9 (compiled with 1.3.9)                                                                                                                    
  - handles 'http' scheme                                                                                                                                    
  - handles 'https' scheme                                                                                                                                    
                                                                                                                                                             
The following authentication credential caches are available:                                                                                                
                                                                                                                                                             
* GPG-Agent                                                                                                                                                  
                                                                                                                                                             
>> rhodecode-docker-5.6.0 / $ svnserve --version                                                                                                              
svnserve, version 1.14.4 (r1920901)                                                                                                                          
   compiled Jun 23 2025, 19:06:23 on x86_64-pc-linux-gnu                                                                                                      
                                                                                                                                                             
Copyright (C) 2024 The Apache Software Foundation.                                                                                                            
This software consists of contributions made by many people;                                                                                                  
see the NOTICE file for more information.                                                                                                                    
Subversion is open source software, see http://subversion.apache.org/                                                                                        
                                                                                                                                                             
The following repository back-end (FS) modules are available:                                                                                                
                                                                                                                                                             
* fs_fs : Module for working with a plain file (FSFS) repository.                                                                                            
* fs_x : Module for working with an experimental (FSX) repository.                                                                                            
* fs_base : Module for working with a Berkeley DB repository.                                                                                                
                                                                                                                                                             
Cyrus SASL authentication is available.                                                                                                                      

Peter Katzmann

unread,
Jul 3, 2025, 3:21:11 AMJul 3
to TortoiseSVN
So i installed Tortoise with Command Line tools and it's working:
C:\Users\pk16208\Documents\svntest>"c:\Program Files\TortoiseSVN\bin\svn.exe" co svn+ssh://rhod...@svn.xxx.xx/Administration/Test
A    Test\Baculum - Bacula Web Interface.csv
A    Test\Testdokument.txt
A    Test\Testdokumentnew.txt
A    Test\neues_doc.txt
A    Test\newFile
A    Test\newNase.txt
A    Test\newfile.txtx
A    Test\sources.list
Checked out revision 13.
I added the logfile sshlog-cli is the output of the cli checkout*
sshlog is with tortoise
sshlog.txt
sshlog-cli.txt

Daniel Sahlberg

unread,
Jul 3, 2025, 2:32:45 PMJul 3
to TortoiseSVN
Thanks. (And please bottom-post, it makes it much easier to keep the context).

If you don't already have PuTTY installed, can you get it (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) and install? Then go into the TortoiseSVN, Settings and under Network set SSH client to plink.exe from the PuTTY install ("C:\Program Files\PuTTY\plink.exe"). Then retry the checkout. (You will get the password prompt in a terminal window, but it should still work).

I've made some preliminary tests and it seems like the version of Plink included in TortoiseSVN is indeed having some problems. I don't know how you managed to get your log files so I can't completely confirm that I have the same problem as you, but I get an error message ("Unable to connect to the repository at URL svn+ssh://....") when using the included TortoisePlink, but it seems to work when I use Plink.exe included in PuTTY 0.83.

Kind regards,
Daniel

Message has been deleted
Message has been deleted

Peter Katzmann

unread,
Jul 4, 2025, 4:42:57 AMJul 4
to TortoiseSVN
Hello,
no it makes o difference, i already tested against both TortoisePlink and Plink from putty.
I tried it also against several versions.
To get the logiles i use the following command line:
When i set it in the subversion config file it's easier to use it with cli commands. But you can also set it on the network tab with these option.
You can switch putty plink with TortoisePlink, the option works vice versa for me.

ssh ="C:\\Program Files\\PuTTY\\plink.exe"-i "c:\\users\\xxx\\.ssh\\rhodeocode.ppk" -P 9022 -l rhodecode -sshlog "c:\\temp\\sshlog.txt" -logappend

 
Reply all
Reply to author
Forward
0 new messages