{"record":{"id":"41c6c70c498c7049","repo":"nginx/nginx","slug":"ngx-log-warn-41c6c7","errorCode":"NGX_LOG_WARN","errorMessage":"duplicate default geo range value: \\\"%V\\\", old value: \\\"%v\\\"","messagePattern":"duplicate default geo range value: \\\\\"%V\\\\\", old value: \\\\\"(.+?)\\\\\"","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/http/modules/ngx_http_geo_module.c","lineNumber":701,"sourceCode":"    ngx_reset_pool(cf->pool);\n\n    return NGX_CONF_ERROR;\n}\n\n\nstatic char *\nngx_http_geo_range(ngx_conf_t *cf, ngx_http_geo_conf_ctx_t *ctx,\n    ngx_str_t *value)\n{\n    u_char      *p, *last;\n    in_addr_t    start, end;\n    ngx_str_t   *net;\n    ngx_uint_t   del;\n\n    if (ngx_strcmp(value[0].data, \"default\") == 0) {\n\n        if (ctx->high.default_value) {\n            ngx_conf_log_error(NGX_LOG_WARN, cf, 0,\n                \"duplicate default geo range value: \\\"%V\\\", old value: \\\"%v\\\"\",\n                &value[1], ctx->high.default_value);\n        }\n\n        ctx->high.default_value = ngx_http_geo_value(cf, ctx, &value[1]);\n        if (ctx->high.default_value == NULL) {\n            return NGX_CONF_ERROR;\n        }\n\n        return NGX_CONF_OK;\n    }\n\n    if (ctx->binary_include) {\n        ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,\n            \"binary geo range base \\\"%s\\\" cannot be mixed with usual entries\",\n            ctx->include_name.data);\n        return NGX_CONF_ERROR;\n    }","sourceCodeStart":683,"sourceCodeEnd":719,"githubUrl":"https://github.com/nginx/nginx/blob/3f6f7824d4e2eb1ac37dec76683d525ac0ff521c/src/http/modules/ngx_http_geo_module.c#L683-L719","documentation":"Error \"duplicate default geo range value: \\\"%V\\\", old value: \\\"%v\\\"\" thrown in nginx/nginx.","triggerScenarios":"Thrown at src/http/modules/ngx_http_geo_module.c:701 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f6f7824d4e2eb1ac37dec76683d525ac0ff521c","analyzedAt":"2026-08-22T03:09:46.447Z","schemaVersion":2},"datasetVersion":"2026-08-22T04:17:13.399Z"}