curl-library
Re: HTTP upload error
Date: Tue, 6 Dec 2016 11:57:45 +0000
>
> During HTTP upload we are getting this info and eventually fails with
> server error (500). What does it indicate ? Full trace is given below
>
> cURL Info: we are done reading and this is set to close, stop send
>
> 11/23 13:10:50 0000: POST /webconsole/httplogupload.do HTTP/1.1
>
> 11/23 13:10:50 002c: Host: logs.commvault.com
>
> 11/23 13:10:50 0046: Authorization:XXXXXXXXXX
>
> 11/23 13:10:50 0086: xxxxxxxxxxxxxxxxxxxxxx
>
> 11/23 13:10:50 00a9: Accept: */*
>
> 11/23 13:10:50 00b6: Expect:100-continue
>
> 11/23 13:10:50 00cb: Content-Length: 2530781519
>
> 11/23 13:10:50 00e7:
> Content-Type:multipart/form-data;boundary=--HTTP-LOGUPLOAD-DEFAU
>
> 11/23 13:10:50 0127: LT-BOUNDARY--;
> boundary=------------------------6a4c1dc24dd66508
>
> 11/23 13:10:50 0169:
>
> 11/23 13:10:50 <= Recv header, 23 bytes (0x17)
>
> 11/23 13:10:50 0000: HTTP/1.1 100 Continue
>
> 11/23 13:11:45 <= Recv header, 36 bytes (0x24)
>
> 11/23 13:11:45 0000: HTTP/1.1 500 Internal Server Error
>
> 11/23 13:11:45 <= Recv header, 19 bytes (0x13)
>
> 11/23 13:11:45 0000: Mime-Version: 1.0
>
> 11/23 13:11:45 <= Recv header, 37 bytes (0x25)
>
> 11/23 13:11:45 0000: Date: Wed, 23 Nov 2016 13:11:45 CST
>
> 11/23 13:11:45 <= Recv header, 57 bytes (0x39)
>
> 11/23 13:11:45 0000: Via: 1.1 webfilter12-vm.allina.com:80
> (Cisco-WSA/5.0.0)
>
> 11/23 13:11:45 <= Recv header, 25 bytes (0x19)
>
> 11/23 13:11:45 0000: Content-Type: text/html
>
> 11/23 13:11:45 <= Recv header, 19 bytes (0x13)
>
> 11/23 13:11:45 0000: Connection: close
>
> 11/23 13:11:45 <= Recv header, 22 bytes (0x16)
>
> 11/23 13:11:45 0000: Content-Length: 1541
>
> 11/23 13:11:45 <= Recv header, 2 bytes (0x2)
>
> 11/23 13:11:45 0000:
>
> 11/23 13:11:45 == cURL Info: we are done reading and this is set to
> close, stop send
>
> 11/23 13:11:45 == cURL Info: Closing connection 1
>
Well that is what it says, if you're uploading something and the server replies with an error then curl stops uploading. In your trace there's no => Send data which is weird since it looks like the server sends you the 100-continue instantaneously and then waits for about a minute expecting data before returning an error. Are you able to reproduce this all the time or is it just once in a while? Also I notice the upload size is larger than 2 gigs at 2530781519, that could be something.
>It is happening in customer's setup all the time for larger files. For smaller files there is no issue.
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-12-06