Forum

Upload Files Error: 101

SynCop
10 September 2011, 00:25
Hiawatha version: 7.6
Operating System: CentOS 6

SystemLog
Sat 10 Sep 2011 01:53:51 +0400|Hiawatha v7.6 started
***.***.***.***|Sat 10 Sep 2011 01:54:05 +0400|Timeout while waiting for request
***.***.***.***|Sat 10 Sep 2011 01:54:05 +0400|Timeout while waiting for request
***.***.***.***|Sat 10 Sep 2011 01:54:05 +0400|Timeout while waiting for request
***.***.***.***|Sat 10 Sep 2011 01:54:05 +0400|Timeout while waiting for request
***.***.***.***|Sat 10 Sep 2011 01:54:14 +0400|Maximum request size reached
***.***.***.***|Sat 10 Sep 2011 01:54:14 +0400|Maximum request size reached
***.***.***.***|Sat 10 Sep 2011 01:54:14 +0400|Maximum request size reached
***.***.***.***|Sat 10 Sep 2011 02:00:02 +0400|Client kicked
Sat 10 Sep 2011 02:00:02 +0400|Hiawatha v7.6 stopped


The size of the File was 1.7mb great.
The HTTP Error Code is 101
Error 101 (net::ERR_CONNECTION_RESET)

My hiawatha.conf:
Binding {
Port = 80
MaxUploadSize = 10
MaxRequestSize = 256
TimeForRequest = 5, 45
}

WebsiteRoot = /var/www/html
Hostname = ***
StartFile = index.php
ExecuteCGI = yes
CGIhandler = /usr/bin/php-cgi:php,php5

TimeForCGI = 100
KillTimedoutCGI = no

SystemLogFile = /var/log/hiawatha/system.log
ErrorLogFile = /var/log/hiawatha/error.log
GarbageLogFile = /var/log/hiawatha/garbage.log
Hugo Leisink
10 September 2011, 15:57
The "TimeForRequests = 5,45" means that the first request in a connection should be sent within 5 seconds. Probably that's too short for sending 1.7 MB. You should increase the 5.

1.7 MB is 1700 kB. Replace the 256 for the MaxRequestSize with, for example, 2000.
This topic has been closed.