Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4CD8A200B6B for ; Thu, 25 Aug 2016 15:06:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4B666160A94; Thu, 25 Aug 2016 13:06:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C597160A93 for ; Thu, 25 Aug 2016 15:06:45 +0200 (CEST) Received: (qmail 82712 invoked by uid 500); 25 Aug 2016 13:06:43 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 82702 invoked by uid 99); 25 Aug 2016 13:06:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 13:06:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 37A9E180227 for ; Thu, 25 Aug 2016 13:06:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.527 X-Spam-Level: X-Spam-Status: No, score=-1.527 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=greenbytes.de header.b=k02YgPcv; dkim=pass (1024-bit key) header.d=greenbytes.de header.b=ZPa0JKHu Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id JzSz1YPsS-xm for ; Thu, 25 Aug 2016 13:06:41 +0000 (UTC) Received: from mail.greenbytes.de (mail.greenbytes.de [5.10.171.186]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C49195F24F for ; Thu, 25 Aug 2016 13:06:40 +0000 (UTC) Received: by mail.greenbytes.de (Postfix, from userid 117) id 631F415A0898; Thu, 25 Aug 2016 15:06:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1472130399; bh=mJZYalG5Z/2pyN+2ACk9tJD7iCWVvx/iCr/IamL5yLI=; h=Subject:From:In-Reply-To:Date:References:To:From; b=k02YgPcv4VrO7SfkgpcOIrlGyMQMJ6wbBuDYWb7bgdCOiujjr/8ajmtfksEd8ozun xL1IQ5Ps4/nxIuMLmfoFMfJX7wrwori38uffpdZxKPdqA+aJ5ycIvCwdpCN06BhOsc D4HPZSfxwUJLcnvcnsJKphfex9tkQzCHZr8UG4Og= Received: from [192.168.1.42] (unknown [192.168.1.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.greenbytes.de (Postfix) with ESMTPSA id C199015A0655 for ; Thu, 25 Aug 2016 15:06:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=greenbytes.de; s=mail; t=1472130398; bh=mJZYalG5Z/2pyN+2ACk9tJD7iCWVvx/iCr/IamL5yLI=; h=Subject:From:In-Reply-To:Date:References:To:From; b=ZPa0JKHupDMAtd1hqsCK0rnxUy3D51g1Nk1umfWCDH9GKhJsERTU8V4wLEs8b6eMY ozwBVOuywanITTV+0tPU445g3uoPjHhQBZAJarwxvi3fQRlRlI0Vc065yl28C2PoCk Zdh6BkyfBiNppWDeTw4826OPk/rZM3+tGK+TqY84= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Stefan Eissing In-Reply-To: Date: Thu, 25 Aug 2016 15:06:38 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: users@httpd.apache.org X-Mailer: Apple Mail (2.3124) Subject: Re: [users@httpd] Apache HTTP2 and benchmarking with h2load archived-at: Thu, 25 Aug 2016 13:06:46 -0000 If you add something like LogLevel http2:debug LogLevel ssl:debug LogLevel core:debug you should find information about negotiation in your error.log. Strange that Firefox works and h2load does not. I use the later regularly in my = tests. Looking forward to see some log output... > Am 25.08.2016 um 14:58 schrieb Max Meyer : >=20 > I am trying to do some benchmarking on different HTTP/2 webservers = using "h2load" from nghttp2.org. >=20 > I configured Apache with HTTP/2 and in wireshark I can see HTTP/2 = traffic when connecting with a browser like firefox. > When I use h2load it falls back to HTTP/1.1 claiming the server does = not support NPN/ALPN. > -------------- > Example: >=20 > h2load -c1 -n1024 -m1024 myapache >=20 > starting benchmark... > spawning thread #0: 1 total client(s). 1024 total requests > TLS Protocol: TLSv1.2 > Cipher: ECDHE-RSA-AES128-GCM-SHA256 > No protocol negotiated. Fallback behaviour may be activated > Server does not support NPN/ALPN. Falling back to HTTP/1.1. > Application protocol: http/1.1 > --------------- >=20 > I tested h2load with an nginx installation and there it works fine, so = I'm guessing that it is not a problem on the h2load side. >=20 > My Apache site configuration looks like this. >=20 > > > ServerAdmin webmaster@localhost >=20 > DocumentRoot /var/www/html > Protocols h2 > H2Push on >=20 > ErrorLog ${APACHE_LOG_DIR}/error.log > CustomLog ${APACHE_LOG_DIR}/access.log combined >=20 > SSLEngine on >=20 > SSLCertificateFile /etc/ssl/server.crt > SSLCertificateKeyFile /etc/ssl/private.key >=20 >=20 > > SSLOptions +StdEnvVars > > > SSLOptions +StdEnvVars > > > >=20 > Apache Version: 2.4.23 > Openssl: 1.0.2h >=20 > Does anyone have an idea what might be the problem? >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org