HTTP/2 stream 1 was not closed cleanly before end of the underlying stream解决办法

== Info: Connected to olwaf-test.com (10.10.10.22) port 443 (#0)
== Info: ALPN, offering h2
== Info: ALPN, offering http/1.1
== Info: Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
== Info: TLSv1.2 (OUT), TLS header, Certificate Status (22):
=> Send SSL data, 5 bytes (0x5)
0000: 16 03 01 02 00                                  .....
== Info: TLSv1.2 (OUT), TLS handshake, Client hello (1):
=> Send SSL data, 512 bytes (0x200)
0000: 01 00 01 fc 03 03 6c 58 85 26 36 15 7f f1 91 be ......lX.&6....
0010: dd 9f 7b c1 61 94 81 d1 f7 71 63 a0 14 6e ad 16 ..{.a....qc..n..
0020: 92 47 88 2c 91 ea 00 00 a0 c0 30 c0 2c c0 28 c0 .G.,......0.,.(.
0030: 24 c0 14 c0 0a 00 a5 00 a3 00 a1 00 9f 00 6b 00 $.............k.
0040: 6a 00 69 00 68 00 39 00 38 00 37 00 36 00 88 00 j.i.h.9.8.7.6...
0050: 87 00 86 00 85 c0 32 c0 2e c0 2a c0 26 c0 0f c0 ......2...*.&...
0060: 05 00 9d 00 3d 00 35 00 84 c0 2f c0 2b c0 27 c0 ....=.5.../.+.'.
0070: 23 c0 13 c0 09 00 a4 00 a2 00 a0 00 9e 00 67 00 #.............g.
0080: 40 00 3f 00 3e 00 33 00 32 00 31 00 30 00 9a 00 @.?.>.3.2.1.0...
0090: 99 00 98 00 97 00 45 00 44 00 43 00 42 c0 31 c0 ......E.D.C.B.1.
00a0: 2d c0 29 c0 25 c0 0e c0 04 00 9c 00 3c 00 2f 00 -.).%.......<./.
00b0: 96 00 41 c0 12 c0 08 00 16 00 13 00 10 00 0d c0 ..A.............
00c0: 0d c0 03 00 0a 00 07 00 ff 01 00 01 33 00 00 00 ............3...
00d0: 1e 00 1c 00 00 19 61 70 69 2d 66 74 79 2d 74 65 ......olwaf-te
00e0: 73 74 2e 63 68 65 68 65 6a 69 61 2e 63 6f 6d 00 st..com.
00f0: 0b 00 04 03 00 01 02 00 0a 00 0a 00 08 00 17 00 ................
0100: 19 00 18 00 16 00 0d 00 20 00 1e 06 01 06 02 06 ........ .......
0110: 03 05 01 05 02 05 03 04 01 04 02 04 03 03 01 03 ................
0120: 02 03 03 02 01 02 02 02 03 00 0f 00 01 01 33 74 ..............3t
0130: 00 00 00 10 00 0e 00 0c 02 68 32 08 68 74 74 70 .........h2.http
0140: 2f 31 2e 31 00 15 00 b8 00 00 00 00 00 00 00 00 /1.1............
0150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
<= Recv SSL data, 5 bytes (0x5)
0000: 16 03 03 00 6b                                  ....k
== Info: TLSv1.2 (IN), TLS handshake, Server hello (2):
<= Recv SSL data, 107 bytes (0x6b)
0000: 02 00 00 67 03 03 ea b3 fb 7e dd 0b 97 25 9e a4 ...g.....~...%..
0010: 8b 3d 2f 5c e8 6d 46 7b 33 2d c9 47 34 80 76 93 .=/\.mF{3-.G4.v.
0020: c0 64 8e c0 c2 94 20 f5 b0 cd c0 a9 22 ee 07 bb .d.... ....."...
0030: 80 46 1b f1 52 e8 6d 5a c5 fa e0 3c b8 43 e3 7b .F..R.mZ...<.C.{
0040: 1f 11 1e 0b e4 e4 41 c0 2f 00 00 1f 00 00 00 00 ......A./.......
0050: ff 01 00 01 00 00 0b 00 04 03 00 01 02 00 0f 00 ................
0060: 01 01 00 10 00 05 00 03 02 68 32                .........h2
<= Recv SSL data, 5 bytes (0x5)
0000: 16 03 03 0a cd                                  .....
== Info: TLSv1.2 (IN), TLS handshake, Certificate (11):
<= Recv SSL data, 2765 bytes (0xacd)

......

0000: 17 03 03 00 40                                  ....@
== Info: Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 21                                  ....!
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 21                                  ....!
<= Recv SSL data, 5 bytes (0x5)
0000: 17 03 03 00 29                                  ....)
<= Recv SSL data, 5 bytes (0x5)
0000: 15 03 03 00 1a                                  .....
== Info: TLSv1.2 (IN), TLS alert, close notify (256):
<= Recv SSL data, 2 bytes (0x2)
0000: 01 00                                           ..
== Info: HTTP/2 stream 1 was not closed cleanly before end of the underlying stream
=> Send SSL data, 5 bytes (0x5)
0000: 17 03 03 00 25                                  ....%
== Info: stopped the pause stream!
== Info: Closing connection 0
=> Send SSL data, 5 bytes (0x5)
0000: 15 03 03 00 1a                                  .....
== Info: TLSv1.2 (OUT), TLS alert, close notify (256):
=> Send SSL data, 2 bytes (0x2)
0000: 01 00

Sets the maximum number of concurrent HTTP/2 streams in a connection.

Syntax:    http2_max_field_size size;
Default:    
http2_max_field_size 4k 
Context:    http, server

把这个参数调整大一点解决

http://nginx.org/en/docs/http/ngx_http_v2_module.html#http2_max_field_size

你可能感兴趣的:(nginx开发学习汇总,nginx反向代理,网络安全,nginx)