diff --git a/Trash/ginxsom.db b/Trash/ginxsom.db new file mode 100644 index 0000000..61d084e Binary files /dev/null and b/Trash/ginxsom.db differ diff --git a/blobs/22917078337a9df119979b8df2bbb59aafcc42161c50bd7881e68e27369f343c.txt b/blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt similarity index 61% rename from blobs/22917078337a9df119979b8df2bbb59aafcc42161c50bd7881e68e27369f343c.txt rename to blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt index f672b45..460e87e 100644 --- a/blobs/22917078337a9df119979b8df2bbb59aafcc42161c50bd7881e68e27369f343c.txt +++ b/blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt @@ -1,6 +1,6 @@ Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:34:57-04:00 -Random data: 52bea9fe68b05eeeee258ae97cdcf8d9e7abbc13e67d61f681927250daef6e56 +Timestamp: 2025-09-02T15:17:47-04:00 +Random data: 4e8fefec3104b88408f0c71a73e97ba176846747e5577334d42be314839a9bba Test message: Hello from put_test.sh! This file is used to test the upload functionality diff --git a/blobs/3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540.txt b/blobs/3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540.txt deleted file mode 100644 index 1ab7817..0000000 --- a/blobs/3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540.txt +++ /dev/null @@ -1 +0,0 @@ -This is a set file to test. Don't edit. \ No newline at end of file diff --git a/blobs/49838edfd837a9cab272503012ab06d82bc6221e9176c65fe6c46e8d16f3b26e.txt b/blobs/49838edfd837a9cab272503012ab06d82bc6221e9176c65fe6c46e8d16f3b26e.txt deleted file mode 100644 index aef7030..0000000 --- a/blobs/49838edfd837a9cab272503012ab06d82bc6221e9176c65fe6c46e8d16f3b26e.txt +++ /dev/null @@ -1 +0,0 @@ -test data for debug \ No newline at end of file diff --git a/blobs/27a6a601f8257e257a6d4ae1508b9ab8a8e05cff173045a78e5a8fcfbc3d8ef9.txt b/blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt similarity index 61% rename from blobs/27a6a601f8257e257a6d4ae1508b9ab8a8e05cff173045a78e5a8fcfbc3d8ef9.txt rename to blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt index 764225e..fa2724e 100644 --- a/blobs/27a6a601f8257e257a6d4ae1508b9ab8a8e05cff173045a78e5a8fcfbc3d8ef9.txt +++ b/blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt @@ -1,6 +1,6 @@ Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T09:58:19-04:00 -Random data: faafb490d178139a95368b519dd836ef835b488da9324ab5387299654f294826 +Timestamp: 2025-09-02T14:22:55-04:00 +Random data: 952a584d8f3fc6b5e49b1dfabbf68d76385d6d51142aa07170c71897ea861c03 Test message: Hello from put_test.sh! This file is used to test the upload functionality diff --git a/blobs/545a2277dd4b7a66e320e12cdd92bf6fbbe13869b5bb5d665a03c83d453ba2de.txt b/blobs/545a2277dd4b7a66e320e12cdd92bf6fbbe13869b5bb5d665a03c83d453ba2de.txt deleted file mode 100644 index 6e9bd23..0000000 --- a/blobs/545a2277dd4b7a66e320e12cdd92bf6fbbe13869b5bb5d665a03c83d453ba2de.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:34:52-04:00 -Random data: 340fc3549683d7c208ffa373d5932551f9b2e53cc1a5713b55c934403d9640a2 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt b/blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt deleted file mode 100644 index 7fc0f75..0000000 --- a/blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:45:42-04:00 -Random data: d29860f9b375c2f964dd3bcb4466fa018fe70ac6335b4ee79cec000c4f7de1e9 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/708d0e8226ec17b0585417c0ec9352ce5f52c3820c904b7066fe20b00f2d9cfe.webp b/blobs/708d0e8226ec17b0585417c0ec9352ce5f52c3820c904b7066fe20b00f2d9cfe.webp deleted file mode 100644 index d3d1481..0000000 Binary files a/blobs/708d0e8226ec17b0585417c0ec9352ce5f52c3820c904b7066fe20b00f2d9cfe.webp and /dev/null differ diff --git a/blobs/71300009a2840a82a5f596e833b6d0b69361ac63bed5956652e39dad53400ac5.txt b/blobs/71300009a2840a82a5f596e833b6d0b69361ac63bed5956652e39dad53400ac5.txt deleted file mode 100644 index 073cbe5..0000000 --- a/blobs/71300009a2840a82a5f596e833b6d0b69361ac63bed5956652e39dad53400ac5.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:10:05-04:00 -Random data: 0dbb5e8f50695faa4f8bc3a5369d21fca51c98fda6be69520a6bfe6160bd55ca -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt b/blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt deleted file mode 100644 index 3048b19..0000000 --- a/blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:45:28-04:00 -Random data: 8d599bd3356624fcb782f832b8f03d9a53972b8472a1bdcac83eae353e722621 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999.txt b/blobs/8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999.txt deleted file mode 100644 index 72c1b7a..0000000 --- a/blobs/8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:46:50-04:00 -Random data: 4f03071e8de671359cc9f2d4c868825c597601a3224c924c16ac63d31222595e -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/976d02e163913c66cfce493dbf0c0350c90562e2a0f4c9cd5c5064b521f1414f.txt b/blobs/976d02e163913c66cfce493dbf0c0350c90562e2a0f4c9cd5c5064b521f1414f.txt deleted file mode 100644 index 348087d..0000000 --- a/blobs/976d02e163913c66cfce493dbf0c0350c90562e2a0f4c9cd5c5064b521f1414f.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T09:49:32-04:00 -Random data: 5fc993875e7b145b161463e2250f7b7d4be0428fca7a91a40a843b25d594eb2d -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/98681900bd97aabc4a7d2341bc52cc8d687e7c7b4dbd0893f6470242614d1100.txt b/blobs/98681900bd97aabc4a7d2341bc52cc8d687e7c7b4dbd0893f6470242614d1100.txt deleted file mode 100644 index db28e31..0000000 --- a/blobs/98681900bd97aabc4a7d2341bc52cc8d687e7c7b4dbd0893f6470242614d1100.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:34:56-04:00 -Random data: 52e5fee5b2f73c73ed388c9df9f74c58117b5f93982c5e6202951fd9fd90b626 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/9ccfb66aff2f9e4929830f8f675d9db94acce2246673bc347da6805951bdac52.txt b/blobs/9ccfb66aff2f9e4929830f8f675d9db94acce2246673bc347da6805951bdac52.txt deleted file mode 100644 index 25c0809..0000000 --- a/blobs/9ccfb66aff2f9e4929830f8f675d9db94acce2246673bc347da6805951bdac52.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:07:52-04:00 -Random data: f1690ecb249bb7499e997e47b515e0f067dc0fffa13f4265f497b87166799187 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08.txt b/blobs/9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08.txt deleted file mode 100644 index 30d74d2..0000000 --- a/blobs/9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08.txt +++ /dev/null @@ -1 +0,0 @@ -test \ No newline at end of file diff --git a/blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt b/blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt deleted file mode 100644 index b801f1a..0000000 --- a/blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:45:33-04:00 -Random data: 0d4dce455f8a7bdfb8bd1cc8e90c2546fcb71f0689c3774530adfa718014c905 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/a5946f8210fb87f9772263864234944d5fea43a8b3dc8eaa08abe4859eb68325.txt b/blobs/a5946f8210fb87f9772263864234944d5fea43a8b3dc8eaa08abe4859eb68325.txt deleted file mode 100644 index 499e165..0000000 --- a/blobs/a5946f8210fb87f9772263864234944d5fea43a8b3dc8eaa08abe4859eb68325.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:11:22-04:00 -Random data: 97e6573bd31c5dd5dc1f3fd7ed6e7d94898959af435556879a648f83b62267e7 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/b3bac1e07fa61f4668c0920b3493a571642e10c14e1325958eaac6d7e85e1fb1.txt b/blobs/b3bac1e07fa61f4668c0920b3493a571642e10c14e1325958eaac6d7e85e1fb1.txt deleted file mode 100644 index dd681a7..0000000 --- a/blobs/b3bac1e07fa61f4668c0920b3493a571642e10c14e1325958eaac6d7e85e1fb1.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:44:56-04:00 -Random data: 162b8c0930df1f600ddd936e99ecce0866ab82a436f545d2187ba56726f0df4f -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/bbad76867950c43fd9f58c5c532b940b04e1b48b0b700d27ff85081206ed08bf.bin b/blobs/bbad76867950c43fd9f58c5c532b940b04e1b48b0b700d27ff85081206ed08bf.bin deleted file mode 100644 index 6bad1ab..0000000 --- a/blobs/bbad76867950c43fd9f58c5c532b940b04e1b48b0b700d27ff85081206ed08bf.bin +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T09:23:37-04:00 -Random data: 91175d5c0a2465bb69dabfa79d822054cbc8c00cc05cc551b1ed69b5f619631a -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/d9928b2db1bc343c759dbf02aeee2321c8e383e1e9c7b94e5ad2666f6b3dd5ee.txt b/blobs/d9928b2db1bc343c759dbf02aeee2321c8e383e1e9c7b94e5ad2666f6b3dd5ee.txt deleted file mode 100644 index 8fc2eb9..0000000 --- a/blobs/d9928b2db1bc343c759dbf02aeee2321c8e383e1e9c7b94e5ad2666f6b3dd5ee.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T09:53:53-04:00 -Random data: e4170eb6a32ff51102a2e154ec96dd4c769b3033f92b2bdb68fe4b835ec42d8f -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/33962cb60f7f35f32ac2ef20f707b54815c2519b17652acf2d81543a141d32a3.txt b/blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt similarity index 61% rename from blobs/33962cb60f7f35f32ac2ef20f707b54815c2519b17652acf2d81543a141d32a3.txt rename to blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt index c53e9e0..753c7cd 100644 --- a/blobs/33962cb60f7f35f32ac2ef20f707b54815c2519b17652acf2d81543a141d32a3.txt +++ b/blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt @@ -1,6 +1,6 @@ Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-19T10:06:44-04:00 -Random data: a0100362b9eb683a4bf49f49b8b6597490142d2a2d2543e7d500f371f0a1f052 +Timestamp: 2025-09-02T13:59:11-04:00 +Random data: 77050ac92e48c47746e1d90541d99079e811c59fdd109491165b6d310ef8da76 Test message: Hello from put_test.sh! This file is used to test the upload functionality diff --git a/blobs/f8b5b4904c79bb53b2b417bc9c939268ac2871f194e95523b7b66113862da15e.jpg b/blobs/f8b5b4904c79bb53b2b417bc9c939268ac2871f194e95523b7b66113862da15e.jpg deleted file mode 100644 index f08dda3..0000000 Binary files a/blobs/f8b5b4904c79bb53b2b417bc9c939268ac2871f194e95523b7b66113862da15e.jpg and /dev/null differ diff --git a/build/ginxsom-fcgi b/build/ginxsom-fcgi index 8815a1b..e19c834 100755 Binary files a/build/ginxsom-fcgi and b/build/ginxsom-fcgi differ diff --git a/build/main.o b/build/main.o index daec631..5b67c39 100644 Binary files a/build/main.o and b/build/main.o differ diff --git a/config/local-nginx.conf b/config/local-nginx.conf index c0fd855..be43419 100644 --- a/config/local-nginx.conf +++ b/config/local-nginx.conf @@ -1,5 +1,5 @@ # Local Ginxsom Development Server Configuration -# This configuration serves files directly from the local repo directory +# Comprehensive Blossom Protocol Implementation # Main context - specify error log here to override system default error_log logs/error.log debug; @@ -41,47 +41,206 @@ http { # Maximum upload size (adjust as needed) client_max_body_size 100M; - # Security headers + # Security headers (applied to all responses) add_header X-Content-Type-Options nosniff; add_header X-Frame-Options DENY; add_header X-XSS-Protection "1; mode=block"; - # Delete blob endpoint - DELETE / (must come first) - location ~ "^/([a-f0-9]{64}).*$" { - # Only handle DELETE method for this pattern - if ($request_method != DELETE) { - # Let other patterns handle non-DELETE requests for this path - return 404; + # 1. SPECIFIC ENDPOINTS (most specific first) + + # PUT /upload (BUD-02) - File uploads + location = /upload { + if ($request_method !~ ^(PUT|HEAD)$) { + return 405; } - - # Pass to FastCGI application for processing - include fastcgi_params; + fastcgi_param QUERY_STRING $query_string; + fastcgi_param REQUEST_METHOD $request_method; + fastcgi_param CONTENT_TYPE $content_type; + fastcgi_param CONTENT_LENGTH $content_length; + fastcgi_param SCRIPT_NAME $fastcgi_script_name; + fastcgi_param REQUEST_URI $request_uri; + fastcgi_param DOCUMENT_URI $document_uri; + fastcgi_param DOCUMENT_ROOT $document_root; + fastcgi_param SERVER_PROTOCOL $server_protocol; + fastcgi_param REQUEST_SCHEME $scheme; + fastcgi_param HTTPS $https if_not_empty; + fastcgi_param GATEWAY_INTERFACE CGI/1.1; + fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + fastcgi_param REMOTE_ADDR $remote_addr; + fastcgi_param REMOTE_PORT $remote_port; + fastcgi_param SERVER_ADDR $server_addr; + fastcgi_param SERVER_PORT $server_port; + fastcgi_param SERVER_NAME $server_name; + fastcgi_param REDIRECT_STATUS 200; fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; fastcgi_pass fastcgi_backend; } - # Old working regex pattern - testing rollback + # GET /list/ (BUD-02) - List user's blobs + location ~ "^/list/([a-f0-9]{64})$" { + if ($request_method !~ ^(GET)$) { + return 405; + } + fastcgi_param QUERY_STRING $query_string; + fastcgi_param REQUEST_METHOD $request_method; + fastcgi_param CONTENT_TYPE $content_type; + fastcgi_param CONTENT_LENGTH $content_length; + fastcgi_param SCRIPT_NAME $fastcgi_script_name; + fastcgi_param REQUEST_URI $request_uri; + fastcgi_param DOCUMENT_URI $document_uri; + fastcgi_param DOCUMENT_ROOT $document_root; + fastcgi_param SERVER_PROTOCOL $server_protocol; + fastcgi_param REQUEST_SCHEME $scheme; + fastcgi_param HTTPS $https if_not_empty; + fastcgi_param GATEWAY_INTERFACE CGI/1.1; + fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + fastcgi_param REMOTE_ADDR $remote_addr; + fastcgi_param REMOTE_PORT $remote_port; + fastcgi_param SERVER_ADDR $server_addr; + fastcgi_param SERVER_PORT $server_port; + fastcgi_param SERVER_NAME $server_name; + fastcgi_param REDIRECT_STATUS 200; + fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; + fastcgi_pass fastcgi_backend; + } + + # PUT /mirror (BUD-04) - Mirror content + location = /mirror { + if ($request_method !~ ^(PUT)$) { + return 405; + } + fastcgi_param QUERY_STRING $query_string; + fastcgi_param REQUEST_METHOD $request_method; + fastcgi_param CONTENT_TYPE $content_type; + fastcgi_param CONTENT_LENGTH $content_length; + fastcgi_param SCRIPT_NAME $fastcgi_script_name; + fastcgi_param REQUEST_URI $request_uri; + fastcgi_param DOCUMENT_URI $document_uri; + fastcgi_param DOCUMENT_ROOT $document_root; + fastcgi_param SERVER_PROTOCOL $server_protocol; + fastcgi_param REQUEST_SCHEME $scheme; + fastcgi_param HTTPS $https if_not_empty; + fastcgi_param GATEWAY_INTERFACE CGI/1.1; + fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + fastcgi_param REMOTE_ADDR $remote_addr; + fastcgi_param REMOTE_PORT $remote_port; + fastcgi_param SERVER_ADDR $server_addr; + fastcgi_param SERVER_PORT $server_port; + fastcgi_param SERVER_NAME $server_name; + fastcgi_param REDIRECT_STATUS 200; + fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; + fastcgi_pass fastcgi_backend; + } + + # HEAD/PUT /media (BUD-05) - Media operations + location = /media { + if ($request_method !~ ^(HEAD|PUT)$) { + return 405; + } + fastcgi_param QUERY_STRING $query_string; + fastcgi_param REQUEST_METHOD $request_method; + fastcgi_param CONTENT_TYPE $content_type; + fastcgi_param CONTENT_LENGTH $content_length; + fastcgi_param SCRIPT_NAME $fastcgi_script_name; + fastcgi_param REQUEST_URI $request_uri; + fastcgi_param DOCUMENT_URI $document_uri; + fastcgi_param DOCUMENT_ROOT $document_root; + fastcgi_param SERVER_PROTOCOL $server_protocol; + fastcgi_param REQUEST_SCHEME $scheme; + fastcgi_param HTTPS $https if_not_empty; + fastcgi_param GATEWAY_INTERFACE CGI/1.1; + fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + fastcgi_param REMOTE_ADDR $remote_addr; + fastcgi_param REMOTE_PORT $remote_port; + fastcgi_param SERVER_ADDR $server_addr; + fastcgi_param SERVER_PORT $server_port; + fastcgi_param SERVER_NAME $server_name; + fastcgi_param REDIRECT_STATUS 200; + fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; + fastcgi_pass fastcgi_backend; + } + + # PUT /report (BUD-09) - Report content + location = /report { + if ($request_method !~ ^(PUT)$) { + return 405; + } + fastcgi_param QUERY_STRING $query_string; + fastcgi_param REQUEST_METHOD $request_method; + fastcgi_param CONTENT_TYPE $content_type; + fastcgi_param CONTENT_LENGTH $content_length; + fastcgi_param SCRIPT_NAME $fastcgi_script_name; + fastcgi_param REQUEST_URI $request_uri; + fastcgi_param DOCUMENT_URI $document_uri; + fastcgi_param DOCUMENT_ROOT $document_root; + fastcgi_param SERVER_PROTOCOL $server_protocol; + fastcgi_param REQUEST_SCHEME $scheme; + fastcgi_param HTTPS $https if_not_empty; + fastcgi_param GATEWAY_INTERFACE CGI/1.1; + fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + fastcgi_param REMOTE_ADDR $remote_addr; + fastcgi_param REMOTE_PORT $remote_port; + fastcgi_param SERVER_ADDR $server_addr; + fastcgi_param SERVER_PORT $server_port; + fastcgi_param SERVER_NAME $server_name; + fastcgi_param REDIRECT_STATUS 200; + fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; + fastcgi_pass fastcgi_backend; + } + + # 2. BLOB OPERATIONS (SHA256 patterns) + + # GET/HEAD/DELETE / (BUD-01) - Blob operations with optional file extensions location ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" { - limit_except HEAD GET { - deny all; + # Handle DELETE method via rewrite to avoid fastcgi_param in if block + if ($request_method = DELETE) { + rewrite ^/(.*)$ /fcgi-delete/$1 last; } - # Route HEAD requests to FastCGI via rewrite + # Route HEAD requests to FastCGI for metadata if ($request_method = HEAD) { rewrite ^/(.*)$ /fcgi-head/$1 last; } - # GET requests served directly with explicit file extensions - # Potentially in the future look at a LUA extension - try_files /$1.jpg /$1.jpeg /$1.png /$1.webp /$1.gif /$1.pdf /$1.mp4 /$1.mp3 /$1.txt /$1.md=404; - - # Set appropriate headers for blobs + # Only allow GET for file serving at this point + if ($request_method != GET) { + return 405; + } + + # GET requests - serve files directly with extension fallback + try_files /$1.txt /$1.jpg /$1.jpeg /$1.png /$1.webp /$1.gif /$1.pdf /$1.mp4 /$1.mp3 /$1.md =404; + + # Cache headers for blob content add_header Cache-Control "public, max-age=31536000, immutable"; - add_header X-Content-Type-Options nosniff; - add_header X-Frame-Options DENY; - add_header X-XSS-Protection "1; mode=block"; } - + + # Internal handler for DELETE operations + location ~ "^/fcgi-delete/([a-f0-9]{64}).*$" { + internal; + fastcgi_pass fastcgi_backend; + fastcgi_param QUERY_STRING $query_string; + fastcgi_param REQUEST_METHOD DELETE; + fastcgi_param CONTENT_TYPE $content_type; + fastcgi_param CONTENT_LENGTH $content_length; + fastcgi_param SCRIPT_NAME $fastcgi_script_name; + fastcgi_param REQUEST_URI /$1; + fastcgi_param DOCUMENT_URI /$1; + fastcgi_param DOCUMENT_ROOT $document_root; + fastcgi_param SERVER_PROTOCOL $server_protocol; + fastcgi_param REQUEST_SCHEME $scheme; + fastcgi_param HTTPS $https if_not_empty; + fastcgi_param GATEWAY_INTERFACE CGI/1.1; + fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; + fastcgi_param REMOTE_ADDR $remote_addr; + fastcgi_param REMOTE_PORT $remote_port; + fastcgi_param SERVER_ADDR $server_addr; + fastcgi_param SERVER_PORT $server_port; + fastcgi_param SERVER_NAME $server_name; + fastcgi_param REDIRECT_STATUS 200; + fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; + } + + # 3. INTERNAL HANDLERS # FastCGI handler for HEAD requests location ~ "^/fcgi-head/([a-f0-9]{64}).*$" { @@ -102,32 +261,7 @@ http { fastcgi_param SERVER_NAME $server_name; } - - # Upload endpoint - requires authentication - location /upload { - # Pass to FastCGI application for processing - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; - fastcgi_pass fastcgi_backend; - - # Only allow PUT method for uploads - if ($request_method !~ ^(PUT)$ ) { - return 405; - } - } - - # List blobs endpoint - GET /list/ - location ~ "^/list/([a-f0-9]{64}).*$" { - # Pass to FastCGI application for processing - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root/ginxsom.fcgi; - fastcgi_pass fastcgi_backend; - - # Only allow GET method for list requests - if ($request_method !~ ^(GET)$ ) { - return 405; - } - } + # 4. UTILITY ENDPOINTS # Health check endpoint location /health { @@ -144,7 +278,7 @@ http { # Root redirect location = / { - return 200 "Ginxsom Local Development Server\nTry: GET /\nHealth: GET /health\n"; + return 200 "Ginxsom Blossom Server\nEndpoints: GET /, PUT /upload, GET /list/\nHealth: GET /health\n"; add_header Content-Type text/plain; } } diff --git a/db/ginxsom.db b/db/ginxsom.db index 61d084e..09f3247 100644 Binary files a/db/ginxsom.db and b/db/ginxsom.db differ diff --git a/db/ginxsom.db.backup.1755562070 b/db/ginxsom.db.backup.1755562070 deleted file mode 100644 index ce6cca2..0000000 Binary files a/db/ginxsom.db.backup.1755562070 and /dev/null differ diff --git a/db/ginxsom.db.backup.1755563905 b/db/ginxsom.db.backup.1755563905 deleted file mode 100644 index 284fade..0000000 Binary files a/db/ginxsom.db.backup.1755563905 and /dev/null differ diff --git a/db/ginxsom.db.backup.1755565735 b/db/ginxsom.db.backup.1755565735 deleted file mode 100644 index ee947cb..0000000 Binary files a/db/ginxsom.db.backup.1755565735 and /dev/null differ diff --git a/db/ginxsom.db.backup.1755624647 b/db/ginxsom.db.backup.1755624647 deleted file mode 100644 index 4683bf3..0000000 Binary files a/db/ginxsom.db.backup.1755624647 and /dev/null differ diff --git a/db/schema.sql b/db/schema.sql index 216264b..e34b52c 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -29,17 +29,13 @@ CREATE TABLE IF NOT EXISTS server_config ( CREATE INDEX IF NOT EXISTS idx_blobs_uploaded_at ON blobs(uploaded_at); CREATE INDEX IF NOT EXISTS idx_blobs_uploader_pubkey ON blobs(uploader_pubkey); CREATE INDEX IF NOT EXISTS idx_blobs_type ON blobs(type); -CREATE INDEX IF NOT EXISTS idx_blobs_size ON blobs(size); -- Insert default server configuration +-- Insert basic server configuration INSERT OR IGNORE INTO server_config (key, value, description) VALUES ('max_file_size', '104857600', 'Maximum file size in bytes (100MB)'), ('require_auth', 'false', 'Whether authentication is required for uploads'), - ('allowed_types', '*', 'Allowed MIME types (* for all)'), - ('server_name', 'ginxsom', 'Server name for responses'), - ('storage_quota', '10737418240', 'Total storage quota in bytes (10GB)'), - ('cleanup_interval', '86400', 'Cleanup interval in seconds (daily)'), - ('max_upload_rate', '1048576', 'Max upload rate per client in bytes/sec (1MB/s)'); + ('server_name', 'ginxsom', 'Server name for responses'); -- View for storage statistics CREATE VIEW IF NOT EXISTS storage_stats AS @@ -52,186 +48,4 @@ SELECT COUNT(DISTINCT uploader_pubkey) as unique_uploaders FROM blobs; --- View for recent uploads (last 24 hours) -CREATE VIEW IF NOT EXISTS recent_uploads AS -SELECT - sha256, - size, - type, - uploaded_at, - uploader_pubkey, - filename, - datetime(uploaded_at, 'unixepoch') as uploaded_datetime -FROM blobs -WHERE uploaded_at > (strftime('%s', 'now') - 86400) -ORDER BY uploaded_at DESC; --- ============================================================================ --- AUTHENTICATION RULES SYSTEM --- ============================================================================ - --- Authentication rules table for flexible access control -CREATE TABLE IF NOT EXISTS auth_rules ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - rule_type TEXT NOT NULL, -- 'whitelist', 'blacklist', 'hash_blacklist', 'rate_limit', etc. - rule_target TEXT NOT NULL, -- pubkey, hash, IP, MIME type, etc. - rule_value TEXT, -- JSON for complex rules (optional) - operation TEXT NOT NULL DEFAULT '*', -- 'upload', 'delete', 'list', '*' (all operations) - enabled INTEGER NOT NULL DEFAULT 1, -- 0 = disabled, 1 = enabled - priority INTEGER NOT NULL DEFAULT 100, -- Lower numbers = higher priority (for conflict resolution) - expires_at INTEGER, -- Optional expiration timestamp - created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')), - updated_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')), - created_by TEXT, -- Admin pubkey who created this rule (optional) - description TEXT, -- Human-readable rule description - CHECK (enabled IN (0, 1)), -- Boolean constraint - CHECK (priority >= 0), -- Priority must be non-negative - CHECK (expires_at IS NULL OR expires_at > created_at) -- Expiration must be in future -); - --- Rule evaluation cache for performance optimization -CREATE TABLE IF NOT EXISTS auth_cache ( - cache_key TEXT PRIMARY KEY, -- SHA-256 hash of request parameters - allowed INTEGER NOT NULL, -- 0 = denied, 1 = allowed - rule_id INTEGER, -- Which rule made the decision (optional) - rule_reason TEXT, -- Human-readable reason for decision - expires_at INTEGER NOT NULL, -- Cache entry expiration - created_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')), - CHECK (allowed IN (0, 1)), -- Boolean constraint - FOREIGN KEY (rule_id) REFERENCES auth_rules(id) ON DELETE SET NULL -); - --- Indexes for authentication system performance -CREATE INDEX IF NOT EXISTS idx_auth_rules_type_target ON auth_rules(rule_type, rule_target); -CREATE INDEX IF NOT EXISTS idx_auth_rules_operation ON auth_rules(operation); -CREATE INDEX IF NOT EXISTS idx_auth_rules_enabled ON auth_rules(enabled); -CREATE INDEX IF NOT EXISTS idx_auth_rules_priority ON auth_rules(priority); -CREATE INDEX IF NOT EXISTS idx_auth_rules_expires ON auth_rules(expires_at); -CREATE INDEX IF NOT EXISTS idx_auth_cache_expires ON auth_cache(expires_at); - --- ============================================================================ --- ADMINISTRATIVE SYSTEM --- ============================================================================ - --- Administrators table for nostr-based server administration -CREATE TABLE IF NOT EXISTS administrators ( - pubkey TEXT PRIMARY KEY NOT NULL, -- Nostr public key (64 hex chars) - permissions TEXT NOT NULL DEFAULT '[]', -- JSON array of permissions - added_by TEXT, -- Pubkey of admin who added this admin - added_at INTEGER NOT NULL DEFAULT (strftime('%s', 'now')), - expires_at INTEGER, -- Optional expiration timestamp - enabled INTEGER NOT NULL DEFAULT 1, -- 0 = disabled, 1 = enabled - description TEXT, -- Human-readable description - last_seen INTEGER, -- Last administrative action timestamp - CHECK (length(pubkey) = 64), -- Ensure valid pubkey length - CHECK (enabled IN (0, 1)), -- Boolean constraint - CHECK (expires_at IS NULL OR expires_at > added_at), -- Expiration must be in future - FOREIGN KEY (added_by) REFERENCES administrators(pubkey) ON DELETE SET NULL -); - --- Administrative actions audit log -CREATE TABLE IF NOT EXISTS admin_log ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - admin_pubkey TEXT NOT NULL, -- Which admin performed the action - command TEXT NOT NULL, -- Administrative command executed - parameters TEXT, -- JSON command parameters - result TEXT, -- Success/failure result and details - timestamp INTEGER NOT NULL DEFAULT (strftime('%s', 'now')), - event_id TEXT, -- Reference to nostr event (optional) - target_table TEXT, -- Which table was affected (optional) - target_id TEXT, -- Which record was affected (optional) - ip_address TEXT, -- Client IP address (optional) - user_agent TEXT, -- Client user agent (optional) - FOREIGN KEY (admin_pubkey) REFERENCES administrators(pubkey) ON DELETE CASCADE -); - --- Server identity and administrative configuration -INSERT OR IGNORE INTO server_config (key, value, description) VALUES - ('server_pubkey', '', 'Server nostr public key (generated on first run)'), - ('server_privkey_file', 'keys/server.key', 'Path to encrypted server private key file'), - ('admin_relays', '[]', 'JSON array of relay URLs for administrative events'), - ('admin_event_processing', 'true', 'Enable nostr-based administrative event processing'), - ('require_admin_auth', 'true', 'Require admin authorization for sensitive operations'), - ('auth_rules_enabled', 'true', 'Enable flexible authentication rules system'), - ('auth_cache_ttl', '300', 'Authentication cache TTL in seconds (5 minutes)'), - ('admin_session_timeout', '3600', 'Administrative session timeout in seconds (1 hour)'), - ('max_admin_log_entries', '10000', 'Maximum administrative log entries to retain'); - --- Indexes for administrative system performance -CREATE INDEX IF NOT EXISTS idx_administrators_enabled ON administrators(enabled); -CREATE INDEX IF NOT EXISTS idx_administrators_expires ON administrators(expires_at); -CREATE INDEX IF NOT EXISTS idx_admin_log_timestamp ON admin_log(timestamp); -CREATE INDEX IF NOT EXISTS idx_admin_log_admin_pubkey ON admin_log(admin_pubkey); -CREATE INDEX IF NOT EXISTS idx_admin_log_command ON admin_log(command); - --- ============================================================================ --- VIEWS FOR ADMINISTRATIVE QUERIES --- ============================================================================ - --- View for active authentication rules -CREATE VIEW IF NOT EXISTS active_auth_rules AS -SELECT - id, - rule_type, - rule_target, - rule_value, - operation, - priority, - expires_at, - created_at, - created_by, - description, - CASE - WHEN expires_at IS NULL THEN 'never' - WHEN expires_at > strftime('%s', 'now') THEN 'active' - ELSE 'expired' - END as status -FROM auth_rules -WHERE enabled = 1 -ORDER BY priority ASC, created_at ASC; - --- View for active administrators -CREATE VIEW IF NOT EXISTS active_administrators AS -SELECT - pubkey, - permissions, - added_by, - added_at, - expires_at, - description, - last_seen, - CASE - WHEN expires_at IS NULL THEN 'never' - WHEN expires_at > strftime('%s', 'now') THEN 'active' - ELSE 'expired' - END as status, - datetime(added_at, 'unixepoch') as added_datetime, - datetime(last_seen, 'unixepoch') as last_seen_datetime -FROM administrators -WHERE enabled = 1; - --- View for recent administrative actions (last 7 days) -CREATE VIEW IF NOT EXISTS recent_admin_actions AS -SELECT - id, - admin_pubkey, - command, - parameters, - result, - timestamp, - event_id, - target_table, - target_id, - datetime(timestamp, 'unixepoch') as action_datetime -FROM admin_log -WHERE timestamp > (strftime('%s', 'now') - 604800) -- 7 days -ORDER BY timestamp DESC; - --- View for authentication statistics -CREATE VIEW IF NOT EXISTS auth_stats AS -SELECT - (SELECT COUNT(*) FROM auth_rules WHERE enabled = 1) as active_rules, - (SELECT COUNT(*) FROM auth_rules WHERE enabled = 1 AND expires_at > strftime('%s', 'now')) as non_expired_rules, - (SELECT COUNT(*) FROM auth_cache WHERE expires_at > strftime('%s', 'now')) as cached_decisions, - (SELECT COUNT(*) FROM administrators WHERE enabled = 1) as active_admins, - (SELECT COUNT(*) FROM admin_log WHERE timestamp > (strftime('%s', 'now') - 86400)) as daily_admin_actions; diff --git a/debug_hash_data.log b/debug_hash_data.log new file mode 100644 index 0000000..482f769 --- /dev/null +++ b/debug_hash_data.log @@ -0,0 +1,42 @@ +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431333a35393a31312d30343a30300a52616e646f6d20646174613a20373730353061633932653438633437373436653164393035343164393930373965383131633539666464313039343931313635623664333130656638646137360a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: Test blob content for Ginxsom Blossom server +Timestamp: 2025-09-02T13:59:11-04:00 +Random data: 77050ac92e48c47746e1d90541d99079e811c59fdd109491165b6d310ef8da76 +Test message: Hello from put_test.sh! + +This file is used to test the upload functionality +of the Ginxsom Blossom server implementation. + +Calculated SHA-256: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 +=== END DEBUG SESSION === + +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431343a32323a35352d30343a30300a52616e646f6d20646174613a20393532613538346438663366633662356534396231646661626266363864373633383564366435313134326161303731373063373138393765613836316330330a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: Test blob content for Ginxsom Blossom server +Timestamp: 2025-09-02T14:22:55-04:00 +Random data: 952a584d8f3fc6b5e49b1dfabbf68d76385d6d51142aa07170c71897ea861c03 +Test message: Hello from put_test.sh! + +This file is used to test the upload functionality +of the Ginxsom Blossom server implementation. + +Calculated SHA-256: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 +=== END DEBUG SESSION === + +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431353a31373a34372d30343a30300a52616e646f6d20646174613a20346538666566656333313034623838343038663063373161373365393762613137363834363734376535353737333334643432626533313438333961396262610a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: Test blob content for Ginxsom Blossom server +Timestamp: 2025-09-02T15:17:47-04:00 +Random data: 4e8fefec3104b88408f0c71a73e97ba176846747e5577334d42be314839a9bba +Test message: Hello from put_test.sh! + +This file is used to test the upload functionality +of the Ginxsom Blossom server implementation. + +Calculated SHA-256: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc +=== END DEBUG SESSION === + diff --git a/debug_validation.log b/debug_validation.log new file mode 100644 index 0000000..0701cb8 --- /dev/null +++ b/debug_validation.log @@ -0,0 +1,36 @@ +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + diff --git a/logs/access.log b/logs/access.log index cc2d58d..d20e93e 100755 --- a/logs/access.log +++ b/logs/access.log @@ -12,3 +12,17 @@ 127.0.0.1 - - [02/Sep/2025:12:45:42 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" 127.0.0.1 - - [02/Sep/2025:12:46:50 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" 127.0.0.1 - - [02/Sep/2025:12:49:20 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 1520 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:13:59:11 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:13:59:38 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:03:38 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:05:11 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:22:56 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:23:24 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:24:38 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 635 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:25:06 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:14:25:10 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:15:17:32 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 635 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:15:17:47 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:15:18:08 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:15:20:15 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 200 296 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:15:20:49 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" 200 296 "-" "curl/8.15.0" diff --git a/logs/error.log b/logs/error.log index 86adcb5..4cf5e64 100755 --- a/logs/error.log +++ b/logs/error.log @@ -11459,3 +11459,4779 @@ X-XSS-Protection: 1; mode=block 2025/09/02 12:49:20 [debug] 176727#176727: timer delta: 1 2025/09/02 12:49:20 [debug] 176727#176727: worker cycle 2025/09/02 12:49:20 [debug] 176727#176727: epoll timer: -1 +2025/09/02 13:54:38 [notice] 176726#176726: signal 15 (SIGTERM) received from 185166, exiting +2025/09/02 13:54:38 [debug] 176726#176726: wake up, sigio 0 +2025/09/02 13:54:38 [debug] 176726#176726: child: 0 176727 e:0 t:0 d:0 r:1 j:0 +2025/09/02 13:54:38 [debug] 176726#176726: termination cycle: 50 +2025/09/02 13:54:38 [debug] 176726#176726: sigsuspend +2025/09/02 13:54:38 [debug] 176727#176727: epoll: fd:7 ev:0001 d:0000786ADF2DF0F8 +2025/09/02 13:54:38 [debug] 176727#176727: channel handler +2025/09/02 13:54:38 [debug] 176727#176727: channel: 32 +2025/09/02 13:54:38 [debug] 176727#176727: channel command: 4 +2025/09/02 13:54:38 [debug] 176727#176727: channel: -2 +2025/09/02 13:54:38 [debug] 176727#176727: timer delta: 3918486 +2025/09/02 13:54:38 [notice] 176727#176727: exiting +2025/09/02 13:54:38 [debug] 176727#176727: flush files +2025/09/02 13:54:38 [debug] 176727#176727: run cleanup: 00005B3FE0BEBAA0 +2025/09/02 13:54:38 [debug] 176727#176727: run cleanup: 00005B3FE0BDEA38 +2025/09/02 13:54:38 [debug] 176727#176727: cleanup resolver +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BECE00 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BDFC00 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BBEB70 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BBDA60 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB7A30 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB6970 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB58B0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB47F0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BAC190 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BA3160, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BAD5A0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB8A40, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BBFB80, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BC3B90, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BC7BA0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BCBBB0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BCFBC0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BD3BD0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BD7BE0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BDBBF0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BE0DD0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BE4DE0, unused: 0 +2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BE8DF0, unused: 4920 +2025/09/02 13:54:38 [notice] 176727#176727: exit +2025/09/02 13:54:38 [notice] 176726#176726: signal 17 (SIGCHLD) received from 176727 +2025/09/02 13:54:38 [notice] 176726#176726: worker process 176727 exited with code 0 +2025/09/02 13:54:38 [debug] 176726#176726: shmtx forced unlock +2025/09/02 13:54:38 [debug] 176726#176726: wake up, sigio 3 +2025/09/02 13:54:38 [debug] 176726#176726: reap children +2025/09/02 13:54:38 [debug] 176726#176726: child: 0 176727 e:1 t:1 d:0 r:1 j:0 +2025/09/02 13:54:38 [notice] 176726#176726: exit +2025/09/02 13:54:38 [debug] 176726#176726: close listening 0.0.0.0:9001 #5 +2025/09/02 13:54:38 [debug] 176726#176726: run cleanup: 00005B3FE0BDEA38 +2025/09/02 13:54:38 [debug] 176726#176726: cleanup resolver +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BECE00 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BDFC00 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BBEB70 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BBDA60 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB7A30 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB6970 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB58B0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB47F0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BAC190 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BA3160, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BAD5A0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB8A40, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BBFB80, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BC3B90, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BC7BA0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BCBBB0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BCFBC0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BD3BD0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BD7BE0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BDBBF0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BE0DD0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BE4DE0, unused: 0 +2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BE8DF0, unused: 4951 +2025/09/02 13:59:01 [debug] 185430#185430: bind() 0.0.0.0:9001 #5 +2025/09/02 13:59:01 [debug] 185430#185430: counter: 000070C1B3B95080, 1 +2025/09/02 13:59:01 [debug] 185431#185431: bind() 0.0.0.0:9001 #5 +2025/09/02 13:59:01 [notice] 185431#185431: using the "epoll" event method +2025/09/02 13:59:01 [debug] 185431#185431: counter: 0000763ACE5C5080, 1 +2025/09/02 13:59:01 [notice] 185431#185431: nginx/1.18.0 (Ubuntu) +2025/09/02 13:59:01 [notice] 185431#185431: OS: Linux 6.12.10-76061203-generic +2025/09/02 13:59:01 [notice] 185431#185431: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 13:59:01 [debug] 185432#185431: write: 6, 00007FFD3A843160, 7, 0 +2025/09/02 13:59:01 [debug] 185432#185432: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 13:59:01 [notice] 185432#185432: start worker processes +2025/09/02 13:59:01 [debug] 185432#185432: channel 6:7 +2025/09/02 13:59:01 [notice] 185432#185432: start worker process 185433 +2025/09/02 13:59:01 [debug] 185432#185432: sigsuspend +2025/09/02 13:59:01 [debug] 185433#185433: add cleanup: 0000645FFAA2EA90 +2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFA9E1BD0:8 +2025/09/02 13:59:01 [debug] 185433#185433: notify eventfd: 9 +2025/09/02 13:59:01 [debug] 185433#185433: testing the EPOLLRDHUP flag: success +2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFA9F45A0:6144 +2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000763ACE3BD010:237568 +2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFAA316C0:98304 +2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFAA496D0:98304 +2025/09/02 13:59:01 [debug] 185433#185433: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 13:59:01 [debug] 185433#185433: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 13:59:01 [debug] 185433#185433: setproctitle: "nginx: worker process" +2025/09/02 13:59:01 [debug] 185433#185433: worker cycle +2025/09/02 13:59:01 [debug] 185433#185433: epoll timer: -1 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:5 ev:0001 d:0000763ACE3BD010 +2025/09/02 13:59:11 [debug] 185433#185433: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 13:59:11 [debug] 185433#185433: posix_memalign: 0000645FFA9E0840:512 @16 +2025/09/02 13:59:11 [debug] 185433#185433: *1 accept: 127.0.0.1:42108 fd:6 +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer add: 6: 60000:89712167 +2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 10531 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:6 ev:0001 d:0000763ACE3BD1E0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http wait request handler +2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9E30A0:1024 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:6 1024 of 1024 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: avail:112 +2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9FFA40:4096 @16 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http process request line +2025/09/02 13:59:11 [debug] 185433#185433: *1 http request line: "PUT /upload HTTP/1.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http uri: "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http args: "" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http exten: "" +2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9F5DB0:4096 @16 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http process request header line +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Host: localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Accept: */*" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1MmYwNzQ0Mjg0ZDc4MTQ4NTczZmY2OGQ5OWZkZGYxYTgyZTQ3YTUwMzM4NjlkZmIzYWQ3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzU5NTEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlNmJkYzZiNTMzNjA3MmRjMDVlMWE2ZWVhNjhjNzUxMTBjYmQ2YzE5OTRmNWRiZmU3NWM1ODgwYThiNDNkY2Y0Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzOTU1MSJdXSwiY29udGVudCI6IiIsInNpZyI6IjQ3MTY4ZTk1ZGMzZTFmNGQ3NTg5NGQxYmFlNDdmNzUyODliNDNhMDU3Njk0YzJlMTYwZmI4ZTk3MDg1M2M1MDNkYjk0YjdmNzRlMDcxNDg1OThmODBhYWY2NjNiYzEzYzQ3NzllMTZiYzRhMWM2NTVlYjgxNmMyYWY3OWIyZDZkIn0=" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Content-Type: text/plain" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Content-Disposition: attachment; filename="test_blob_1756835951.txt"" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Content-Length: 296" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http header done +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer del: 6: 89712167 +2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 rewrite phase: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: "/health" +2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 13:59:11 [debug] 185433#185433: *1 using configuration "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http cl:296 max:104857600 +2025/09/02 13:59:11 [debug] 185433#185433: *1 rewrite phase: 3 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "PUT" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script regex: "^(PUT)$" +2025/09/02 13:59:11 [notice] 185433#185433: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script if +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script if: false +2025/09/02 13:59:11 [debug] 185433#185433: *1 post rewrite phase: 4 +2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 5 +2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 6 +2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 7 +2025/09/02 13:59:11 [debug] 185433#185433: *1 access phase: 8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 access phase: 9 +2025/09/02 13:59:11 [debug] 185433#185433: *1 access phase: 10 +2025/09/02 13:59:11 [debug] 185433#185433: *1 post access phase: 11 +2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 12 +2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 13 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http client request body preread 184 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http request body content length filter +2025/09/02 13:59:11 [debug] 185433#185433: *1 http body new buf t:1 f:0 0000645FFA9E33E8, pos 0000645FFA9E33E8, size: 184 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http read client request body +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:112 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:6 112 of 112 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http client request body recv 112 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http body new buf t:1 f:0 0000645FFA9F6840, pos 0000645FFA9F6840, size: 112 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http client request body rest 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http init upstream, client timer: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9EA160:4096 @16 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "QUERY_STRING" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "QUERY_STRING: " +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REQUEST_METHOD" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "PUT" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "CONTENT_TYPE" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "text/plain" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "CONTENT_LENGTH" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "296" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SCRIPT_NAME" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REQUEST_URI" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "DOCUMENT_URI" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "DOCUMENT_ROOT" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "./blobs" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_PROTOCOL" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "HTTP/1.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REQUEST_SCHEME" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "http" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "GATEWAY_INTERFACE" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "CGI/1.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_SOFTWARE" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "nginx/" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "1.18.0" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REMOTE_ADDR" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "127.0.0.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REMOTE_PORT" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "42108" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REMOTE_PORT: 42108" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_ADDR" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "127.0.0.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_PORT" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_NAME" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "localhost" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REDIRECT_STATUS" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "200" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SCRIPT_FILENAME" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "./blobs" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "/ginxsom.fcgi" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1MmYwNzQ0Mjg0ZDc4MTQ4NTczZmY2OGQ5OWZkZGYxYTgyZTQ3YTUwMzM4NjlkZmIzYWQ3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzU5NTEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlNmJkYzZiNTMzNjA3MmRjMDVlMWE2ZWVhNjhjNzUxMTBjYmQ2YzE5OTRmNWRiZmU3NWM1ODgwYThiNDNkY2Y0Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzOTU1MSJdXSwiY29udGVudCI6IiIsInNpZyI6IjQ3MTY4ZTk1ZGMzZTFmNGQ3NTg5NGQxYmFlNDdmNzUyODliNDNhMDU3Njk0YzJlMTYwZmI4ZTk3MDg1M2M1MDNkYjk0YjdmNzRlMDcxNDg1OThmODBhYWY2NjNiYzEzYzQ3NzllMTZiYzRhMWM2NTVlYjgxNmMyYWY3OWIyZDZkIn0=" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756835951.txt"" +2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http cleanup add: 0000645FFA9F6B90 +2025/09/02 13:59:11 [debug] 185433#185433: *1 get rr peer, try: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 stream socket 10 +2025/09/02 13:59:11 [debug] 185433#185433: *1 epoll add connection: fd:10 ev:80002005 +2025/09/02 13:59:11 [debug] 185433#185433: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 +2025/09/02 13:59:11 [debug] 185433#185433: *1 connected +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream connect: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9C9F20:128 @16 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream send request +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream send request body +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:1304 +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:184 +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:112 +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer in: 0000645FFA9F6C20 +2025/09/02 13:59:11 [debug] 185433#185433: *1 writev: 1616 of 1616 +2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer out: 0000000000000000 +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer add: 10: 60000:89712168 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http request count:2 blk:0 +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 1 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:6 ev:0004 d:0000763ACE3BD1E0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http run request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream check client, write event:1, "/upload" +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0004 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9EB170:4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 48 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 21 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 33 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 512 of 4048 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload +ENTRY: Entering handle_upload_request() function +DEBUG: handle_upload_request called +LOG: [2025-09-02 13:59:11] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1MmYwNzQ0Mjg0ZDc4MTQ4NTczZmY2OGQ5OWZkZGYxYTgyZTQ3YTUwMzM4NjlkZmIzYWQ3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 1104 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzU5NTEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlNmJkYzZiNTMzNjA3MmRjMDVlMWE2ZWVhNjhjNzUxMTBjYmQ2YzE5OTRmNWRiZmU3NWM1ODgwYThiNDNkY2Y0Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzOTU1MSJdXSwiY29udGVudCI6IiIsInNpZyI6IjQ3MTY4ZTk1ZGMzZTFmNGQ3NTg5NGQxYmFlNDdmNzUyODliNDNhMDU3Njk0YzJlMTYwZmI4ZTk3MDg1M2M1MDNkYjk0YjdmNzRlMDcxNDg1OThmODBhYWY2NjNiYzEzYzQ3NzllMTZiYzRhMWM2NTVlYjgxNmMyYWY3OWIyZDZkIn0= +LOG: [2025-09-02 13:59:11] PUT /upload - Auth: auth_provided - Status: 0 +DEBUG-LAAN: Calculated SHA-256:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 43 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 05 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 67 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 +═══════════════════════════════════════════════════════════════════ +🔍 STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹ️ INFO: Server-style auth calle" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 1 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 2560 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "d with method: upload, hash: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=✅ SUCCESS: parse_authorization_header succeeded +🔍 STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹ️ INFO: JSON to" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " parse: {"kind":24242,"id":"caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756835951,"tags":[["t","upload"],["x","e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4"],["expiration","1756839551"]],"content":"","sig":"47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d"} +✅ SUCCESS: cJSON_Parse succeeded" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756835951, + "tags": [["t", "upload"], ["x", "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4"], ["expiration", "1756839551"]], + "content": "", + "sig": "47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "4a1c655eb816c2af79b2d6d" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7 +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756835951 +🔍 STEP SERVER-5: Detailed pubkey" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " analysis +ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): +7(0x37) 9(0x39) b(0x62) e(0x65) 6(0x36) 6(0x36) 7(0x37) e(0x65) f(0x66) 9(0x39) +🔍 STEP SERVER-6: Pre-validation pubkey analysis +ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): +7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(5" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 512 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "5) e(101) f(102) 9(57) +ℹ️ INFO: Character validation test: +ALL VALID (lowercase hex) +🔍 STEP SERVER-7: Starting detailed validation analysis +ℹ️ INFO: Testing structure validation... +ℹ️ INFO: nostr_validate_event_structure returned: 0 (Success) +✅ SUCCESS: Structure validation PASSED +ℹ️ INFO: Testing cryptographic verification... +ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) +✅ SUCCESS: Crypto verification PASSED +ℹ️ INFO: Testing complete validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 2048 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "... +ℹ️ INFO: nostr_validate_event returned: 0 (Success) +✅ SUCCESS: Complete validation PASSED +🔍 STEP SERVER-8: Running detailed structure validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP STRUCT-1: Starting detailed structure validation +✅ SUCCESS: Event is valid JSON object +🔍 STEP STRUCT-2: Checking required field" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "existence +✅ SUCCESS: Field 'id' exists +✅ SUCCESS: Field 'pubkey' exists +✅ SUCCESS: Field 'created_at' exists +✅ SUCCESS: Field 'kind' exists +✅ SUCCESS: Field 'tags' exists +✅ SUCCESS: Field 'content' exists +✅ SUCCESS: Field 'sig' exists +🔍 STEP STRUCT-3: Validating field types +✅ SUCCESS: Field 'id' is string +✅ SUCCESS: Field 'pubkey' is string +✅ SUCCESS: Field 'created_at' is number +✅ SUCCESS: Field 'kind' is number +✅ SUCCESS: Field 'tags' is array +✅ SUCCESS: Field 'content" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: 'caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7' (length: ✅ SUCCESS: ID string length is correct (64 chars) +ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64 chars) +ℹ️ INFO: Signature string: '47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d' (length: ✅ SUCCESS: Signature string length is correct (128 chars) +🔍 STEP STRUCT-5: Validating hex characters +ℹ️ INFO: Checking ID hex characters... +✅ SUCCESS: ID hex characters are valid (lowercase) +ℹ️ INFO: Checking pubkey hex characters... +✅ SUCCESS: Pubkey hex characters are valid (lowercase) +ℹ️ INFO: Checking signature hex characters... +✅ SUCCESS: Signature hex characters are valid (lowercase) +🔍 S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 2560 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756835951 +✅ SUCCESS: Timestamp is valid: 2025-09-02 17:59:11 UTC +🔍 STEP STRUCT-7: Validating kind +ℹ️ INFO: Event kind: 24242 +✅ SUCCESS: Kind is valid: 24242 +🔍 STEP STRUCT-8: Validating tags array structure +ℹ️ INFO: Tags array has 3 elements +ℹ️ INFO: Tag[0] has 2 elements +ℹ️ INFO: Tag[0][0]: 't' +ℹ️ INFO: Tag[0][1]: 'upload' +ℹ️ INFO: Tag[1] has 2 elements +ℹ️ INFO: Tag[1][0]: 'x' +ℹ️" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " INFO: Tag[1][1]: 'e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756839551' +✅ SUCCESS: Tags array structure is valid +🔍 STEP STRUCT-9: Validating content +ℹ️ INFO: Content: '' (length: ✅ SUCCESS: Content is valid string +✅ SUCCESS: Structure validation completed successfully +✅ SUCCESS: Detailed structure validation PASSED +🔍 STEP SERVER-9: Running detailed signature" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP CRYPTO-1: Starting detailed signature validation +🔍 STEP CRYPTO-2: Creating serialization array +✅ SUCCESS: Serialization array created +🔍 STEP CRYPTO-3: Converting to JSON string +✅ SUCCESS: JSON serialization string created +ℹ️ INFO: Serialization string (length 🔍" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( ca ca 1b c0 a1 19 52 f0 74 42 84 d7 81 48 57 3f |......R.tB...HW?| + f6 8d 99 fd df 1a 82 e4 7a 50 33 86 9d fb 3a d7 |........zP3...:.| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7 +ℹ️ INFO: Provided ID: caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7 +✅ SUCCESS: Event ID verification passe" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "d +🔍 STEP CRYPTO-6: Preparing signature verification +🔍 STEP CRYPTO-7: Converting hex strings to bytes +✅ SUCCESS: Pubkey hex converted to bytes +ℹ️ INFO: Pubkey bytes ( 79 be 66 7e f9 dc bb ac 55 a0 62 95 ce 87 0b 07 |y.f~....U.b.....| + 02 9b fc db 2d ce 28 d9 59 f2 81 5b 16 f8 17 98 |....-.(.Y..[....| +✅ SUCCESS: Signature hex converted to bytes +ℹ️ INFO: Signature bytes ( 47 16 8e 95 dc 3e 1f 4d 75 89 4d 1b ae 47 f7 52 |G....>.Mu.M..G.R| + 89 b4 3a 05 76 94 c2 e1 60 fb 8e 97 0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 3072 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "8 53 c5 03 |..:.v...`....S..| + db 94 b7 f7 4e 07 14 85 98 f8 0a af 66 3b c1 3c |....N.......f;.<| + 47 79 e1 6b c4 a1 c6 55 eb 81 6c 2a f7 9b 2d 6d |Gy.k...U..l*..-m| +🔍 STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹ️ INFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) +✅ SUCCESS: Signature verification PASSED using nostr_core_lib! +✅ SUCCESS: Detailed signature validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " PASSED +═══════════════════════════════════════════════════════════════════ +🔍 STEP ANALYZE-1: Analyzing event field details +ℹ️ INFO: Field 'kind': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 24242 +ℹ️ INFO: Field 'id': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: 'caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7' +ℹ️ INFO" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: ": Length: ℹ️ INFO: Field 'pubkey': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 1756835951 +ℹ️ INFO: Field 'tags': +ℹ️ INFO: Type: Array +ℹ️ INFO: Size: 3 +ℹ️ INFO: Field 'content': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '' +ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': +ℹ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 +DEBUG: Found expiration tag: 1756839551 +DEBUG: Blossom event valid" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "ation passed +✅ SUCCESS: Blossom event validation PASSED +✅ SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authenticate_request returned: 0 +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756835951.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175683595 +DEBUG: Processing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756835951.txt" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 1024 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "' +DEBUG: Final filename after extraction: test_blob_1756835951.txt +DEBUG: insert_blob_metadata() called for sha256='e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4' +DEBUG: Opening database at path: db/ginxsom.db +DEBUG: Database opened successfully for writing +DEBUG: Preparing SQL: INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES (?, ?, ?, ?, ?, ?) +DEBUG: SQL prepared successfully, binding parameters +DEBUG: Parameter values to bind: +DEBUG:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " 1. sha256 = 'e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756835951 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756835951.txt' +DEBUG: Binding parameter 1 (sha256) +DEBUG: Binding parameter 2 (size) +DEBUG: Binding parameter 3 (type) +DEBUG: Binding parameter 4 (uploaded_at) +DEBUG: Binding parameter 5 (" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 1 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59998 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0004 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59998 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:2005 d:0000763ACE3BD2C8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:1, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 800 of 4096 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: BE +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 02 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 446 +2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "uploader_pubkey) +DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: Binding parameter 6 (filename) +DEBUG: Binding filename as text: 'test_blob_1756835951.txt' +DEBUG: Parameters bound, executing INSERT +DEBUG: INSERT successful +DEBUG: Database closed, returning 1 +DEBUG: Blob metadata successfully stored in database +DEBUG: Upload completed successfully with database storage" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 06 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 2D +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 03 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 301 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi parser: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi header: "Status: 200 OK" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi parser: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi header: "Content-Type: application/json" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi parser: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi header done +2025/09/02 13:59:11 [debug] 185433#185433: *1 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 17:59:11 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-XSS-Protection: 1; mode=block + +2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:1 f:0 0000645FFA9EA818, pos 0000645FFA9EA818, size: 260 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter: l:0 f:0 s:260 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http cacheable: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process upstream +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe read upstream: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe preread: 278 +2025/09/02 13:59:11 [debug] 185433#185433: *1 readv: eof:1, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 readv: 1, last:3296 +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe recv chain: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe buf free s:0 t:1 f:0 0000645FFA9EB170, pos 0000645FFA9EB37A, size: 278 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe length: -1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 input buf #0 0000645FFA9EB37A +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 06 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi closed stdout +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 03 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 08 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi sent end request +2025/09/02 13:59:11 [debug] 185433#185433: *1 input buf 0000645FFA9EB37A 251 +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe write downstream: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe write downstream flush in +2025/09/02 13:59:11 [debug] 185433#185433: *1 http output filter "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http postpone filter "/upload?" 0000645FFA9F6BF0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http chunk: 251 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9EA818, pos 0000645FFA9EA818, size: 260 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:1 f:0 0000645FFA9F6D80, pos 0000645FFA9F6D80, size: 4 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:1 f:0 0000645FFA9EB170, pos 0000645FFA9EB37A, size: 251 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:0 f:0 0000000000000000, pos 0000645FEB0562E8, size: 2 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter: l:0 f:0 s:517 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: 0 "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe write downstream done +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer: 10, old: 89712168, new: 89712173 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream exit: 0000000000000000 +2025/09/02 13:59:11 [debug] 185433#185433: *1 finalize http upstream request: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 finalize http fastcgi request +2025/09/02 13:59:11 [debug] 185433#185433: *1 free rr peer 1 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 close http upstream connection: 10 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9C9F20, unused: 48 +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer del: 10: 89712168 +2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream temp fd: -1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http output filter "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http postpone filter "/upload?" 00007FFD3A842DA0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http chunk: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9EA818, pos 0000645FFA9EA818, size: 260 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9F6D80, pos 0000645FFA9F6D80, size: 4 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9EB170, pos 0000645FFA9EB37A, size: 251 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:0 f:0 0000000000000000, pos 0000645FEB0562E8, size: 2 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:0 f:0 0000000000000000, pos 0000645FEB0562E5, size: 5 file: 0, size: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter: l:1 f:0 s:522 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter limit 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 writev: 522 of 522 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter 0000000000000000 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: 0 "/upload?" +2025/09/02 13:59:11 [debug] 185433#185433: *1 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 set http keepalive handler +2025/09/02 13:59:11 [debug] 185433#185433: *1 http close request +2025/09/02 13:59:11 [debug] 185433#185433: *1 http log handler +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9EB170 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9FFA40, unused: 3 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9F5DB0, unused: 8 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9EA160, unused: 1170 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E30A0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 hc free: 0000000000000000 +2025/09/02 13:59:11 [debug] 185433#185433: *1 hc busy: 0000000000000000 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 tcp_nodelay +2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer add: 6: 65000:89717173 +2025/09/02 13:59:11 [debug] 185433#185433: *1 post event 0000645FFAA31780 +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 3 +2025/09/02 13:59:11 [debug] 185433#185433: posted event 0000645FFAA31780 +2025/09/02 13:59:11 [debug] 185433#185433: *1 delete posted event 0000645FFAA31780 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http keepalive handler +2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9E30A0:1024 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E30A0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 65000 +2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:6 ev:2005 d:0000763ACE3BD1E0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 http keepalive handler +2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9E30A0:1024 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:1, avail:-1 +2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:6 0 of 1024 +2025/09/02 13:59:11 [info] 185433#185433: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 13:59:11 [debug] 185433#185433: *1 close http connection: 6 +2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer del: 6: 89717173 +2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E30A0 +2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E0840, unused: 120 +2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:11 [debug] 185433#185433: worker cycle +2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: -1 +2025/09/02 13:59:38 [debug] 185433#185433: epoll: fd:5 ev:0001 d:0000763ACE3BD010 +2025/09/02 13:59:38 [debug] 185433#185433: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 13:59:38 [debug] 185433#185433: posix_memalign: 0000645FFA9E0840:512 @16 +2025/09/02 13:59:38 [debug] 185433#185433: *3 accept: 127.0.0.1:47772 fd:6 +2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer add: 6: 60000:89739271 +2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 13:59:38 [debug] 185433#185433: timer delta: 27098 +2025/09/02 13:59:38 [debug] 185433#185433: worker cycle +2025/09/02 13:59:38 [debug] 185433#185433: epoll timer: 60000 +2025/09/02 13:59:38 [debug] 185433#185433: epoll: fd:6 ev:0001 d:0000763ACE3BD1E1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http wait request handler +2025/09/02 13:59:38 [debug] 185433#185433: *3 malloc: 0000645FFA9E30A0:1024 +2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: eof:0, avail:-1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: fd:6 146 of 1024 +2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 posix_memalign: 0000645FFA9FFA40:4096 @16 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http process request line +2025/09/02 13:59:38 [debug] 185433#185433: *3 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http args: "" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http exten: "txt" +2025/09/02 13:59:38 [debug] 185433#185433: *3 posix_memalign: 0000645FFA9F5DB0:4096 @16 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http process request header line +2025/09/02 13:59:38 [debug] 185433#185433: *3 http header: "Host: localhost:9001" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http header: "User-Agent: curl/8.15.0" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http header: "Accept: */*" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http header done +2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer del: 6: 89739271 +2025/09/02 13:59:38 [debug] 185433#185433: *3 generic phase: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 rewrite phase: 1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 test location: "/health" +2025/09/02 13:59:38 [debug] 185433#185433: *3 test location: "/debug/list" +2025/09/02 13:59:38 [debug] 185433#185433: *3 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 13:59:38 [debug] 185433#185433: *3 using configuration "^/([a-f0-9]{64}).*$" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http cl:-1 max:104857600 +2025/09/02 13:59:38 [debug] 185433#185433: *3 rewrite phase: 3 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http script var +2025/09/02 13:59:38 [debug] 185433#185433: *3 http script var: "GET" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http script value: "DELETE" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http script not equal +2025/09/02 13:59:38 [debug] 185433#185433: *3 http script if +2025/09/02 13:59:38 [debug] 185433#185433: *3 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http set discard body +2025/09/02 13:59:38 [debug] 185433#185433: *3 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 17:59:38 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 13:59:38 [debug] 185433#185433: *3 write new buf t:1 f:0 0000645FFA9F6190, pos 0000645FFA9F6190, size: 164 file: 0, size: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter: l:0 f:0 s:164 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 0000645FFA9F6320 +2025/09/02 13:59:38 [debug] 185433#185433: *3 write old buf t:1 f:0 0000645FFA9F6190, pos 0000645FFA9F6190, size: 164 file: 0, size: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 write new buf t:0 f:0 0000000000000000, pos 0000645FEB095580, size: 100 file: 0, size: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 write new buf t:0 f:0 0000000000000000, pos 0000645FEB095C80, size: 62 file: 0, size: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter: l:1 f:0 s:326 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter limit 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 writev: 326 of 326 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter 0000000000000000 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 13:59:38 [debug] 185433#185433: *3 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 set http keepalive handler +2025/09/02 13:59:38 [debug] 185433#185433: *3 http close request +2025/09/02 13:59:38 [debug] 185433#185433: *3 http log handler +2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9FFA40, unused: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9F5DB0, unused: 2452 +2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9E30A0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 hc free: 0000000000000000 +2025/09/02 13:59:38 [debug] 185433#185433: *3 hc busy: 0000000000000000 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 tcp_nodelay +2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer add: 6: 65000:89744271 +2025/09/02 13:59:38 [debug] 185433#185433: timer delta: 0 +2025/09/02 13:59:38 [debug] 185433#185433: worker cycle +2025/09/02 13:59:38 [debug] 185433#185433: epoll timer: 65000 +2025/09/02 13:59:38 [debug] 185433#185433: epoll: fd:6 ev:2001 d:0000763ACE3BD1E1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 http keepalive handler +2025/09/02 13:59:38 [debug] 185433#185433: *3 malloc: 0000645FFA9E30A0:1024 +2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: eof:1, avail:-1 +2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: fd:6 0 of 1024 +2025/09/02 13:59:38 [info] 185433#185433: *3 client 127.0.0.1 closed keepalive connection +2025/09/02 13:59:38 [debug] 185433#185433: *3 close http connection: 6 +2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer del: 6: 89744271 +2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9E30A0 +2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9E0840, unused: 136 +2025/09/02 13:59:38 [debug] 185433#185433: timer delta: 1 +2025/09/02 13:59:38 [debug] 185433#185433: worker cycle +2025/09/02 13:59:38 [debug] 185433#185433: epoll timer: -1 +2025/09/02 14:03:26 [notice] 185432#185432: signal 15 (SIGTERM) received from 185739, exiting +2025/09/02 14:03:26 [debug] 185432#185432: wake up, sigio 0 +2025/09/02 14:03:26 [debug] 185432#185432: child: 0 185433 e:0 t:0 d:0 r:1 j:0 +2025/09/02 14:03:26 [debug] 185432#185432: termination cycle: 50 +2025/09/02 14:03:26 [debug] 185432#185432: sigsuspend +2025/09/02 14:03:26 [debug] 185433#185433: epoll: fd:7 ev:0001 d:0000763ACE3BD0F8 +2025/09/02 14:03:26 [debug] 185433#185433: channel handler +2025/09/02 14:03:26 [debug] 185433#185433: channel: 32 +2025/09/02 14:03:26 [debug] 185433#185433: channel command: 4 +2025/09/02 14:03:26 [debug] 185433#185433: channel: -2 +2025/09/02 14:03:26 [debug] 185433#185433: timer delta: 227740 +2025/09/02 14:03:26 [notice] 185433#185433: exiting +2025/09/02 14:03:26 [debug] 185433#185433: flush files +2025/09/02 14:03:26 [debug] 185433#185433: run cleanup: 0000645FFAA2EA90 +2025/09/02 14:03:26 [debug] 185433#185433: run cleanup: 0000645FFAA21A28 +2025/09/02 14:03:26 [debug] 185433#185433: cleanup resolver +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA2FDF0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA22BF0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA01B60 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA00A50 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9FAA20 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F9960 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F88A0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F77E0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9EF180 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9E6150, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F0590, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9FBA30, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA02B70, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA06B80, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA0AB90, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA0EBA0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA12BB0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA16BC0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA1ABD0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA1EBE0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA23DC0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA27DD0, unused: 0 +2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA2BDE0, unused: 4920 +2025/09/02 14:03:26 [notice] 185433#185433: exit +2025/09/02 14:03:26 [notice] 185432#185432: signal 17 (SIGCHLD) received from 185433 +2025/09/02 14:03:26 [notice] 185432#185432: worker process 185433 exited with code 0 +2025/09/02 14:03:26 [debug] 185432#185432: shmtx forced unlock +2025/09/02 14:03:26 [debug] 185432#185432: wake up, sigio 3 +2025/09/02 14:03:26 [debug] 185432#185432: reap children +2025/09/02 14:03:26 [debug] 185432#185432: child: 0 185433 e:1 t:1 d:0 r:1 j:0 +2025/09/02 14:03:26 [notice] 185432#185432: exit +2025/09/02 14:03:26 [debug] 185432#185432: close listening 0.0.0.0:9001 #5 +2025/09/02 14:03:26 [debug] 185432#185432: run cleanup: 0000645FFAA21A28 +2025/09/02 14:03:26 [debug] 185432#185432: cleanup resolver +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA2FDF0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA22BF0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA01B60 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA00A50 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9FAA20 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F9960 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F88A0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F77E0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9EF180 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9E6150, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F0590, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9FBA30, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA02B70, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA06B80, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA0AB90, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA0EBA0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA12BB0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA16BC0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA1ABD0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA1EBE0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA23DC0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA27DD0, unused: 0 +2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA2BDE0, unused: 4951 +2025/09/02 14:03:29 [debug] 185787#185787: bind() 0.0.0.0:9001 #5 +2025/09/02 14:03:29 [debug] 185787#185787: counter: 00007CCBB20FE080, 1 +2025/09/02 14:03:29 [debug] 185788#185788: bind() 0.0.0.0:9001 #5 +2025/09/02 14:03:29 [notice] 185788#185788: using the "epoll" event method +2025/09/02 14:03:29 [debug] 185788#185788: counter: 000079E41017D080, 1 +2025/09/02 14:03:29 [notice] 185788#185788: nginx/1.18.0 (Ubuntu) +2025/09/02 14:03:29 [notice] 185788#185788: OS: Linux 6.12.10-76061203-generic +2025/09/02 14:03:29 [notice] 185788#185788: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 14:03:29 [debug] 185789#185788: write: 6, 00007FFD72429C10, 7, 0 +2025/09/02 14:03:29 [debug] 185789#185789: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 14:03:29 [notice] 185789#185789: start worker processes +2025/09/02 14:03:29 [debug] 185789#185789: channel 6:7 +2025/09/02 14:03:29 [notice] 185789#185789: start worker process 185790 +2025/09/02 14:03:29 [debug] 185789#185789: sigsuspend +2025/09/02 14:03:29 [debug] 185790#185790: add cleanup: 000058127A8EFB38 +2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A8A2BD0:8 +2025/09/02 14:03:29 [debug] 185790#185790: notify eventfd: 9 +2025/09/02 14:03:29 [debug] 185790#185790: testing the EPOLLRDHUP flag: success +2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A8B55A0:6144 +2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000079E40FF75010:237568 +2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A8F26C0:98304 +2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A90A6D0:98304 +2025/09/02 14:03:29 [debug] 185790#185790: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 14:03:29 [debug] 185790#185790: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 14:03:29 [debug] 185790#185790: setproctitle: "nginx: worker process" +2025/09/02 14:03:29 [debug] 185790#185790: worker cycle +2025/09/02 14:03:29 [debug] 185790#185790: epoll timer: -1 +2025/09/02 14:03:38 [debug] 185790#185790: epoll: fd:5 ev:0001 d:000079E40FF75010 +2025/09/02 14:03:38 [debug] 185790#185790: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:03:38 [debug] 185790#185790: posix_memalign: 000058127A8A1840:512 @16 +2025/09/02 14:03:38 [debug] 185790#185790: *1 accept: 127.0.0.1:38908 fd:6 +2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer add: 6: 60000:89978457 +2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:03:38 [debug] 185790#185790: timer delta: 8233 +2025/09/02 14:03:38 [debug] 185790#185790: worker cycle +2025/09/02 14:03:38 [debug] 185790#185790: epoll timer: 60000 +2025/09/02 14:03:38 [debug] 185790#185790: epoll: fd:6 ev:0001 d:000079E40FF751E0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http wait request handler +2025/09/02 14:03:38 [debug] 185790#185790: *1 malloc: 000058127A8A40A0:1024 +2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: eof:0, avail:-1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: fd:6 146 of 1024 +2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 posix_memalign: 000058127A8C0A40:4096 @16 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http process request line +2025/09/02 14:03:38 [debug] 185790#185790: *1 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http args: "" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http exten: "txt" +2025/09/02 14:03:38 [debug] 185790#185790: *1 posix_memalign: 000058127A8B6DB0:4096 @16 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http process request header line +2025/09/02 14:03:38 [debug] 185790#185790: *1 http header: "Host: localhost:9001" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http header: "Accept: */*" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http header done +2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer del: 6: 89978457 +2025/09/02 14:03:38 [debug] 185790#185790: *1 generic phase: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 rewrite phase: 1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 test location: "/health" +2025/09/02 14:03:38 [debug] 185790#185790: *1 test location: "/debug/list" +2025/09/02 14:03:38 [debug] 185790#185790: *1 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:03:38 [debug] 185790#185790: *1 using configuration "^/([a-f0-9]{64}).*$" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http cl:-1 max:104857600 +2025/09/02 14:03:38 [debug] 185790#185790: *1 rewrite phase: 3 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http script var +2025/09/02 14:03:38 [debug] 185790#185790: *1 http script var: "GET" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http script value: "DELETE" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http script not equal +2025/09/02 14:03:38 [debug] 185790#185790: *1 http script if +2025/09/02 14:03:38 [debug] 185790#185790: *1 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http set discard body +2025/09/02 14:03:38 [debug] 185790#185790: *1 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:03:38 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 14:03:38 [debug] 185790#185790: *1 write new buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter: l:0 f:0 s:164 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 000058127A8B7320 +2025/09/02 14:03:38 [debug] 185790#185790: *1 write old buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 write new buf t:0 f:0 0000000000000000, pos 0000581245EEB580, size: 100 file: 0, size: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 write new buf t:0 f:0 0000000000000000, pos 0000581245EEBC80, size: 62 file: 0, size: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter: l:1 f:0 s:326 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter limit 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 writev: 326 of 326 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter 0000000000000000 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:03:38 [debug] 185790#185790: *1 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 set http keepalive handler +2025/09/02 14:03:38 [debug] 185790#185790: *1 http close request +2025/09/02 14:03:38 [debug] 185790#185790: *1 http log handler +2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8C0A40, unused: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8B6DB0, unused: 2452 +2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8A40A0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 hc free: 0000000000000000 +2025/09/02 14:03:38 [debug] 185790#185790: *1 hc busy: 0000000000000000 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 tcp_nodelay +2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer add: 6: 65000:89983457 +2025/09/02 14:03:38 [debug] 185790#185790: timer delta: 0 +2025/09/02 14:03:38 [debug] 185790#185790: worker cycle +2025/09/02 14:03:38 [debug] 185790#185790: epoll timer: 65000 +2025/09/02 14:03:38 [debug] 185790#185790: epoll: fd:6 ev:2001 d:000079E40FF751E0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 http keepalive handler +2025/09/02 14:03:38 [debug] 185790#185790: *1 malloc: 000058127A8A40A0:1024 +2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: eof:1, avail:-1 +2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: fd:6 0 of 1024 +2025/09/02 14:03:38 [info] 185790#185790: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 14:03:38 [debug] 185790#185790: *1 close http connection: 6 +2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer del: 6: 89983457 +2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8A40A0 +2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8A1840, unused: 136 +2025/09/02 14:03:38 [debug] 185790#185790: timer delta: 1 +2025/09/02 14:03:38 [debug] 185790#185790: worker cycle +2025/09/02 14:03:38 [debug] 185790#185790: epoll timer: -1 +2025/09/02 14:05:11 [debug] 185790#185790: epoll: fd:5 ev:0001 d:000079E40FF75010 +2025/09/02 14:05:11 [debug] 185790#185790: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:05:11 [debug] 185790#185790: posix_memalign: 000058127A8A1840:512 @16 +2025/09/02 14:05:11 [debug] 185790#185790: *2 accept: 127.0.0.1:58790 fd:6 +2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer add: 6: 60000:90071933 +2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:05:11 [debug] 185790#185790: timer delta: 93475 +2025/09/02 14:05:11 [debug] 185790#185790: worker cycle +2025/09/02 14:05:11 [debug] 185790#185790: epoll timer: 60000 +2025/09/02 14:05:11 [debug] 185790#185790: epoll: fd:6 ev:0001 d:000079E40FF751E1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http wait request handler +2025/09/02 14:05:11 [debug] 185790#185790: *2 malloc: 000058127A8A40A0:1024 +2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: eof:0, avail:-1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: fd:6 146 of 1024 +2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 posix_memalign: 000058127A8C0A40:4096 @16 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http process request line +2025/09/02 14:05:11 [debug] 185790#185790: *2 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http args: "" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http exten: "txt" +2025/09/02 14:05:11 [debug] 185790#185790: *2 posix_memalign: 000058127A8B6DB0:4096 @16 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http process request header line +2025/09/02 14:05:11 [debug] 185790#185790: *2 http header: "Host: localhost:9001" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http header: "Accept: */*" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http header done +2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer del: 6: 90071933 +2025/09/02 14:05:11 [debug] 185790#185790: *2 generic phase: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 rewrite phase: 1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 test location: "/health" +2025/09/02 14:05:11 [debug] 185790#185790: *2 test location: "/debug/list" +2025/09/02 14:05:11 [debug] 185790#185790: *2 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:05:11 [debug] 185790#185790: *2 using configuration "^/([a-f0-9]{64}).*$" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http cl:-1 max:104857600 +2025/09/02 14:05:11 [debug] 185790#185790: *2 rewrite phase: 3 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http script var +2025/09/02 14:05:11 [debug] 185790#185790: *2 http script var: "GET" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http script value: "DELETE" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http script not equal +2025/09/02 14:05:11 [debug] 185790#185790: *2 http script if +2025/09/02 14:05:11 [debug] 185790#185790: *2 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http set discard body +2025/09/02 14:05:11 [debug] 185790#185790: *2 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:05:11 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 14:05:11 [debug] 185790#185790: *2 write new buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter: l:0 f:0 s:164 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 000058127A8B7320 +2025/09/02 14:05:11 [debug] 185790#185790: *2 write old buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 write new buf t:0 f:0 0000000000000000, pos 0000581245EEB580, size: 100 file: 0, size: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 write new buf t:0 f:0 0000000000000000, pos 0000581245EEBC80, size: 62 file: 0, size: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter: l:1 f:0 s:326 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter limit 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 writev: 326 of 326 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter 0000000000000000 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:05:11 [debug] 185790#185790: *2 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 set http keepalive handler +2025/09/02 14:05:11 [debug] 185790#185790: *2 http close request +2025/09/02 14:05:11 [debug] 185790#185790: *2 http log handler +2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8C0A40, unused: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8B6DB0, unused: 2452 +2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8A40A0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 hc free: 0000000000000000 +2025/09/02 14:05:11 [debug] 185790#185790: *2 hc busy: 0000000000000000 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 tcp_nodelay +2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer add: 6: 65000:90076933 +2025/09/02 14:05:11 [debug] 185790#185790: timer delta: 0 +2025/09/02 14:05:11 [debug] 185790#185790: worker cycle +2025/09/02 14:05:11 [debug] 185790#185790: epoll timer: 65000 +2025/09/02 14:05:11 [debug] 185790#185790: epoll: fd:6 ev:2001 d:000079E40FF751E1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 http keepalive handler +2025/09/02 14:05:11 [debug] 185790#185790: *2 malloc: 000058127A8A40A0:1024 +2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: eof:1, avail:-1 +2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: fd:6 0 of 1024 +2025/09/02 14:05:11 [info] 185790#185790: *2 client 127.0.0.1 closed keepalive connection +2025/09/02 14:05:11 [debug] 185790#185790: *2 close http connection: 6 +2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer del: 6: 90076933 +2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8A40A0 +2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8A1840, unused: 136 +2025/09/02 14:05:11 [debug] 185790#185790: timer delta: 1 +2025/09/02 14:05:11 [debug] 185790#185790: worker cycle +2025/09/02 14:05:11 [debug] 185790#185790: epoll timer: -1 +2025/09/02 14:07:11 [debug] 185790#185790: epoll: fd:7 ev:2011 d:000079E40FF750F8 +2025/09/02 14:07:11 [debug] 185790#185790: epoll_wait() error on fd:7 ev:2011 +2025/09/02 14:07:11 [debug] 185790#185790: channel handler +2025/09/02 14:07:11 [debug] 185790#185790: recvmsg() returned zero +2025/09/02 14:07:11 [debug] 185790#185790: channel: -1 +2025/09/02 14:07:11 [debug] 185790#185790: epoll del connection: fd:7 +2025/09/02 14:07:11 [debug] 185790#185790: reusable connection: 0 +2025/09/02 14:07:11 [debug] 185790#185790: timer delta: 120080 +2025/09/02 14:07:11 [debug] 185790#185790: worker cycle +2025/09/02 14:07:11 [debug] 185790#185790: epoll timer: -1 +2025/09/02 14:21:19 [debug] 186560#186560: bind() 0.0.0.0:9001 #5 +2025/09/02 14:21:19 [debug] 186560#186560: counter: 0000775E57EEC080, 1 +2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 +2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) +2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms +2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 +2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) +2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms +2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 +2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) +2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms +2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 +2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) +2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms +2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 +2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) +2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms +2025/09/02 14:21:19 [emerg] 186561#186561: still could not bind() +2025/09/02 14:22:30 [debug] 187083#187083: bind() 0.0.0.0:9001 #5 +2025/09/02 14:22:30 [debug] 187083#187083: counter: 000072F9596B0080, 1 +2025/09/02 14:22:30 [debug] 187084#187084: bind() 0.0.0.0:9001 #5 +2025/09/02 14:22:30 [notice] 187084#187084: using the "epoll" event method +2025/09/02 14:22:30 [debug] 187084#187084: counter: 0000727296A33080, 1 +2025/09/02 14:22:30 [notice] 187084#187084: nginx/1.18.0 (Ubuntu) +2025/09/02 14:22:30 [notice] 187084#187084: OS: Linux 6.12.10-76061203-generic +2025/09/02 14:22:30 [notice] 187084#187084: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 14:22:30 [debug] 187085#187084: write: 6, 00007FFC098C09D0, 7, 0 +2025/09/02 14:22:30 [debug] 187085#187085: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 14:22:30 [notice] 187085#187085: start worker processes +2025/09/02 14:22:30 [debug] 187085#187085: channel 6:7 +2025/09/02 14:22:30 [notice] 187085#187085: start worker process 187086 +2025/09/02 14:22:30 [debug] 187085#187085: sigsuspend +2025/09/02 14:22:30 [debug] 187086#187086: add cleanup: 00005C72D1EFFB38 +2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1EB2BD0:8 +2025/09/02 14:22:30 [debug] 187086#187086: notify eventfd: 9 +2025/09/02 14:22:30 [debug] 187086#187086: testing the EPOLLRDHUP flag: success +2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1EC55A0:6144 +2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00007272963C5010:237568 +2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1F026C0:98304 +2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1F1A6D0:98304 +2025/09/02 14:22:30 [debug] 187086#187086: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 14:22:30 [debug] 187086#187086: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 14:22:30 [debug] 187086#187086: setproctitle: "nginx: worker process" +2025/09/02 14:22:30 [debug] 187086#187086: worker cycle +2025/09/02 14:22:30 [debug] 187086#187086: epoll timer: -1 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 +2025/09/02 14:22:56 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:22:56 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 +2025/09/02 14:22:56 [debug] 187086#187086: *1 accept: 127.0.0.1:51244 fd:6 +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer add: 6: 60000:91136444 +2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 25341 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http wait request handler +2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:6 1024 of 1024 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:112 +2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1ED0A40:4096 @16 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http process request line +2025/09/02 14:22:56 [debug] 187086#187086: *1 http request line: "PUT /upload HTTP/1.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http uri: "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http args: "" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http exten: "" +2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1EC6DB0:4096 @16 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http process request header line +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Host: localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Accept: */*" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdiODIwNjQwZTIwZGYyYjE5NmMxNzc3ODRiYjVkZGFiOGUwMGVlYzI3OTI0MGJjNGE5MTE2IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzczNzYsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI1MmQ3OTIwNzI1YmJiZDg2ZDU0YTc4MDJhNDVjMGMzOWZhODE1ODcwNTQzNmZjNTdkN2M0ZmI0YmUxY2U3NWYxIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0MDk3NSJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyNzgyOWYxM2I3OGQ1NWE3ZTY0NjNmYWUyOTBkNTZkYjhlZWIyZGE5ZjdmZGQxYWI0YmM5MWE4NjRiYjgwMDAxZDEwNWYzMzBhMWIxMGM5MGZhNGFiOTc5MmRhNjhiZmEyNDFhMTlhMDI3ZDUwMjcyMzk1YjBhZDk5MGFmYjMyIn0=" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Content-Type: text/plain" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Content-Disposition: attachment; filename="test_blob_1756837375.txt"" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Content-Length: 296" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http header done +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer del: 6: 91136444 +2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 rewrite phase: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: "/health" +2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 14:22:56 [debug] 187086#187086: *1 using configuration "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http cl:296 max:104857600 +2025/09/02 14:22:56 [debug] 187086#187086: *1 rewrite phase: 3 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "PUT" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script regex: "^(PUT)$" +2025/09/02 14:22:56 [notice] 187086#187086: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script if +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script if: false +2025/09/02 14:22:56 [debug] 187086#187086: *1 post rewrite phase: 4 +2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 5 +2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 6 +2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 7 +2025/09/02 14:22:56 [debug] 187086#187086: *1 access phase: 8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 access phase: 9 +2025/09/02 14:22:56 [debug] 187086#187086: *1 access phase: 10 +2025/09/02 14:22:56 [debug] 187086#187086: *1 post access phase: 11 +2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 12 +2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 13 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http client request body preread 184 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http request body content length filter +2025/09/02 14:22:56 [debug] 187086#187086: *1 http body new buf t:1 f:0 00005C72D1EB43E8, pos 00005C72D1EB43E8, size: 184 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http read client request body +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:112 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:6 112 of 112 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http client request body recv 112 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http body new buf t:1 f:0 00005C72D1EC7840, pos 00005C72D1EC7840, size: 112 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http client request body rest 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http init upstream, client timer: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1EBB160:4096 @16 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "QUERY_STRING" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "QUERY_STRING: " +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REQUEST_METHOD" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "PUT" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "CONTENT_TYPE" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "text/plain" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "CONTENT_LENGTH" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "296" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SCRIPT_NAME" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REQUEST_URI" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "DOCUMENT_URI" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "DOCUMENT_ROOT" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "./blobs" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_PROTOCOL" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "HTTP/1.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REQUEST_SCHEME" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "http" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "GATEWAY_INTERFACE" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "CGI/1.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_SOFTWARE" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "nginx/" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "1.18.0" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REMOTE_ADDR" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "127.0.0.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REMOTE_PORT" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "51244" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REMOTE_PORT: 51244" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_ADDR" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "127.0.0.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_PORT" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_NAME" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "localhost" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REDIRECT_STATUS" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "200" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SCRIPT_FILENAME" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "./blobs" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "/ginxsom.fcgi" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdiODIwNjQwZTIwZGYyYjE5NmMxNzc3ODRiYjVkZGFiOGUwMGVlYzI3OTI0MGJjNGE5MTE2IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzczNzYsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI1MmQ3OTIwNzI1YmJiZDg2ZDU0YTc4MDJhNDVjMGMzOWZhODE1ODcwNTQzNmZjNTdkN2M0ZmI0YmUxY2U3NWYxIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0MDk3NSJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyNzgyOWYxM2I3OGQ1NWE3ZTY0NjNmYWUyOTBkNTZkYjhlZWIyZGE5ZjdmZGQxYWI0YmM5MWE4NjRiYjgwMDAxZDEwNWYzMzBhMWIxMGM5MGZhNGFiOTc5MmRhNjhiZmEyNDFhMTlhMDI3ZDUwMjcyMzk1YjBhZDk5MGFmYjMyIn0=" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756837375.txt"" +2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http cleanup add: 00005C72D1EC7B90 +2025/09/02 14:22:56 [debug] 187086#187086: *1 get rr peer, try: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 stream socket 10 +2025/09/02 14:22:56 [debug] 187086#187086: *1 epoll add connection: fd:10 ev:80002005 +2025/09/02 14:22:56 [debug] 187086#187086: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 +2025/09/02 14:22:56 [debug] 187086#187086: *1 connected +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream connect: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1E9AF20:128 @16 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream send request +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream send request body +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:1304 +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:184 +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:112 +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer in: 00005C72D1EC7C20 +2025/09/02 14:22:56 [debug] 187086#187086: *1 writev: 1616 of 1616 +2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer out: 0000000000000000 +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer add: 10: 60000:91136444 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http request count:2 blk:0 +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 0 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:6 ev:0004 d:00007272963C51E0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http run request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream check client, write event:1, "/upload" +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header +2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EBC170:4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 560 of 4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 21 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 33 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload +ENTRY: Entering handle_upload_request() function +DEBUG: handle_upload_request called +LOG: [2025-09-02 14:22:56] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdiODIwNjQwZTIwZGYyYjE5NmMxNzc3ODRiYjVkZGFiOGUwMGVlYzI3OTI0MGJjNGE5MTE2IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 2 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59998 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 3664 of 4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzczNzYsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI1MmQ3OTIwNzI1YmJiZDg2ZDU0YTc4MDJhNDVjMGMzOWZhODE1ODcwNTQzNmZjNTdkN2M0ZmI0YmUxY2U3NWYxIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0MDk3NSJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyNzgyOWYxM2I3OGQ1NWE3ZTY0NjNmYWUyOTBkNTZkYjhlZWIyZGE5ZjdmZGQxYWI0YmM5MWE4NjRiYjgwMDAxZDEwNWYzMzBhMWIxMGM5MGZhNGFiOTc5MmRhNjhiZmEyNDFhMTlhMDI3ZDUwMjcyMzk1YjBhZDk5MGFmYjMyIn0= +LOG: [2025-09-02 14:22:56] PUT /upload - Auth: auth_provided - Status: 0 +DEBUG-LAAN: Calculated SHA-256:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 43 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 05 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 67 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 +═══════════════════════════════════════════════════════════════════ +🔍 STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹ️ INFO: Server-style auth calle" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "d with method: upload, hash: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdi... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=✅ SUCCESS: parse_authorization_header succeeded +🔍 STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹ️ INFO: JSON to" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " parse: {"kind":24242,"id":"ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756837376,"tags":[["t","upload"],["x","52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1"],["expiration","1756840975"]],"content":"","sig":"727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32"} +✅ SUCCESS: cJSON_Parse succeeded" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756837376, + "tags": [["t", "upload"], ["x", "52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1"], ["expiration", "1756840975"]], + "content": "", + "sig": "727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "27d50272395b0ad990afb32" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116 +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32 +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756837376 +🔍 STEP SERVER-5: Detailed pubkey" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " analysis +ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): +7(0x37) 9(0x39) b(0x62) e(0x65) 6(0x36) 6(0x36) 7(0x37) e(0x65) f(0x66) 9(0x39) +🔍 STEP SERVER-6: Pre-validation pubkey analysis +ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): +7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(5" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 0 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59998 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 4096 of 4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "5) e(101) f(102) 9(57) +ℹ️ INFO: Character validation test: +ALL VALID (lowercase hex) +🔍 STEP SERVER-7: Starting detailed validation analysis +ℹ️ INFO: Testing structure validation... +ℹ️ INFO: nostr_validate_event_structure returned: 0 (Success) +✅ SUCCESS: Structure validation PASSED +ℹ️ INFO: Testing cryptographic verification... +ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) +✅ SUCCESS: Crypto verification PASSED +ℹ️ INFO: Testing complete validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "... +ℹ️ INFO: nostr_validate_event returned: 0 (Success) +✅ SUCCESS: Complete validation PASSED +🔍 STEP SERVER-8: Running detailed structure validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP STRUCT-1: Starting detailed structure validation +✅ SUCCESS: Event is valid JSON object +🔍 STEP STRUCT-2: Checking required field" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "existence +✅ SUCCESS: Field 'id' exists +✅ SUCCESS: Field 'pubkey' exists +✅ SUCCESS: Field 'created_at' exists +✅ SUCCESS: Field 'kind' exists +✅ SUCCESS: Field 'tags' exists +✅ SUCCESS: Field 'content' exists +✅ SUCCESS: Field 'sig' exists +🔍 STEP STRUCT-3: Validating field types +✅ SUCCESS: Field 'id' is string +✅ SUCCESS: Field 'pubkey' is string +✅ SUCCESS: Field 'created_at' is number +✅ SUCCESS: Field 'kind' is number +✅ SUCCESS: Field 'tags' is array +✅ SUCCESS: Field 'content" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: 'ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116' (length: ✅ SUCCESS: ID string length is correct (64 chars) +ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64 chars) +ℹ️ INFO: Signature string: '727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32' (length: ✅ SUCCESS: Signature string length is correct (128 chars) +🔍 STEP STRUCT-5: Validating hex characters +ℹ️ INFO: Checking ID hex characters... +✅ SUCCESS: ID hex characters are valid (lowercase) +ℹ️ INFO: Checking pubkey hex characters... +✅ SUCCESS: Pubkey hex characters are valid (lowercase) +ℹ️ INFO: Checking signature hex characters... +✅ SUCCESS: Signature hex characters are valid (lowercase) +🔍 S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756837376 +✅ SUCCESS: Timestamp is valid: 2025-09-02 18:22:56 UTC +🔍 STEP STRUCT-7: Validating kind +ℹ️ INFO: Event kind: 24242 +✅ SUCCESS: Kind is valid: 24242 +🔍 STEP STRUCT-8: Validating tags array structure +ℹ️ INFO: Tags array has 3 elements +ℹ️ INFO: Tag[0] has 2 elements +ℹ️ INFO: Tag[0][0]: 't' +ℹ️ INFO: Tag[0][1]: 'upload' +ℹ️ INFO: Tag[1] has 2 elements +ℹ️ INFO: Tag[1][0]: 'x' +ℹ️" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " INFO: Tag[1][1]: '52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756840975' +✅ SUCCESS: Tags array structure is valid +🔍 STEP STRUCT-9: Validating content +ℹ️ INFO: Content: '' (length: ✅ SUCCESS: Content is valid string +✅ SUCCESS: Structure validation completed successfully +✅ SUCCESS: Detailed structure validation PASSED +🔍 STEP SERVER-9: Running detailed signature" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP CRYPTO-1: Starting detailed signature validation +🔍 STEP CRYPTO-2: Creating serialization array +✅ SUCCESS: Serialization array created +🔍 STEP CRYPTO-3: Converting to JSON string +✅ SUCCESS: JSON serialization string created +ℹ️ INFO: Serialization string (length 🔍" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 4096 of 4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( ec b0 67 33 1c 17 b8 20 64 0e 20 df 2b 19 6c 17 |..g3... d. .+.l.| + 77 84 bb 5d da b8 e0 0e ec 27 92 40 bc 4a 91 16 |w..].....'.@.J..| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116 +ℹ️ INFO: Provided ID: ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116 +✅ SUCCESS: Event ID verification passe" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "d +🔍 STEP CRYPTO-6: Preparing signature verification +🔍 STEP CRYPTO-7: Converting hex strings to bytes +✅ SUCCESS: Pubkey hex converted to bytes +ℹ️ INFO: Pubkey bytes ( 79 be 66 7e f9 dc bb ac 55 a0 62 95 ce 87 0b 07 |y.f~....U.b.....| + 02 9b fc db 2d ce 28 d9 59 f2 81 5b 16 f8 17 98 |....-.(.Y..[....| +✅ SUCCESS: Signature hex converted to bytes +ℹ️ INFO: Signature bytes ( 72 78 29 f1 3b 78 d5 5a 7e 64 63 fa e2 90 d5 6d |rx).;x.Z~dc....m| + b8 ee b2 da 9f 7f dd 1a b4 bc 91 a8 6" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "4 bb 80 00 |............d...| + 1d 10 5f 33 0a 1b 10 c9 0f a4 ab 97 92 da 68 bf |.._3..........h.| + a2 41 a1 9a 02 7d 50 27 23 95 b0 ad 99 0a fb 32 |.A...}P'#......2| +🔍 STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹ️ INFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) +✅ SUCCESS: Signature verification PASSED using nostr_core_lib! +✅ SUCCESS: Detailed signature validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " PASSED +═══════════════════════════════════════════════════════════════════ +🔍 STEP ANALYZE-1: Analyzing event field details +ℹ️ INFO: Field 'kind': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 24242 +ℹ️ INFO: Field 'id': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: 'ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116' +ℹ️ INFO" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: ": Length: ℹ️ INFO: Field 'pubkey': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 1756837376 +ℹ️ INFO: Field 'tags': +ℹ️ INFO: Type: Array +ℹ️ INFO: Size: 3 +ℹ️ INFO: Field 'content': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '' +ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': +ℹ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 +DEBUG: Found expiration tag: 1756840975 +DEBUG: Blossom event valid" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "ation passed +✅ SUCCESS: Blossom event validation PASSED +✅ SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authenticate_request returned: 0 +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdi... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt +DEBUG: File permissions set to 644 for blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756837375.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175683737 +DEBUG: Pro" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59997 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 1024 of 4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "cessing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756837375.txt' +DEBUG: Final filename after extraction: test_blob_1756837375.txt +DEBUG: insert_blob_metadata() called for sha256='52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1' +DEBUG: Opening database at path: db/ginxsom.db +DEBUG: Database opened successfully for writing +DEBUG: Preparing SQL: INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " (?, ?, ?, ?, ?, ?) +DEBUG: SQL prepared successfully, binding parameters +DEBUG: Parameter values to bind: +DEBUG: 1. sha256 = '52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756837376 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756837375.txt' +DEBUG: Binding parameter 1 (sha256) +DEBUG: Binding parameter" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59996 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 928 of 4096 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "2 (size) +DEBUG: Binding parameter 3 (type) +DEBUG: Binding parameter 4 (uploaded_at) +DEBUG: Binding parameter 5 (uploader_pubkey) +DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: Binding parameter 6 (filename) +DEBUG: Binding filename as text: 'test_blob_1756837375.txt' +DEBUG: Parameters bound, executing INSERT +DEBUG: INSERT successful +DEBUG: Database closed, returning 1 +DEBUG: Blob metadata successfully stored in database +DEB" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 39 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 57 +2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "UG: Upload completed successfully with database storage" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 06 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 2D +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 03 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 301 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi parser: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi header: "Status: 200 OK" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi parser: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi header: "Content-Type: application/json" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi parser: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi header done +2025/09/02 14:22:56 [debug] 187086#187086: *1 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:22:56 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-XSS-Protection: 1; mode=block + +2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:1 f:0 00005C72D1EBB818, pos 00005C72D1EBB818, size: 260 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter: l:0 f:0 s:260 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http cacheable: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process upstream +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe read upstream: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe preread: 278 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe buf free s:0 t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 278 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe length: -1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write busy: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write: out:0000000000000000, f:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe read upstream: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe buf free s:0 t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 278 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe length: -1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer: 10, old: 91136444, new: 91136451 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 3 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59993 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:2005 d:00007272963C52C8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process upstream +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe read upstream: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 readv: eof:1, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 readv: 1, last:3168 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe recv chain: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe buf free s:0 t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 278 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe length: -1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 input buf #0 00005C72D1EBC3FA +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 06 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi closed stdout +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 03 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 08 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi sent end request +2025/09/02 14:22:56 [debug] 187086#187086: *1 input buf 00005C72D1EBC3FA 251 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream flush in +2025/09/02 14:22:56 [debug] 187086#187086: *1 http output filter "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http postpone filter "/upload?" 00005C72D1EC7BF0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http chunk: 251 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EBB818, pos 00005C72D1EBB818, size: 260 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:1 f:0 00005C72D1EC7D80, pos 00005C72D1EC7D80, size: 4 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 251 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter: l:0 f:0 s:517 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: 0 "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream done +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer: 10, old: 91136444, new: 91136452 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream exit: 0000000000000000 +2025/09/02 14:22:56 [debug] 187086#187086: *1 finalize http upstream request: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 finalize http fastcgi request +2025/09/02 14:22:56 [debug] 187086#187086: *1 free rr peer 1 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 close http upstream connection: 10 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1E9AF20, unused: 48 +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer del: 10: 91136444 +2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream temp fd: -1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http output filter "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http postpone filter "/upload?" 00007FFC098C0610 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http chunk: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EBB818, pos 00005C72D1EBB818, size: 260 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EC7D80, pos 00005C72D1EC7D80, size: 4 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 251 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E5, size: 5 file: 0, size: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter: l:1 f:0 s:522 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter limit 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 writev: 522 of 522 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter 0000000000000000 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: 0 "/upload?" +2025/09/02 14:22:56 [debug] 187086#187086: *1 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 set http keepalive handler +2025/09/02 14:22:56 [debug] 187086#187086: *1 http close request +2025/09/02 14:22:56 [debug] 187086#187086: *1 http log handler +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EBC170 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1ED0A40, unused: 3 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EC6DB0, unused: 8 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EBB160, unused: 1170 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB40A0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 hc free: 0000000000000000 +2025/09/02 14:22:56 [debug] 187086#187086: *1 hc busy: 0000000000000000 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 tcp_nodelay +2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer add: 6: 65000:91141452 +2025/09/02 14:22:56 [debug] 187086#187086: *1 post event 00005C72D1F02780 +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:22:56 [debug] 187086#187086: posted event 00005C72D1F02780 +2025/09/02 14:22:56 [debug] 187086#187086: *1 delete posted event 00005C72D1F02780 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http keepalive handler +2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB40A0 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 65000 +2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:6 ev:2005 d:00007272963C51E0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 http keepalive handler +2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:1, avail:-1 +2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:6 0 of 1024 +2025/09/02 14:22:56 [info] 187086#187086: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 14:22:56 [debug] 187086#187086: *1 close http connection: 6 +2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer del: 6: 91141452 +2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB40A0 +2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB1840, unused: 120 +2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:22:56 [debug] 187086#187086: worker cycle +2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: -1 +2025/09/02 14:23:24 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 +2025/09/02 14:23:24 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:23:24 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 +2025/09/02 14:23:24 [debug] 187086#187086: *3 accept: 127.0.0.1:45398 fd:6 +2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer add: 6: 60000:91165226 +2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:23:24 [debug] 187086#187086: timer delta: 28773 +2025/09/02 14:23:24 [debug] 187086#187086: worker cycle +2025/09/02 14:23:24 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:23:24 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http wait request handler +2025/09/02 14:23:24 [debug] 187086#187086: *3 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: eof:0, avail:-1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: fd:6 146 of 1024 +2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 posix_memalign: 00005C72D1ED0A40:4096 @16 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http process request line +2025/09/02 14:23:24 [debug] 187086#187086: *3 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http args: "" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http exten: "txt" +2025/09/02 14:23:24 [debug] 187086#187086: *3 posix_memalign: 00005C72D1EC6DB0:4096 @16 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http process request header line +2025/09/02 14:23:24 [debug] 187086#187086: *3 http header: "Host: localhost:9001" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http header: "Accept: */*" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http header done +2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer del: 6: 91165226 +2025/09/02 14:23:24 [debug] 187086#187086: *3 generic phase: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 rewrite phase: 1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 test location: "/health" +2025/09/02 14:23:24 [debug] 187086#187086: *3 test location: "/debug/list" +2025/09/02 14:23:24 [debug] 187086#187086: *3 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:23:24 [debug] 187086#187086: *3 using configuration "^/([a-f0-9]{64}).*$" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http cl:-1 max:104857600 +2025/09/02 14:23:24 [debug] 187086#187086: *3 rewrite phase: 3 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http script var +2025/09/02 14:23:24 [debug] 187086#187086: *3 http script var: "GET" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http script value: "DELETE" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http script not equal +2025/09/02 14:23:24 [debug] 187086#187086: *3 http script if +2025/09/02 14:23:24 [debug] 187086#187086: *3 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http set discard body +2025/09/02 14:23:24 [debug] 187086#187086: *3 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:23:24 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 14:23:24 [debug] 187086#187086: *3 write new buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter: l:0 f:0 s:164 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00005C72D1EC7320 +2025/09/02 14:23:24 [debug] 187086#187086: *3 write old buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6580, size: 100 file: 0, size: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6C80, size: 62 file: 0, size: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter: l:1 f:0 s:326 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter limit 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 writev: 326 of 326 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter 0000000000000000 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:23:24 [debug] 187086#187086: *3 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 set http keepalive handler +2025/09/02 14:23:24 [debug] 187086#187086: *3 http close request +2025/09/02 14:23:24 [debug] 187086#187086: *3 http log handler +2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1ED0A40, unused: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EC6DB0, unused: 2452 +2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EB40A0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 hc free: 0000000000000000 +2025/09/02 14:23:24 [debug] 187086#187086: *3 hc busy: 0000000000000000 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 tcp_nodelay +2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer add: 6: 65000:91170226 +2025/09/02 14:23:24 [debug] 187086#187086: timer delta: 0 +2025/09/02 14:23:24 [debug] 187086#187086: worker cycle +2025/09/02 14:23:24 [debug] 187086#187086: epoll timer: 65000 +2025/09/02 14:23:24 [debug] 187086#187086: epoll: fd:6 ev:2001 d:00007272963C51E1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 http keepalive handler +2025/09/02 14:23:24 [debug] 187086#187086: *3 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: eof:1, avail:-1 +2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: fd:6 0 of 1024 +2025/09/02 14:23:24 [info] 187086#187086: *3 client 127.0.0.1 closed keepalive connection +2025/09/02 14:23:24 [debug] 187086#187086: *3 close http connection: 6 +2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer del: 6: 91170226 +2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EB40A0 +2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EB1840, unused: 136 +2025/09/02 14:23:24 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:23:24 [debug] 187086#187086: worker cycle +2025/09/02 14:23:24 [debug] 187086#187086: epoll timer: -1 +2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 +2025/09/02 14:24:38 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:24:38 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 +2025/09/02 14:24:38 [debug] 187086#187086: *4 accept: 127.0.0.1:50002 fd:6 +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer add: 6: 60000:91239204 +2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 73977 +2025/09/02 14:24:38 [debug] 187086#187086: worker cycle +2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http wait request handler +2025/09/02 14:24:38 [debug] 187086#187086: *4 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:0, avail:-1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:6 147 of 1024 +2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1ED0A40:4096 @16 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http process request line +2025/09/02 14:24:38 [debug] 187086#187086: *4 http request line: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http uri: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http args: "" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http exten: "" +2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1EC6DB0:4096 @16 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http process request header line +2025/09/02 14:24:38 [debug] 187086#187086: *4 http header: "Host: localhost:9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http header: "Accept: */*" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http header done +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer del: 6: 91239204 +2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 rewrite phase: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: "/health" +2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: "/upload" +2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 14:24:38 [debug] 187086#187086: *4 using configuration "^/list/([a-f0-9]{64}).*$" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http cl:-1 max:104857600 +2025/09/02 14:24:38 [debug] 187086#187086: *4 rewrite phase: 3 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "GET" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script regex: "^(GET)$" +2025/09/02 14:24:38 [notice] 187086#187086: *4 "^(GET)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", host: "localhost:9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script if +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script if: false +2025/09/02 14:24:38 [debug] 187086#187086: *4 post rewrite phase: 4 +2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 5 +2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 6 +2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 7 +2025/09/02 14:24:38 [debug] 187086#187086: *4 access phase: 8 +2025/09/02 14:24:38 [debug] 187086#187086: *4 access phase: 9 +2025/09/02 14:24:38 [debug] 187086#187086: *4 access phase: 10 +2025/09/02 14:24:38 [debug] 187086#187086: *4 post access phase: 11 +2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 12 +2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 13 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http init upstream, client timer: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "QUERY_STRING" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "QUERY_STRING: " +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REQUEST_METHOD" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "GET" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REQUEST_METHOD: GET" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "CONTENT_TYPE" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "CONTENT_TYPE: " +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "CONTENT_LENGTH" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SCRIPT_NAME" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SCRIPT_NAME: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REQUEST_URI" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REQUEST_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "DOCUMENT_URI" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "DOCUMENT_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "DOCUMENT_ROOT" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "./blobs" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_PROTOCOL" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "HTTP/1.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REQUEST_SCHEME" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "http" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "GATEWAY_INTERFACE" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "CGI/1.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_SOFTWARE" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "nginx/" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "1.18.0" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REMOTE_ADDR" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "127.0.0.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REMOTE_PORT" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "50002" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REMOTE_PORT: 50002" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_ADDR" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "127.0.0.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_PORT" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_NAME" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "localhost" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REDIRECT_STATUS" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "200" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SCRIPT_FILENAME" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "./blobs" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "/ginxsom.fcgi" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http cleanup add: 00005C72D1ED1A28 +2025/09/02 14:24:38 [debug] 187086#187086: *4 get rr peer, try: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 stream socket 10 +2025/09/02 14:24:38 [debug] 187086#187086: *4 epoll add connection: fd:10 ev:80002005 +2025/09/02 14:24:38 [debug] 187086#187086: *4 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #5 +2025/09/02 14:24:38 [debug] 187086#187086: *4 connected +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream connect: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1E9AF20:128 @16 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream send request +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream send request body +2025/09/02 14:24:38 [debug] 187086#187086: *4 chain writer buf fl:0 s:704 +2025/09/02 14:24:38 [debug] 187086#187086: *4 chain writer in: 00005C72D1EC7B28 +2025/09/02 14:24:38 [debug] 187086#187086: *4 writev: 704 of 704 +2025/09/02 14:24:38 [debug] 187086#187086: *4 chain writer out: 0000000000000000 +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer add: 10: 60000:91239204 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http finalize request: -4, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:2 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http request count:2 blk:0 +2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 0 +2025/09/02 14:24:38 [debug] 187086#187086: worker cycle +2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:6 ev:0004 d:00007272963C51E0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http run request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream check client, write event:1, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C9 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream process header +2025/09/02 14:24:38 [debug] 187086#187086: *4 malloc: 00005C72D1EBB160:4096 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:0, avail:-1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:10 48 of 4096 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 21 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 33 +2025/09/02 14:24:38 [error] 187086#187086: *4 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:0, avail:0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream dummy handler +2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:24:38 [debug] 187086#187086: worker cycle +2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 59999 +2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:10 ev:2005 d:00007272963C52C9 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream process header +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:1, avail:-1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:10 1272 of 4048 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: F8 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 504 +2025/09/02 14:24:38 [error] 187086#187086: *4 FastCGI sent in stderr: "DEBUG: METHOD=GET, URI=/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +DEBUG: handle_list_request called with pubkey=79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +LOG: [2025-09-02 14:24:38] GET /list - Auth: pending - Status: 0 +DEBUG: Query string: +DEBUG: SQL query: SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? ORDER BY uploaded_at DESC +DEBUG: List request completed successfully +LOG: [2025-09-02 14:24:38] GET /l" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 20 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 32 +2025/09/02 14:24:38 [error] 187086#187086: *4 FastCGI sent in stderr: "ist - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 06 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 02 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: A1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 673 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi parser: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi header: "Status: 200 OK" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi parser: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi header: "Content-Type: application/json" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi parser: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi header done +2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1EBC170:4096 @16 +2025/09/02 14:24:38 [debug] 187086#187086: *4 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:24:38 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-XSS-Protection: 1; mode=block + +2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:1 f:0 00005C72D1EBC1E0, pos 00005C72D1EBC1E0, size: 260 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter: l:0 f:0 s:260 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http cacheable: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream process upstream +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe read upstream: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe preread: 654 +2025/09/02 14:24:38 [debug] 187086#187086: *4 readv: eof:1, avail:0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 readv: 1, last:2776 +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe recv chain: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe buf free s:0 t:1 f:0 00005C72D1EBB160, pos 00005C72D1EBB3FA, size: 654 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe length: -1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 input buf #0 00005C72D1EBB3FA +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 06 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi closed stdout +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 03 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 08 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 8 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi sent end request +2025/09/02 14:24:38 [debug] 187086#187086: *4 input buf 00005C72D1EBB3FA 623 +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe write downstream: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe write downstream flush in +2025/09/02 14:24:38 [debug] 187086#187086: *4 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00005C72D1EC7D88 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http chunk: 623 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBC1E0, pos 00005C72D1EBC1E0, size: 260 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:1 f:0 00005C72D1EBC538, pos 00005C72D1EBC538, size: 5 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:1 f:0 00005C72D1EBB160, pos 00005C72D1EBB3FA, size: 623 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter: l:0 f:0 s:890 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe write downstream done +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer: 10, old: 91239204, new: 91239206 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream exit: 0000000000000000 +2025/09/02 14:24:38 [debug] 187086#187086: *4 finalize http upstream request: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 finalize http fastcgi request +2025/09/02 14:24:38 [debug] 187086#187086: *4 free rr peer 1 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 close http upstream connection: 10 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1E9AF20, unused: 48 +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer del: 10: 91239204 +2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream temp fd: -1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00007FFC098C0610 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http chunk: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBC1E0, pos 00005C72D1EBC1E0, size: 260 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBC538, pos 00005C72D1EBC538, size: 5 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBB160, pos 00005C72D1EBB3FA, size: 623 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E5, size: 5 file: 0, size: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter: l:1 f:0 s:895 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter limit 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 writev: 895 of 895 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter 0000000000000000 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 14:24:38 [debug] 187086#187086: *4 http finalize request: 0, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 set http keepalive handler +2025/09/02 14:24:38 [debug] 187086#187086: *4 http close request +2025/09/02 14:24:38 [debug] 187086#187086: *4 http log handler +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EBB160 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1ED0A40, unused: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EC6DB0, unused: 8 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EBC170, unused: 2579 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EB40A0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 hc free: 0000000000000000 +2025/09/02 14:24:38 [debug] 187086#187086: *4 hc busy: 0000000000000000 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 tcp_nodelay +2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer add: 6: 65000:91244206 +2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:24:38 [debug] 187086#187086: worker cycle +2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 65000 +2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:6 ev:2005 d:00007272963C51E0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 http keepalive handler +2025/09/02 14:24:38 [debug] 187086#187086: *4 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:1, avail:-1 +2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:6 0 of 1024 +2025/09/02 14:24:38 [info] 187086#187086: *4 client 127.0.0.1 closed keepalive connection +2025/09/02 14:24:38 [debug] 187086#187086: *4 close http connection: 6 +2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer del: 6: 91244206 +2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EB40A0 +2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EB1840, unused: 120 +2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:24:38 [debug] 187086#187086: worker cycle +2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: -1 +2025/09/02 14:25:06 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 +2025/09/02 14:25:06 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:25:06 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 +2025/09/02 14:25:06 [debug] 187086#187086: *6 accept: 127.0.0.1:36670 fd:6 +2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer add: 6: 60000:91266493 +2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:25:06 [debug] 187086#187086: timer delta: 27286 +2025/09/02 14:25:06 [debug] 187086#187086: worker cycle +2025/09/02 14:25:06 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:25:06 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http wait request handler +2025/09/02 14:25:06 [debug] 187086#187086: *6 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: eof:0, avail:-1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: fd:6 142 of 1024 +2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 posix_memalign: 00005C72D1ED0A40:4096 @16 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http process request line +2025/09/02 14:25:06 [debug] 187086#187086: *6 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http args: "" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http exten: "" +2025/09/02 14:25:06 [debug] 187086#187086: *6 posix_memalign: 00005C72D1EC6DB0:4096 @16 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http process request header line +2025/09/02 14:25:06 [debug] 187086#187086: *6 http header: "Host: localhost:9001" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http header: "Accept: */*" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http header done +2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer del: 6: 91266493 +2025/09/02 14:25:06 [debug] 187086#187086: *6 generic phase: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 rewrite phase: 1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 test location: "/health" +2025/09/02 14:25:06 [debug] 187086#187086: *6 test location: "/debug/list" +2025/09/02 14:25:06 [debug] 187086#187086: *6 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:25:06 [debug] 187086#187086: *6 using configuration "^/([a-f0-9]{64}).*$" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http cl:-1 max:104857600 +2025/09/02 14:25:06 [debug] 187086#187086: *6 rewrite phase: 3 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http script var +2025/09/02 14:25:06 [debug] 187086#187086: *6 http script var: "GET" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http script value: "DELETE" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http script not equal +2025/09/02 14:25:06 [debug] 187086#187086: *6 http script if +2025/09/02 14:25:06 [debug] 187086#187086: *6 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" a:1, c:1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http set discard body +2025/09/02 14:25:06 [debug] 187086#187086: *6 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:25:06 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 14:25:06 [debug] 187086#187086: *6 write new buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter: l:0 f:0 s:164 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" 00005C72D1EC7320 +2025/09/02 14:25:06 [debug] 187086#187086: *6 write old buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6580, size: 100 file: 0, size: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6C80, size: 62 file: 0, size: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter: l:1 f:0 s:326 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter limit 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 writev: 326 of 326 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter 0000000000000000 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" +2025/09/02 14:25:06 [debug] 187086#187086: *6 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" a:1, c:1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 set http keepalive handler +2025/09/02 14:25:06 [debug] 187086#187086: *6 http close request +2025/09/02 14:25:06 [debug] 187086#187086: *6 http log handler +2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1ED0A40, unused: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EC6DB0, unused: 2456 +2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EB40A0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 hc free: 0000000000000000 +2025/09/02 14:25:06 [debug] 187086#187086: *6 hc busy: 0000000000000000 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 tcp_nodelay +2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer add: 6: 65000:91271493 +2025/09/02 14:25:06 [debug] 187086#187086: timer delta: 0 +2025/09/02 14:25:06 [debug] 187086#187086: worker cycle +2025/09/02 14:25:06 [debug] 187086#187086: epoll timer: 65000 +2025/09/02 14:25:06 [debug] 187086#187086: epoll: fd:6 ev:2001 d:00007272963C51E1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 http keepalive handler +2025/09/02 14:25:06 [debug] 187086#187086: *6 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: eof:1, avail:-1 +2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: fd:6 0 of 1024 +2025/09/02 14:25:06 [info] 187086#187086: *6 client 127.0.0.1 closed keepalive connection +2025/09/02 14:25:06 [debug] 187086#187086: *6 close http connection: 6 +2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer del: 6: 91271493 +2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EB40A0 +2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EB1840, unused: 136 +2025/09/02 14:25:06 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:25:06 [debug] 187086#187086: worker cycle +2025/09/02 14:25:06 [debug] 187086#187086: epoll timer: -1 +2025/09/02 14:25:10 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 +2025/09/02 14:25:10 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 14:25:10 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 +2025/09/02 14:25:10 [debug] 187086#187086: *7 accept: 127.0.0.1:36684 fd:6 +2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer add: 6: 60000:91270922 +2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 14:25:10 [debug] 187086#187086: timer delta: 4428 +2025/09/02 14:25:10 [debug] 187086#187086: worker cycle +2025/09/02 14:25:10 [debug] 187086#187086: epoll timer: 60000 +2025/09/02 14:25:10 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http wait request handler +2025/09/02 14:25:10 [debug] 187086#187086: *7 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: eof:0, avail:-1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: fd:6 146 of 1024 +2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 posix_memalign: 00005C72D1ED0A40:4096 @16 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http process request line +2025/09/02 14:25:10 [debug] 187086#187086: *7 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http args: "" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http exten: "txt" +2025/09/02 14:25:10 [debug] 187086#187086: *7 posix_memalign: 00005C72D1EC6DB0:4096 @16 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http process request header line +2025/09/02 14:25:10 [debug] 187086#187086: *7 http header: "Host: localhost:9001" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http header: "User-Agent: curl/8.15.0" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http header: "Accept: */*" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http header done +2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer del: 6: 91270922 +2025/09/02 14:25:10 [debug] 187086#187086: *7 generic phase: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 rewrite phase: 1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 test location: "/health" +2025/09/02 14:25:10 [debug] 187086#187086: *7 test location: "/debug/list" +2025/09/02 14:25:10 [debug] 187086#187086: *7 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 14:25:10 [debug] 187086#187086: *7 using configuration "^/([a-f0-9]{64}).*$" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http cl:-1 max:104857600 +2025/09/02 14:25:10 [debug] 187086#187086: *7 rewrite phase: 3 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http script var +2025/09/02 14:25:10 [debug] 187086#187086: *7 http script var: "GET" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http script value: "DELETE" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http script not equal +2025/09/02 14:25:10 [debug] 187086#187086: *7 http script if +2025/09/02 14:25:10 [debug] 187086#187086: *7 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http set discard body +2025/09/02 14:25:10 [debug] 187086#187086: *7 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 18:25:10 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 14:25:10 [debug] 187086#187086: *7 write new buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter: l:0 f:0 s:164 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00005C72D1EC7320 +2025/09/02 14:25:10 [debug] 187086#187086: *7 write old buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6580, size: 100 file: 0, size: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6C80, size: 62 file: 0, size: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter: l:1 f:0 s:326 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter limit 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 writev: 326 of 326 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter 0000000000000000 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 14:25:10 [debug] 187086#187086: *7 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 set http keepalive handler +2025/09/02 14:25:10 [debug] 187086#187086: *7 http close request +2025/09/02 14:25:10 [debug] 187086#187086: *7 http log handler +2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1ED0A40, unused: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EC6DB0, unused: 2452 +2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EB40A0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 hc free: 0000000000000000 +2025/09/02 14:25:10 [debug] 187086#187086: *7 hc busy: 0000000000000000 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 tcp_nodelay +2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer add: 6: 65000:91275923 +2025/09/02 14:25:10 [debug] 187086#187086: timer delta: 1 +2025/09/02 14:25:10 [debug] 187086#187086: worker cycle +2025/09/02 14:25:10 [debug] 187086#187086: epoll timer: 65000 +2025/09/02 14:25:10 [debug] 187086#187086: epoll: fd:6 ev:2001 d:00007272963C51E0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 http keepalive handler +2025/09/02 14:25:10 [debug] 187086#187086: *7 malloc: 00005C72D1EB40A0:1024 +2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: eof:1, avail:-1 +2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: fd:6 0 of 1024 +2025/09/02 14:25:10 [info] 187086#187086: *7 client 127.0.0.1 closed keepalive connection +2025/09/02 14:25:10 [debug] 187086#187086: *7 close http connection: 6 +2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer del: 6: 91275923 +2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EB40A0 +2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EB1840, unused: 136 +2025/09/02 14:25:10 [debug] 187086#187086: timer delta: 0 +2025/09/02 14:25:10 [debug] 187086#187086: worker cycle +2025/09/02 14:25:10 [debug] 187086#187086: epoll timer: -1 +2025/09/02 15:05:23 [debug] 187086#187086: epoll: fd:7 ev:2011 d:00007272963C50F8 +2025/09/02 15:05:23 [debug] 187086#187086: epoll_wait() error on fd:7 ev:2011 +2025/09/02 15:05:23 [debug] 187086#187086: channel handler +2025/09/02 15:05:23 [debug] 187086#187086: recvmsg() returned zero +2025/09/02 15:05:23 [debug] 187086#187086: channel: -1 +2025/09/02 15:05:23 [debug] 187086#187086: epoll del connection: fd:7 +2025/09/02 15:05:23 [debug] 187086#187086: reusable connection: 0 +2025/09/02 15:05:23 [debug] 187086#187086: timer delta: 2412837 +2025/09/02 15:05:23 [debug] 187086#187086: worker cycle +2025/09/02 15:05:23 [debug] 187086#187086: epoll timer: -1 +2025/09/02 15:17:09 [debug] 188755#188755: bind() 0.0.0.0:9001 #5 +2025/09/02 15:17:09 [debug] 188755#188755: counter: 000074B0DF3B5080, 1 +2025/09/02 15:17:09 [debug] 188756#188756: bind() 0.0.0.0:9001 #5 +2025/09/02 15:17:09 [notice] 188756#188756: using the "epoll" event method +2025/09/02 15:17:09 [debug] 188756#188756: counter: 000071E17D26B080, 1 +2025/09/02 15:17:09 [notice] 188756#188756: nginx/1.18.0 (Ubuntu) +2025/09/02 15:17:09 [notice] 188756#188756: OS: Linux 6.12.10-76061203-generic +2025/09/02 15:17:09 [notice] 188756#188756: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 15:17:09 [debug] 188757#188756: write: 6, 00007FFE362F2B10, 7, 0 +2025/09/02 15:17:09 [debug] 188757#188757: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 15:17:09 [notice] 188757#188757: start worker processes +2025/09/02 15:17:09 [debug] 188757#188757: channel 6:7 +2025/09/02 15:17:09 [notice] 188757#188757: start worker process 188758 +2025/09/02 15:17:09 [debug] 188757#188757: sigsuspend +2025/09/02 15:17:09 [debug] 188758#188758: add cleanup: 000055CAAF754200 +2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF6F2BD0:8 +2025/09/02 15:17:09 [debug] 188758#188758: notify eventfd: 9 +2025/09/02 15:17:09 [debug] 188758#188758: testing the EPOLLRDHUP flag: success +2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF707000:6144 +2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000071E17D063010:237568 +2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF758170:98304 +2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF770180:98304 +2025/09/02 15:17:09 [debug] 188758#188758: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 15:17:09 [debug] 188758#188758: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 15:17:09 [debug] 188758#188758: setproctitle: "nginx: worker process" +2025/09/02 15:17:09 [debug] 188758#188758: worker cycle +2025/09/02 15:17:09 [debug] 188758#188758: epoll timer: -1 +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:5 ev:0001 d:000071E17D063010 +2025/09/02 15:17:32 [debug] 188758#188758: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 15:17:32 [debug] 188758#188758: posix_memalign: 000055CAAF6F1840:512 @16 +2025/09/02 15:17:32 [debug] 188758#188758: *1 accept: 127.0.0.1:49930 fd:6 +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer add: 6: 60000:94413286 +2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 23000 +2025/09/02 15:17:32 [debug] 188758#188758: worker cycle +2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 60000 +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:6 ev:0001 d:000071E17D0631E0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http wait request handler +2025/09/02 15:17:32 [debug] 188758#188758: *1 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:0, avail:-1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:6 147 of 1024 +2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF7124A0:4096 @16 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http process request line +2025/09/02 15:17:32 [debug] 188758#188758: *1 http request line: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http uri: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http args: "" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http exten: "" +2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF708810:4096 @16 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http process request header line +2025/09/02 15:17:32 [debug] 188758#188758: *1 http header: "Host: localhost:9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http header: "Accept: */*" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http header done +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer del: 6: 94413286 +2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 rewrite phase: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: "/media" +2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: "/debug/list" +2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: "/health" +2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 15:17:32 [debug] 188758#188758: *1 using configuration "^/list/([a-f0-9]{64})$" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http cl:-1 max:104857600 +2025/09/02 15:17:32 [debug] 188758#188758: *1 rewrite phase: 3 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "GET" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script regex: "^(GET)$" +2025/09/02 15:17:32 [notice] 188758#188758: *1 "^(GET)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", host: "localhost:9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script if +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script if: false +2025/09/02 15:17:32 [debug] 188758#188758: *1 post rewrite phase: 4 +2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 5 +2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 6 +2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 7 +2025/09/02 15:17:32 [debug] 188758#188758: *1 access phase: 8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 access phase: 9 +2025/09/02 15:17:32 [debug] 188758#188758: *1 access phase: 10 +2025/09/02 15:17:32 [debug] 188758#188758: *1 post access phase: 11 +2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 12 +2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 13 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http init upstream, client timer: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "QUERY_STRING" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "QUERY_STRING: " +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REQUEST_METHOD" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "GET" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REQUEST_METHOD: GET" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "CONTENT_TYPE" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "CONTENT_TYPE: " +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "CONTENT_LENGTH" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SCRIPT_NAME" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SCRIPT_NAME: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REQUEST_URI" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REQUEST_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "DOCUMENT_URI" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "DOCUMENT_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "DOCUMENT_ROOT" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "./blobs" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_PROTOCOL" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "HTTP/1.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REQUEST_SCHEME" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "http" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "GATEWAY_INTERFACE" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "CGI/1.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_SOFTWARE" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "nginx/" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "1.18.0" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REMOTE_ADDR" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "127.0.0.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REMOTE_PORT" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "49930" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REMOTE_PORT: 49930" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_ADDR" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "127.0.0.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_PORT" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_NAME" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "localhost" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REDIRECT_STATUS" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "200" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SCRIPT_FILENAME" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "./blobs" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "/ginxsom.fcgi" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http cleanup add: 000055CAAF713488 +2025/09/02 15:17:32 [debug] 188758#188758: *1 get rr peer, try: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 stream socket 10 +2025/09/02 15:17:32 [debug] 188758#188758: *1 epoll add connection: fd:10 ev:80002005 +2025/09/02 15:17:32 [debug] 188758#188758: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 +2025/09/02 15:17:32 [debug] 188758#188758: *1 connected +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream connect: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF6DAF20:128 @16 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream send request +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream send request body +2025/09/02 15:17:32 [debug] 188758#188758: *1 chain writer buf fl:0 s:704 +2025/09/02 15:17:32 [debug] 188758#188758: *1 chain writer in: 000055CAAF709588 +2025/09/02 15:17:32 [debug] 188758#188758: *1 writev: 704 of 704 +2025/09/02 15:17:32 [debug] 188758#188758: *1 chain writer out: 0000000000000000 +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer add: 10: 60000:94413286 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http finalize request: -4, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:2 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http request count:2 blk:0 +2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:17:32 [debug] 188758#188758: worker cycle +2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 60000 +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:6 ev:0004 d:000071E17D0631E0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http run request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream check client, write event:1, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:10 ev:0004 d:000071E17D0632C8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream dummy handler +2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 1 +2025/09/02 15:17:32 [debug] 188758#188758: worker cycle +2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 59999 +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream process header +2025/09/02 15:17:32 [debug] 188758#188758: *1 malloc: 000055CAAF6FB160:4096 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:0, avail:-1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:10 48 of 4096 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 21 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 33 +2025/09/02 15:17:32 [error] 188758#188758: *1 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:0, avail:0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream dummy handler +2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:17:32 [debug] 188758#188758: worker cycle +2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 59999 +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:10 ev:2005 d:000071E17D0632C8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream process header +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:1, avail:-1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:10 1272 of 4048 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: F8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 504 +2025/09/02 15:17:32 [error] 188758#188758: *1 FastCGI sent in stderr: "DEBUG: METHOD=GET, URI=/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +DEBUG: handle_list_request called with pubkey=79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +LOG: [2025-09-02 15:17:32] GET /list - Auth: pending - Status: 0 +DEBUG: Query string: +DEBUG: SQL query: SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? ORDER BY uploaded_at DESC +DEBUG: List request completed successfully +LOG: [2025-09-02 15:17:32] GET /l" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 20 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 32 +2025/09/02 15:17:32 [error] 188758#188758: *1 FastCGI sent in stderr: "ist - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 06 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 02 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: A1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 673 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi parser: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi header: "Status: 200 OK" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi parser: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi header: "Content-Type: application/json" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi parser: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi header done +2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF6FC170:4096 @16 +2025/09/02 15:17:32 [debug] 188758#188758: *1 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 19:17:32 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-XSS-Protection: 1; mode=block + +2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:1 f:0 000055CAAF6FC1E0, pos 000055CAAF6FC1E0, size: 260 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter: l:0 f:0 s:260 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http cacheable: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream process upstream +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe read upstream: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe preread: 654 +2025/09/02 15:17:32 [debug] 188758#188758: *1 readv: eof:1, avail:0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 readv: 1, last:2776 +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe recv chain: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe buf free s:0 t:1 f:0 000055CAAF6FB160, pos 000055CAAF6FB3FA, size: 654 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe length: -1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 input buf #0 000055CAAF6FB3FA +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 06 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi closed stdout +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 03 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 08 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi sent end request +2025/09/02 15:17:32 [debug] 188758#188758: *1 input buf 000055CAAF6FB3FA 623 +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe write downstream: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe write downstream flush in +2025/09/02 15:17:32 [debug] 188758#188758: *1 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 000055CAAF7097E8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http chunk: 623 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FC1E0, pos 000055CAAF6FC1E0, size: 260 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:1 f:0 000055CAAF6FC538, pos 000055CAAF6FC538, size: 5 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:1 f:0 000055CAAF6FB160, pos 000055CAAF6FB3FA, size: 623 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter: l:0 f:0 s:890 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe write downstream done +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer: 10, old: 94413286, new: 94413288 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream exit: 0000000000000000 +2025/09/02 15:17:32 [debug] 188758#188758: *1 finalize http upstream request: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 finalize http fastcgi request +2025/09/02 15:17:32 [debug] 188758#188758: *1 free rr peer 1 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 close http upstream connection: 10 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6DAF20, unused: 48 +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer del: 10: 94413286 +2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream temp fd: -1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00007FFE362F2750 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http chunk: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FC1E0, pos 000055CAAF6FC1E0, size: 260 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FC538, pos 000055CAAF6FC538, size: 5 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FB160, pos 000055CAAF6FB3FA, size: 623 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E5, size: 5 file: 0, size: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter: l:1 f:0 s:895 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter limit 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 writev: 895 of 895 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter 0000000000000000 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 15:17:32 [debug] 188758#188758: *1 http finalize request: 0, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 set http keepalive handler +2025/09/02 15:17:32 [debug] 188758#188758: *1 http close request +2025/09/02 15:17:32 [debug] 188758#188758: *1 http log handler +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6FB160 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF7124A0, unused: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF708810, unused: 8 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6FC170, unused: 2579 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6F40A0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 hc free: 0000000000000000 +2025/09/02 15:17:32 [debug] 188758#188758: *1 hc busy: 0000000000000000 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 tcp_nodelay +2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer add: 6: 65000:94418288 +2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 1 +2025/09/02 15:17:32 [debug] 188758#188758: worker cycle +2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 65000 +2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:6 ev:2005 d:000071E17D0631E0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 http keepalive handler +2025/09/02 15:17:32 [debug] 188758#188758: *1 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:1, avail:-1 +2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:6 0 of 1024 +2025/09/02 15:17:32 [info] 188758#188758: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 15:17:32 [debug] 188758#188758: *1 close http connection: 6 +2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer del: 6: 94418288 +2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6F40A0 +2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6F1840, unused: 120 +2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 2 +2025/09/02 15:17:32 [debug] 188758#188758: worker cycle +2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: -1 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:5 ev:0001 d:000071E17D063010 +2025/09/02 15:17:47 [debug] 188758#188758: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 15:17:47 [debug] 188758#188758: posix_memalign: 000055CAAF6F1840:512 @16 +2025/09/02 15:17:47 [debug] 188758#188758: *3 accept: 127.0.0.1:54846 fd:6 +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer add: 6: 60000:94427845 +2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 14555 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 60000 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:6 ev:0001 d:000071E17D0631E1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http wait request handler +2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:6 1024 of 1024 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: avail:112 +2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF7124A0:4096 @16 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http process request line +2025/09/02 15:17:47 [debug] 188758#188758: *3 http request line: "PUT /upload HTTP/1.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http uri: "/upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http args: "" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http exten: "" +2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF708810:4096 @16 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http process request header line +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Host: localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "User-Agent: curl/8.15.0" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Accept: */*" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5OTE3YTY3ODVhZWM1NmU5NGQ2NjQ0MDBkZjNkMDE0NTZmYjE0MzlmMDRhNTkzYWVjNTJkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDA2NjcsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIxMTVjNDQwYmY1YjY5MDE1ZjhiODQ0ZDMyNWFlMzM0NThhNTU1YjQ2M2Q1ZDUzZTRkZmUyZDI0Y2Q3NDBjNWJjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0NDI2NyJdXSwiY29udGVudCI6IiIsInNpZyI6IjFjYWFkMzJjZTk4ODZiZWM4YmFjN2I5NmEzMjE4ZWE0MmViYjgzNmMyZmRkMTA5OThjZjNhYTEwM2ZiMjBmZTI0NWNkNDMyODJmY2IzOWQxZWE4NDZhMjU4NTRlZWEwMzM3N2VkNjdlNDQ2MjUzZmQzNWZjNzhiZGFhMjljNTA2In0=" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Content-Type: text/plain" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Content-Disposition: attachment; filename="test_blob_1756840667.txt"" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Content-Length: 296" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http header done +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer del: 6: 94427845 +2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 rewrite phase: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 test location: "/media" +2025/09/02 15:17:47 [debug] 188758#188758: *3 test location: "/report" +2025/09/02 15:17:47 [debug] 188758#188758: *3 test location: "/upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 using configuration "=/upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http cl:296 max:104857600 +2025/09/02 15:17:47 [debug] 188758#188758: *3 rewrite phase: 3 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "PUT" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script regex: "^(PUT|HEAD)$" +2025/09/02 15:17:47 [notice] 188758#188758: *3 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script if +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script if: false +2025/09/02 15:17:47 [debug] 188758#188758: *3 post rewrite phase: 4 +2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 5 +2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 6 +2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 7 +2025/09/02 15:17:47 [debug] 188758#188758: *3 access phase: 8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 access phase: 9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 access phase: 10 +2025/09/02 15:17:47 [debug] 188758#188758: *3 post access phase: 11 +2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 12 +2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 13 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http client request body preread 184 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http request body content length filter +2025/09/02 15:17:47 [debug] 188758#188758: *3 http body new buf t:1 f:0 000055CAAF6F43E8, pos 000055CAAF6F43E8, size: 184 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http read client request body +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:112 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:6 112 of 112 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http client request body recv 112 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http body new buf t:1 f:0 000055CAAF7092A0, pos 000055CAAF7092A0, size: 112 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http client request body rest 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http init upstream, client timer: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF6FB160:4096 @16 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "QUERY_STRING" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "QUERY_STRING: " +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REQUEST_METHOD" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "PUT" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "CONTENT_TYPE" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "text/plain" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "CONTENT_LENGTH" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "296" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SCRIPT_NAME" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "/upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REQUEST_URI" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "/upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "DOCUMENT_URI" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "/upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "DOCUMENT_ROOT" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "./blobs" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_PROTOCOL" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "HTTP/1.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REQUEST_SCHEME" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "http" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "GATEWAY_INTERFACE" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "CGI/1.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_SOFTWARE" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "nginx/" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "1.18.0" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REMOTE_ADDR" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "127.0.0.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REMOTE_PORT" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "54846" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REMOTE_PORT: 54846" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_ADDR" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "127.0.0.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_PORT" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_NAME" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "localhost" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REDIRECT_STATUS" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "200" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SCRIPT_FILENAME" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "./blobs" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "/ginxsom.fcgi" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5OTE3YTY3ODVhZWM1NmU5NGQ2NjQ0MDBkZjNkMDE0NTZmYjE0MzlmMDRhNTkzYWVjNTJkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDA2NjcsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIxMTVjNDQwYmY1YjY5MDE1ZjhiODQ0ZDMyNWFlMzM0NThhNTU1YjQ2M2Q1ZDUzZTRkZmUyZDI0Y2Q3NDBjNWJjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0NDI2NyJdXSwiY29udGVudCI6IiIsInNpZyI6IjFjYWFkMzJjZTk4ODZiZWM4YmFjN2I5NmEzMjE4ZWE0MmViYjgzNmMyZmRkMTA5OThjZjNhYTEwM2ZiMjBmZTI0NWNkNDMyODJmY2IzOWQxZWE4NDZhMjU4NTRlZWEwMzM3N2VkNjdlNDQ2MjUzZmQzNWZjNzhiZGFhMjljNTA2In0=" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756840667.txt"" +2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http cleanup add: 000055CAAF7095F0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 get rr peer, try: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 stream socket 10 +2025/09/02 15:17:47 [debug] 188758#188758: *3 epoll add connection: fd:10 ev:80002005 +2025/09/02 15:17:47 [debug] 188758#188758: *3 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #4 +2025/09/02 15:17:47 [debug] 188758#188758: *3 connected +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream connect: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF6DAF20:128 @16 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream send request +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream send request body +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:1304 +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:184 +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:112 +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer in: 000055CAAF709680 +2025/09/02 15:17:47 [debug] 188758#188758: *3 writev: 1616 of 1616 +2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer out: 0000000000000000 +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer add: 10: 60000:94427845 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http request count:2 blk:0 +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 60000 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:6 ev:0004 d:000071E17D0631E1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http run request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream check client, write event:1, "/upload" +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6FC170:4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 560 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 21 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 33 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload +ENTRY: Entering handle_upload_request() function +DEBUG: handle_upload_request called +LOG: [2025-09-02 15:17:47] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5OTE3YTY3ODVhZWM1NmU5NGQ2NjQ0MDBkZjNkMDE0NTZmYjE0MzlmMDRhNTkzYWVjNTJkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 2 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59998 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 1616 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4NDA2NjcsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIxMTVjNDQwYmY1YjY5MDE1ZjhiODQ0ZDMyNWFlMzM0NThhNTU1YjQ2M2Q1ZDUzZTRkZmUyZDI0Y2Q3NDBjNWJjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0NDI2NyJdXSwiY29udGVudCI6IiIsInNpZyI6IjFjYWFkMzJjZTk4ODZiZWM4YmFjN2I5NmEzMjE4ZWE0MmViYjgzNmMyZmRkMTA5OThjZjNhYTEwM2ZiMjBmZTI0NWNkNDMyODJmY2IzOWQxZWE4NDZhMjU4NTRlZWEwMzM3N2VkNjdlNDQ2MjUzZmQzNWZjNzhiZGFhMjljNTA2In0= +LOG: [2025-09-02 15:17:47] PUT /upload - Auth: auth_provided - Status: 0 +DEBUG-LAAN: Calculated SHA-256:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 43 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 05 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 67 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc +═══════════════════════════════════════════════════════════════════ +🔍 STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹ️ INFO: Server-style auth calle" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "d with method: upload, hash: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=✅ SUCCESS: parse_authorization_header succeeded +🔍 STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹ️ INFO: JSON to" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59998 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 2048 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " parse: {"kind":24242,"id":"e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756840667,"tags":[["t","upload"],["x","115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc"],["expiration","1756844267"]],"content":"","sig":"1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506"} +✅ SUCCESS: cJSON_Parse succeeded" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756840667, + "tags": [["t", "upload"], ["x", "115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc"], ["expiration", "1756844267"]], + "content": "", + "sig": "1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e4" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "46253fd35fc78bdaa29c506" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506 +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756840667 +🔍 STEP SERVER-5: Detailed pubkey" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " analysis +ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): +7(0x37) 9(0x39) b(0x62) e(0x65) 6(0x36) 6(0x36) 7(0x37) e(0x65) f(0x66) 9(0x39) +🔍 STEP SERVER-6: Pre-validation pubkey analysis +ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): +7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(5" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59998 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 3584 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "5) e(101) f(102) 9(57) +ℹ️ INFO: Character validation test: +ALL VALID (lowercase hex) +🔍 STEP SERVER-7: Starting detailed validation analysis +ℹ️ INFO: Testing structure validation... +ℹ️ INFO: nostr_validate_event_structure returned: 0 (Success) +✅ SUCCESS: Structure validation PASSED +ℹ️ INFO: Testing cryptographic verification... +ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) +✅ SUCCESS: Crypto verification PASSED +ℹ️ INFO: Testing complete validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "... +ℹ️ INFO: nostr_validate_event returned: 0 (Success) +✅ SUCCESS: Complete validation PASSED +🔍 STEP SERVER-8: Running detailed structure validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP STRUCT-1: Starting detailed structure validation +✅ SUCCESS: Event is valid JSON object +🔍 STEP STRUCT-2: Checking required field" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "existence +✅ SUCCESS: Field 'id' exists +✅ SUCCESS: Field 'pubkey' exists +✅ SUCCESS: Field 'created_at' exists +✅ SUCCESS: Field 'kind' exists +✅ SUCCESS: Field 'tags' exists +✅ SUCCESS: Field 'content' exists +✅ SUCCESS: Field 'sig' exists +🔍 STEP STRUCT-3: Validating field types +✅ SUCCESS: Field 'id' is string +✅ SUCCESS: Field 'pubkey' is string +✅ SUCCESS: Field 'created_at' is number +✅ SUCCESS: Field 'kind' is number +✅ SUCCESS: Field 'tags' is array +✅ SUCCESS: Field 'content" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: 'e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d' (length: ✅ SUCCESS: ID string length is correct (64 chars) +ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64 chars) +ℹ️ INFO: Signature string: '1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "0fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506' (length: ✅ SUCCESS: Signature string length is correct (128 chars) +🔍 STEP STRUCT-5: Validating hex characters +ℹ️ INFO: Checking ID hex characters... +✅ SUCCESS: ID hex characters are valid (lowercase) +ℹ️ INFO: Checking pubkey hex characters... +✅ SUCCESS: Pubkey hex characters are valid (lowercase) +ℹ️ INFO: Checking signature hex characters... +✅ SUCCESS: Signature hex characters are valid (lowercase) +🔍 S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756840667 +✅ SUCCESS: Timestamp is valid: 2025-09-02 19:17:47 UTC +🔍 STEP STRUCT-7: Validating kind +ℹ️ INFO: Event kind: 24242 +✅ SUCCESS: Kind is valid: 24242 +🔍 STEP STRUCT-8: Validating tags array structure +ℹ️ INFO: Tags array has 3 elements +ℹ️ INFO: Tag[0] has 2 elements +ℹ️ INFO: Tag[0][0]: 't' +ℹ️ INFO: Tag[0][1]: 'upload' +ℹ️ INFO: Tag[1] has 2 elements +ℹ️ INFO: Tag[1][0]: 'x' +ℹ️" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " INFO: Tag[1][1]: '115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756844267' +✅ SUCCESS: Tags array structure is valid +🔍 STEP STRUCT-9: Validating content +ℹ️ INFO: Content: '' (length: ✅ SUCCESS: Content is valid string +✅ SUCCESS: Structure validation completed successfully +✅ SUCCESS: Detailed structure validation PASSED +🔍 STEP SERVER-9: Running detailed signature" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 1 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59997 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 4096 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP CRYPTO-1: Starting detailed signature validation +🔍 STEP CRYPTO-2: Creating serialization array +✅ SUCCESS: Serialization array created +🔍 STEP CRYPTO-3: Converting to JSON string +✅ SUCCESS: JSON serialization string created +ℹ️ INFO: Serialization string (length 🔍" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( e4 85 62 55 12 79 99 17 a6 78 5a ec 56 e9 4d 66 |..bU.y...xZ.V.Mf| + 44 00 df 3d 01 45 6f b1 43 9f 04 a5 93 ae c5 2d |D..=.Eo.C......-| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d +ℹ️ INFO: Provided ID: e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d +✅ SUCCESS: Event ID verification passe" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "d +🔍 STEP CRYPTO-6: Preparing signature verification +🔍 STEP CRYPTO-7: Converting hex strings to bytes +✅ SUCCESS: Pubkey hex converted to bytes +ℹ️ INFO: Pubkey bytes ( 79 be 66 7e f9 dc bb ac 55 a0 62 95 ce 87 0b 07 |y.f~....U.b.....| + 02 9b fc db 2d ce 28 d9 59 f2 81 5b 16 f8 17 98 |....-.(.Y..[....| +✅ SUCCESS: Signature hex converted to bytes +ℹ️ INFO: Signature bytes ( 1c aa d3 2c e9 88 6b ec 8b ac 7b 96 a3 21 8e a4 |...,..k...{..!..| + 2e bb 83 6c 2f dd 10 99 8c f3 aa 10 3" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "f b2 0f e2 |...l/.......?...| + 45 cd 43 28 2f cb 39 d1 ea 84 6a 25 85 4e ea 03 |E.C(/.9...j%.N..| + 37 7e d6 7e 44 62 53 fd 35 fc 78 bd aa 29 c5 06 |7~.~DbS.5.x..)..| +🔍 STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹ️ INFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) +✅ SUCCESS: Signature verification PASSED using nostr_core_lib! +✅ SUCCESS: Detailed signature validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " PASSED +═══════════════════════════════════════════════════════════════════ +🔍 STEP ANALYZE-1: Analyzing event field details +ℹ️ INFO: Field 'kind': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 24242 +ℹ️ INFO: Field 'id': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: 'e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d' +ℹ️ INFO" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: ": Length: ℹ️ INFO: Field 'pubkey': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 1756840667 +ℹ️ INFO: Field 'tags': +ℹ️ INFO: Type: Array +ℹ️ INFO: Size: 3 +ℹ️ INFO: Field 'content': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '' +ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': +ℹ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc +DEBUG: Found expiration tag: 1756844267 +DEBUG: Blossom event valid" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "ation passed +✅ SUCCESS: Blossom event validation PASSED +✅ SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authenticate_request returned: 0 +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59997 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 1536 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt +DEBUG: File permissions set to 644 for blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756840667.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175684066 +DEBUG: Pro" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "cessing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756840667.txt' +DEBUG: Final filename after extraction: test_blob_1756840667.txt +DEBUG: insert_blob_metadata() called for sha256='115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc' +DEBUG: Opening database at path: db/ginxsom.db +DEBUG: Database opened successfully for writing +DEBUG: Preparing SQL: INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " (?, ?, ?, ?, ?, ?) +DEBUG: SQL prepared successfully, binding parameters +DEBUG: Parameter values to bind: +DEBUG: 1. sha256 = '115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756840667 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756840667.txt' +DEBUG: Binding parameter 1 (sha256) +DEBUG: Binding parameter" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 1 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59996 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:2005 d:000071E17D0632C9 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:1, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 928 of 4096 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "2 (size) +DEBUG: Binding parameter 3 (type) +DEBUG: Binding parameter 4 (uploaded_at) +DEBUG: Binding parameter 5 (uploader_pubkey) +DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: Binding parameter 6 (filename) +DEBUG: Binding filename as text: 'test_blob_1756840667.txt' +DEBUG: Parameters bound, executing INSERT +DEBUG: INSERT successful +DEBUG: Database closed, returning 1 +DEBUG: Blob metadata successfully stored in database +DEB" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 39 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 57 +2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "UG: Upload completed successfully with database storage" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 06 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 2D +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 03 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 301 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi parser: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi header: "Status: 200 OK" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi parser: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi header: "Content-Type: application/json" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi parser: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi header done +2025/09/02 15:17:47 [debug] 188758#188758: *3 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 19:17:47 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-XSS-Protection: 1; mode=block + +2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:1 f:0 000055CAAF6FB818, pos 000055CAAF6FB818, size: 260 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter: l:0 f:0 s:260 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http cacheable: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process upstream +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe read upstream: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe preread: 278 +2025/09/02 15:17:47 [debug] 188758#188758: *3 readv: eof:1, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 readv: 1, last:3168 +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe recv chain: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe buf free s:0 t:1 f:0 000055CAAF6FC170, pos 000055CAAF6FC3FA, size: 278 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe length: -1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 input buf #0 000055CAAF6FC3FA +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 06 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi closed stdout +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 03 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 08 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi sent end request +2025/09/02 15:17:47 [debug] 188758#188758: *3 input buf 000055CAAF6FC3FA 251 +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe write downstream: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe write downstream flush in +2025/09/02 15:17:47 [debug] 188758#188758: *3 http output filter "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http postpone filter "/upload?" 000055CAAF709650 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http chunk: 251 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF6FB818, pos 000055CAAF6FB818, size: 260 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:1 f:0 000055CAAF7097E0, pos 000055CAAF7097E0, size: 4 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:1 f:0 000055CAAF6FC170, pos 000055CAAF6FC3FA, size: 251 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter: l:0 f:0 s:517 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: 0 "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe write downstream done +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer: 10, old: 94427845, new: 94427851 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream exit: 0000000000000000 +2025/09/02 15:17:47 [debug] 188758#188758: *3 finalize http upstream request: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 finalize http fastcgi request +2025/09/02 15:17:47 [debug] 188758#188758: *3 free rr peer 1 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 close http upstream connection: 10 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6DAF20, unused: 48 +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer del: 10: 94427845 +2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream temp fd: -1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http output filter "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http postpone filter "/upload?" 00007FFE362F2750 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http chunk: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF6FB818, pos 000055CAAF6FB818, size: 260 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF7097E0, pos 000055CAAF7097E0, size: 4 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF6FC170, pos 000055CAAF6FC3FA, size: 251 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E5, size: 5 file: 0, size: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter: l:1 f:0 s:522 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter limit 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 writev: 522 of 522 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter 0000000000000000 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: 0 "/upload?" +2025/09/02 15:17:47 [debug] 188758#188758: *3 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 set http keepalive handler +2025/09/02 15:17:47 [debug] 188758#188758: *3 http close request +2025/09/02 15:17:47 [debug] 188758#188758: *3 http log handler +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6FC170 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF7124A0, unused: 3 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF708810, unused: 8 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6FB160, unused: 1170 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F40A0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 hc free: 0000000000000000 +2025/09/02 15:17:47 [debug] 188758#188758: *3 hc busy: 0000000000000000 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 tcp_nodelay +2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer add: 6: 65000:94432851 +2025/09/02 15:17:47 [debug] 188758#188758: *3 post event 000055CAAF758230 +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 2 +2025/09/02 15:17:47 [debug] 188758#188758: posted event 000055CAAF758230 +2025/09/02 15:17:47 [debug] 188758#188758: *3 delete posted event 000055CAAF758230 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http keepalive handler +2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F40A0 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 65000 +2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:6 ev:2005 d:000071E17D0631E1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 http keepalive handler +2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:1, avail:-1 +2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:6 0 of 1024 +2025/09/02 15:17:47 [info] 188758#188758: *3 client 127.0.0.1 closed keepalive connection +2025/09/02 15:17:47 [debug] 188758#188758: *3 close http connection: 6 +2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer del: 6: 94432851 +2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F40A0 +2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F1840, unused: 120 +2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 2 +2025/09/02 15:17:47 [debug] 188758#188758: worker cycle +2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: -1 +2025/09/02 15:18:08 [debug] 188758#188758: epoll: fd:5 ev:0001 d:000071E17D063010 +2025/09/02 15:18:08 [debug] 188758#188758: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 15:18:08 [debug] 188758#188758: posix_memalign: 000055CAAF6F1840:512 @16 +2025/09/02 15:18:08 [debug] 188758#188758: *5 accept: 127.0.0.1:51764 fd:6 +2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer add: 6: 60000:94449230 +2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 15:18:08 [debug] 188758#188758: timer delta: 21377 +2025/09/02 15:18:08 [debug] 188758#188758: worker cycle +2025/09/02 15:18:08 [debug] 188758#188758: epoll timer: 60000 +2025/09/02 15:18:08 [debug] 188758#188758: epoll: fd:6 ev:0001 d:000071E17D0631E0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http wait request handler +2025/09/02 15:18:08 [debug] 188758#188758: *5 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: eof:0, avail:-1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: fd:6 146 of 1024 +2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 posix_memalign: 000055CAAF7124A0:4096 @16 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http process request line +2025/09/02 15:18:08 [debug] 188758#188758: *5 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http args: "" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http exten: "txt" +2025/09/02 15:18:08 [debug] 188758#188758: *5 posix_memalign: 000055CAAF708810:4096 @16 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http process request header line +2025/09/02 15:18:08 [debug] 188758#188758: *5 http header: "Host: localhost:9001" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http header: "User-Agent: curl/8.15.0" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http header: "Accept: */*" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http header done +2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer del: 6: 94449230 +2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 rewrite phase: 1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/media" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/debug/list" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/health" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http cl:-1 max:104857600 +2025/09/02 15:18:08 [debug] 188758#188758: *5 rewrite phase: 3 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script value: "DELETE" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script not equal +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script regex: "^/(.*)$" +2025/09/02 15:18:08 [notice] 188758#188758: *5 "^/(.*)$" matches "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt", client: 127.0.0.1, server: localhost, request: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1", host: "localhost:9001" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/blob/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script regex end +2025/09/02 15:18:08 [notice] 188758#188758: *5 rewritten data: "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt", args: "", client: 127.0.0.1, server: localhost, request: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1", host: "localhost:9001" +2025/09/02 15:18:08 [debug] 188758#188758: *5 post rewrite phase: 4 +2025/09/02 15:18:08 [debug] 188758#188758: *5 uri changes: 11 +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/media" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/debug/list" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/blob/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 using configuration "^/blob/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http cl:-1 max:104857600 +2025/09/02 15:18:08 [debug] 188758#188758: *5 rewrite phase: 3 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script regex: "^(GET|HEAD)$" +2025/09/02 15:18:08 [notice] 188758#188758: *5 "^(GET|HEAD)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1", host: "localhost:9001" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if: false +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script value: "HEAD" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script equal +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script equal: no +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if: false +2025/09/02 15:18:08 [debug] 188758#188758: *5 post rewrite phase: 4 +2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 5 +2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 6 +2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 7 +2025/09/02 15:18:08 [debug] 188758#188758: *5 access phase: 8 +2025/09/02 15:18:08 [debug] 188758#188758: *5 access phase: 9 +2025/09/02 15:18:08 [debug] 188758#188758: *5 access phase: 10 +2025/09/02 15:18:08 [debug] 188758#188758: *5 post access phase: 11 +2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 12 +2025/09/02 15:18:08 [debug] 188758#188758: *5 try files handler +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".jpg" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.jpg" "./blobs/GET.jpg" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".jpeg" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.jpeg" "./blobs/GET.jpeg" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".png" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.png" "./blobs/GET.png" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".webp" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.webp" "./blobs/GET.webp" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".gif" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.gif" "./blobs/GET.gif" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".pdf" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.pdf" "./blobs/GET.pdf" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".mp4" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.mp4" "./blobs/GET.mp4" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".mp3" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.mp3" "./blobs/GET.mp3" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".txt" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.txt" "./blobs/GET.txt" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".md" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.md" "./blobs/GET.md" +2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "=404" "./blobs=404" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http finalize request: 404, "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http special response: 404, "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http set discard body +2025/09/02 15:18:08 [debug] 188758#188758: *5 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 19:18:08 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 15:18:08 [debug] 188758#188758: *5 write new buf t:1 f:0 000055CAAF708D48, pos 000055CAAF708D48, size: 164 file: 0, size: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter: l:0 f:0 s:164 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http output filter "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http copy filter: "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http postpone filter "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 000055CAAF708F38 +2025/09/02 15:18:08 [debug] 188758#188758: *5 write old buf t:1 f:0 000055CAAF708D48, pos 000055CAAF708D48, size: 164 file: 0, size: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 write new buf t:0 f:0 0000000000000000, pos 000055CA9F71B580, size: 100 file: 0, size: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 write new buf t:0 f:0 0000000000000000, pos 000055CA9F71BC80, size: 62 file: 0, size: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter: l:1 f:0 s:326 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter limit 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 writev: 326 of 326 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter 0000000000000000 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http copy filter: 0 "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:18:08 [debug] 188758#188758: *5 http finalize request: 0, "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 set http keepalive handler +2025/09/02 15:18:08 [debug] 188758#188758: *5 http close request +2025/09/02 15:18:08 [debug] 188758#188758: *5 http log handler +2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF7124A0, unused: 8 +2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF708810, unused: 2012 +2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF6F40A0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 hc free: 0000000000000000 +2025/09/02 15:18:08 [debug] 188758#188758: *5 hc busy: 0000000000000000 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 tcp_nodelay +2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer add: 6: 65000:94454230 +2025/09/02 15:18:08 [debug] 188758#188758: timer delta: 0 +2025/09/02 15:18:08 [debug] 188758#188758: worker cycle +2025/09/02 15:18:08 [debug] 188758#188758: epoll timer: 65000 +2025/09/02 15:18:08 [debug] 188758#188758: epoll: fd:6 ev:2001 d:000071E17D0631E0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 http keepalive handler +2025/09/02 15:18:08 [debug] 188758#188758: *5 malloc: 000055CAAF6F40A0:1024 +2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: eof:1, avail:-1 +2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: fd:6 0 of 1024 +2025/09/02 15:18:08 [info] 188758#188758: *5 client 127.0.0.1 closed keepalive connection +2025/09/02 15:18:08 [debug] 188758#188758: *5 close http connection: 6 +2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer del: 6: 94454230 +2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF6F40A0 +2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF6F1840, unused: 136 +2025/09/02 15:18:08 [debug] 188758#188758: timer delta: 1 +2025/09/02 15:18:08 [debug] 188758#188758: worker cycle +2025/09/02 15:18:08 [debug] 188758#188758: epoll timer: -1 +2025/09/02 15:20:06 [notice] 188757#188757: signal 15 (SIGTERM) received from 189095, exiting +2025/09/02 15:20:06 [debug] 188757#188757: wake up, sigio 0 +2025/09/02 15:20:06 [debug] 188757#188757: child: 0 188758 e:0 t:0 d:0 r:1 j:0 +2025/09/02 15:20:06 [debug] 188757#188757: termination cycle: 50 +2025/09/02 15:20:06 [debug] 188757#188757: sigsuspend +2025/09/02 15:20:06 [debug] 188758#188758: epoll: fd:7 ev:0001 d:000071E17D0630F8 +2025/09/02 15:20:06 [debug] 188758#188758: channel handler +2025/09/02 15:20:06 [debug] 188758#188758: channel: 32 +2025/09/02 15:20:06 [debug] 188758#188758: channel command: 4 +2025/09/02 15:20:06 [debug] 188758#188758: channel: -2 +2025/09/02 15:20:06 [debug] 188758#188758: timer delta: 117993 +2025/09/02 15:20:06 [notice] 188758#188758: exiting +2025/09/02 15:20:06 [debug] 188758#188758: flush files +2025/09/02 15:20:06 [debug] 188758#188758: run cleanup: 000055CAAF754200 +2025/09/02 15:20:06 [debug] 188758#188758: run cleanup: 000055CAAF740CF8 +2025/09/02 15:20:06 [debug] 188758#188758: cleanup resolver +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7568A0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF741680 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7145C0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7134B0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70D480 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70C3C0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70B300 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70A240 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF700180 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF6F7150, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF702FF0, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70E490, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7155D0, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7195E0, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF71D5F0, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF721600, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF725610, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF729620, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF72D630, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF731640, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF735650, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF739660, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF73D670, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF742850, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF746860, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF74A870, unused: 0 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF74E880, unused: 1 +2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF752890, unused: 9848 +2025/09/02 15:20:06 [notice] 188758#188758: exit +2025/09/02 15:20:06 [notice] 188757#188757: signal 17 (SIGCHLD) received from 188758 +2025/09/02 15:20:06 [notice] 188757#188757: worker process 188758 exited with code 0 +2025/09/02 15:20:06 [debug] 188757#188757: shmtx forced unlock +2025/09/02 15:20:06 [debug] 188757#188757: wake up, sigio 3 +2025/09/02 15:20:06 [debug] 188757#188757: reap children +2025/09/02 15:20:06 [debug] 188757#188757: child: 0 188758 e:1 t:1 d:0 r:1 j:0 +2025/09/02 15:20:06 [notice] 188757#188757: exit +2025/09/02 15:20:06 [debug] 188757#188757: close listening 0.0.0.0:9001 #5 +2025/09/02 15:20:06 [debug] 188757#188757: run cleanup: 000055CAAF740CF8 +2025/09/02 15:20:06 [debug] 188757#188757: cleanup resolver +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7568A0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF741680 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7145C0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7134B0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70D480 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70C3C0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70B300 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70A240 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF700180 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF6F7150, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF702FF0, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70E490, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7155D0, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7195E0, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF71D5F0, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF721600, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF725610, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF729620, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF72D630, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF731640, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF735650, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF739660, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF73D670, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF742850, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF746860, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF74A870, unused: 0 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF74E880, unused: 1 +2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF752890, unused: 9879 +2025/09/02 15:20:10 [debug] 189130#189130: bind() 0.0.0.0:9001 #5 +2025/09/02 15:20:10 [debug] 189130#189130: counter: 000073685E622080, 1 +2025/09/02 15:20:10 [debug] 189131#189131: bind() 0.0.0.0:9001 #5 +2025/09/02 15:20:10 [notice] 189131#189131: using the "epoll" event method +2025/09/02 15:20:10 [debug] 189131#189131: counter: 000075ADDD54D080, 1 +2025/09/02 15:20:10 [notice] 189131#189131: nginx/1.18.0 (Ubuntu) +2025/09/02 15:20:10 [notice] 189131#189131: OS: Linux 6.12.10-76061203-generic +2025/09/02 15:20:10 [notice] 189131#189131: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 15:20:10 [debug] 189132#189131: write: 6, 00007FFDB872F480, 7, 0 +2025/09/02 15:20:10 [debug] 189132#189132: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 15:20:10 [notice] 189132#189132: start worker processes +2025/09/02 15:20:10 [debug] 189132#189132: channel 6:7 +2025/09/02 15:20:10 [notice] 189132#189132: start worker process 189133 +2025/09/02 15:20:10 [debug] 189132#189132: sigsuspend +2025/09/02 15:20:10 [debug] 189133#189133: add cleanup: 00005766C87D1280 +2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C876FBD0:8 +2025/09/02 15:20:10 [debug] 189133#189133: notify eventfd: 9 +2025/09/02 15:20:10 [debug] 189133#189133: testing the EPOLLRDHUP flag: success +2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C8784010:6144 +2025/09/02 15:20:10 [debug] 189133#189133: malloc: 000075ADDD345010:237568 +2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C87D5180:98304 +2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C87ED190:98304 +2025/09/02 15:20:10 [debug] 189133#189133: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 15:20:10 [debug] 189133#189133: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 15:20:10 [debug] 189133#189133: setproctitle: "nginx: worker process" +2025/09/02 15:20:10 [debug] 189133#189133: worker cycle +2025/09/02 15:20:10 [debug] 189133#189133: epoll timer: -1 +2025/09/02 15:20:15 [debug] 189133#189133: epoll: fd:5 ev:0001 d:000075ADDD345010 +2025/09/02 15:20:15 [debug] 189133#189133: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 15:20:15 [debug] 189133#189133: posix_memalign: 00005766C876E840:512 @16 +2025/09/02 15:20:15 [debug] 189133#189133: *1 accept: 127.0.0.1:37186 fd:6 +2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer add: 6: 60000:94576207 +2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 1 +2025/09/02 15:20:15 [debug] 189133#189133: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 15:20:15 [debug] 189133#189133: timer delta: 5769 +2025/09/02 15:20:15 [debug] 189133#189133: worker cycle +2025/09/02 15:20:15 [debug] 189133#189133: epoll timer: 60000 +2025/09/02 15:20:15 [debug] 189133#189133: epoll: fd:6 ev:0001 d:000075ADDD3451E0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http wait request handler +2025/09/02 15:20:15 [debug] 189133#189133: *1 malloc: 00005766C87710A0:1024 +2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: eof:0, avail:-1 +2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: fd:6 146 of 1024 +2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 posix_memalign: 00005766C878F4B0:4096 @16 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http process request line +2025/09/02 15:20:15 [debug] 189133#189133: *1 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http args: "" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http exten: "txt" +2025/09/02 15:20:15 [debug] 189133#189133: *1 posix_memalign: 00005766C8785820:4096 @16 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http process request header line +2025/09/02 15:20:15 [debug] 189133#189133: *1 http header: "Host: localhost:9001" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http header: "Accept: */*" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http header done +2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer del: 6: 94576207 +2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 rewrite phase: 1 +2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: "/media" +2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: "/debug/list" +2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: "/health" +2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:20:15 [debug] 189133#189133: *1 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http cl:-1 max:104857600 +2025/09/02 15:20:15 [debug] 189133#189133: *1 rewrite phase: 3 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var: "GET" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script value: "DELETE" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal: no +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if: false +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var: "GET" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script value: "HEAD" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal: no +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if: false +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var: "GET" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script value: "GET" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script not equal +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script not equal: no +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if: false +2025/09/02 15:20:15 [debug] 189133#189133: *1 post rewrite phase: 4 +2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 5 +2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 6 +2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 7 +2025/09/02 15:20:15 [debug] 189133#189133: *1 access phase: 8 +2025/09/02 15:20:15 [debug] 189133#189133: *1 access phase: 9 +2025/09/02 15:20:15 [debug] 189133#189133: *1 access phase: 10 +2025/09/02 15:20:15 [debug] 189133#189133: *1 post access phase: 11 +2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 12 +2025/09/02 15:20:15 [debug] 189133#189133: *1 try files handler +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script copy: "/" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script capture: "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http script copy: ".txt" +2025/09/02 15:20:15 [debug] 189133#189133: *1 trying to use file: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:15 [debug] 189133#189133: *1 try file uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 13 +2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 14 +2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 15 +2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 16 +2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 17 +2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 18 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http filename: "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:15 [debug] 189133#189133: *1 add cleanup: 00005766C8785C00 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http static fd: 10 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http set discard body +2025/09/02 15:20:15 [debug] 189133#189133: *1 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 19:20:15 GMT +Content-Type: text/plain +Content-Length: 296 +Last-Modified: Tue, 02 Sep 2025 17:59:11 GMT +Connection: keep-alive +ETag: "68b7306f-128" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 15:20:15 [debug] 189133#189133: *1 write new buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter: l:0 f:0 s:300 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00007FFDB872EFB0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 write old buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 296 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter: l:1 f:0 s:596 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter limit 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 tcp_nopush +2025/09/02 15:20:15 [debug] 189133#189133: *1 writev: 300 of 300 +2025/09/02 15:20:15 [debug] 189133#189133: *1 sendfile: @0 296 +2025/09/02 15:20:15 [debug] 189133#189133: *1 sendfile: 296 of 296 @0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter 0000000000000000 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:20:15 [debug] 189133#189133: *1 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 15:20:15 [debug] 189133#189133: *1 set http keepalive handler +2025/09/02 15:20:15 [debug] 189133#189133: *1 http close request +2025/09/02 15:20:15 [debug] 189133#189133: *1 http log handler +2025/09/02 15:20:15 [debug] 189133#189133: *1 run cleanup: 00005766C8785C00 +2025/09/02 15:20:15 [debug] 189133#189133: *1 file cleanup: fd:10 +2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C878F4B0, unused: 5 +2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C8785820, unused: 1932 +2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C87710A0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 hc free: 0000000000000000 +2025/09/02 15:20:15 [debug] 189133#189133: *1 hc busy: 0000000000000000 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 1 +2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer add: 6: 65000:94581208 +2025/09/02 15:20:15 [debug] 189133#189133: timer delta: 1 +2025/09/02 15:20:15 [debug] 189133#189133: worker cycle +2025/09/02 15:20:15 [debug] 189133#189133: epoll timer: 65000 +2025/09/02 15:20:15 [debug] 189133#189133: epoll: fd:6 ev:2001 d:000075ADDD3451E0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 http keepalive handler +2025/09/02 15:20:15 [debug] 189133#189133: *1 malloc: 00005766C87710A0:1024 +2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: eof:1, avail:-1 +2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: fd:6 0 of 1024 +2025/09/02 15:20:15 [info] 189133#189133: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 15:20:15 [debug] 189133#189133: *1 close http connection: 6 +2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer del: 6: 94581208 +2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C87710A0 +2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C876E840, unused: 136 +2025/09/02 15:20:15 [debug] 189133#189133: timer delta: 1 +2025/09/02 15:20:15 [debug] 189133#189133: worker cycle +2025/09/02 15:20:15 [debug] 189133#189133: epoll timer: -1 +2025/09/02 15:20:49 [debug] 189133#189133: epoll: fd:5 ev:0001 d:000075ADDD345010 +2025/09/02 15:20:49 [debug] 189133#189133: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 15:20:49 [debug] 189133#189133: posix_memalign: 00005766C876E840:512 @16 +2025/09/02 15:20:49 [debug] 189133#189133: *2 accept: 127.0.0.1:55678 fd:6 +2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer add: 6: 60000:94609499 +2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 15:20:49 [debug] 189133#189133: timer delta: 33290 +2025/09/02 15:20:49 [debug] 189133#189133: worker cycle +2025/09/02 15:20:49 [debug] 189133#189133: epoll timer: 60000 +2025/09/02 15:20:49 [debug] 189133#189133: epoll: fd:6 ev:0001 d:000075ADDD3451E1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http wait request handler +2025/09/02 15:20:49 [debug] 189133#189133: *2 malloc: 00005766C87710A0:1024 +2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: eof:0, avail:-1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: fd:6 142 of 1024 +2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 posix_memalign: 00005766C878F4B0:4096 @16 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http process request line +2025/09/02 15:20:49 [debug] 189133#189133: *2 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http args: "" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http exten: "" +2025/09/02 15:20:49 [debug] 189133#189133: *2 posix_memalign: 00005766C8785820:4096 @16 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http process request header line +2025/09/02 15:20:49 [debug] 189133#189133: *2 http header: "Host: localhost:9001" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http header: "User-Agent: curl/8.15.0" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http header: "Accept: */*" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http header done +2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer del: 6: 94609499 +2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 rewrite phase: 1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: "/media" +2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: "/debug/list" +2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: "/health" +2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:20:49 [debug] 189133#189133: *2 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http cl:-1 max:104857600 +2025/09/02 15:20:49 [debug] 189133#189133: *2 rewrite phase: 3 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var: "GET" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script value: "DELETE" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal: no +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if: false +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var: "GET" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script value: "HEAD" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal: no +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if: false +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var: "GET" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script value: "GET" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script not equal +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script not equal: no +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if: false +2025/09/02 15:20:49 [debug] 189133#189133: *2 post rewrite phase: 4 +2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 5 +2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 6 +2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 7 +2025/09/02 15:20:49 [debug] 189133#189133: *2 access phase: 8 +2025/09/02 15:20:49 [debug] 189133#189133: *2 access phase: 9 +2025/09/02 15:20:49 [debug] 189133#189133: *2 access phase: 10 +2025/09/02 15:20:49 [debug] 189133#189133: *2 post access phase: 11 +2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 12 +2025/09/02 15:20:49 [debug] 189133#189133: *2 try files handler +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script copy: "/" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script capture: "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http script copy: ".txt" +2025/09/02 15:20:49 [debug] 189133#189133: *2 trying to use file: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:49 [debug] 189133#189133: *2 try file uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 13 +2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 14 +2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 15 +2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 16 +2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 17 +2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 18 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http filename: "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" +2025/09/02 15:20:49 [debug] 189133#189133: *2 add cleanup: 00005766C8785C00 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http static fd: 10 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http set discard body +2025/09/02 15:20:49 [debug] 189133#189133: *2 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 19:20:49 GMT +Content-Type: text/plain +Content-Length: 296 +Last-Modified: Tue, 02 Sep 2025 17:59:11 GMT +Connection: keep-alive +ETag: "68b7306f-128" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 15:20:49 [debug] 189133#189133: *2 write new buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter: l:0 f:0 s:300 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00007FFDB872EFB0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 write old buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 296 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter: l:1 f:0 s:596 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter limit 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 tcp_nopush +2025/09/02 15:20:49 [debug] 189133#189133: *2 writev: 300 of 300 +2025/09/02 15:20:49 [debug] 189133#189133: *2 sendfile: @0 296 +2025/09/02 15:20:49 [debug] 189133#189133: *2 sendfile: 296 of 296 @0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter 0000000000000000 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" +2025/09/02 15:20:49 [debug] 189133#189133: *2 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 set http keepalive handler +2025/09/02 15:20:49 [debug] 189133#189133: *2 http close request +2025/09/02 15:20:49 [debug] 189133#189133: *2 http log handler +2025/09/02 15:20:49 [debug] 189133#189133: *2 run cleanup: 00005766C8785C00 +2025/09/02 15:20:49 [debug] 189133#189133: *2 file cleanup: fd:10 +2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C878F4B0, unused: 5 +2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C8785820, unused: 1936 +2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C87710A0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 hc free: 0000000000000000 +2025/09/02 15:20:49 [debug] 189133#189133: *2 hc busy: 0000000000000000 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer add: 6: 65000:94614499 +2025/09/02 15:20:49 [debug] 189133#189133: timer delta: 0 +2025/09/02 15:20:49 [debug] 189133#189133: worker cycle +2025/09/02 15:20:49 [debug] 189133#189133: epoll timer: 65000 +2025/09/02 15:20:49 [debug] 189133#189133: epoll: fd:6 ev:2001 d:000075ADDD3451E1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 http keepalive handler +2025/09/02 15:20:49 [debug] 189133#189133: *2 malloc: 00005766C87710A0:1024 +2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: eof:1, avail:-1 +2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: fd:6 0 of 1024 +2025/09/02 15:20:49 [info] 189133#189133: *2 client 127.0.0.1 closed keepalive connection +2025/09/02 15:20:49 [debug] 189133#189133: *2 close http connection: 6 +2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer del: 6: 94614499 +2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C87710A0 +2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C876E840, unused: 136 +2025/09/02 15:20:49 [debug] 189133#189133: timer delta: 1 +2025/09/02 15:20:49 [debug] 189133#189133: worker cycle +2025/09/02 15:20:49 [debug] 189133#189133: epoll timer: -1 diff --git a/logs/fcgi-stderr.log b/logs/fcgi-stderr.log index 2bb8049..16c7682 100755 --- a/logs/fcgi-stderr.log +++ b/logs/fcgi-stderr.log @@ -1,1001 +1 @@ -FastCGI wrapper starting at Tue Sep 2 11:09:54 AM EDT 2025 -FastCGI wrapper starting at Tue Sep 2 11:10:41 AM EDT 2025 -FastCGI wrapper starting at Tue Sep 2 11:19:31 AM EDT 2025 -FastCGI wrapper starting at Tue Sep 2 11:20:41 AM EDT 2025 - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756826533 -Event pointer: 0x56c0e3db3490 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x56c0e3db3550 - pubkey_item: 0x56c0e3db35f0 - created_at_item: 0x56c0e3db36b0 - kind_item: 0x56c0e3db34e0 - tags_item: 0x56c0e3db3740 - content_item: 0x56c0e3db3b50 - sig_item: 0x56c0e3db3bf0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -FastCGI wrapper starting at Tue Sep 2 11:29:29 AM EDT 2025 - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756826978 -Event pointer: 0x5cd63df4a490 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5cd63df4a550 - pubkey_item: 0x5cd63df4a5f0 - created_at_item: 0x5cd63df4a6b0 - kind_item: 0x5cd63df4a4e0 - tags_item: 0x5cd63df4a740 - content_item: 0x5cd63df4ab50 - sig_item: 0x5cd63df4abf0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -❌ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() FAILED! - This is the exact error we've been tracking (returns -32) -FastCGI wrapper starting at Tue Sep 2 11:32:06 AM EDT 2025 - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827135 -Event pointer: 0x5719b833c570 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833c630 - pubkey_item: 0x5719b833c6d0 - created_at_item: 0x5719b833c790 - kind_item: 0x5719b833c5c0 - tags_item: 0x5719b833c820 - content_item: 0x5719b833cc30 - sig_item: 0x5719b833ccd0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827135 -Event pointer: 0x5719b833c570 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833c630 - pubkey_item: 0x5719b833c6d0 - created_at_item: 0x5719b833c790 - kind_item: 0x5719b833c5c0 - tags_item: 0x5719b833c820 - content_item: 0x5719b833cc30 - sig_item: 0x5719b833ccd0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827135 -Event pointer: 0x5719b833dd10 -📄 Input event JSON: -{ - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "kind": 24242, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833e200 - pubkey_item: 0x5719b833dab0 - created_at_item: 0x5719b833d9a0 - kind_item: 0x5719b833d260 - tags_item: 0x5719b833dcc0 - content_item: 0x5719b833e360 - sig_item: 0x5719b833e3b0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827333 -Event pointer: 0x5719b833e710 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833e360 - pubkey_item: 0x5719b833ea80 - created_at_item: 0x5719b833ecf0 - kind_item: 0x5719b833cfe0 - tags_item: 0x5719b833e8e0 - content_item: 0x5719b833ec20 - sig_item: 0x5719b833bec0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827333 -Event pointer: 0x5719b833e710 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833e360 - pubkey_item: 0x5719b833ea80 - created_at_item: 0x5719b833ecf0 - kind_item: 0x5719b833cfe0 - tags_item: 0x5719b833e8e0 - content_item: 0x5719b833ec20 - sig_item: 0x5719b833bec0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827333 -Event pointer: 0x5719b833ca40 -📄 Input event JSON: -{ - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "kind": 24242, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833cb20 - pubkey_item: 0x5719b833c8c0 - created_at_item: 0x5719b833c7b0 - kind_item: 0x5719b833c760 - tags_item: 0x5719b833cad0 - content_item: 0x5719b8339ac0 - sig_item: 0x5719b8339b30 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827611 -Event pointer: 0x5719b833dca0 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833e380 - pubkey_item: 0x5719b833f120 - created_at_item: 0x5719b83398b0 - kind_item: 0x5719b833dbd0 - tags_item: 0x5719b83396c0 - content_item: 0x5719b8339a50 - sig_item: 0x5719b8339af0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827611 -Event pointer: 0x5719b833dca0 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833e380 - pubkey_item: 0x5719b833f120 - created_at_item: 0x5719b83398b0 - kind_item: 0x5719b833dbd0 - tags_item: 0x5719b83396c0 - content_item: 0x5719b8339a50 - sig_item: 0x5719b8339af0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827611 -Event pointer: 0x5719b833df30 -📄 Input event JSON: -{ - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "kind": 24242, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5719b833f4f0 - pubkey_item: 0x5719b833dec0 - created_at_item: 0x5719b833c9c0 - kind_item: 0x5719b833c970 - tags_item: 0x5719b833c900 - content_item: 0x5719b833cab0 - sig_item: 0x5719b833cb20 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! -FastCGI wrapper starting at Tue Sep 2 11:43:41 AM EDT 2025 - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827831 -Event pointer: 0x5e2b0b679570 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5e2b0b679630 - pubkey_item: 0x5e2b0b6796d0 - created_at_item: 0x5e2b0b679790 - kind_item: 0x5e2b0b6795c0 - tags_item: 0x5e2b0b679820 - content_item: 0x5e2b0b679c30 - sig_item: 0x5e2b0b679cd0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827831 -Event pointer: 0x5e2b0b679570 -📄 Input event JSON: -{ - "kind": 24242, - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5e2b0b679630 - pubkey_item: 0x5e2b0b6796d0 - created_at_item: 0x5e2b0b679790 - kind_item: 0x5e2b0b6795c0 - tags_item: 0x5e2b0b679820 - content_item: 0x5e2b0b679c30 - sig_item: 0x5e2b0b679cd0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756827831 -Event pointer: 0x5e2b0b67ad10 -📄 Input event JSON: -{ - "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756822481, - "kind": 24242, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], - "content": "Upload standard test file", - "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" -} -🔍 Field extraction results: - id_item: 0x5e2b0b67b200 - pubkey_item: 0x5e2b0b67aab0 - created_at_item: 0x5e2b0b67a9a0 - kind_item: 0x5e2b0b67a260 - tags_item: 0x5e2b0b67acc0 - content_item: 0x5e2b0b67b360 - sig_item: 0x5e2b0b67b3b0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 4d03d62ff1da5afc... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 595f7260c4c58dac... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 59 5f 72 60 c4 c5 8d ac -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756828112 -Event pointer: 0x5e2b0b67b710 -📄 Input event JSON: -{ - "kind": 24242, - "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756828081, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], - "content": "Upload standard test file", - "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" -} -🔍 Field extraction results: - id_item: 0x5e2b0b67b360 - pubkey_item: 0x5e2b0b67ba80 - created_at_item: 0x5e2b0b67bcf0 - kind_item: 0x5e2b0b679fe0 - tags_item: 0x5e2b0b67b8e0 - content_item: 0x5e2b0b67bc20 - sig_item: 0x5e2b0b678ec0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 6f1e2ff851bde47a... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 99df5bc594cfb550... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 99 df 5b c5 94 cf b5 50 -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756828112 -Event pointer: 0x5e2b0b67b710 -📄 Input event JSON: -{ - "kind": 24242, - "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756828081, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], - "content": "Upload standard test file", - "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" -} -🔍 Field extraction results: - id_item: 0x5e2b0b67b360 - pubkey_item: 0x5e2b0b67ba80 - created_at_item: 0x5e2b0b67bcf0 - kind_item: 0x5e2b0b679fe0 - tags_item: 0x5e2b0b67b8e0 - content_item: 0x5e2b0b67bc20 - sig_item: 0x5e2b0b678ec0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 6f1e2ff851bde47a... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 99df5bc594cfb550... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 99 df 5b c5 94 cf b5 50 -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756828112 -Event pointer: 0x5e2b0b679a40 -📄 Input event JSON: -{ - "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756828081, - "kind": 24242, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], - "content": "Upload standard test file", - "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" -} -🔍 Field extraction results: - id_item: 0x5e2b0b679b20 - pubkey_item: 0x5e2b0b6798c0 - created_at_item: 0x5e2b0b6797b0 - kind_item: 0x5e2b0b679760 - tags_item: 0x5e2b0b679ad0 - content_item: 0x5e2b0b676ac0 - sig_item: 0x5e2b0b676b30 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 6f1e2ff851bde47a... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 99df5bc594cfb550... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 99 df 5b c5 94 cf b5 50 -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! -FastCGI wrapper starting at Tue Sep 2 12:01:32 PM EDT 2025 - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756828900 -Event pointer: 0x6176f258a570 -📄 Input event JSON: -{ - "kind": 24242, - "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756828081, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], - "content": "Upload standard test file", - "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" -} -🔍 Field extraction results: - id_item: 0x6176f258a630 - pubkey_item: 0x6176f258a6d0 - created_at_item: 0x6176f258a790 - kind_item: 0x6176f258a5c0 - tags_item: 0x6176f258a820 - content_item: 0x6176f258ac30 - sig_item: 0x6176f258acd0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 6f1e2ff851bde47a... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 99df5bc594cfb550... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 99 df 5b c5 94 cf b5 50 -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756828900 -Event pointer: 0x6176f258a570 -📄 Input event JSON: -{ - "kind": 24242, - "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756828081, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], - "content": "Upload standard test file", - "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" -} -🔍 Field extraction results: - id_item: 0x6176f258a630 - pubkey_item: 0x6176f258a6d0 - created_at_item: 0x6176f258a790 - kind_item: 0x6176f258a5c0 - tags_item: 0x6176f258a820 - content_item: 0x6176f258ac30 - sig_item: 0x6176f258acd0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 6f1e2ff851bde47a... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 99df5bc594cfb550... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 99 df 5b c5 94 cf b5 50 -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! - -🔍 DEBUG: nostr_verify_event_signature() CALLED -Timestamp: 1756828900 -Event pointer: 0x6176f258bd10 -📄 Input event JSON: -{ - "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", - "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756828081, - "kind": 24242, - "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], - "content": "Upload standard test file", - "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" -} -🔍 Field extraction results: - id_item: 0x6176f258c200 - pubkey_item: 0x6176f258bab0 - created_at_item: 0x6176f258b9a0 - kind_item: 0x6176f258b260 - tags_item: 0x6176f258bcc0 - content_item: 0x6176f258c360 - sig_item: 0x6176f258c3b0 -📝 Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: 64) -📝 Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (length: 128) -🔍 Starting field validation... -✅ All required fields present -🔍 Creating serialization array... -✅ Serialization array created -🔍 Adding items to serialization array... -✅ Items added to serialization array -🔍 Converting array to string... -✅ Serialization string created (length: 233) -🔍 Hashing serialized event... -✅ Event hashed successfully -🔍 Converting hash to hex... -✅ Hash converted to hex: 6f1e2ff851bde47a... -🔍 Verifying event ID... -✅ Event ID verified successfully -🔍 Starting signature verification... -✅ Pubkey and signature strings retrieved -🔍 Converting hex strings to bytes... -🔍 Converting pubkey hex: 79be667ef9dcbbac... -✅ Pubkey hex converted successfully -🔍 Converting signature hex: 99df5bc594cfb550... -✅ Signature hex converted successfully -📊 Pubkey bytes (first 8): 79 be 66 7e f9 dc bb ac -📊 Signature bytes (first 8): 99 df 5b c5 94 cf b5 50 -🔍 CRITICAL: About to parse pubkey with nostr_secp256k1_xonly_pubkey_parse()... -✅ CRITICAL: nostr_secp256k1_xonly_pubkey_parse() SUCCESS! -🔍 Starting Schnorr signature verification... -✅ SUCCESS: Schnorr signature verification passed! -FastCGI wrapper starting at Tue Sep 2 12:45:08 PM EDT 2025 +FastCGI starting at Tue Sep 2 03:20:09 PM EDT 2025 diff --git a/logs/nginx.pid b/logs/nginx.pid index 13b5ae8..18eaf58 100644 --- a/logs/nginx.pid +++ b/logs/nginx.pid @@ -1 +1 @@ -176726 +189132 diff --git a/logs/spawn-fcgi.log b/logs/spawn-fcgi.log index e69de29..ab9b353 100755 --- a/logs/spawn-fcgi.log +++ b/logs/spawn-fcgi.log @@ -0,0 +1 @@ +spawn-fcgi: child exited with: 127 diff --git a/restart-all.sh b/restart-all.sh index 545cacb..bac037b 100755 --- a/restart-all.sh +++ b/restart-all.sh @@ -141,8 +141,10 @@ if ! command -v spawn-fcgi &> /dev/null; then exit 1 fi -# Start FastCGI application with stderr logging using wrapper -spawn-fcgi -s "$SOCKET_PATH" -M 666 -u "$USER" -g "$USER" -f "./fcgi-wrapper.sh" -P "$PID_FILE" 2>logs/spawn-fcgi.log +# Start FastCGI application with stderr logging (no wrapper needed) +# Create stderr log with timestamp +echo "FastCGI starting at $(date)" > logs/fcgi-stderr.log +spawn-fcgi -s "$SOCKET_PATH" -M 666 -u "$USER" -g "$USER" -f "$FCGI_BINARY" -P "$PID_FILE" 2>>logs/fcgi-stderr.log if [ $? -eq 0 ] && [ -f "$PID_FILE" ]; then PID=$(cat "$PID_FILE") diff --git a/src/main.c b/src/main.c index fa8c620..e7f78ab 100644 --- a/src/main.c +++ b/src/main.c @@ -2489,6 +2489,14 @@ void handle_upload_request(void) { size_t bytes_written = fwrite(file_data, 1, content_length, outfile); fclose(outfile); + + // Set file permissions to 644 (owner read/write, group/others read) - standard for web files + if (chmod(filepath, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) != 0) { + fprintf(stderr, "WARNING: Failed to set file permissions for %s\r\n", filepath); + // Continue anyway - this is not a fatal error + } else { + fprintf(stderr, "DEBUG: File permissions set to 644 for %s\r\n", filepath); + } free(file_data); if (bytes_written != (size_t)content_length) {