|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
svn: chunked stream ended unexpectedlyHello everybody,
I'm trying to get the log from my SVNrepository (APACHE2+modSVN+SSL) using the sample code provided 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 |
|
|
Re: svn: chunked stream ended unexpectedlyHello,
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@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: svn: chunked stream ended unexpectedlyHello 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
|
|
|
Re: svn: chunked stream ended unexpectedlyHello,
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@... >> For additional commands, e-mail: svnkit-users-help@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Resolved : Re: svn: chunked stream ended unexpectedlyHello,
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
|
|
|
Re: Resolved : Re: svn: chunked stream ended unexpectedlyHello,
Thank you very much for this follow up. May I ask you to provide more details on how you've changed your apache server configuration to resolve that issue? There were several other similar bug reports recently, so I think your experience may help others. Thanks! Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! Cdkey22 wrote: > 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@... >>>> For additional commands, e-mail: svnkit-users-help@... >>>> >>>> >>>> >> --------------------------------------------------------------------- >> 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: Resolved : Re: svn: chunked stream ended unexpectedlyOk what I did for changing the right of the Repo is not very complicated.
Here is the configuration part of the Dav Repository in apache 2 <Location /plateforme> DAV svn SVNParentPath /srv/svn/plateforme # Allow the 'kdrepos' index page to list all the repositories it contains SVNListParentPath On # Limit write permission to list of valid users. <LimitExcept PROPFIND OPTIONS> # Require SSL connection for password protection. SSLRequireSSL AuthType Basic # Message to give to the committer AuthName "Write access requires a password" # File listing users with write (commit) access AuthUserFile /srv/svn/user_access/svn_passwdfile Require valid-user </LimitExcept> </Location> I changed the limit access from <LimitExcept GET PROPFIND OPTIONS REPORT> initial to the one in the sample. I will see in future if it's work with nothing. Hope it can help Cdkey22
|
|
|
Re: Resolved : Re: svn: chunked stream ended unexpectedlyPlease see https://issues.apache.org/jira/browse/INFRA-1807, in particular the comments from Roy Fielding where he describes why the circumvention above is not a solution to the problem. I would appreciate you working with the Apache infrastructure team to diagnose and fix this problem as it is affecting many Apache committers.
|
|
|
Re: Resolved : Re: svn: chunked stream ended unexpectedlyHello,
Thank you for pointing to that issue. I've left a comment there. Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! rgoers wrote: > Please see https://issues.apache.org/jira/browse/INFRA-1807, in particular > the comments from Roy Fielding where he describes why the circumvention > above is not a solution to the problem. I would appreciate you working with > the Apache infrastructure team to diagnose and fix this problem as it is > affecting many Apache committers. > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
|
|
Re: Resolved : Re: svn: chunked stream ended unexpectedlyHello,
There is a discussion of that issue at https://issues.apache.org/jira/browse/INFRA-1807 - unfortunately so far we could not understand why such a configuration change resolves the problem (at least I could not understand that :) and it is not yet clear whether it is a client behavior that results in the error or some sort of a bug on the server side). One of the Apache contributors have suggested that detailed Apache error log may help to reveal the origin of the problem. I'd appreciate if you could get such a log with the old server configuration, if possible. Thank you very much in advance! Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! Cdkey22 wrote: > Ok what I did for changing the right of the Repo is not very complicated. > Here is the configuration part of the Dav Repository in apache 2 > > <Location /plateforme> > DAV svn > SVNParentPath /srv/svn/plateforme > # Allow the 'kdrepos' index page to list all the repositories it contains > SVNListParentPath On > # Limit write permission to list of valid users. > <LimitExcept PROPFIND OPTIONS> > # Require SSL connection for password protection. > SSLRequireSSL > AuthType Basic > # Message to give to the committer > AuthName "Write access requires a password" > # File listing users with write (commit) access > AuthUserFile /srv/svn/user_access/svn_passwdfile > Require valid-user > </LimitExcept> > </Location> > > > I changed the limit access from <LimitExcept GET PROPFIND OPTIONS REPORT> > initial to the one in the sample. I will see in future if it's work with > nothing. > > Hope it can help > > Cdkey22 > > Alexander Kitaev-3 wrote: >> Hello, >> >> Thank you very much for this follow up. May I ask you to provide more >> details on how you've changed your apache server configuration to >> resolve that issue? There were several other similar bug reports >> recently, so I think your experience may help others. >> >> Thanks! >> >> Alexander Kitaev, >> TMate Software, >> http://svnkit.com/ - Java [Sub]Versioning Library! >> >> Cdkey22 wrote: >>> 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@... >>>>>> For additional commands, e-mail: svnkit-users-help@... >>>>>> >>>>>> >>>>>> >>>> --------------------------------------------------------------------- >>>> 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@... >> >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: svnkit-users-unsubscribe@... For additional commands, e-mail: svnkit-users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |