Re: DNS Resolver Issues

2019-03-23 Thread PiBa-NL
-resolving a dns name for the addr setting as well ? Regards, PiBa-NL (Pieter) Op 21-3-2019 om 20:37 schreef Daniel Schneller: Hi! Thanks for the response. I had looked at the "hold" directives, but since they all seem to have reasonable defaults, I did not touch them. I spe

Re: haproxy reverse proxy to https streaming backend

2019-03-15 Thread PiBa-NL
RATION:2 ]=] print("Result:\n"..result) Result: #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:01234 #EXT-X-TARGETDURATION:2 Thanks, Thomas Am 15.03.2019 um 00:27 schrieb PiBa-NL: Hi Thomas, Op 14-3-2019 om 20:28 schreef Thomas Schmiedl: Hello, I never got a reply from the o

Re: haproxy reverse proxy to https streaming backend

2019-03-14 Thread PiBa-NL
to include in haproxy. Thanks I personally think this is ugly compared to trying to fix the faulty client. Maybe you can report your issue to the author(s) and share your config to help them reproduce it ? Regards, Willy Regards, PiBa-NL (Pieter)

regtest, response lenght check failure for /reg-tests/http-capture/h00000.vtc with HTX enabled, using 2.0-dev1

2019-02-26 Thread PiBa-NL
=b8d2ee040aa21f2906a4921e5e1c7afefb7e I 'think' the syslog output for a single request/response should remain the same with/without htx? Or should the size check be less strict or accept 1 of 2 possible outcomes with/without htx.? Regards, PiBa-NL (Pieter) S 0.0 syslog|<134>Feb 26 20:42:52 haproxy[56313

Re: h1-client to h2-server host header / authority conversion failure.?

2019-02-01 Thread PiBa-NL
Hi Willy, Op 2-2-2019 om 0:01 schreef Willy Tarreau: On Fri, Feb 01, 2019 at 09:43:13PM +0100, PiBa-NL wrote: The 'last' part is in TCP mode, and is intended like that to allow me to run tcpdump/wireshark on the un-encrypted traffic, and being certain that haproxy would not modify it before

Re: h1-client to h2-server host header / authority conversion failure.?

2019-01-28 Thread PiBa-NL
Hi Willy, List, Just a little check, was below mail received properly with the 6 attachments (vtc/vtc/log/png/png/pcapng) .? (As it didn't show up on the mail-archive.) Regards, PiBa-NL (Pieter) Op 26-1-2019 om 21:04 schreef PiBa-NL: Hi Willy, Op 25-1-2019 om 17:04 schreef Willy Tarreau

h1-client to h2-server host header / authority conversion failure.?

2019-01-24 Thread PiBa-NL
oblem, but it seems suspicious to me.. Regards, PiBa-NL (Pieter) varnishtest "Check H1 client to H2 server with HTX." feature ignore_unknown_macro syslog Slog_1 -repeat 1 -level info { recv } -start server s1 -repeat 2 { rxpri stream 0 { txsettings rxsettings tx

Re: haproxy 1.9.2 with boringssl

2019-01-22 Thread PiBa-NL
ertain configuration circumstances existed for years before it was spotted with the regtest. https://www.mail-archive.com/haproxy@formilux.org/msg32190.html http://git.haproxy.org/?p=haproxy.git;a=commit;h=774c486cece942570b6a9d16afe236a16ee12079 Regards, PiBa-NL (Pieter)

Re: [PATCH] REG-TEST: mailers: add new test for 'mailers' section

2019-01-21 Thread PiBa-NL
with this patch. Without needing the 'timeout mail' setting. I think we can call it fixed once committed. Thanks, PiBa-NL (Pieter)

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-16 Thread PiBa-NL
om 11:17 schreef Christopher Faulet: If it's ok for you, I'll also merge your regtest. Can you add the regtest as well into the git repo? Regards, PiBa-NL (Pieter)

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-15 Thread PiBa-NL
Hi Christopher, Op 15-1-2019 om 10:48 schreef Christopher Faulet: Le 14/01/2019 à 21:53, PiBa-NL a écrit : Hi Christopher, Op 14-1-2019 om 11:17 schreef Christopher Faulet: Le 12/01/2019 à 23:23, PiBa-NL a écrit : Hi List, I've configured haproxy with htx and when i try to filter the stats

Re: stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-14 Thread PiBa-NL
Hi Christopher, Op 14-1-2019 om 11:17 schreef Christopher Faulet: Le 12/01/2019 à 23:23, PiBa-NL a écrit : Hi List, I've configured haproxy with htx and when i try to filter the stats webpage. Sending this request: "GET /?;csv;scope=b1" to '2.0-dev0-762475e 2019/01/10' it

Re: Get client IP

2019-01-13 Thread PiBa-NL
** * VU XUAN HOC Regards, PiBa-NL (Pieter)

stats webpage crash, htx and scope filter, [PATCH] REGTEST is included

2019-01-12 Thread PiBa-NL
A regtest is attached that reproduces the behavior, and which i think could be included into the haproxy repository. Regards, PiBa-NL (Pieter) Program terminated with signal SIGSEGV, Segmentation fault. #0  0x00564fe7 in strnistr (str1=0x802631048 "fe1", len_str1=3, str2=0x804

Re: Lots of mail from email alert on 1.9.x

2019-01-12 Thread PiBa-NL
out to test has a health-check with a 60 second interval..) Anyhow its been like this for years afaik, i guess it wont matter much if stays like this a bit longer. Regards, PiBa-NL (Pieter)

Re: Lots of mail from email alert on 1.9.x

2019-01-11 Thread PiBa-NL
needs a bit more tweaking. Regards, PiBa-NL (Pieter) Core was generated by `haproxy -d -f /tmp/vtc.37274.4b8a1a3a/h1/cfg'. Program terminated with signal SIGSEGV, Segmentation fault. #0  0x00500955 in chk_report_conn_err (check=0x802616a10, errno_bck=0, expired=1) at src/checks.c:689 689

Re: Lots of mail from email alert on 1.9.x

2019-01-10 Thread PiBa-NL
thread also to aid developers in reproducing the issue and validating a possible fix. @Olivier, Willy, may i assume this mailbomb feature is 'planned' to get fixed in 1.9.2 ? (perhaps a bugtracker with a 'target version' would be nice ;) ?) Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST: filters: add compression test

2019-01-09 Thread PiBa-NL
Thank you Christopher & Frederic. Op 9-1-2019 om 14:47 schreef Christopher Faulet: Le 09/01/2019 à 10:43, Frederic Lecaille a écrit : On 1/8/19 11:25 PM, PiBa-NL wrote: Hi Frederic, Hi Pieter, Op 7-1-2019 om 10:13 schreef Frederic Lecaille: On 12/23/18 11:38 PM, PiBa-NL w

coredump in h2_process_mux with 1.9.0-8223050

2019-01-08 Thread PiBa-NL
if something strange happens again. Might take a few days though, IF it still occurs.. Regards, PiBa-NL (Pieter) Core was generated by `/usr/local/sbin/haproxy -f /var/etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid'. Program terminated with signal SIGSEGV, Segmentation fault. #0  0x004b91c7

Re: [PATCH] REGTEST: filters: add compression test

2019-01-08 Thread PiBa-NL
Hi Frederic, Op 7-1-2019 om 10:13 schreef Frederic Lecaille: On 12/23/18 11:38 PM, PiBa-NL wrote: As requested hereby the regtest send for inclusion into the git repository. It is OK like that. Note that you patch do not add reg-test/filters/common.pem which could be a symlink to ../ssl

Re: regtests - with option http-use-htx

2019-01-08 Thread PiBa-NL
Hi Frederic, Op 8-1-2019 om 16:27 schreef Frederic Lecaille: On 12/15/18 4:52 PM, PiBa-NL wrote: Hi List, Willy, Trying to run some existing regtests with added option: option http-use-htx Using: HA-Proxy version 1.9-dev10-c11ec4a 2018/12/15 I get the below issues sofar: based

Re: compression in defaults happens twice with 1.9.0

2019-01-07 Thread PiBa-NL
Hi Christopher, Op 7-1-2019 om 16:32 schreef Christopher Faulet: Le 06/01/2019 à 16:22, PiBa-NL a écrit : Hi List, Using both 1.9.0 and 2.0-dev0-909b9d8 compression happens twice when configured in defaults. This was noticed by user walle303 on IRC. Seems like a bug to me as 1.8.14 does

Re: [PATCH] REG-TEST: mailers: add new test for 'mailers' section

2019-01-07 Thread PiBa-NL
Hi Willy, Op 7-1-2019 om 15:25 schreef Willy Tarreau: Hi Pieter, On Sun, Jan 06, 2019 at 04:38:21PM +0100, PiBa-NL wrote: The 23654 mails received for a failed server is a bit much.. I agree. I really don't know much how the mails work to be honest, as I have never used them. I remember

Re: [PATCH] REG-TEST: mailers: add new test for 'mailers' section

2019-01-06 Thread PiBa-NL
forgotten about :). The 23654 mails received for a failed server is a bit much.. c2    7.5 EXPECT resp.http.mailsreceived (23654) == "16" failed Regards, PiBa-NL (Pieter) Op 23-12-2018 om 23:37 schreef PiBa-NL: Changed subject of patch requirement to 'REGTEST'. Op 23-12-201

compression in defaults happens twice with 1.9.0

2019-01-06 Thread PiBa-NL
in advance. Regards, PiBa-NL (Pieter) s1    0.0 txresp|!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ s1    0.0 txresp|"#$%&'()*+,-./0123456789:;<=>?@ABCD ***  s1    0.0 shutting fd 4 **   s1    0.0 Ending ***  h1    0.0 debug|:

Re: htx with compression issue, "Gunzip error: Body lacks gzip magics"

2019-01-02 Thread PiBa-NL
Hi Christopher, Willy, Op 2-1-2019 om 15:37 schreef Christopher Faulet: Le 29/12/2018 à 01:29, PiBa-NL a écrit : compression with htx, and a slightly delayed body content it will prefix some rubbish and corrupt the gzip header.. Hi Pieter, In fact, It is not a bug related to the compression

htx with compression issue, "Gunzip error: Body lacks gzip magics"

2018-12-28 Thread PiBa-NL
c1    0.1 === expect resp.http.content-encoding == "gzip" c1    0.1 EXPECT resp.http.content-encoding (gzip) == "gzip" match **   c1    0.1 === gunzip c1    0.1 Gunzip error: Body lacks gzip magics Can someone take a look? Thanks in advance. Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST: filters: add compression test

2018-12-23 Thread PiBa-NL
Added LUA requirement into the test.. Op 23-12-2018 om 23:05 schreef PiBa-NL: Hi Frederic, As requested hereby the regtest send for inclusion into the git repository. Without randomization and with your .diff applied. Also outputting expected and actual checksum if the test fails so its

Re: [PATCH] REG-TEST: mailers: add new test for 'mailers' section

2018-12-23 Thread PiBa-NL
Changed subject of patch requirement to 'REGTEST'. Op 23-12-2018 om 21:17 schreef PiBa-NL: Hi List, Attached a new test to verify that the 'mailers' section is working properly. Currently with 1.9 the mailers sends thousands of mails for my setup... As the test is rather slow i have marked

[PATCH] REGTEST: filters: add compression test

2018-12-23 Thread PiBa-NL
be bigger? As you mentioned needing a 10MB output to reproduce the original issue on your machine? Regards, PiBa-NL (Pieter) From 64460dfeacef3d04af4243396007a606c2e5dbf7 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sun, 23 Dec 2018 21:21:51 +0100 Subject: [PATCH] REGTEST: filters: add compression

[PATCH] REG-TEST: mailers: add new test for 'mailers' section

2018-12-23 Thread PiBa-NL
be 'fixed' there by adding a 'timeout mail 200ms'.. (except on 1.6 which doesn't have that setting.) I don't think that should be needed though if everything was working properly? If the test could be committed, and related issues exposed fixed that would be neat ;) Thanks in advance, PiBa-NL

d94f877 causes timeout in a basic connection test 1.9-dev11_d94f877

2018-12-17 Thread PiBa-NL
/basic_connection.vtc FAILED (120.236) signal=9 Please can you take a look :) Thanks in advance. Regards, PiBa-NL (Pieter) # Checks a simple request varnishtest "Checks a simple request" feature ignore_unknown_macro server s1 { rxreq txresp -bodylen 42202 } -start haproxy h1 -conf { global

Re: corruption of data with compression in 1.9-dev10

2018-12-17 Thread PiBa-NL
Hi Christopher, Fix confirmed. top   2.5 shell_out|File1 all OK top   2.5 shell_out|File2 all OK top   2.5 shell_out|File3 all OK Thank you! Regards, PiBa-NL (Pieter)

Re: regtests - with option http-use-htx

2018-12-15 Thread PiBa-NL
Hi Willy, Op 15-12-2018 om 17:06 schreef Willy Tarreau: Hi Pieter, On Sat, Dec 15, 2018 at 04:52:10PM +0100, PiBa-NL wrote: Hi List, Willy, Trying to run some existing regtests with added option: option http-use-htx Using: HA-Proxy version 1.9-dev10-c11ec4a 2018/12/15 I get the below issues

regtests - with option http-use-htx

2018-12-15 Thread PiBa-NL
ize:1024, used:(0|1\n0x[0-9a-f]*: key=127\.0\.0\.1 use=0 exp=[0-9]* gpt0=0 gpc0=0 gpc0_rate\(1\)=0 conn_rate\(1\)=1 http_req_cnt=1 http_req_rate\(1\)=1 http_err_cnt=0 http_err_rate\(1\)=0)\n$" Regards, PiBa-NL (Pieter) #commit b406b87 # BUG/MEDIUM: connection: don't store

Re: Quick update on 1.9

2018-12-15 Thread PiBa-NL
d the .vtc file still produces files with different hashes for the 3 curl commands for me. Besides that and as usual thanks for your elaborate response on all the other subjects :). Regards, PiBa-NL (Pieter)

