On 10/02/18 19:30, Pierre Chiu wrote:
> Hi Mark,
> 
> I have zip up everything you asked for in this zip file.
> 
> https://www.dropbox.com/s/jdzxpsjihmcg61b/tomcat8_5_27_h2_log.zip?dl=0 
> <https://www.dropbox.com/s/jdzxpsjihmcg61b/tomcat8_5_27_h2_log.zip?dl=0>
> 
> Hopefully somebody figure out what is wrong in my setup.

Nothing jumps out at being wrong.

Probably the simplest way to get the to bottom of this is to connect a
remote debugger to Tomcat and step through the handling of a single
request to see what is going on.

Enabling debug logging for org.apache.coyote.http2 might shed some light
but might not. There aren't a whole lot of debug statements around the
compression code.

Mark


> 
> 
> 
>> On Feb 10, 2018, at 4:46 AM, Mark Thomas <ma...@apache.org> wrote:
>>
>> On 10/02/18 03:58, Pierre Chiu wrote:
>>> I am running 8.5.27 on windows.
>>>
>>> Following Mark's instructions to the tee and I still cannot get it work :{
>>>
>>>
>>>    <Connector port="8443" 
>>> protocol="org.apache.coyote.http11.Http11AprProtocol"
>>>               maxThreads="150" SSLEnabled="true" >
>>>        <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" 
>>> compression="on" />
>>>        <SSLHostConfig>
>>>             <Certificate 
>>>                  CertificateFile="${catalina.home}\conf\ssl\xxxxx.ca.crt"
>>>                  CertificateKeyFile="${catalina.home}\conf\ssl\xxxxx.ca.pem"
>>>                  
>>> CertificateChainFile="${catalina.home}\conf\ssl\gd_bundle-g2-g1.crt"
>>>                   />
>>>        </SSLHostConfig>
>>>    </Connector>
>>
>> You are going to need to provide more information than that. To start:
>>
>> - Start-up logs that show HTTP2 is correctly configured
>> - HTTP/2 request headers from the browser
>> - HTTP/2 response headers from the browser
>> - Relevant access log entry
>>
>> Mark
>>
>>>> On Feb 9, 2018, at 4:42 PM, Newbium Team <newbiumt...@gmail.com> wrote:
>>>>
>>>> Unfortunately I was not the one who perform the installation but our dev
>>>> followed your online installation guide and informed me that the additional
>>>> information was very helpful, was missing and should be added to the guide.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Feb 9, 2018 at 4:20 PM, Christopher Schultz <
>>>> ch...@christopherschultz.net> wrote:
>>>>
>>> To whom it may concern,
>>>
>>> On 2/9/18 4:13 PM, Newbium Team wrote:
>>>>>>> Thank you for the instructions we were able to get it working, may
>>>>>>> we suggest that you include your instructions in your installation
>>>>>>> documentation online as others might be having the same issues.
>>>
>>> What was different from what you did? Setting this up seems fairly
>>> straightforward.
>>>
>>> -chris
>>>
>>>>>>> On Thu, Feb 8, 2018 at 3:35 PM, Mark Thomas <ma...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> On 08/02/18 20:15, Pierre Chiu wrote:
>>>>>>>>> Is there anybody out there successfully running tomcat 9.0.4 or
>>>>>>>>> 8.5.27
>>>>>>>> with https, http2 and gzip working?
>>>>>>>>> If so, please share your config.
>>>>>>>>
>>>>>>>> Clean install of 9.0.x built from source (relevant code hasn't
>>>>>>>> changed). Will be the same with 9.0.4 (as this is how I tested it
>>>>>>>> when I wrote the HTTPO/2 gzip support) and the current 9.0.5 RC.
>>>>>>>>
>>>>>>>> Install Tomcat Native 1.2.16 Uncomment the HTTPS APR/native
>>>>>>>> connector in server.xml Add suitable certificate files (adjust
>>>>>>>> config as necessary) Add compression="on" to the UpgradeProtocol
>>>>>>>>
>>>>>>>> Request the homepage.
>>>>>>>>
>>>>>>>> Examine the headers for tomcat.css (a compressible resource)
>>>>>>>>
>>>>>>>> Request: :authority:localhost:8443 :method:GET :path:/tomcat.css
>>>>>>>> :scheme:https accept:text/css,*/*;q=0.1 accept-encoding:gzip,
>>>>>>>> deflate, br accept-language:en-GB,en-US;q=0.9,en;q=0.8
>>>>>>>> cache-control:no-cache pragma:no-cache
>>>>>>>> referer:https://localhost:8443/ user-agent:Mozilla/5.0 (X11;
>>>>>>>> Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
>>>>>>>> Chrome/64.0.3282.140 Safari/537.36
>>>>>>>>
>>>>>>>> Response: accept-ranges:bytes content-encoding:gzip
>>>>>>>> content-type:text/css date:Thu, 08 Feb 2018 20:30:58 GMT
>>>>>>>> etag:W/"5581-1518121410000" last-modified:Thu, 08 Feb 2018
>>>>>>>> 20:23:30 GMT status:200 vary:Accept-Encoding
>>>>>>>>
>>>>>>>> File size is 1.8KB (the original file is 5.6KB)
>>>>>>>>
>>>>>>>> Mark
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>>
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>>>>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>>>
>>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to