On 11/20/2015 21:05, Bryan Talbot wrote: > On Fri, Nov 20, 2015 at 1:39 AM, Piotr Kubaj <pku...@riseup.net > <mailto:pku...@riseup.net>> wrote: > > > > Unfortunately, using 1.5.15 didn't change anything. The logs are: > > > We can see from the logs below that the connection is aborting with CD > or sH codes. > > The docs say: > > CD The client unexpectedly aborted during data transfer. This can be > caused by a browser crash, by an intermediate equipment between the > client and haproxy which decided to actively break the connection, > by network routing issues between the client and haproxy, or by a > keep-alive session between the server and the client terminated > first > by the client. > > > sH The "timeout server" stroke before the server could return its > response headers. This is the most common anomaly, indicating too > long transactions, probably caused by server or database saturation. > The immediate workaround consists in increasing the "timeout server" > setting, but it is important to keep in mind that the user > experience > will suffer from these long response times. The only long term > solution is to fix the application. > > > The logs show that haproxy is able to accept the connection from your > client and make the connection to a backend; however, the client is then > being disconnected before the server responds or the server is taking > too long to respond and haproxy returns an error. > > Maybe you have a firewall that's causing troubles? > > > > Nov 20 10:24:43 anongoth haproxy[86788]: 46.248.161.165:13481 > <http://46.248.161.165:13481> > [20/Nov/2015:10:23:45.309] https-in~ owncloud/node1 5791/0/0/-1/58637 > -1 0 - - CD-- 2/2/2/2/0 0/0 "POST > /index.php/apps/files/ajax/upload.php HTTP/1.1" > Nov 20 10:25:11 anongoth haproxy[86788]: 46.248.161.165:57472 > <http://46.248.161.165:57472> > [20/Nov/2015:10:23:58.280] https-in~ owncloud/node1 14900/0/1/-1/73036 > -1 0 - - CD-- 1/1/1/1/0 0/0 "POST > /index.php/apps/files/ajax/upload.php HTTP/1.1" > Nov 20 10:28:21 anongoth haproxy[86788]: 46.248.161.165:45063 > <http://46.248.161.165:45063> > [20/Nov/2015:10:26:54.272] https-in~ owncloud/node1 58/0/1/-1/87092 > 504 194 - - sH-- 0/0/0/0/0 0/0 "POST > /index.php/apps/files/ajax/upload.php HTTP/1.1" > Nov 20 10:28:22 anongoth haproxy[86788]: 46.248.161.165:17696 > <http://46.248.161.165:17696> > Nope, it's not the firewall. I'm able to connect between other jails. I've also successfully set up SSL Pass-through and It Just Works(tm).
signature.asc
Description: OpenPGP digital signature