Re: Quick update on 1.9

2018-12-14 Thread PiBa-NL
, while shortly before release i would expect mostly little fixes to issues to get committed. That 'new' features arn't 100% stable, that might not be a blocker. But existing features that used to work properly should imho not get released in a broken state.. my 2 cent. Regards, PiBa-NL (Pieter)

stdout logging makes syslog logging fail.. 1.9-dev10-6e0d8ae

2018-12-14 Thread PiBa-NL
operation on non-socket (errno=38), which apparently modifies the syslog behavior.? Tested with version 1.9-dev10-6e0d8ae, but i think it never worked since stdout logging was introduced. Regards, PiBa-NL (Pieter) # commit d02286d # BUG/MINOR: log: pin the front connection when front ip/ports

crash with regtest: /reg-tests/connection/h00001.vtc after commit f157384

2018-12-14 Thread PiBa-NL
Hi List, Willy, Current 1.9-dev master ( 6e0d8ae ) crashes with regtest: /reg-tests/connection/h1.vtc stack below, it fails after commit f157384. Can someone check? Thanks. Regards, PiBa-NL (Pieter) Program terminated with signal 11, Segmentation fault. #0  0x0057f34f

Re: corruption of data with compression in 1.9-dev10

2018-12-12 Thread PiBa-NL
..) Regards, PiBa-NL (Pieter)

