You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Linnenkohl Jan <ja...@vmt-gmbh.com> on 2008/05/20 07:50:17 UTC

Error by Update/Checkout: Could not read chunk size

Hello,

we have some problems with Update & Checkout commands with our server. It brings a request failed message (see screenshot) and stops the command.
When doing immediately afterwards the same command, there are no more files transfered and the command finish the command.
We have this problem from different clients (TSVN 1.4.6 / 1.4.8, SVN 1.4.6) from time to time. Running "svnadmin verify" on the server detects no errors.

Searching on the internet I didn't find a solution for my problem.
I turned the on-acess virusscanner off on both sides, server and client.
I tried to use <Location /svn> instead of <Location /svn/> (see http://www.nabble.com/Chunk-Size-Error-td16504073.html or http://svn.haxx.se/users/archive-2005-02/0751.shtml )

Server: 

Windows Server 2003 SP2 English
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_auth_sspi/1.0.4 SVN/1.4.6 mod_aspdotnet/2.2

Apache Configuration:

# Subversion
RedirectMatch ^(/svn)$ $1/
<Location /svn/>

  DAV svn
  # any /svn/foo URL will map to a repository C:/svn/foo
  # I've only got it working using SVNPath!!
  SVNParentPath D:/SCM/SVN/data
  SVNListParentPath On
  AuthType SSPI
  AuthName "Subversion (Einloggen als 'EU\Benutzername')"
  AuthzSVNAccessFile D:/SCM/SVN/config/svnaccessfile.conf
#  Require valid-user
  Require group PFVM-DEV1\SCM_Administratoren EU\Nec-AllUser EU\Nec-Rnd-Externe
  SSPIAuth On
  SSPIAuthoritative on
  SSPIDomain <domaincontroller>
  SSPIOfferBasic on
  SSPIOfferSSPI off
  SSPIBasicPreferred On
  SSPIOmitDomain on
  SSPIUsernameCase lower
  SSLRequireSSL
</Location>

CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION

SVN Log:

[19/May/2008:17:09:26 +0200] jlinnenkohl update '/trunk'


Apache Log: 

10.0.10.142 - - [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 401 401
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 207 692
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/vcc/default HTTP/1.1" 207 407
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/bln/1765 HTTP/1.1" 207 464
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 207 692
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/vcc/default HTTP/1.1" 207 407
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/bln/1765 HTTP/1.1" 207 464
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 207 692
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "REPORT /svn/BestFit/!svn/vcc/default HTTP/1.1" 200 98460

Apache Error Log: Nothing


  <<Bild (Geräteunabhängige Bitmap)>> 


 <<Bild (Geräteunabhängige Bitmap)>> 

AW: Error by Update/Checkout: Could not read chunk size

Posted by Linnenkohl Jan <ja...@vmt-gmbh.com>.
Hello,
 
I resolved my problem by putting the following values in my Apache configuration. The important parameter seem to be the KeepAliveTimeout parameter, which has a normal value of 5 seconds.
 
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 5000
 
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection).
#
KeepAlive On
 
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
#
MaxKeepAliveRequests 0
 
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 1000
 
Jan


VMT Vision Machine Technic Bildverarbeitungssysteme GmbH 
Geschaeftsfuehrer/Managing Directors: Dr.-Ing. Gunther Kegel, Dr.-Ing Peter Adolphs,
Registergericht/Register Court: AG Mannheim HRB 432524
 


Von: Linnenkohl Jan [mailto:jan.linnenkohl@vmt-gmbh.com] 
Gesendet: Dienstag, 20. Mai 2008 09:50
An: users@subversion.tigris.org
Betreff: Error by Update/Checkout: Could not read chunk size 



Hello, 

we have some problems with Update & Checkout commands with our server. It brings a request failed message (see screenshot) and stops the command.

When doing immediately afterwards the same command, there are no more files transfered and the command finish the command.

We have this problem from different clients (TSVN 1.4.6 / 1.4.8, SVN 1.4.6) from time to time. Running "svnadmin verify" on the server detects no errors.

Searching on the internet I didn't find a solution for my problem. 
I turned the on-acess virusscanner off on both sides, server and client. 
I tried to use <Location /svn> instead of <Location /svn/> (see http://www.nabble.com/Chunk-Size-Error-td16504073.html <http://www.nabble.com/Chunk-Size-Error-td16504073.html>  or http://svn.haxx.se/users/archive-2005-02/0751.shtml <http://svn.haxx.se/users/archive-2005-02/0751.shtml>  )

Server: 

Windows Server 2003 SP2 English 
Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_auth_sspi/1.0.4 SVN/1.4.6 mod_aspdotnet/2.2 

Apache Configuration: 

# Subversion 
RedirectMatch ^(/svn)$ $1/ 
<Location /svn/> 

  DAV svn 
  # any /svn/foo URL will map to a repository C:/svn/foo 
  # I've only got it working using SVNPath!! 
  SVNParentPath D:/SCM/SVN/data 
  SVNListParentPath On 
  AuthType SSPI 
  AuthName "Subversion (Einloggen als 'EU\Benutzername')" 
  AuthzSVNAccessFile D:/SCM/SVN/config/svnaccessfile.conf 
#  Require valid-user 
  Require group PFVM-DEV1\SCM_Administratoren EU\Nec-AllUser EU\Nec-Rnd-Externe 
  SSPIAuth On 
  SSPIAuthoritative on 
  SSPIDomain <domaincontroller> 
  SSPIOfferBasic on 
  SSPIOfferSSPI off 
  SSPIBasicPreferred On 
  SSPIOmitDomain on 
  SSPIUsernameCase lower 
  SSLRequireSSL 
</Location> 

CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION 

SVN Log: 

[19/May/2008:17:09:26 +0200] jlinnenkohl update '/trunk' 


Apache Log: 

10.0.10.142 - - [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 401 401 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 207 692 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/vcc/default HTTP/1.1" 207 407 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/bln/1765 HTTP/1.1" 207 464 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 207 692 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/vcc/default HTTP/1.1" 207 407 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/!svn/bln/1765 HTTP/1.1" 207 464 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "PROPFIND /svn/BestFit/trunk HTTP/1.1" 207 692 
10.0.10.142 - jlinnenkohl [19/May/2008:17:09:26 +0200] "REPORT /svn/BestFit/!svn/vcc/default HTTP/1.1" 200 98460 

Apache Error Log: Nothing 


  Bild (Geräteunabhängige Bitmap) 


Bild (Geräteunabhängige Bitmap) 


Wichtiger Hinweis:
Diese E-Mail einschliesslich ihrer Anhaenge enthaelt vertrauliche und rechtlich geschuetzte Informationen, die nur fuer den Adressaten bestimmt sind. Sollten Sie nicht der bezeichnete Adressat sein, so teilen Sie dies bitte dem Absender umgehend mit und loeschen Sie diese Nachricht und ihre Anhaenge. Die unbefugte Weitergabe, das Anfertigen von Kopien und jede Veraenderung der E-Mail ist untersagt. Der Absender haftet nicht fuer Inhalte von veraenderten E-Mails.


 

Important Information:
This e-mail message including its attachments contains confidential and legally protected information solely intended for the addressee. If you are not the intended addressee of this message, please contact the addresser immediately and delete this message including its attachments. The unauthorized dissemination, copying and change of this e-mail are strictly forbidden. The addresser shall not be liable for the content of such changed e-mails.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org