[squid-users] squid 5.7 FTP upload fails
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu Aug 8 14:53:39 UTC 2024
>On 2024-08-08 06:19, Matus UHLAR - fantomas wrote:
>>Perhaps configuring proper debug_options, but which?
On 08.08.24 08:15, Alex Rousskov wrote:
>Yes, we should escalate triage to debugging log analysis. I am willing
>to study your ALL,9 cache.log collected from Squid v6 while
>reproducing the problem using a single transaction (or as few
>transactions as possible). Please share a pointer to compressed
>cache.log file (privately of needed). You probably do not need them,
>but there are a few relevant hints at https://wiki.squid-cache.org/SquidFaq/BugReporting#debugging-a-single-transaction
>
>
>Thank you,
well, you are helping me...
The bad news is that "debug_options ALL,9" caused test upload to succeed
(multiple attempts). After commenting it out it fails again.
and that was single transaction.
I founbd out that with:
debug_options 33,9
- mostly succeeds, sometimes crashes.
however the "* We are completely uploaded and fine" message is new here
(but doesn't appear all the time)
I also tried 9,9 without success.
Could errors like this be caused by something like lacking fflush() on socket?
# curl -v --no-progress-meter -x 192.168.A.B:3128 -T cruft.out.gz -u "anonymous:dummy at example.net" ftp://example.net/incoming/
* Trying 192.168.A.B:3128...
* Connected to 192.168.A.B (192.168.A.B) port 3128 (#0)
* Server auth using Basic with user 'anonymous'
> PUT ftp://anonymous:dummy%40example.net@example.net/incoming/cruft.out.gz HTTP/1.1
> Host: example.net:21
> Authorization: Basic YW5vbnltb3VzOmR1bW15QGV4YW1wbGUubmV0
> User-Agent: curl/7.88.1
> Accept: */*
> Proxy-Connection: Keep-Alive
> Content-Length: 10438601
> Expect: 100-continue
>
* Done waiting for 100-continue
} [65536 bytes data]
* We are completely uploaded and fine
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains?
More information about the squid-users
mailing list