corruption of data with compression in 1.9-dev10

2018-12-11 Thread PiBa-NL
Copyright 2000-2018 Willy Tarreau Can anyone confirm? Or perhaps even fix ;) Ill try and dig a little more tomorrow evening :). Thanks in advance, PiBa-NL (Pieter) local data = "abcdefghijklmnopqrstuvwxyz" local responseblob = "" math.randomseed(1) for i = 1,1 do

Re: regtest failure for /log/b00000.vtc, tcp health-check makes and closes a connection to s1 server without valid http-request

2018-12-08 Thread PiBa-NL
Regards, PiBa-NL (Pieter)

regtest failure for /log/b00000.vtc, tcp health-check makes and closes a connection to s1 server without valid http-request

2018-12-08 Thread PiBa-NL
) thought, is there a bug somewhere as the tcp-health-check 'should' abort the connection even before the 3way-tcp-handshake is completed? And as such s1 should not see that first connection?? (Is that also possible/valid for a FreeBSD system? Or would that be a linux trick?) Regards, PiBa-NL

[PATCH] REGTEST/MINOR: skip seamless-reload test with abns socket on freebsd

2018-12-08 Thread PiBa-NL
on FreeBSD currently.. I can re-spin the patch with all non-linux targets listed if desired. # expose-fd is available starting at version 1.8 #REQUIRE_VERSION=1.8 # abns@ sockets are not available on freebsd #EXCLUDE_TARGETS=freebsd Regards, PiBa-NL (Pieter) From

