nginx/nginx · error

NGX_LOG_ALERT

NGX_LOG_ALERT

Error message

no buffer space in HTTP/2 create request

What it means

Error "no buffer space in HTTP/2 create request" thrown in nginx/nginx.

Source

Thrown at src/http/modules/ngx_http_proxy_v2_module.c:774

        }
        le.ip += sizeof(uintptr_t);

        if (val_len == 0) {
            e.skip = 1;

            while (*(uintptr_t *) e.ip) {
                code = *(ngx_http_script_code_pt *) e.ip;
                code((ngx_http_script_engine_t *) &e);
            }
            e.ip += sizeof(uintptr_t);

            e.skip = 0;

            continue;
        }

        if (headers_end - b->last < 1) {
            ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
                          "no buffer space in HTTP/2 create request");
            return NGX_ERROR;
        }

        *b->last++ = 0;

        e.pos = key_tmp;
        e.end = key_tmp + tmp_len;

        code = *(ngx_http_script_code_pt *) e.ip;
        code((ngx_http_script_engine_t *) &e);

        if (e.status) {
            return NGX_ERROR;
        }

        key_len = e.pos - key_tmp;

View on GitHub (pinned to 3f6f7824d4)

When it happens

Trigger: Thrown at src/http/modules/ngx_http_proxy_v2_module.c:774 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of nginx/nginx@3f6f7824d4 (2026-08-22). Data as JSON: /api/errors/ef9799722b8c0642. Report an issue: GitHub.