Giter Club home page Giter Club logo

haproxy-1.4's People

Contributors

abridgett avatar aw avatar bedis avatar cbonte avatar cburroughs avatar copiousfreetime avatar deltay avatar emericbr avatar godbach avatar horms avatar janfrode avatar jclulow avatar jf avatar joewilliams avatar kevinmusker avatar leki75 avatar majek avatar morfoh avatar mscherer avatar mshuler avatar pservit avatar sagi-mh avatar trtrmitya avatar vincentbernat avatar westr avatar wiessoft avatar wtarreau avatar ylafon avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

haproxy-1.4's Issues

HAProxy 1.4.24 issue with Content Length Mismatch on client side

Hi Guys,

I have been using haproxy in our company for months and have loved our experience. However we recently ran into a strange issue even though no changes happened on the haproxy side.

We are currently using haproxy 1.4.24 on Debian 7. Our backend consists of 6 Windows 2008 R2 servers running IIS 7.5. Strictly web servers for stateless applications and services round robin balanced.

I have been debugging with fiddler and usually requests work fine however once every few requests a page will hang and it appears that haproxy makes a connect to a backend server but the connection is lost before all the data is transferred.

Within Fiddler I receive a content length mismatch errors saying we should have downloaded 800 KB but only received 100KB. Our client and server connections are set to 10 min and the connect timeout is 5 seconds (increasing that had no effect).

I am able to recreate the issue but it is random and is not related to server load or network limitation as we don't have any other issues. I recreate by refreshing a page over and over until the issue arises.

Below find config...

Global config

global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 100000
stats socket /var/run/haproxy.sock mode 0600 level admin user haproxy group haproxy daemon

Default config

defaults
log global
mode http
option httplog
option dontlognull
option redispatch
option forwardfor
option httpclose
option abortonclose
retries 1
timeout connect 5000
timeout client 50000
timeout server 50000

listen stats
#disabled
bind *:8888
stats enable
stats uri /haproxy?stats
stats realm Strictly\ Private
stats auth xxxxx:xxxxxx

frontend open *:80
timeout client 600000

default_backend web

backend web
timeout server 600000
balance roundrobin

server edrwebproawvc1 xxx.xxx.xxx.xxx:80 check
    server edrwebproawvd1 xxx.xxx.xxx.xxx:80 check
            server edrwebproawvc2 xxx.xxx.xxx.xxx:80 check
            server edrwebproawvd2 xxx.xxx.xxx.xxx:80 check
            server edrwebproawvc3 xxx.xxx.xxx.xxx:80 check
            server edrwebproawvd3 xxx.xxx.xxx.xxx:80 check

Any help you can point me to I would greatly appreciate it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.