|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
Handshare failed (reposted due to special character in message)Hi,
I was trying to check out the changes in the repository when I got this exception: SEVERE: null org.tmatesoft.svn.core.SVNException: svn: Handshake failed, received: |
|
|
Re: Handshare failed (reposted due to special character in message)Hi,
What protocol do you use? How exactly do you run SVNKit? ---- Alexander Sinyushkin, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! http://sqljet.com/ - Java SQLite Library! Huu Bang wrote: > Hi, > > I was trying to check out the changes in the repository when I got this > exception: > > SEVERE: null > org.tmatesoft.svn.core.SVNException: svn: Handshake failed, received: > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: Handshare failed (reposted due to special character in message)I'm using svn:// protocol
I was trying to check out the files from the repository: updateClient.doExport(fileURL, destfile, 39, 100, "CRLF", true, SVNDepth.EMPTY); I used SVNKit as a library in my stand alone Java application.
|
|
|
Re: Handshare failed (reposted due to special character in message)Hi,
What is the protocol that you are using? Is it https:// or svn+ssh://? And how do you set up an authentication manager? ---- Alexander Sinyushkin, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! http://sqljet.com/ - Java SQLite Library! Huu Bang wrote: > I was trying to check out the files from the repository: > > updateClient.doExport(fileURL, destfile, 39, 100, "CRLF", true, > SVNDepth.EMPTY); > > I used SVNKit as a library in my stand alone Java application. > > > Alexander Sinyushkin wrote: > >> Hi, >> >> What protocol do you use? >> How exactly do you run SVNKit? >> >> ---- >> Alexander Sinyushkin, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> http://sqljet.com/ - Java SQLite Library! >> >> >> >> Huu Bang wrote: >> >>> Hi, >>> >>> I was trying to check out the changes in the repository when I got this >>> exception: >>> >>> SEVERE: null >>> org.tmatesoft.svn.core.SVNException: svn: Handshake failed, received: >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: Handshare failed (reposted due to special character in message)Dear Huu,
The error you're reporting might appear for different reasons. Please check the following: 1. You're using proper protocol (i.e. you're not using URL like svn://host/path when access repository managed by apache http server). 2. In case you're using svn access protocol, then make sure that you're using proper port number, in case server daemon runs on non-standard port. The easiest way to check this is to run native command line client command with the same options you're executing SVNKit command. 3. If you're using svn+ssh, then check that "Banner" option is disabled in the /etc/sshd_config on the server side, so that no "banner" message is sent to the client upon connection. Also make sure that svnserve is on the path on the server side. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! http://sqljet.com/ - Java SQLite Library! Huu Bang wrote: > I was trying to check out the files from the repository: > > updateClient.doExport(fileURL, destfile, 39, 100, "CRLF", true, > SVNDepth.EMPTY); > > I used SVNKit as a library in my stand alone Java application. > > > Alexander Sinyushkin wrote: >> Hi, >> >> What protocol do you use? >> How exactly do you run SVNKit? >> >> ---- >> Alexander Sinyushkin, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> http://sqljet.com/ - Java SQLite Library! >> >> >> >> Huu Bang wrote: >>> Hi, >>> >>> I was trying to check out the changes in the repository when I got this >>> exception: >>> >>> SEVERE: null >>> org.tmatesoft.svn.core.SVNException: svn: Handshake failed, received: >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: svnkit-users-unsubscribe@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: Handshare failed (reposted due to special character in message)You might also check for firewalls etc: the Windows firewall has caused this error for me before now.
|
|
|
Re: Handshare failed (reposted due to special character in message)Hi Alexander and all,
I'm using svn protocol. I give authentication when I create a new client manager SVNClientManager clientManager = SVNClientManager.newInstance(SVNWCUtil.createDefaultOptions(true), username, password); SVNUpdateClient updateClient = clientManager.getUpdateClient(); then do an export: updateClient.doExport(fileURL, destfile, 30, 100), "CRLF", true, SVNDepth.EMPTY); The strange thing is it doesn't fail all the way from the beginning, meaning it can still check out some files and just throw the error only at some time later. Any help is appreciated. Thanks a lot everyone. I'm surprised for the fast response :) |
|
|
Re: Handshare failed (reposted due to special character in message)Hello Huu,
> The strange thing is it doesn't fail all the way from the > beginning, meaning it can still check out some files and just throw > the error only at some time later. Then it may indeed be firewall interference or, svnserve daemon on the server side could be configured so, that in case of exceeding certain requests rate limit it rejects to accept new requests. This could be even default behaviour in case you use inetd service on the server side to launch svnserve. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! http://sqljet.com/ - Java SQLite Library! Huu Bang wrote: > Hi Alexander and all, > > I'm using svn protocol. > > I give authentication when I create a new client manager > > SVNClientManager clientManager = > SVNClientManager.newInstance(SVNWCUtil.createDefaultOptions(true), username, > password); > SVNUpdateClient updateClient = clientManager.getUpdateClient(); > > then do an export: > > updateClient.doExport(fileURL, destfile, 30, 100), "CRLF", true, > SVNDepth.EMPTY); > > The strange thing is it doesn't fail all the way from the beginning, meaning > it can still check out some files and just throw the error only at some time > later. > > Any help is appreciated. > > Thanks a lot everyone. > > I'm surprised for the fast response :) --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: Handshare failed (reposted due to special character in message)Hi Alexander,
I start svnserve from the Mac OS X terminal like this svnserve -d -r <path-to-svn-repo> Anyway, really thanks a lot for the help. At least I have some clue now :) HB
|
| Free embeddable forum powered by Nabble | Forum Help |