[PATCH] REGTEST/MINOR: remove double body specification for server txresp

2018-12-08 Thread PiBa-NL
nflicting', as the '-bodylen' generates a kinda random body content. While '-body' defines the exact string to send as a body.. Seems to me that the bodylen should be removed? Patch that does that attached. Regards, PiBa-NL From e786be564e7dca1e3b347b6cc9e0af05c85e975b Mon Sep 17 00:00:00 2001

Re: behavior change when enabling HTX (in regtest /connection/b00000.vtc)

2018-12-05 Thread PiBa-NL
Hi Willy, Op 3-12-2018 om 4:29 schreef Willy Tarreau: Hi Pieter, On Mon, Dec 03, 2018 at 12:30:37AM +0100, PiBa-NL wrote: Hi List, When running regtest /connection/b0.vtc with the added setting below: defaults     option http-use-htx The test no longer completes successfully

behavior change when enabling HTX (in regtest /connection/b00000.vtc)

2018-12-02 Thread PiBa-NL
isn't emitted at the same 'expected' time? Regards, PiBa-NL (Pieter)

regtest failure for /cache/h00000.vtc, config parsing fails? after commit 7805e2b

2018-12-01 Thread PiBa-NL
] 334/200950 (30141) : Proxy 'test': unable to find the cache 'my_cache' referenced by the filter 'cache'. ***  h1    0.0 debug|[ALERT] 334/200950 (30141) : Fatal errors found in configuration. Can you take a look? Thanks in advance :). Regards, PiBa-NL (Pieter)

[PATCH] REGTEST: lua: check socket functionality from a lua-task

