| 16 | |
| 17 | {{{ |
| 18 | # h2c connect https://<IP>:449;while true;do sleep 1;h2c ping;done |
| 19 | [2024-02-14 15:35:13] -> SETTINGS(0) |
| 20 | [2024-02-14 15:35:13] <- SETTINGS(0) |
| 21 | [2024-02-14 15:35:13] <- WINDOW_UPDATE(0) |
| 22 | [2024-02-14 15:35:13] -> SETTINGS(0) |
| 23 | [2024-02-14 15:35:13] <- SETTINGS(0) |
| 24 | [2024-02-14 15:35:14] -> PING(0) |
| 25 | [2024-02-14 15:35:14] <- PING(0) |
| 26 | [2024-02-14 15:35:15] -> PING(0) |
| 27 | [2024-02-14 15:35:15] <- PING(0) |
| 28 | [2024-02-14 15:35:16] -> PING(0) |
| 29 | [2024-02-14 15:35:16] <- PING(0) |
| 30 | [2024-02-14 15:35:17] -> PING(0) |
| 31 | [2024-02-14 15:35:17] <- PING(0) |
| 32 | [2024-02-14 15:35:18] -> PING(0) |
| 33 | [2024-02-14 15:35:18] <- PING(0) |
| 34 | [2024-02-14 15:35:19] -> PING(0) |
| 35 | [2024-02-14 15:35:19] <- PING(0) |
| 36 | [2024-02-14 15:35:20] -> PING(0) |
| 37 | [2024-02-14 15:35:20] <- PING(0) |
| 38 | [2024-02-14 15:35:21] -> PING(0) |
| 39 | [2024-02-14 15:35:21] <- PING(0) |
| 40 | [2024-02-14 15:35:22] -> PING(0) |
| 41 | [2024-02-14 15:35:22] <- PING(0) |
| 42 | [2024-02-14 15:35:23] -> PING(0) |
| 43 | [2024-02-14 15:35:23] <- PING(0) |
| 44 | [2024-02-14 15:35:24] -> PING(0) |
| 45 | [2024-02-14 15:35:24] <- PING(0) |
| 46 | [2024-02-14 15:35:25] -> PING(0) |
| 47 | [2024-02-14 15:35:25] <- PING(0) |
| 48 | [2024-02-14 15:35:26] -> PING(0) |
| 49 | [2024-02-14 15:35:26] <- PING(0) |
| 50 | [2024-02-14 15:35:27] -> PING(0) |
| 51 | [2024-02-14 15:35:27] <- PING(0) |
| 52 | [2024-02-14 15:35:28] -> PING(0) |
| 53 | [2024-02-14 15:35:28] <- PING(0) |
| 54 | [2024-02-14 15:35:29] -> PING(0) |
| 55 | [2024-02-14 15:35:29] <- PING(0) |
| 56 | [2024-02-14 15:35:30] -> PING(0) |
| 57 | [2024-02-14 15:35:30] <- PING(0) |
| 58 | [2024-02-14 15:35:31] -> PING(0) |
| 59 | [2024-02-14 15:35:31] <- PING(0) |
| 60 | [2024-02-14 15:35:32] -> PING(0) |
| 61 | [2024-02-14 15:35:32] <- PING(0) |
| 62 | [2024-02-14 15:35:33] -> PING(0) |
| 63 | [2024-02-14 15:35:33] <- PING(0) |
| 64 | [2024-02-14 15:35:34] -> PING(0) |
| 65 | [2024-02-14 15:35:34] <- PING(0) |
| 66 | Error while reading next frame: EOF |
| 67 | [2024-02-14 15:35:35] <- GOAWAY(0) << exactly 22s |
| 68 | |
| 69 | |
| 70 | |
| 71 | The issue is observed in both nginx 1.24 & nginx 1.22 , |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | |
| 77 | TEST 2 (with nginx 1.18) |
| 78 | |
| 79 | $ /usr/sbin/nginx -v |
| 80 | nginx version: nginx/1.18.0 (1.18.0-1.el8) |
| 81 | grep client_header_timeout /etc/nginx/nginx.conf |
| 82 | client_header_timeout 60s; |
| 83 | h2c connect https://<IP>:8447;while true;do sleep 60;h2c ping;done /* sending ping every 60s */ |
| 84 | [2024-02-14 15:46:18] -> SETTINGS(0) |
| 85 | [2024-02-14 15:46:18] <- SETTINGS(0) |
| 86 | [2024-02-14 15:46:18] <- WINDOW_UPDATE(0) |
| 87 | [2024-02-14 15:46:18] -> SETTINGS(0) |
| 88 | [2024-02-14 15:46:18] <- SETTINGS(0) |
| 89 | [2024-02-14 15:47:18] -> PING(0) |
| 90 | [2024-02-14 15:47:18] <- PING(0) |
| 91 | [2024-02-14 15:48:18] -> PING(0) |
| 92 | [2024-02-14 15:48:18] <- PING(0) |
| 93 | [2024-02-14 15:49:18] -> PING(0) |
| 94 | [2024-02-14 15:49:18] <- PING(0) |
| 95 | [2024-02-14 15:50:19] -> PING(0) |
| 96 | [2024-02-14 15:50:19] <- PING(0) |
| 97 | [2024-02-14 15:51:19] -> PING(0) |
| 98 | [2024-02-14 15:51:19] <- PING(0) |
| 99 | [2024-02-14 15:52:19] -> PING(0) |
| 100 | [2024-02-14 15:52:19] <- PING(0) |
| 101 | |
| 102 | In nginx-1.18 Atfer 60s ,the connction is not broke. |
| 103 | }}} |
| 104 | |
| 105 | |