You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if uuid4 is a module, it seems to missing that from the code or the issue description that
local uuid4 = require("uuid4.lua")
or something similar. So the name uuid4 name seems undefined. But if it is a global variable or something, and should be accessable, the problem could be within the function getUUID. Nginx error log should give sufficient explanation.
nginx config
nginx version: nginx/1.24.0
built by gcc 11.4.1 20230605 (Red Hat 11.4.1-2) (GCC)
built with OpenSSL 3.0.7 1 Nov 2022
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --with-ld-opt=-Wl,-rpath,/usr/local/lib --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-file-aio --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-stream --with-stream_ssl_module --with-cc-opt='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --add-module=/root/src/BUILD/nginx-1.24.0/headers-more-nginx-module-0.37 --add-module=/root/src/BUILD/nginx-1.24.0/nginx-upload-module-2.3.0 --add-module=/root/src/BUILD/nginx-1.24.0/lua-nginx-module-0.10.26 --add-module=/root/src/BUILD/nginx-1.24.0/ngx_devel_kit-0.3.3 --add-module=/root/src/BUILD/nginx-1.24.0/ngx_http_geoip2_module-3.4 --add-module=/root/src/BUILD/nginx-1.24.0/njs-7133f0400019/nginx
set_by_lua_block $uuid {
if ngx.var.http_x_request_id == nil then
return uuid4.getUUID()
else
return ngx.var.http_x_request_id
end
}
The text was updated successfully, but these errors were encountered: