« Return to Thread: svn: chunked stream ended unexpectedly

Resolved : Re: svn: chunked stream ended unexpectedly

by Cdkey22 :: Rate this Message:

| View in Thread

Hello,

Excuse me for being so long to answer I was on vacation.
I finaly solved the problem by changeing my configuration of Apache 2 by unauthorise not secured client to list and see the content of the SVN Repository.

Thanks for Alexander Kitaev to help me to solve the problem

Hope it may help someone.

Cdkey22

Alexander Kitaev-3 wrote:
Hello,

So, you're using v1.2.0 of SVNKit. I think it makes sense to try using
newer version (1.2.1), if possible. In SVNKit 1.2.1 there are number of
bugfixes that theoretically may resolve this issue.

In general SSL problems are hard to debug and fix - SVNKit relies on SSL
support that is built into JVM, but looks like you're using more or less
recent JDK version.

In case problem persists with 1.2.1 version of SVNKit, please check
server logs for any suspicious error messages, then, if possible enable
SVNKit debug log as described at https://wiki.svnkit.com/Troubleshooting
(set FINEST log level).

Also, it may help to enable spooling feature (server HTTP request is
read fully from the socket before it is processed, so that there are no
delays in reading data coming from the server, which delays may result
in certain cases in data being corrupted). To enable spooling set up
SVNkit with the following code:

Instead of:

DAVRepositoryFactory.setup();

Use:

DAVRepositoryFactory.setup(
   new DefaultHTTPConnectionFactory(null, true, null));

Thanks!

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

Cdkey22 wrote:
> Hello and thanks for answering me. The version of JDK is JRE 1.6.0_07. For
> the version of SVNKIT I don't exactly which one is the good so I paste the
> content of svnkit.build.properties :
>
> svnkit.version=1.2.0
> # could be overriden by build server, e.g. TeamCity.
> build.number=${svnkit.version}
>
> #properties for SVN runtime
> svnkit.version.string=SVN/1.5.2 SVNKit/1.2.0 (http://svnkit.com/) r4949
> svnkit.version.major=1
> svnkit.version.minor=2
> svnkit.version.micro=0
> svnkit.version.revision=4949
>
> #build.xml properties
> jna.version=3.0.5
> trilead.ssh2.version=build213-svnkit-1.2-patch
>
> Thank you again for answering me
>
> Cdkey22
>
>
> Alexander Kitaev-3 wrote:
>> Hello,
>>
>> What version of SVNKit do you use and what version of JDK?
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> Cdkey22 wrote:
>>> Hello everybody,
>>> I'm trying to get the log from my SVNrepository (APACHE2+modSVN+SSL)
>>> using
>>> the sample code provided
>>> http://svn.svnkit.com/repos/svnkit/trunk/doc/examples/src/org/tmatesoft/svn/examples/repository/History.java
>>> here .
>>> When I desactivate the SSL encryption on my SVN everything is fine.
>>> But when I do activate it I've got this error message that I don't
>>> understand.
>>> error while collecting log information for
>>> 'https://148.60.222.200/plateforme/repo1': svn: chunked stream ended
>>> unexpectedly
>>> svn: REPORT request failed on '/plateforme/repo1/!svn/bc/0'
>>> If anyone can help me that would be very nice.
>>> Thanks for your time
>>> Cdkey22
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: svnkit-users-unsubscribe@svnkit.com
>> For additional commands, e-mail: svnkit-users-help@svnkit.com
>>
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@svnkit.com
For additional commands, e-mail: svnkit-users-help@svnkit.com

 « Return to Thread: svn: chunked stream ended unexpectedly