2018-11-30 Thread PiBa-NL
be back-ported until haproxy 1.6. It does fail on the current 1.9-dev8-51e01b5 version, and back until 1.9-dev5-3e1f68b . Hope its okay like this :). Regards, PiBa-NL (Pieter) From 29b2e82eb8461a2994841ba5460583c8acf5cddc Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Fri, 30 Nov 2018 21:01:01

Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-29 Thread PiBa-NL
of it for inclusion in git? Or can you guys do that once the fix is also ready.? i think it was the preferred to get bugfix+regtest 'linked' then ? Regards, PiBa-NL (Pieter) varnishtest "Lua: txn:get_priv() scope" feature ignore_unknown_macro #REQUIRE_OPTIONS=LUA #REQUIRE_VERSION=1.6 server s1 {

reg-test failure for /connection/b00000.vtc after commit 3e1f68b

2018-11-29 Thread PiBa-NL
188 (http/HTTP) **   Slog_1  0.0 === expect ~ "Connect from .* to ${h1_ssl_addr}:${h1_ssl_port}" Do you see the same? Is more info needed? Thanks in advance :) Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: script: add run-regtests.sh script

2018-11-29 Thread PiBa-NL
t this moment, thank you! (i suppose your turnaround time from issue>fix will also be shorter than waiting for my spare evening hour..) Ill start checking some requirements of existing .vtc . And perhaps writing new one's. Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: script: add run-regtests.sh script

2018-11-27 Thread PiBa-NL
akefile to call the ./scripts/run-regtests.sh Please can someone check it again before merging.?. Thanks guys :). Regards, PiBa-NL (Pieter) From 989bf7ccbfd849deed450291121cdcc68796ba64 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Tue, 27 Nov 2018 22:26:38 +0100 Subject: [PATCH] REGTEST/MINOR: scri

[PATCH] REGTEST/MINOR: script: add run-regtests.sh script

2018-11-25 Thread PiBa-NL
free to comment on them or change them as required. Once this one is 'accepted' ill create a few patches for the existing .vtc files to include their requirements. (at least the more obvious ones..) Regards, PiBa-NL (Pieter) From 4432c10a0a822619c152aa187f18b2f6478ac565 Mon Sep 17 00:00:00

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-11-22 Thread PiBa-NL
HAPROY_PROGRAM I get this output with a script with a successful result. Checks added to avoid this issue for both haproxy and varnishtest so they are checked to exist. Next round :). Regards, PiBa-NL (Pieter) #!/usr/bin/env sh if [ "$1" = "--help" ]; then cat <

Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-20 Thread PiBa-NL
led in logger #2: Socket operation on non-socket (errno=38) Partial config:   global     log stdout format raw daemon     log :1514 local0 I'm using "HA-Proxy version 1.9-dev7-7ff4f14 2018/11/20" this time. Or is it (again) something i'm configuring wrongly ? ;) . Regards, PiBa-NL (

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-11-19 Thread PiBa-NL
suggestions. Lemme know if/what i missed :) Regards, PiBa-NL (Pieter) #!/usr/bin/env sh if [ "$1" == "--help" ]; then cat << EOF ### run-regtests.sh ### Running run-regtests.sh --help shows this information about how to use it Run without parameters to run all t

Re: varnishtest with H2>HTX>H1(keep-alive)

2018-11-19 Thread PiBa-NL
Hi Willy, Op 19-11-2018 om 4:37 schreef Willy Tarreau: Hi Pieter, On Mon, Nov 19, 2018 at 01:07:44AM +0100, PiBa-NL wrote: Hi List, I'm trying (and failing?) to write a H2>HTX>H1(keepalive) test. Using haproxy 1.9-dev6-05b9b64. Test vtc attached, i added the 'option http-u

varnishtest with H2>HTX>H1(keep-alive)

2018-11-18 Thread PiBa-NL
second connection. (the 'old' way..) Thanks in advance. Regards PiBa-NL (Pieter) **   c4    0.2 === txreq -req GET -url /3 ***  c4    0.2 tx: stream: 1, type: HEADERS (1), flags: 0x05, size: 37 **   c4    0.2 === rxresp ***  h1    0.2 debug|0007:fe4.accept(000e)=0011 from [::1:25432] ALPN= *

Re: Some patches about the master worker

2018-11-06 Thread PiBa-NL
with SIGTERM Yes i'm using -W in the varnishtest, and yes that adds a 1 second delay or something, but that never prevented this test from succeeding for me before.. Can you take a look? Regards, PiBa-NL (Pieter) Op 6-11-2018 om 18:33 schreef Willy Tarreau: On Tue, Nov 06, 2018 at 05:37

Re: enabling H2 slows down my webapp, how to use keep-alive on backend ssl connection?

