Welcome! Log In Create A New Profile

Advanced

Re: Problems with HTTP/2

Valentin V. Bartenev
September 28, 2015 05:02PM
On Monday 28 September 2015 20:59:23 Aapo Talvensaari wrote:
> On 28 September 2015 at 19:44, Valentin V. Bartenev <vbart@nginx.com> wrote:
>
> > On Wednesday 23 September 2015 06:28:37 Aapo Talvensaari wrote:
> > >> I did get errors like:
> > >> net::ERR_SPDY_COMPRESSION_ERROR
> > > Could you provide a debug log with problematic request?
> >
>
> I tried to debug this further. And now I'm closer to what happens.
>
> If Ajax request sends a PUT request with XmlHtttpRequest I do get:
> net::ERR_SPDY_COMPRESSION_ERROR
>
> But this is only when the PHP-FPM reponds with error code:
>
> <?php
> header(':', true, 403);
> die(json_encode(array( ... )));

What does ":" mean in the header() function?
If it returns ":" as a header, then it's the cause of the error.


>
>
> Where that "..." is the array contents json_encoded. So it seems to be a
> problem with
> HTTP error codes and HTTP2. On 200 return codes it works fine.
>
> On logs, I do not get anything.

There is no way to get nothing in the debug log
if it properly configured according to the article:
http://nginx.org/en/docs/debugging_log.html

wbr, Valentin V. Bartenev


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problems with HTTP/2

Aapo Talvensaari September 22, 2015 11:30PM

Re: Problems with HTTP/2

itpp2012 September 23, 2015 04:48AM

Re: Problems with HTTP/2

Aapo Talvensaari September 23, 2015 06:10AM

Re: Problems with HTTP/2

Valentin V. Bartenev September 28, 2015 12:46PM

Re: Problems with HTTP/2

Aapo Talvensaari September 28, 2015 02:02PM

Re: Problems with HTTP/2

Valentin V. Bartenev September 28, 2015 05:02PM

Re: Problems with HTTP/2

Aapo Talvensaari September 28, 2015 06:08PM

Re: Problems with HTTP/2

Aapo Talvensaari September 28, 2015 06:24PM

Re: Problems with HTTP/2

Francis Daly September 29, 2015 05:28AM

Re: Problems with HTTP/2

Aapo Talvensaari September 29, 2015 06:36AM

Re: Problems with HTTP/2

Valentin V. Bartenev September 29, 2015 07:22PM

Re: Problems with HTTP/2

Aapo Talvensaari September 29, 2015 07:38PM

Re: Problems with HTTP/2

Aapo Talvensaari October 01, 2015 11:34AM

Re: Problems with HTTP/2

Sergey Kandaurov September 29, 2015 06:40AM

Re: Problems with HTTP/2

Aapo Talvensaari September 29, 2015 07:16AM

Re: Problems with HTTP/2

Valentin V. Bartenev September 29, 2015 07:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready