# Nginx 1.11.0: client sent stream with data before settings were acknowledged while processing HTTP/2

**URL:** <https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544>\
**Category:** NGINX\
**Created:** [April 29, 2016, 4:27pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544 "2016-04-29T16:27:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sadaf\_N](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/858c86/32.png) [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Post date:** [April 29, 2016, 4:27pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/1 "2016-04-29T16:27:16Z")

</div>

Hello,

As of recently, shortly after updating nginx to version 1.11.0, we  
started  
getting the following errors in the error log for our sites configured  
with  
HTTP/2 and SSL:

2016/04/29 14:54:12 [info] 22321#22321: \*290 client sent stream with  
data  
before settings were acknowledged while processing HTTP/2 connection,  
client: XXX.XXX.XXX.XXX, server: 0.0.0.0:443

This is so far only happening when browsing pages with Safari (9.1) and  
only  
during a POST event. Safari displays an empty white page with an error  
message “Safari Can’t Connect to the Server”. Our observations so far  
are  
that this happens after some time of inactivity, which leads me to  
believe  
that some kind of timeout has occurred (keepalive\_timeout comes to  
mind).  
We have the following keepalive settings in nginx.conf:

http {  
keepalive\_timeout 75s;  
}

But this issue has never occurred before.

Any feedback/help is appreciated!

Andrew

Posted at Nginx Forum:

> **[nginx 1.11.0: client sent stream with data before settings were acknowledged...](https://forum.nginx.org/read.php?2,266525,266525#msg-266525)**
>
> Hello, As of recently, shortly after updating nginx to version 1.11.0, we started getting the following errors in the error log for our sites configured with HTTP/2 and SSL: 2016/04/29 14:54:12 \[info\] 22321#22321: \*290 client sent stream with data...

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [April 29, 2016, 7:56pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/2 "2016-04-29T19:56:23Z")

</div>

Strange, cannot find 1.11.x

Maybe you mean 1.10.0?

root@NC-PH-0657-10:/usr/local/src/nginx# wget  
[http://nginx.org/download/nginx-1.11.0.tar.gz](http://nginx.org/download/nginx-1.11.0.tar.gz)  
–2016-04-29 10:53:26-- [http://nginx.org/download/nginx-1.11.0.tar.gz](http://nginx.org/download/nginx-1.11.0.tar.gz)  
Resolving [nginx.org](http://nginx.org) ([nginx.org](http://nginx.org))… 206.251.255.63, 95.211.80.227,  
2001:1af8:4060:a004:21::e3  
Connecting to [nginx.org](http://nginx.org) ([nginx.org](http://nginx.org))|206.251.255.63|:80… connected.  
HTTP request sent, awaiting response… 404 Not Found  
2016-04-29 10:53:26 ERROR 404: Not Found.

root@NC-PH-0657-10:/usr/local/src/nginx# wget  
[http://nginx.org/download/nginx-1.11.1.tar.gz](http://nginx.org/download/nginx-1.11.1.tar.gz)  
–2016-04-29 10:53:30-- [http://nginx.org/download/nginx-1.11.1.tar.gz](http://nginx.org/download/nginx-1.11.1.tar.gz)  
Resolving [nginx.org](http://nginx.org) ([nginx.org](http://nginx.org))… 95.211.80.227, 206.251.255.63,  
2001:1af8:4060:a004:21::e3  
Connecting to [nginx.org](http://nginx.org) ([nginx.org](http://nginx.org))|95.211.80.227|:80… connected.  
HTTP request sent, awaiting response… 404 Not Found  
2016-04-29 10:53:31 ERROR 404: Not Found.

Posted at Nginx Forum:

> **[Re: nginx 1.11.0: client sent stream with data before settings were...](https://forum.nginx.org/read.php?2,266525,266526#msg-266526)**
>
> Hello, As of recently, shortly after updating nginx to version 1.11.0, we started getting the following errors in the error log for our sites configured with HTTP/2 and SSL: 2016/04/29 14:54:12 \[info\] 22321#22321: \*290 client sent stream with data...

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [April 29, 2016, 10:21pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/3 "2016-04-29T22:21:51Z")

</div>

Sorry, this is version of nginx obtained directly from GIT master  
branch. I  
believe in the sense of described behaviour, it is essentially the same  
as  
1.10.0.

Posted at Nginx Forum:

> **[Re: nginx 1.11.0: client sent stream with data before settings were...](https://forum.nginx.org/read.php?2,266525,266533#msg-266533)**
>
> Hello, As of recently, shortly after updating nginx to version 1.11.0, we started getting the following errors in the error log for our sites configured with HTTP/2 and SSL: 2016/04/29 14:54:12 \[info\] 22321#22321: \*290 client sent stream with data...

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [April 30, 2016, 1:44am UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/4 "2016-04-30T01:44:33Z")

</div>

On Friday 29 April 2016 10:26:39 locojohn wrote:

> This is so far only happening when browsing pages with Safari (9.1) and only  
> But this issue has never occurred before.
> 
> Any feedback/help is appreciated!

This issue should be reported to Safari. It appears that it doesn’t  
handle refused streams.

I’m going to make a workaround, but it will take time.

wbr, Valentin V. Bartenev

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [April 30, 2016, 2:23pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/5 "2016-04-30T14:23:21Z")

</div>

Valentin V. Bartenev Wrote:

> This issue should be reported to Safari. It appears that it doesn’t  
> handle refused streams.
> 
> I’m going to make a workaround, but it will take time.

Thank you Valentin!

Let me know when the workaround is in the trunk so I could get it form  
the  
repository and recompile nginx.

Best wishes,

Andrejs

Posted at Nginx Forum:  
[https://forum.nginx.org/read.php?2,266525,266544#msg-266544](https://forum.nginx.org/read.php?2,266525,266544#msg-266544)

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [April 30, 2016, 11:20pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/6 "2016-04-30T23:20:10Z")

</div>

I’m seeing the same thing happen in Firefox 46.

Posted at Nginx Forum:

> **[Re: nginx 1.11.0: client sent stream with data before settings were...](https://forum.nginx.org/read.php?2,266525,266550#msg-266550)**
>
> Hello, As of recently, shortly after updating nginx to version 1.11.0, we started getting the following errors in the error log for our sites configured with HTTP/2 and SSL: 2016/04/29 14:54:12 \[info\] 22321#22321: \*290 client sent stream with data...

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [April 30, 2016, 11:44pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/7 "2016-04-30T23:44:42Z")

</div>

eiji-gravion Wrote:

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [May 10, 2016, 10:56am UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/8 "2016-05-10T10:56:24Z")

</div>

## Valentin V. Bartenev Wrote:

> This issue should be reported to Safari. It appears that it doesn’t  
> handle refused streams.
> 
> I’m going to make a workaround, but it will take time.

Just to clarify: this issue also affects Firefox 45. I suppose it’s  
nginx  
bug, because we have never experienced it before the update.

Andrejs

Posted at Nginx Forum:  
[https://forum.nginx.org/read.php?2,266525,266725#msg-266725](https://forum.nginx.org/read.php?2,266525,266725#msg-266725)

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [May 9, 2016, 10:07am UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/9 "2016-05-09T10:07:45Z")

</div>

This also happens with okhttp 3.2.0 (Android). Last working nginx  
version is  
1.9.13, There I use basic authorization and add an Auth header with a  
network interceptor with credentials.

Posted at Nginx Forum:

> **[Re: nginx 1.11.0: client sent stream with data before settings were...](https://forum.nginx.org/read.php?2,266525,266707#msg-266707)**
>
> Hello, As of recently, shortly after updating nginx to version 1.11.0, we started getting the following errors in the error log for our sites configured with HTTP/2 and SSL: 2016/04/29 14:54:12 \[info\] 22321#22321: \*290 client sent stream with data...

---

<div class="post-metadata">

**Author:** ![locojohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@locojohn](https://www.ruby-forum.com/u/locojohn)\
**Post date:** [May 10, 2016, 2:50pm UTC](https://www.ruby-forum.com/t/nginx-1-11-0-client-sent-stream-with-data-before-settings-were-acknowledged-while-processing-http-2/244544/10 "2016-05-10T14:50:04Z")

</div>

On Tuesday 10 May 2016 04:55:30 locojohn wrote:

> 

[..]

Are you sure about Firefox 45?

There is a ticket about Firefox 46:

> **[1268775 - Cannot establish connection when using HTTP/2 and POST after idle time](https://bugzilla.mozilla.org/show_bug.cgi?id=1268775)**
>
> RESOLVED (nobody) in Core - Networking: HTTP. Last updated 2018-10-09.

wbr, Valentin V. Bartenev