2018-10-29 Thread PiBa-NL
Hi Lukas, Op 29-10-2018 om 16:39 schreef Lukas Tribus: Hi, On Sun, 28 Oct 2018 at 23:47, PiBa-NL wrote: Hi List, When i enable H2 'alpn h2,http/1.1' on haproxy bind line with offloading 'mode http'. The overall loading of a web-application i use takes longer than without. (Tried with 1.9

enabling H2 slows down my webapp, how to use keep-alive on backend ssl connection?

2018-10-28 Thread PiBa-NL
  0.2 HTTP rx failed (fd:10 read: Connection reset by peer)" while that is where the s4 server expects a second request over its keep-alive connection. (assuming i wrote the test correctly..) While it 'should' fail on the s3 server. Regards, PiBa-NL (Pieter) # h2 with h1 backend connec

Re: 'http-response cache-store icons if { path_beg /icons }' produces crashes and/or random behavior

2018-10-28 Thread PiBa-NL
Hi Willy, Op 28-10-2018 om 20:21 schreef Willy Tarreau: Hi Pieter, On Sun, Oct 28, 2018 at 12:49:44AM +0200, PiBa-NL wrote: Hello Chad, List, Thanks for the nice article https://www.haproxy.com/blog/introduction-to-haproxy-acls/ However one of the examples that shows how to use cache-store

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-10-28 Thread PiBa-NL
ded/changed about it before considering to add it to haproxy sources branch? Regards, PiBa-NL (Pieter) #!/usr/bin/env sh if [ "$1" == "--help" ]; then cat << EOF ### run-regtests.sh ### Running run-regtests.sh --help shows this information about how to use it

'http-response cache-store icons if { path_beg /icons }' produces crashes and/or random behavior

2018-10-27 Thread PiBa-NL
(and perhaps include the cache section declaration also), and perhaps investigate why haproxy does seem to try and process the fetch it warns about on startup that it would/should never match.. Regards, PiBa-NL (Pieter) # Checks that basic cache is working varnishtest "Checks that basic

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-10-18 Thread PiBa-NL
Hi Frederic, Do you have a little time to take a look at (the idea of) the script? Thanks in advance :). Op 3-10-2018 om 21:52 schreef PiBa-NL: Hi Frederic, Made a little script (attached).. What do you think ? Could this work for current 'requirements'? Regards, PiBa-NL (Pieter)

Re: Logging real rather than load balancer IP

2018-10-17 Thread PiBa-NL
ruled out, the 3rd is your only option.. (that i know of anyhow..) Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-10-12 Thread PiBa-NL
Hi William, Op 12-10-2018 om 10:53 schreef William Lallemand: The attached patch should fix the issue. The patch works for me, thanks. Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-10-11 Thread PiBa-NL
if i understand correctly. Which eventually doesn't happen, but is counted. Maybe that is a point that can be improved in a future version if time permits.? Or would it even be expected to behave like that? Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-10-04 Thread PiBa-NL
code? Get some kind of trace? Anything in particular that would be of interest? Regards, PiBa-NL (Pieter)

[PATCH] REGTEST/MINOR: compatibility: use unix@ instead of abns@

2018-10-03 Thread PiBa-NL
Hi Frederic, Willy, Attached a patch that will change /reg-tests/connection/b0.vtc to use unix@ sockets so it is compatible with FreeBSD and possibly other OS's. As discussed in the other thread https://www.mail-archive.com/haproxy@formilux.org/msg31370.html. Regards, PiBa-NL (Pieter

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-10-03 Thread PiBa-NL
iple tests at once. Thoughts appreciated :). Regards, PiBa-NL (Pieter) root@freebsd11:/usr/ports/net/haproxy-devel # ./run-regtests.sh ## Preparing to run tests ## HA-Proxy version 1.8.14-52e4d43 2018/09/20 Copyright 2000-2018 Wil

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-10-01 Thread PiBa-NL
Hi Frederic, Op 1-10-2018 om 15:15 schreef Frederic Lecaille: On 09/15/2018 02:03 AM, PiBa-NL wrote: Hi List, Willy, Hi Pieter, Sorry for this late reply. I am also sorry to tell you that -D option should not be used anymore because it as been recently broken. It adds an extra 2s delay

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-10-01 Thread PiBa-NL
Hi Willy, Op 1-10-2018 om 4:00 schreef Willy Tarreau: On Sun, Sep 30, 2018 at 10:16:55PM +0200, PiBa-NL wrote: Hi Willy, Op 30-9-2018 om 20:38 schreef Willy Tarreau: On Sun, Sep 30, 2018 at 08:22:23PM +0200, Willy Tarreau wrote: On Sun, Sep 30, 2018 at 07:59:34PM +0200, PiBa-NL wrote

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-10-01 Thread PiBa-NL
-archive.com/haproxy@formilux.org/msg31345.html ), but i don't think we have defined the perfect way to do it yet.. So that part of the question still stands ;) .. Whats the best way to skip tests that are not applicable? Regards, PiBa-NL (Pieter)

Re: reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-10-01 Thread PiBa-NL
Hi Frederic, Op 1-10-2018 om 16:19 schreef Frederic Lecaille: On 09/11/2018 04:51 PM, PiBa-NL wrote: Hi List, I was wondering how to best run the reg-tests that are 'valid' for FreeBSD. There are a 2 tests that use abns@ sockets, which seem not available on FreeBSD. Also 1 test is failing

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-30 Thread PiBa-NL
Hi Willy, Op 30-9-2018 om 20:38 schreef Willy Tarreau: On Sun, Sep 30, 2018 at 08:22:23PM +0200, Willy Tarreau wrote: On Sun, Sep 30, 2018 at 07:59:34PM +0200, PiBa-NL wrote: Indeed it works with 1.8, so in that regard i 'think' the test itself is correct.. Also when disabling threads

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-30 Thread PiBa-NL
Hi Willy, Op 30-9-2018 om 7:46 schreef Willy Tarreau: Hi Pieter, On Sun, Sep 30, 2018 at 12:05:14AM +0200, PiBa-NL wrote: Hi Willy, I thought lets give those reg-test another try :) as its easy to run and dev3 just came out. All tests pass on my FreeBSD system, except this one, new reg-test

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-30 Thread PiBa-NL
for the wrong reason.?. Hope that makes some sense in my thought process :). Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-29 Thread PiBa-NL
|CumReq: 65 h1    0.0 CLI expect failed ~ "CumConns: 41" If my 'expect' is correct,  would the patch be suitable for inclusion with the other reg-tests this way? If you want to rename loadtest, to heavytest, or any other tweaks please feel free to do so. Regards, PiBa-NL (Pieter

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-20 Thread PiBa-NL
of the email, thanks for your elaborate response :). Regards, PiBa-NL (Pieter)

Re: [PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-19 Thread PiBa-NL
/ with more or less the same likelihood of catching yet unknown issues..? Looking forward to reactions :) . Thanks and regards, PiBa-NL (Pieter) top 0.0 extmacro def pwd=/usr/ports/net/haproxy-devel top 0.0 extmacro def localhost=127.0.0.1 top 0.0 extmacro def bad_bac

[PATCH] REGTEST/MINOR: loadtest: add a test for connection counters

2018-09-14 Thread PiBa-NL
on FreeBSD, adding a 'nokqueue' on 1.8.13 makes it succeed though..). I think it might be a good and reproducible test to run.? Or does it need more tweaking? Thoughts appreciated :). Regards, PiBa-NL (Pieter) From 4b1af997e796e1bb2098c5f66ac24690841c72e8 Mon Sep 17 00:00:00 2001 From: PiBa-NL

making a new reg-test to verify server-state-file, why does it fail at random places?

2018-09-13 Thread PiBa-NL
failed ~ " - 33 -"  << The port change not being picked up is a 'known bug' afaik. Am i writing the test in a wrong way? Should i wait/lock/check something after some steps and if so how? Also its taking like a second or more to complete. is there a way to make it faster, witho

regtest lua/b00002.vtc fails with 1.9-dev2 / master

2018-09-13 Thread PiBa-NL
tion reset by peer) MEDIUM: connections/mux: Add a recv and a send+recv... 4cf7fb OK Did something go astray? p.s. should reg-tests maybe get run before the -dev releases get tagged? (or is that already done, and this could be a FreeBSD specific issue and as such not have been spotted?) Regards

reg-test failures on FreeBSD, how to best adapt/skip some tests?

2018-09-11 Thread PiBa-NL
build to take into my production system. If some tests fail by design (on this platform), it takes more administration to figure out if that was okay or not. Please advice :) Regards, PiBa-NL (Pieter) From 89a5fd48c11dba6a30f468e86e5a7d4bdab6b986 Mon Sep 17 00:00:00 2001 From: PiBa-NL Date

Re: [PATCH] BUG/MAJOR: thread: lua: Wrong SSL context initialization.

2018-08-30 Thread PiBa-NL
made the patch. Only thing i provided was a 'reg-test' and some gdb traces.. Anyhow its fixed now, that's the important part ;) Regards, PiBa-NL (Pieter)

Re: [PATCH] BUG/MAJOR: thread: lua: Wrong SSL context initialization.

2018-08-29 Thread PiBa-NL
Subject: [PATCH] BUG/MAJOR: thread: lua: Wrong SSL context initialization. When calling ->prepare_srv() callback for SSL server which depends on global "nbthread" value, this latter was not already parsed, so equal to 1 default value. This lead to bad memory accesses. Thank you to Pi

Re: lua script, 200% cpu usage with nbthread 3 - haproxy hangs - __spin_lock - HA-Proxy version 1.9-dev1-e3faf02 2018/08/25

2018-08-28 Thread PiBa-NL
Hi Frederic, Op 28-8-2018 om 11:27 schreef Frederic Lecaille: On 08/27/2018 10:46 PM, PiBa-NL wrote: Hi Frederic, Oliver, Thanks for your investigations :). I've made a little reg-test (files attached). Its probably not 'correct' to commit as-is, but should be enough to get a reproduction

