random 503 + FetchError: straight insufficient bytes
Nicolas Delmas
colas.delmas at gmail.com
Fri Jul 1 16:11:28 CEST 2016
But how is it possible ? How the request could be stop between the header
and the post data ?
We call the URL like this :
> var CF_log = {};
> CF_log.referrer = document.referrer;
> CF_log.url = ....
>
> $.CF_ajax({
> type: 'POST',
> dataType: 'json',
> cache: false,
> data: CF_log,
> url: 'cf_log.php'
> });
I get this when all works :
> ####
T 2016/06/28 11:34:36.529144 Client:11718 -> Varnish:80 [A]
> POST /proxy.php?xdp_path=http%3A%2F*******Fcf_log.php HTTP/1.1..Host:
> ******..Connection: keep-alive..Content-Length: 158..Accept:
> application/json, text/javascript, */*; q=0.01..Origin:*****.
> <http://forum.doctissimo.fr.>.X-Requested-With:
> XMLHttpRequest..User-Agent: Mozilla/5.0 (X11; Linux x86_64)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87
> Safari/537.36..Content-Type: application/x-www-form-urlencoded;
> charset=UTF-8..Referer: ******..Accept-Encoding: gzip,
> deflate..Accept-Language: en-US,en;q=0.8,fr;q=0.6..Cookie:
> users_res=1920x1200; *************
>
> ##
> T 2016/06/28 11:34:36.529183 Client:11718 -> Varnish:80 [AP]
> ********; awsV=1467102093324...._all_data_POST_
> #####
and this when it failed
##
> T 2016/06/29 08:57:32.756481 Client:49781 -> Varnish:80 [AP]
> POST /proxy.php?xdp_path=http%3A%2F%2F********2Fcf_log.php
> HTTP/1.1..Accept: application/json, text/javascript, */*;
> q=0.01..Content-Type: application/x-www-form-urlencoded;
> charset=UTF-8..X-Requested-With: XMLHttpRequest..Referer:
> ******************..Accept-Language: fr..Accept-Encoding: gzip,
> deflate..User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.0;
> Trident/5.0)..Host: *****..Content-Length: 434..Connection:
> Keep-Alive..Cache-Control: no-cache..Cookie: ; __ybotn=1...._no_POST_data_
> ######
> T 2016/06/29 08:57:36.568554 92.155.255.170:49781 -> 85.116.36.59:80 [AR]
> ..
#
>
>
Le 29 juin 2016 6:53 PM, "Guillaume Quintard" <
guillaume at varnish-software.com> a écrit :
> Isn't it because the client stops writing that post request?
>
> --
> Guillaume Quintard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160701/0cfa67c0/attachment.html>
More information about the varnish-misc
mailing list