Re: lua script, 200% cpu usage with nbthread 3 - haproxy hangs - __spin_lock - HA-Proxy version 1.9-dev1-e3faf02 2018/08/25

2018-08-27 Thread PiBa-NL
testing..). There is of course the option that i did something wrong in the lua as well... Does the test itself work for you guys? (with nbthread 1) Did i do something crazy in the lua code? , i do have several loops.. but i don't think thats where it 'hangs' ?.. Regards, PiBa-NL (Pieter) Luacurl

lua script, 200% cpu usage with nbthread 3 - haproxy hangs - __spin_lock - HA-Proxy version 1.9-dev1-e3faf02 2018/08/25

2018-08-25 Thread PiBa-NL
Hi List, Thierry, Olivier, Using a lua-socket with connect_ssl and haproxy running with nbthread 3.. results in haproxy hanging with 3 threads for me. This while using both 1.9-7/30 version (with the 2 extra patches from Olivier avoiding 100% on a single thread.) and also a build of today's

Re: 100% cpu usage 1.9-dev0-48d92ee 2018/07/30, task.?. but keeps working.. (nbthread 1)

2018-08-20 Thread PiBa-NL
would have likely returned in this time period.. Ill keep it running for a few more days, and switch back to nbthread 3 then.. Till next time ;) Thanks again! Best regards, PiBa-NL (Pieter)

Re: 100% cpu usage 1.9-dev0-48d92ee 2018/07/30, task.?. but keeps working.. (nbthread 1)

2018-08-15 Thread PiBa-NL
,{ 0.0 })  = 0 (0x0) kevent(3,0x0,0,{ },200,{ 0.0 })  = 0 (0x0) Regards, PiBa-NL (Pieter) Op 8-8-2018 om 22:49 schreef PiBa-NL: Hi List, Ive got a weird issue.. and im not sure where/how to continue digging at the moment... Using nbthread=1 nbproc=1, a few lua

100% cpu usage 1.9-dev0-48d92ee 2018/07/30, task.?. but keeps working.. (nbthread 1)

2018-08-08 Thread PiBa-NL
es with that before..) Hoping someone has an idea how to debug it further/differently or perhaps create a patch that might provide extra information when it occurs again.?. Regards, PiBa-NL (Pieter)

Re: haproxy 1.8.12 / 1.9- 20180623 / stopping process hangs with threads (100% cpu) on -sf reload / FreeBSD

2018-07-20 Thread PiBa-NL
1.9-dev0-842ed9b 2018/07/20 (Well at least my reproduction doesn't work anymore.. while it did quite easily before.) So thats good ;) Regards, PiBa-NL (Pieter)

Re: haproxy 1.8.12 / 1.9- 20180623 / stopping process hangs with threads (100% cpu) on -sf reload / FreeBSD

2018-07-17 Thread PiBa-NL
622 + '0461-BUG-MEDIUM-threads-Use-the-sync-point-to-che-1.9-dev0.patch' works okay. Though i guess just reverting that line is not the right fix ;). Regards, PiBa-NL (Pieter)

haproxy 1.8.12 / 1.9- 20180623 / stopping process hangs with threads (100% cpu) on -sf reload / FreeBSD

2018-07-16 Thread PiBa-NL
that can be spotted with the info from the stack-traces of both 1.8 and 1.9 below ill try and dig further tomorrow :).Thanks in advance for anyone's time :). Regards, PiBa-NL (Pieter) p.s. I CC'ed Christopher as he seems to have made the last 2 patches going into 20180623. Im hoping he has a clue

Re: dev1.9 2018/06/05 threads cpu 100% spin_lock v.s. thread_sync_barrier

2018-06-12 Thread PiBa-NL
analysis, though i'm not sure what to do with the info at the moment, i do hope you guys together can find a likely culprit from the information given ;). Regards, PiBa-NL (Pieter)

dev1.9 2018/06/05 threads cpu 100% spin_lock v.s. thread_sync_barrier

2018-06-11 Thread PiBa-NL
Hi List, I've got no clue how i got into this state ;) and maybe there is nothing wrong..(well i did resume a VM that was suspended for half a day..) Still thought it might be worth reporting, or perhaps its solved already as there are a few fixes for threads after the 6-6 snapshot that i

1.9dev, lua, socket:settimeout() is not being honored and continuous to wait

2018-05-26 Thread PiBa-NL
As can be seen from below output the second socket:receive() takes the complete 6 seconds that tcploop takes to produce its second response. Can you take a look? Thanks in advance :). Regards, PiBa-NL (Pieter) --- response1response2 Timing: [19:42:14.8185]: wait 1 sec [19:42:15.

  1   2   3   4   >