From db3f0785838244f35a8c027f0d7e33034c6ab714 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 2 Sep 2025 12:54:22 -0400 Subject: [PATCH] bud02 completed --- IMPLEMENTATION.md | 13 +- auth_debug.log => Trash/auth_debug.log | 0 .../auth_debug_comprehensive.log | 0 .../auth_debug_detailed.log | 0 debug.log => Trash/debug.log | 0 .../debug_hash_data.log | 63 + .../debug_validation.log | 60 + fastcgi_params => Trash/fastcgi_params | 0 fcgi-wrapper.sh => Trash/fcgi-wrapper.sh | 0 .../file_put_standard.sh | 0 server_debug.log => Trash/server_debug.log | 0 .../server_response.log | 0 standard_test.txt => Trash/standard_test.txt | 0 test_auth_debug => Trash/test_auth_debug | Bin test_auth_debug.c => Trash/test_auth_debug.c | 0 .../test_hash_match.txt | 0 ...095adbd2b5e82f691f514454a8f4082179c7c1.txt | 7 + ...432d279d859672e465bfc90fe44a7a2566a156.txt | 7 + ...5973510973fd713a37a10e9b4d04b1558a7999.txt | 7 + ...9229d1955ea2e25aeddef196232008d4a25c5a.txt | 7 + build/ginxsom-fcgi | Bin 212520 -> 212640 bytes db/ginxsom.db | Bin 122880 -> 122880 bytes logs/access.log | 6 + logs/error.log | 4856 +++++++++++++++++ logs/fcgi-stderr.log | 1 + logs/nginx.pid | 2 +- nostr_core_lib | 2 +- file_put.sh => tests/file_put.sh | 0 list_test.sh => tests/list_test.sh | 0 29 files changed, 5024 insertions(+), 7 deletions(-) rename auth_debug.log => Trash/auth_debug.log (100%) rename auth_debug_comprehensive.log => Trash/auth_debug_comprehensive.log (100%) rename auth_debug_detailed.log => Trash/auth_debug_detailed.log (100%) rename debug.log => Trash/debug.log (100%) rename debug_hash_data.log => Trash/debug_hash_data.log (65%) rename debug_validation.log => Trash/debug_validation.log (81%) rename fastcgi_params => Trash/fastcgi_params (100%) rename fcgi-wrapper.sh => Trash/fcgi-wrapper.sh (100%) rename file_put_standard.sh => Trash/file_put_standard.sh (100%) rename server_debug.log => Trash/server_debug.log (100%) rename server_response.log => Trash/server_response.log (100%) rename standard_test.txt => Trash/standard_test.txt (100%) rename test_auth_debug => Trash/test_auth_debug (100%) rename test_auth_debug.c => Trash/test_auth_debug.c (100%) rename test_hash_match.txt => Trash/test_hash_match.txt (100%) create mode 100644 blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt create mode 100644 blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt create mode 100644 blobs/8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999.txt create mode 100644 blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt rename file_put.sh => tests/file_put.sh (100%) rename list_test.sh => tests/list_test.sh (100%) diff --git a/IMPLEMENTATION.md b/IMPLEMENTATION.md index 7d789fb..99f3721 100644 --- a/IMPLEMENTATION.md +++ b/IMPLEMENTATION.md @@ -130,9 +130,9 @@ This document outlines the implementation plan for ginxsom, a FastCGI-based Blos ### 2.7 Testing & Validation - [x] Test uploads without authentication -- [x] Test uploads with valid nostr auth -- [x] Test uploads with invalid auth -- [x] Test hash mismatch scenarios +- [x] Test uploads with valid nostr auth ✅ **WORKING** (HTTP 200 success) +- [x] Test uploads with invalid auth ✅ **WORKING** (proper error responses with specific error types) +- [x] Test hash mismatch scenarios ✅ **WORKING** (409 Conflict responses) - [ ] Test file size limits - [x] Verify blob descriptors are correct - [x] Verify database metadata storage (uploader_pubkey and filename) @@ -376,8 +376,8 @@ This document outlines the implementation plan for ginxsom, a FastCGI-based Blos - [x] SHA-256 hash calculation during upload - [x] File storage to blobs/ directory - [x] Blob descriptor JSON response -- [x] Authenticated uploads working (Nostr kind 24242 event validation) -- [x] Proper error handling for upload scenarios +- [x] Authenticated uploads working (Nostr kind 24242 event validation) +- [x] Proper error handling for upload scenarios - [x] Database metadata storage during upload (with uploader_pubkey and filename) - [x] List blobs endpoint implemented (GET /list/) - [x] Delete blob endpoint implemented (DELETE /) @@ -483,6 +483,9 @@ Could propose new Blossom BUD for two-phase upload: - [ ] Memory safety in C implementation - [ ] Proper error message sanitization - [ ] Log security (no sensitive data) +- [x] **secp256k1 Context Initialization Fixed** - Authentication system now fully functional +- [x] **API Refactoring Complete** - Upgraded from low-level crypto headers to high-level `nostr_crypto_init()` API +- [x] **Enhanced Error Messages** - Specific error types: event_expired, invalid_signature, invalid_pubkey, etc. - [ ] **Upload DOS vulnerability** - Current implementation vulnerable to memory exhaustion attacks --- diff --git a/auth_debug.log b/Trash/auth_debug.log similarity index 100% rename from auth_debug.log rename to Trash/auth_debug.log diff --git a/auth_debug_comprehensive.log b/Trash/auth_debug_comprehensive.log similarity index 100% rename from auth_debug_comprehensive.log rename to Trash/auth_debug_comprehensive.log diff --git a/auth_debug_detailed.log b/Trash/auth_debug_detailed.log similarity index 100% rename from auth_debug_detailed.log rename to Trash/auth_debug_detailed.log diff --git a/debug.log b/Trash/debug.log similarity index 100% rename from debug.log rename to Trash/debug.log diff --git a/debug_hash_data.log b/Trash/debug_hash_data.log similarity index 65% rename from debug_hash_data.log rename to Trash/debug_hash_data.log index 3d63a33..ffc87d3 100644 --- a/debug_hash_data.log +++ b/Trash/debug_hash_data.log @@ -166,3 +166,66 @@ File data as string: This is a set file to test. Don't edit. Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 === END DEBUG SESSION === +=== HASH DEBUG SESSION === +Content length: 39 +File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e +File data as string: This is a set file to test. Don't edit. +Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +=== END DEBUG SESSION === + +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34353a32382d30343a30300a52616e646f6d20646174613a20386435393962643333353636323466636237383266383332623866303364396135333937326238343732613162646361633833656165333533653732323632310a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: 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. + +Calculated SHA-256: 7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156 +=== END DEBUG SESSION === + +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34353a33332d30343a30300a52616e646f6d20646174613a20306434646365343535663861376264666238626431636338653930633235343666636237316630363839633337373435333061646661373138303134633930350a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: 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. + +Calculated SHA-256: a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a +=== END DEBUG SESSION === + +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34353a34322d30343a30300a52616e646f6d20646174613a20643239383630663962333735633266393634646433626362343436366661303138666537306163363333356234656537396365633030306334663764653165390a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: 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. + +Calculated SHA-256: 61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1 +=== END DEBUG SESSION === + +=== HASH DEBUG SESSION === +Content length: 296 +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34363a35302d30343a30300a52616e646f6d20646174613a20346630333037316538646536373133353963633966326434633836383832356335393736303161333232346339323463313661633633643331323232353935650a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data as string: 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. + +Calculated SHA-256: 8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999 +=== END DEBUG SESSION === + diff --git a/debug_validation.log b/Trash/debug_validation.log similarity index 81% rename from debug_validation.log rename to Trash/debug_validation.log index 1803968..66d78bc 100644 --- a/debug_validation.log +++ b/Trash/debug_validation.log @@ -210,3 +210,63 @@ nostr_verify_event_signature result: 0 (Success) 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 === + +=== 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/fastcgi_params b/Trash/fastcgi_params similarity index 100% rename from fastcgi_params rename to Trash/fastcgi_params diff --git a/fcgi-wrapper.sh b/Trash/fcgi-wrapper.sh similarity index 100% rename from fcgi-wrapper.sh rename to Trash/fcgi-wrapper.sh diff --git a/file_put_standard.sh b/Trash/file_put_standard.sh similarity index 100% rename from file_put_standard.sh rename to Trash/file_put_standard.sh diff --git a/server_debug.log b/Trash/server_debug.log similarity index 100% rename from server_debug.log rename to Trash/server_debug.log diff --git a/server_response.log b/Trash/server_response.log similarity index 100% rename from server_response.log rename to Trash/server_response.log diff --git a/standard_test.txt b/Trash/standard_test.txt similarity index 100% rename from standard_test.txt rename to Trash/standard_test.txt diff --git a/test_auth_debug b/Trash/test_auth_debug similarity index 100% rename from test_auth_debug rename to Trash/test_auth_debug diff --git a/test_auth_debug.c b/Trash/test_auth_debug.c similarity index 100% rename from test_auth_debug.c rename to Trash/test_auth_debug.c diff --git a/test_hash_match.txt b/Trash/test_hash_match.txt similarity index 100% rename from test_hash_match.txt rename to Trash/test_hash_match.txt diff --git a/blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt b/blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt new file mode 100644 index 0000000..7fc0f75 --- /dev/null +++ b/blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt @@ -0,0 +1,7 @@ +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/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt b/blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt new file mode 100644 index 0000000..3048b19 --- /dev/null +++ b/blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt @@ -0,0 +1,7 @@ +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 new file mode 100644 index 0000000..72c1b7a --- /dev/null +++ b/blobs/8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999.txt @@ -0,0 +1,7 @@ +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/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt b/blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt new file mode 100644 index 0000000..b801f1a --- /dev/null +++ b/blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt @@ -0,0 +1,7 @@ +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/build/ginxsom-fcgi b/build/ginxsom-fcgi index 788f221a1df2371503fe6a42435c7279bc0e81cb..8815a1b82c583da99af2acdf1e257995b8b7ab03 100755 GIT binary patch delta 39323 zcmb@vd3=o57e7At$u=P}K_U@b5G0`_YKSEyBut2rD@ySH>@O!wW8pX;`_gz?7H~fmV+M6D7tp{Sc{6M9y{iFrSs)JUfzz8-ocJA z?^t%o@v?WQW4L#$W4Uh_`_mEU*UWLsJB-aBI(yL(hksW~nFya)wuW#=FP|`WUGmc$ zvwY?|g8aiAQN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SN7*XJ+g z-whO06)72mgEiXPX5l+~A-5EM5*MwvmDV5C3=mjhhu47V}S@nddtB zTRtC9{0amAC;rF$SAc4d@lT#n&o}u|y%JFTJp=!5{;&M+f#MJOo8R|uf8Wn27ytlY CayS+M diff --git a/logs/access.log b/logs/access.log index 0afebbf..cc2d58d 100755 --- a/logs/access.log +++ b/logs/access.log @@ -6,3 +6,9 @@ 127.0.0.1 - - [02/Sep/2025:11:43:51 -0400] "PUT /upload HTTP/1.1" 401 163 "-" "curl/8.15.0" 127.0.0.1 - - [02/Sep/2025:11:48:32 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" 127.0.0.1 - - [02/Sep/2025:12:01:40 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:12:45:18 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:12:45:29 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:12:45:34 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +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" diff --git a/logs/error.log b/logs/error.log index 44273cd..86adcb5 100755 --- a/logs/error.log +++ b/logs/error.log @@ -6603,3 +6603,4859 @@ X-XSS-Protection: 1; mode=block 2025/09/02 12:01:40 [debug] 170853#170853: timer delta: 1 2025/09/02 12:01:40 [debug] 170853#170853: worker cycle 2025/09/02 12:01:40 [debug] 170853#170853: epoll timer: -1 +2025/09/02 12:45:04 [notice] 170852#170852: signal 15 (SIGTERM) received from 176685, exiting +2025/09/02 12:45:04 [debug] 170852#170852: wake up, sigio 0 +2025/09/02 12:45:04 [debug] 170852#170852: child: 0 170853 e:0 t:0 d:0 r:1 j:0 +2025/09/02 12:45:04 [debug] 170852#170852: termination cycle: 50 +2025/09/02 12:45:04 [debug] 170852#170852: sigsuspend +2025/09/02 12:45:04 [debug] 170853#170853: epoll: fd:7 ev:0001 d:00007BB937AFD0F8 +2025/09/02 12:45:04 [debug] 170853#170853: channel handler +2025/09/02 12:45:04 [debug] 170853#170853: channel: 32 +2025/09/02 12:45:04 [debug] 170853#170853: channel command: 4 +2025/09/02 12:45:04 [debug] 170853#170853: channel: -2 +2025/09/02 12:45:04 [debug] 170853#170853: timer delta: 2604396 +2025/09/02 12:45:04 [notice] 170853#170853: exiting +2025/09/02 12:45:04 [debug] 170853#170853: flush files +2025/09/02 12:45:04 [debug] 170853#170853: run cleanup: 00005800960CEA90 +2025/09/02 12:45:04 [debug] 170853#170853: run cleanup: 00005800960C1A28 +2025/09/02 12:45:04 [debug] 170853#170853: cleanup resolver +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960CFDF0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960C2BF0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960A1B60 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960A0A50 +2025/09/02 12:45:04 [debug] 170853#170853: free: 000058009609AA20 +2025/09/02 12:45:04 [debug] 170853#170853: free: 0000580096099960 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960988A0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960977E0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 000058009608F180 +2025/09/02 12:45:04 [debug] 170853#170853: free: 0000580096086150, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 0000580096090590, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 000058009609BA30, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960A2B70, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960A6B80, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960AAB90, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960AEBA0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960B2BB0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960B6BC0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960BABD0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960BEBE0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960C3DC0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960C7DD0, unused: 0 +2025/09/02 12:45:04 [debug] 170853#170853: free: 00005800960CBDE0, unused: 4920 +2025/09/02 12:45:04 [notice] 170853#170853: exit +2025/09/02 12:45:04 [notice] 170852#170852: signal 17 (SIGCHLD) received from 170853 +2025/09/02 12:45:04 [notice] 170852#170852: worker process 170853 exited with code 0 +2025/09/02 12:45:04 [debug] 170852#170852: shmtx forced unlock +2025/09/02 12:45:04 [debug] 170852#170852: wake up, sigio 3 +2025/09/02 12:45:04 [debug] 170852#170852: reap children +2025/09/02 12:45:04 [debug] 170852#170852: child: 0 170853 e:1 t:1 d:0 r:1 j:0 +2025/09/02 12:45:04 [notice] 170852#170852: exit +2025/09/02 12:45:04 [debug] 170852#170852: close listening 0.0.0.0:9001 #5 +2025/09/02 12:45:04 [debug] 170852#170852: run cleanup: 00005800960C1A28 +2025/09/02 12:45:04 [debug] 170852#170852: cleanup resolver +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960CFDF0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960C2BF0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960A1B60 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960A0A50 +2025/09/02 12:45:04 [debug] 170852#170852: free: 000058009609AA20 +2025/09/02 12:45:04 [debug] 170852#170852: free: 0000580096099960 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960988A0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960977E0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 000058009608F180 +2025/09/02 12:45:04 [debug] 170852#170852: free: 0000580096086150, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 0000580096090590, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 000058009609BA30, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960A2B70, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960A6B80, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960AAB90, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960AEBA0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960B2BB0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960B6BC0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960BABD0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960BEBE0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960C3DC0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960C7DD0, unused: 0 +2025/09/02 12:45:04 [debug] 170852#170852: free: 00005800960CBDE0, unused: 4951 +2025/09/02 12:45:08 [debug] 176724#176724: bind() 0.0.0.0:9001 #5 +2025/09/02 12:45:08 [debug] 176724#176724: counter: 00007D7353C43080, 1 +2025/09/02 12:45:08 [debug] 176725#176725: bind() 0.0.0.0:9001 #5 +2025/09/02 12:45:08 [notice] 176725#176725: using the "epoll" event method +2025/09/02 12:45:08 [debug] 176725#176725: counter: 0000786ADF4E7080, 1 +2025/09/02 12:45:08 [notice] 176725#176725: nginx/1.18.0 (Ubuntu) +2025/09/02 12:45:08 [notice] 176725#176725: OS: Linux 6.12.10-76061203-generic +2025/09/02 12:45:08 [notice] 176725#176725: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 12:45:08 [debug] 176726#176725: write: 6, 00007FFEE9E686E0, 7, 0 +2025/09/02 12:45:08 [debug] 176726#176726: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 12:45:08 [notice] 176726#176726: start worker processes +2025/09/02 12:45:08 [debug] 176726#176726: channel 6:7 +2025/09/02 12:45:08 [notice] 176726#176726: start worker process 176727 +2025/09/02 12:45:08 [debug] 176726#176726: sigsuspend +2025/09/02 12:45:08 [debug] 176727#176727: add cleanup: 00005B3FE0BEBAA0 +2025/09/02 12:45:08 [debug] 176727#176727: malloc: 00005B3FE0B9EBD0:8 +2025/09/02 12:45:08 [debug] 176727#176727: notify eventfd: 9 +2025/09/02 12:45:08 [debug] 176727#176727: testing the EPOLLRDHUP flag: success +2025/09/02 12:45:08 [debug] 176727#176727: malloc: 00005B3FE0BB15B0:6144 +2025/09/02 12:45:08 [debug] 176727#176727: malloc: 0000786ADF2DF010:237568 +2025/09/02 12:45:08 [debug] 176727#176727: malloc: 00005B3FE0BEE6D0:98304 +2025/09/02 12:45:08 [debug] 176727#176727: malloc: 00005B3FE0C066E0:98304 +2025/09/02 12:45:08 [debug] 176727#176727: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 12:45:08 [debug] 176727#176727: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 12:45:08 [debug] 176727#176727: setproctitle: "nginx: worker process" +2025/09/02 12:45:08 [debug] 176727#176727: worker cycle +2025/09/02 12:45:08 [debug] 176727#176727: epoll timer: -1 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:5 ev:0001 d:0000786ADF2DF010 +2025/09/02 12:45:18 [debug] 176727#176727: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 12:45:18 [debug] 176727#176727: posix_memalign: 00005B3FE0B9D840:512 @16 +2025/09/02 12:45:18 [debug] 176727#176727: *1 accept: 127.0.0.1:51934 fd:6 +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer add: 6: 60000:85278961 +2025/09/02 12:45:18 [debug] 176727#176727: *1 reusable connection: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 10495 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:6 ev:0001 d:0000786ADF2DF1E0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http wait request handler +2025/09/02 12:45:18 [debug] 176727#176727: *1 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:6 908 of 1024 +2025/09/02 12:45:18 [debug] 176727#176727: *1 reusable connection: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 posix_memalign: 00005B3FE0BBCA50:4096 @16 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http process request line +2025/09/02 12:45:18 [debug] 176727#176727: *1 http request line: "PUT /upload HTTP/1.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http uri: "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http args: "" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http exten: "" +2025/09/02 12:45:18 [debug] 176727#176727: *1 posix_memalign: 00005B3FE0BB2DC0:4096 @16 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http process request header line +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header: "Host: localhost:9001" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header: "Accept: */*" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0=" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header: "Content-Type: text/plain" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header: "Content-Length: 39" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http header done +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer del: 6: 85278961 +2025/09/02 12:45:18 [debug] 176727#176727: *1 generic phase: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 rewrite phase: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 test location: "/health" +2025/09/02 12:45:18 [debug] 176727#176727: *1 test location: "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 12:45:18 [debug] 176727#176727: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 12:45:18 [debug] 176727#176727: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 12:45:18 [debug] 176727#176727: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:45:18 [debug] 176727#176727: *1 using configuration "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http cl:39 max:104857600 +2025/09/02 12:45:18 [debug] 176727#176727: *1 rewrite phase: 3 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "PUT" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script regex: "^(PUT)$" +2025/09/02 12:45:18 [notice] 176727#176727: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script if +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script if: false +2025/09/02 12:45:18 [debug] 176727#176727: *1 post rewrite phase: 4 +2025/09/02 12:45:18 [debug] 176727#176727: *1 generic phase: 5 +2025/09/02 12:45:18 [debug] 176727#176727: *1 generic phase: 6 +2025/09/02 12:45:18 [debug] 176727#176727: *1 generic phase: 7 +2025/09/02 12:45:18 [debug] 176727#176727: *1 access phase: 8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 access phase: 9 +2025/09/02 12:45:18 [debug] 176727#176727: *1 access phase: 10 +2025/09/02 12:45:18 [debug] 176727#176727: *1 post access phase: 11 +2025/09/02 12:45:18 [debug] 176727#176727: *1 generic phase: 12 +2025/09/02 12:45:18 [debug] 176727#176727: *1 generic phase: 13 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http client request body preread 39 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http request body content length filter +2025/09/02 12:45:18 [debug] 176727#176727: *1 http body new buf t:1 f:0 00005B3FE0BA0405, pos 00005B3FE0BA0405, size: 39 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http init upstream, client timer: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "QUERY_STRING" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "QUERY_STRING: " +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "REQUEST_METHOD" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "PUT" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "CONTENT_TYPE" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "text/plain" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "CONTENT_LENGTH" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "39" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "CONTENT_LENGTH: 39" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SCRIPT_NAME" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "REQUEST_URI" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "DOCUMENT_URI" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "DOCUMENT_ROOT" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "./blobs" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SERVER_PROTOCOL" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "HTTP/1.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "REQUEST_SCHEME" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "http" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "GATEWAY_INTERFACE" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "CGI/1.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SERVER_SOFTWARE" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "nginx/" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "1.18.0" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "REMOTE_ADDR" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "127.0.0.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "REMOTE_PORT" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "51934" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "REMOTE_PORT: 51934" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SERVER_ADDR" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "127.0.0.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SERVER_PORT" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "9001" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SERVER_NAME" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "localhost" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "REDIRECT_STATUS" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "200" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "SCRIPT_FILENAME" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script var: "./blobs" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http script copy: "/ginxsom.fcgi" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0=" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 12:45:18 [debug] 176727#176727: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 39" +2025/09/02 12:45:18 [debug] 176727#176727: *1 posix_memalign: 00005B3FE0BA7170:4096 @16 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http cleanup add: 00005B3FE0BA72A0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 get rr peer, try: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 stream socket 10 +2025/09/02 12:45:18 [debug] 176727#176727: *1 epoll add connection: fd:10 ev:80002005 +2025/09/02 12:45:18 [debug] 176727#176727: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 +2025/09/02 12:45:18 [debug] 176727#176727: *1 connected +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream connect: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 posix_memalign: 00005B3FE0B86F20:128 @16 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream send request +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream send request body +2025/09/02 12:45:18 [debug] 176727#176727: *1 chain writer buf fl:0 s:1328 +2025/09/02 12:45:18 [debug] 176727#176727: *1 chain writer buf fl:0 s:39 +2025/09/02 12:45:18 [debug] 176727#176727: *1 chain writer buf fl:0 s:9 +2025/09/02 12:45:18 [debug] 176727#176727: *1 chain writer in: 00005B3FE0BA7310 +2025/09/02 12:45:18 [debug] 176727#176727: *1 writev: 1376 of 1376 +2025/09/02 12:45:18 [debug] 176727#176727: *1 chain writer out: 0000000000000000 +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer add: 10: 60000:85278961 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http request count:2 blk:0 +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:6 ev:0004 d:0000786ADF2DF1E0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http run request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream check client, write event:1, "/upload" +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 malloc: 00005B3FE0BA8180:4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 48 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 21 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 33 +2025/09/02 12:45:18 [error] 176727#176727: *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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 1024 of 4048 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *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 12:45:18] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=39 +DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0= +LOG: [" 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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 3248 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: A6 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 02 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 166 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "2025-09-02 12:45:18] PUT /upload - Auth: auth_provided - Status: 0 +DEBUG-LAAN: Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +═══════════════════════════════════════════════════════════════════ +🔍 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "d with method: upload, hash: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUy... +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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: " parse: { + "kind": 24242, + "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756828081, + "tags": [ + ["t", "upload"], + ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], + ["expiration", "1788364069"] + ], + "content": "Upload standard test file", + "sig": "99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "ca8279aeea6f91dae349ea3ca22bfb41e677f" +} +✅ SUCCESS: cJSON_Parse succeeded, event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756828081, + "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1788364069"]], + "content": "Upload standard test file", + "sig": "99df5" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: 6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601 +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f +" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756828081 +🔍 STEP SERVER-5: Detailed pubkey 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" 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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 1024 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: ": Length: ℹ️ INFO: Character analysis (first 10): +7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(55) 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 ret" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "urned: 0 (Success) +✅ SUCCESS: Crypto verification PASSED +ℹ️ INFO: Testing complete validation... +ℹ️ INFO: nostr_validate_event returned: 0 (Success) +✅ SUCCESS: Complete validation PASSED +🔍 STEP SERVER-8: Running detailed structure validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP STRUCT-1: Starting detailed struc" 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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 4096 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "ture validation +✅ SUCCESS: Event is valid JSON object +🔍 STEP STRUCT-2: Checking required field 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 numbe" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "r +✅ SUCCESS: Field 'kind' is number +✅ SUCCESS: Field 'tags' is array +✅ SUCCESS: Field 'content' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: '6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601' (length: ✅ SUCCESS: ID string length is correct (64 chars) +ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "chars) +ℹ️ INFO: Signature string: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' (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: Che" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "cking signature hex characters... +✅ SUCCESS: Signature hex characters are valid (lowercase) +🔍 STEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756828081 +✅ SUCCESS: Timestamp is valid: 2025-09-02 15:48:01 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' +ℹ️" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: " INFO: Tag[0][1]: 'upload' +ℹ️ INFO: Tag[1] has 2 elements +ℹ️ INFO: Tag[1][0]: 'x' +ℹ️ INFO: Tag[1][1]: '3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1788364069' +✅ SUCCESS: Tags array structure is valid +🔍 STEP STRUCT-9: Validating content +ℹ️ INFO: Content: 'Upload standard test file' (length: ✅ SUCCESS: Content is valid string +✅ SUCCESS: Structure 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "ation completed successfully +✅ SUCCESS: Detailed structure validation PASSED +🔍 STEP SERVER-9: Running detailed signature validation +═══════════════════════════════════════════════════════════════════ +🔍 STEP CRYPTO-1: Starting detailed signature validation +🔍 STEP CRYPTO-2: Creating serialization array +✅ SUCCESS: Serialization array created +🔍 STEP CRYPTO" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "-3: Converting to JSON string +✅ SUCCESS: JSON serialization string created +ℹ️ INFO: Serialization string (length 🔍 STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( 6f 1e 2f f8 51 bd e4 7a b2 44 5a ab 8c 8c bf ae |o./.Q..z.DZ.....| + 5c 54 f3 d6 2c 18 92 f1 31 49 fc 59 41 ff c6 01 |\T..,...1I.YA...| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: 6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601 +ℹ️ I" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "NFO: Provided ID: 6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601 +✅ SUCCESS: Event ID verification passed +🔍 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: 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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 3072 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "ignature bytes ( 99 df 5b c5 94 cf b5 50 b3 f4 66 25 d2 48 27 54 |..[....P..f%.H'T| + 92 ce 2e c4 b8 f9 31 11 a1 92 44 3f c6 39 61 29 |......1...D?.9a)| + d9 d6 4d 3f 7b 38 0e f2 9c 29 2d 9f b4 6c a8 27 |..M?{8...)-..l.'| + 9a ee a6 f9 1d ae 34 9e a3 ca 22 bf b4 1e 67 7f |......4..."...g.| +🔍 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 retu" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "rned: 0 (Success) +✅ SUCCESS: Signature verification PASSED using nostr_core_lib! +✅ SUCCESS: Detailed signature validation PASSED +═══════════════════════════════════════════════════════════════════ +🔍 STEP ANALYZE-1: Analyzing event field details +ℹ️ INFO: Field 'kind': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 24242 +ℹ️ INFO: Field 'id': +ℹ️" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '6f1e2ff851bde47ab2445aab8c8cbfae5c54f3d62c1892f13149fc5941ffc601' +ℹ️ INFO: Length: ℹ️ INFO: Field 'pubkey': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': +ℹ️ INFO: Type: Number +ℹ️ INFO: Value: 1756828081 +ℹ️ INFO: Field 'tags': +ℹ️ INFO: Type: Array +ℹ️ INFO: Size: 3 +ℹ️ INFO: Fie" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "ld 'content': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: 'Upload standard test file' +ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': +ℹ️ INFO: Type: String +ℹ️ INFO: Value: '99df5bc594cfb550b3f46625d248275492ce2ec4b8f93111a192443fc6396129d9d64d3f7b380ef29c292d9fb46ca8279aeea6f91dae349ea3ca22bfb41e677f' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found ma" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "tching hash tag: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +DEBUG: Found expiration tag: 1788364069 +DEBUG: Blossom event validation 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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUy... +DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - de" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "coded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +DEBUG: Saving file to: blobs/3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: NULL +DEBUG: No Content-Disposition header provided +DEBUG: Final filename after extraction: NULL +DEBUG: insert_blob_metadata() called for sha256='3f49f934e838893bdc516e680ade3cee" 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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59997 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 1024 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: "2a848bbf42c3e7aba0108cf7cedb8540' +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: 1. sha256 = '3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540' +DEBUG: 2. size = 39 +DEBUG: 3. type = 'text/plain' +DEBUG: 4" 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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: F8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 504 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: " uploaded_at = 1756831518 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'NULL' +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 (uploader_pubkey) +DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: Binding parameter 6 (filename) +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 12:45:18 [debug] 176727#176727: *1 recv: eof:0, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream dummy handler +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 59996 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:10 ev:2005 d:0000786ADF2DF2C8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream request: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process header +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:1, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:10 640 of 4096 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 1C +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 04 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 284 +2025/09/02 12:45:18 [error] 176727#176727: *1 FastCGI sent in stderr: " Binding filename as NULL +DEBUG: Parameters bound, executing INSERT +DEBUG: INSERT failed - blob already exists (duplicate sha256) +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 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 07 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 06 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 2C +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 04 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 300 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi parser: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi header: "Status: 200 OK" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi parser: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi header: "Content-Type: application/json" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi parser: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi header done +2025/09/02 12:45:18 [debug] 176727#176727: *1 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 16:45:18 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 12:45:18 [debug] 176727#176727: *1 write new buf t:1 f:0 00005B3FE0BA75D0, pos 00005B3FE0BA75D0, size: 260 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http write filter: l:0 f:0 s:260 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http cacheable: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream process upstream +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe read upstream: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe preread: 278 +2025/09/02 12:45:18 [debug] 176727#176727: *1 readv: eof:1, avail:0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 readv: 1, last:3456 +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe recv chain: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe buf free s:0 t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA82EA, size: 278 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe length: -1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 input buf #0 00005B3FE0BA82EA +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 06 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi closed stdout +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 03 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 01 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 08 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record byte: 00 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi record length: 8 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http fastcgi sent end request +2025/09/02 12:45:18 [debug] 176727#176727: *1 input buf 00005B3FE0BA82EA 250 +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe write downstream: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe write downstream flush in +2025/09/02 12:45:18 [debug] 176727#176727: *1 http output filter "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http copy filter: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http postpone filter "/upload?" 00005B3FE0BA72E0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http chunk: 250 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write old buf t:1 f:0 00005B3FE0BA75D0, pos 00005B3FE0BA75D0, size: 260 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write new buf t:1 f:0 00005B3FE0BA7918, pos 00005B3FE0BA7918, size: 4 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write new buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA82EA, size: 250 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http write filter: l:0 f:0 s:516 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http copy filter: 0 "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 pipe write downstream done +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer: 10, old: 85278961, new: 85278965 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream exit: 0000000000000000 +2025/09/02 12:45:18 [debug] 176727#176727: *1 finalize http upstream request: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 finalize http fastcgi request +2025/09/02 12:45:18 [debug] 176727#176727: *1 free rr peer 1 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 close http upstream connection: 10 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0B86F20, unused: 48 +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer del: 10: 85278961 +2025/09/02 12:45:18 [debug] 176727#176727: *1 reusable connection: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http upstream temp fd: -1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http output filter "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http copy filter: "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http postpone filter "/upload?" 00007FFEE9E68320 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http chunk: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write old buf t:1 f:0 00005B3FE0BA75D0, pos 00005B3FE0BA75D0, size: 260 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write old buf t:1 f:0 00005B3FE0BA7918, pos 00005B3FE0BA7918, size: 4 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write old buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA82EA, size: 250 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write old buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E5, size: 5 file: 0, size: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http write filter: l:1 f:0 s:521 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http write filter limit 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 writev: 521 of 521 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http write filter 0000000000000000 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http copy filter: 0 "/upload?" +2025/09/02 12:45:18 [debug] 176727#176727: *1 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 set http keepalive handler +2025/09/02 12:45:18 [debug] 176727#176727: *1 http close request +2025/09/02 12:45:18 [debug] 176727#176727: *1 http log handler +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0BA8180 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0BBCA50, unused: 3 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0BB2DC0, unused: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0BA7170, unused: 1666 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0BA00A0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 hc free: 0000000000000000 +2025/09/02 12:45:18 [debug] 176727#176727: *1 hc busy: 0000000000000000 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 tcp_nodelay +2025/09/02 12:45:18 [debug] 176727#176727: *1 reusable connection: 1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer add: 6: 65000:85283965 +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: 65000 +2025/09/02 12:45:18 [debug] 176727#176727: epoll: fd:6 ev:2005 d:0000786ADF2DF1E0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 http keepalive handler +2025/09/02 12:45:18 [debug] 176727#176727: *1 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: eof:1, avail:-1 +2025/09/02 12:45:18 [debug] 176727#176727: *1 recv: fd:6 0 of 1024 +2025/09/02 12:45:18 [info] 176727#176727: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 12:45:18 [debug] 176727#176727: *1 close http connection: 6 +2025/09/02 12:45:18 [debug] 176727#176727: *1 event timer del: 6: 85283965 +2025/09/02 12:45:18 [debug] 176727#176727: *1 reusable connection: 0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0BA00A0 +2025/09/02 12:45:18 [debug] 176727#176727: *1 free: 00005B3FE0B9D840, unused: 120 +2025/09/02 12:45:18 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:18 [debug] 176727#176727: worker cycle +2025/09/02 12:45:18 [debug] 176727#176727: epoll timer: -1 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:5 ev:0001 d:0000786ADF2DF010 +2025/09/02 12:45:29 [debug] 176727#176727: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 12:45:29 [debug] 176727#176727: posix_memalign: 00005B3FE0B9D840:512 @16 +2025/09/02 12:45:29 [debug] 176727#176727: *3 accept: 127.0.0.1:47396 fd:6 +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer add: 6: 60000:85289593 +2025/09/02 12:45:29 [debug] 176727#176727: *3 reusable connection: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 10627 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:6 ev:0001 d:0000786ADF2DF1E1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http wait request handler +2025/09/02 12:45:29 [debug] 176727#176727: *3 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:6 1024 of 1024 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: avail:112 +2025/09/02 12:45:29 [debug] 176727#176727: *3 reusable connection: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 posix_memalign: 00005B3FE0BBCA50:4096 @16 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http process request line +2025/09/02 12:45:29 [debug] 176727#176727: *3 http request line: "PUT /upload HTTP/1.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http uri: "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http args: "" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http exten: "" +2025/09/02 12:45:29 [debug] 176727#176727: *3 posix_memalign: 00005B3FE0BB2DC0:4096 @16 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http process request header line +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "Host: localhost:9001" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "User-Agent: curl/8.15.0" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "Accept: */*" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIwMzJmNmRiNThlZjkwZTIzYzRjY2VmZWQ0NTJkZTk5ZGQzZTQxYjI2Mjk3NjUzYTllZmJlZjdmYjJlMTEwY2JkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE1MjksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI3YjNiOTJlMmZmZWZlZDhjNzQ0NGU5Yzc4YzQzMmQyNzlkODU5NjcyZTQ2NWJmYzkwZmU0NGE3YTI1NjZhMTU2Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTEyOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImFmNGMyYzRjNmNkZmIyNThmZDhmY2RiYjcxOWFlYzdjMzYwOTJhMTc4MmQ1Y2NiMzM5MDk5ZmZjZjg2OWU4ZjcwMmM0OTkzZTVhM2FlZTYxZWRmN2VkOWRhMGY5N2U2Y2Y3Y2JhODIzMWQ0OGMwZGI1ZTA5NzZkMWQ4YTFiMjI1In0=" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "Content-Type: text/plain" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "Content-Disposition: attachment; filename="test_blob_1756831528.txt"" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header: "Content-Length: 296" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http header done +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer del: 6: 85289593 +2025/09/02 12:45:29 [debug] 176727#176727: *3 generic phase: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 rewrite phase: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 test location: "/health" +2025/09/02 12:45:29 [debug] 176727#176727: *3 test location: "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 12:45:29 [debug] 176727#176727: *3 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 12:45:29 [debug] 176727#176727: *3 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 12:45:29 [debug] 176727#176727: *3 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:45:29 [debug] 176727#176727: *3 using configuration "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http cl:296 max:104857600 +2025/09/02 12:45:29 [debug] 176727#176727: *3 rewrite phase: 3 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "PUT" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script regex: "^(PUT)$" +2025/09/02 12:45:29 [notice] 176727#176727: *3 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script if +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script if: false +2025/09/02 12:45:29 [debug] 176727#176727: *3 post rewrite phase: 4 +2025/09/02 12:45:29 [debug] 176727#176727: *3 generic phase: 5 +2025/09/02 12:45:29 [debug] 176727#176727: *3 generic phase: 6 +2025/09/02 12:45:29 [debug] 176727#176727: *3 generic phase: 7 +2025/09/02 12:45:29 [debug] 176727#176727: *3 access phase: 8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 access phase: 9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 access phase: 10 +2025/09/02 12:45:29 [debug] 176727#176727: *3 post access phase: 11 +2025/09/02 12:45:29 [debug] 176727#176727: *3 generic phase: 12 +2025/09/02 12:45:29 [debug] 176727#176727: *3 generic phase: 13 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http client request body preread 184 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http request body content length filter +2025/09/02 12:45:29 [debug] 176727#176727: *3 http body new buf t:1 f:0 00005B3FE0BA03E8, pos 00005B3FE0BA03E8, size: 184 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http read client request body +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:112 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:6 112 of 112 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http client request body recv 112 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http body new buf t:1 f:0 00005B3FE0BB3850, pos 00005B3FE0BB3850, size: 112 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http client request body rest 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http init upstream, client timer: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 12:45:29 [debug] 176727#176727: *3 posix_memalign: 00005B3FE0BA7170:4096 @16 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "QUERY_STRING" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "QUERY_STRING: " +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "REQUEST_METHOD" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "PUT" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "CONTENT_TYPE" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "text/plain" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "CONTENT_LENGTH" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "296" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SCRIPT_NAME" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "REQUEST_URI" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "DOCUMENT_URI" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "DOCUMENT_ROOT" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "./blobs" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SERVER_PROTOCOL" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "HTTP/1.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "REQUEST_SCHEME" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "http" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "GATEWAY_INTERFACE" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "CGI/1.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SERVER_SOFTWARE" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "nginx/" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "1.18.0" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "REMOTE_ADDR" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "127.0.0.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "REMOTE_PORT" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "47396" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "REMOTE_PORT: 47396" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SERVER_ADDR" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "127.0.0.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SERVER_PORT" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "9001" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SERVER_NAME" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "localhost" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "REDIRECT_STATUS" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "200" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "SCRIPT_FILENAME" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script var: "./blobs" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http script copy: "/ginxsom.fcgi" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIwMzJmNmRiNThlZjkwZTIzYzRjY2VmZWQ0NTJkZTk5ZGQzZTQxYjI2Mjk3NjUzYTllZmJlZjdmYjJlMTEwY2JkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE1MjksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI3YjNiOTJlMmZmZWZlZDhjNzQ0NGU5Yzc4YzQzMmQyNzlkODU5NjcyZTQ2NWJmYzkwZmU0NGE3YTI1NjZhMTU2Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTEyOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImFmNGMyYzRjNmNkZmIyNThmZDhmY2RiYjcxOWFlYzdjMzYwOTJhMTc4MmQ1Y2NiMzM5MDk5ZmZjZjg2OWU4ZjcwMmM0OTkzZTVhM2FlZTYxZWRmN2VkOWRhMGY5N2U2Y2Y3Y2JhODIzMWQ0OGMwZGI1ZTA5NzZkMWQ4YTFiMjI1In0=" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756831528.txt"" +2025/09/02 12:45:29 [debug] 176727#176727: *3 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http cleanup add: 00005B3FE0BB3BA0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 get rr peer, try: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 stream socket 10 +2025/09/02 12:45:29 [debug] 176727#176727: *3 epoll add connection: fd:10 ev:80002005 +2025/09/02 12:45:29 [debug] 176727#176727: *3 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #4 +2025/09/02 12:45:29 [debug] 176727#176727: *3 connected +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream connect: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 posix_memalign: 00005B3FE0B86F20:128 @16 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream send request +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream send request body +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer buf fl:0 s:1304 +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer buf fl:0 s:184 +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer buf fl:0 s:8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer buf fl:0 s:112 +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer buf fl:0 s:8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer in: 00005B3FE0BB3C30 +2025/09/02 12:45:29 [debug] 176727#176727: *3 writev: 1616 of 1616 +2025/09/02 12:45:29 [debug] 176727#176727: *3 chain writer out: 0000000000000000 +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer add: 10: 60000:85289593 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http request count:2 blk:0 +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:6 ev:0004 d:0000786ADF2DF1E1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http run request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream check client, write event:1, "/upload" +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 malloc: 00005B3FE0BA8180:4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 560 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 21 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 33 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIwMzJmNmRiNThlZjkwZTIzYzRjY2VmZWQ0NTJkZTk5ZGQzZTQxYjI2Mjk3NjUzYTllZmJlZjdmYjJlMTEwY2JkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" 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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 592 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzE1MjksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI3YjNiOTJlMmZmZWZlZDhjNzQ0NGU5Yzc4YzQzMmQyNzlkODU5NjcyZTQ2NWJmYzkwZmU0NGE3YTI1NjZhMTU2Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTEyOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImFmNGMyYzRjNmNkZmIyNThmZDhmY2RiYjcxOWFlYzdjMzYwOTJhMTc4MmQ1Y2NiMzM5MDk5ZmZjZjg2OWU4ZjcwMmM0OTkzZTVhM2FlZTYxZWRmN2VkOWRhMGY5N2U2Y2Y3Y2JhODIzMWQ0OGMwZGI1ZTA5NzZkMWQ4YTFiMjI1In0= +LOG: [2025-09-02 12:45:29] 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 43 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 05 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 67 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: " 7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156" 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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 3072 of 3504 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156 +═══════════════════════════════════════════════════════════════════ +🔍 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "d with method: upload, hash: 7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156 +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIwMzJmNmRiNThlZjkw... +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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: " parse: {"kind":24242,"id":"032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756831529,"tags":[["t","upload"],["x","7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156"],["expiration","1756835128"]],"content":"","sig":"af4c2c4c6cdfb258fd8fcdbb719aec7c36092a1782d5ccb339099ffcf869e8f702c4993e5a3aee61edf7ed9da0f97e6cf7cba8231d48c0db5e0976d1d8a1b225"} +✅ 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756831529, + "tags": [["t", "upload"], ["x", "7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156"], ["expiration", "1756835128"]], + "content": "", + "sig": "af4c2c4c6cdfb258fd8fcdbb719aec7c36092a1782d5ccb339099ffcf869e8f702c4993e5a3aee61edf7ed9da0f97e6cf7cba8231" 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "d48c0db5e0976d1d8a1b225" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: 032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: af4c2c4c6cdfb258fd8fcdbb719aec7c36092a1782d5ccb339099ffcf869e8f702c4993e5a3aee61edf7ed9da0f97e6cf7cba8231d48c0db5e0976d1d8a1b225 +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756831529 +🔍 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 512 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 2048 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: '032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd' (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: 'af4c2c4c6cdfb258fd8fcdbb719aec7c36092a1782d5ccb339099ffcf869" 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "e8f702c4993e5a3aee61edf7ed9da0f97e6cf7cba8231d48c0db5e0976d1d8a1b225' (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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 2560 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756831529 +✅ SUCCESS: Timestamp is valid: 2025-09-02 16:45:29 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: " INFO: Tag[1][1]: '7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756835128' +✅ 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( 03 2f 6d b5 8e f9 0e 23 c4 cc ef ed 45 2d e9 9d |./m....#....E-..| + d3 e4 1b 26 29 76 53 a9 ef be f7 fb 2e 11 0c bd |...&)vS.........| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: 032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd +ℹ️ INFO: Provided ID: 032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd +✅ 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 ( af 4c 2c 4c 6c df b2 58 fd 8f cd bb 71 9a ec 7c |.L,Ll..X....q..|| + 36 09 2a 17 82 d5 cc b3 39 09 9f fc f" 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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 3072 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "8 69 e8 f7 |6.*.....9....i..| + 02 c4 99 3e 5a 3a ee 61 ed f7 ed 9d a0 f9 7e 6c |...>Z:.a......~l| + f7 cb a8 23 1d 48 c0 db 5e 09 76 d1 d8 a1 b2 25 |...#.H..^.v....%| +🔍 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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: '032f6db58ef90e23c4ccefed452de99dd3e41b26297653a9efbef7fb2e110cbd' +ℹ️ 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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: 1756831529 +ℹ️ 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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: 'af4c2c4c6cdfb258fd8fcdbb719aec7c36092a1782d5ccb339099ffcf869e8f702c4993e5a3aee61edf7ed9da0f97e6cf7cba8231d48c0db5e0976d1d8a1b225' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: 7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156 +DEBUG: Found expiration tag: 1756835128 +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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *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 eyJraW5kIjoyNDI0MiwiaWQiOiIwMzJmNmRiNThlZjkw... +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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756831528.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175683152 +DEBUG: Processing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756831528.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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59997 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 1024 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: "' +DEBUG: Final filename after extraction: test_blob_1756831528.txt +DEBUG: insert_blob_metadata() called for sha256='7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156' +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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: F8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 504 +2025/09/02 12:45:29 [error] 176727#176727: *3 FastCGI sent in stderr: " 1. sha256 = '7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756831529 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756831528.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 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59997 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream dummy handler +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 59997 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:10 ev:2005 d:0000786ADF2DF2C9 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream request: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process header +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:1, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:10 800 of 4096 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: BE +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 02 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 446 +2025/09/02 12:45:29 [error] 176727#176727: *3 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_1756831528.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 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 07 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 06 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 2D +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 03 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 301 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi parser: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi header: "Status: 200 OK" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi parser: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi header: "Content-Type: application/json" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi parser: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi header done +2025/09/02 12:45:29 [debug] 176727#176727: *3 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 16:45:29 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 12:45:29 [debug] 176727#176727: *3 write new buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http write filter: l:0 f:0 s:260 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http cacheable: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream process upstream +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe read upstream: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe preread: 278 +2025/09/02 12:45:29 [debug] 176727#176727: *3 readv: eof:1, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 readv: 1, last:3296 +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe recv chain: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe buf free s:0 t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 278 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe length: -1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 input buf #0 00005B3FE0BA838A +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 06 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi closed stdout +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 03 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 01 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 08 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record byte: 00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi record length: 8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http fastcgi sent end request +2025/09/02 12:45:29 [debug] 176727#176727: *3 input buf 00005B3FE0BA838A 251 +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe write downstream: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe write downstream flush in +2025/09/02 12:45:29 [debug] 176727#176727: *3 http output filter "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http copy filter: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http postpone filter "/upload?" 00005B3FE0BB3C00 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http chunk: 251 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write new buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write new buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http write filter: l:0 f:0 s:517 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http copy filter: 0 "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 pipe write downstream done +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer: 10, old: 85289593, new: 85289599 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream exit: 0000000000000000 +2025/09/02 12:45:29 [debug] 176727#176727: *3 finalize http upstream request: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 finalize http fastcgi request +2025/09/02 12:45:29 [debug] 176727#176727: *3 free rr peer 1 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 close http upstream connection: 10 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0B86F20, unused: 48 +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer del: 10: 85289593 +2025/09/02 12:45:29 [debug] 176727#176727: *3 reusable connection: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http upstream temp fd: -1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http output filter "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http copy filter: "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http postpone filter "/upload?" 00007FFEE9E68320 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http chunk: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write old buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write old buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write old buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E5, size: 5 file: 0, size: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http write filter: l:1 f:0 s:522 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http write filter limit 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 writev: 522 of 522 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http write filter 0000000000000000 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http copy filter: 0 "/upload?" +2025/09/02 12:45:29 [debug] 176727#176727: *3 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 set http keepalive handler +2025/09/02 12:45:29 [debug] 176727#176727: *3 http close request +2025/09/02 12:45:29 [debug] 176727#176727: *3 http log handler +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BA8180 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BBCA50, unused: 3 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BB2DC0, unused: 8 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BA7170, unused: 1170 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BA00A0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 hc free: 0000000000000000 +2025/09/02 12:45:29 [debug] 176727#176727: *3 hc busy: 0000000000000000 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 tcp_nodelay +2025/09/02 12:45:29 [debug] 176727#176727: *3 reusable connection: 1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer add: 6: 65000:85294599 +2025/09/02 12:45:29 [debug] 176727#176727: *3 post event 00005B3FE0BEE790 +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 3 +2025/09/02 12:45:29 [debug] 176727#176727: posted event 00005B3FE0BEE790 +2025/09/02 12:45:29 [debug] 176727#176727: *3 delete posted event 00005B3FE0BEE790 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http keepalive handler +2025/09/02 12:45:29 [debug] 176727#176727: *3 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:0, avail:0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BA00A0 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: 65000 +2025/09/02 12:45:29 [debug] 176727#176727: epoll: fd:6 ev:2005 d:0000786ADF2DF1E1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 http keepalive handler +2025/09/02 12:45:29 [debug] 176727#176727: *3 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: eof:1, avail:-1 +2025/09/02 12:45:29 [debug] 176727#176727: *3 recv: fd:6 0 of 1024 +2025/09/02 12:45:29 [info] 176727#176727: *3 client 127.0.0.1 closed keepalive connection +2025/09/02 12:45:29 [debug] 176727#176727: *3 close http connection: 6 +2025/09/02 12:45:29 [debug] 176727#176727: *3 event timer del: 6: 85294599 +2025/09/02 12:45:29 [debug] 176727#176727: *3 reusable connection: 0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0BA00A0 +2025/09/02 12:45:29 [debug] 176727#176727: *3 free: 00005B3FE0B9D840, unused: 120 +2025/09/02 12:45:29 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:29 [debug] 176727#176727: worker cycle +2025/09/02 12:45:29 [debug] 176727#176727: epoll timer: -1 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:5 ev:0001 d:0000786ADF2DF010 +2025/09/02 12:45:34 [debug] 176727#176727: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 12:45:34 [debug] 176727#176727: posix_memalign: 00005B3FE0B9D840:512 @16 +2025/09/02 12:45:34 [debug] 176727#176727: *5 accept: 127.0.0.1:60790 fd:6 +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer add: 6: 60000:85294439 +2025/09/02 12:45:34 [debug] 176727#176727: *5 reusable connection: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 4839 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:6 ev:0001 d:0000786ADF2DF1E0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http wait request handler +2025/09/02 12:45:34 [debug] 176727#176727: *5 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:6 1024 of 1024 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: avail:112 +2025/09/02 12:45:34 [debug] 176727#176727: *5 reusable connection: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 posix_memalign: 00005B3FE0BBCA50:4096 @16 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http process request line +2025/09/02 12:45:34 [debug] 176727#176727: *5 http request line: "PUT /upload HTTP/1.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http uri: "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http args: "" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http exten: "" +2025/09/02 12:45:34 [debug] 176727#176727: *5 posix_memalign: 00005B3FE0BB2DC0:4096 @16 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http process request header line +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "Host: localhost:9001" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "User-Agent: curl/8.15.0" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "Accept: */*" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIzMDllOGE1MDk2YTk2YzhjZjJmYTAwMGVhZWNjZTYyMWM3ODkyMzgyMmZmZDNmNWEyNzY1OTgzYzlhZThhN2MxIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE1MzQsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJhMjdkZjlhNDI1YjQzY2EyOTJlYWY0ZTM3NzkyMjlkMTk1NWVhMmUyNWFlZGRlZjE5NjIzMjAwOGQ0YTI1YzVhIl0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTEzMyJdXSwiY29udGVudCI6IiIsInNpZyI6IjJlMDA1NDRlN2M3MThkMTM1MWVhZTU0NTNkZjBlYzc0YzUwZDllZjkyYjZiN2I2NTRhODQ0ZjliZGUwZTY3YjAzOTVhZTdjM2EwMzQ4ODIwZDNkNWU3NzY2NWE0NjM5ZTRiZTEzMmRmNTQwNGQ0NGIwYTYwMDI1YzgyNmMwNjZjIn0=" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "Content-Type: text/plain" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "Content-Disposition: attachment; filename="test_blob_1756831533.txt"" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header: "Content-Length: 296" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http header done +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer del: 6: 85294439 +2025/09/02 12:45:34 [debug] 176727#176727: *5 generic phase: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 rewrite phase: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 test location: "/health" +2025/09/02 12:45:34 [debug] 176727#176727: *5 test location: "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 12:45:34 [debug] 176727#176727: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 12:45:34 [debug] 176727#176727: *5 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 12:45:34 [debug] 176727#176727: *5 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:45:34 [debug] 176727#176727: *5 using configuration "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http cl:296 max:104857600 +2025/09/02 12:45:34 [debug] 176727#176727: *5 rewrite phase: 3 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "PUT" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script regex: "^(PUT)$" +2025/09/02 12:45:34 [notice] 176727#176727: *5 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script if +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script if: false +2025/09/02 12:45:34 [debug] 176727#176727: *5 post rewrite phase: 4 +2025/09/02 12:45:34 [debug] 176727#176727: *5 generic phase: 5 +2025/09/02 12:45:34 [debug] 176727#176727: *5 generic phase: 6 +2025/09/02 12:45:34 [debug] 176727#176727: *5 generic phase: 7 +2025/09/02 12:45:34 [debug] 176727#176727: *5 access phase: 8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 access phase: 9 +2025/09/02 12:45:34 [debug] 176727#176727: *5 access phase: 10 +2025/09/02 12:45:34 [debug] 176727#176727: *5 post access phase: 11 +2025/09/02 12:45:34 [debug] 176727#176727: *5 generic phase: 12 +2025/09/02 12:45:34 [debug] 176727#176727: *5 generic phase: 13 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http client request body preread 184 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http request body content length filter +2025/09/02 12:45:34 [debug] 176727#176727: *5 http body new buf t:1 f:0 00005B3FE0BA03E8, pos 00005B3FE0BA03E8, size: 184 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http read client request body +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:112 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:6 112 of 112 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http client request body recv 112 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http body new buf t:1 f:0 00005B3FE0BB3850, pos 00005B3FE0BB3850, size: 112 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http client request body rest 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http init upstream, client timer: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 12:45:34 [debug] 176727#176727: *5 posix_memalign: 00005B3FE0BA7170:4096 @16 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "QUERY_STRING" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "QUERY_STRING: " +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "REQUEST_METHOD" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "PUT" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "CONTENT_TYPE" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "text/plain" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "CONTENT_LENGTH" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "296" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SCRIPT_NAME" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "REQUEST_URI" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "DOCUMENT_URI" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "DOCUMENT_ROOT" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "./blobs" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SERVER_PROTOCOL" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "HTTP/1.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "REQUEST_SCHEME" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "http" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "GATEWAY_INTERFACE" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "CGI/1.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SERVER_SOFTWARE" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "nginx/" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "1.18.0" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "REMOTE_ADDR" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "127.0.0.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "REMOTE_PORT" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "60790" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "REMOTE_PORT: 60790" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SERVER_ADDR" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "127.0.0.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SERVER_PORT" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "9001" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SERVER_NAME" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "localhost" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "REDIRECT_STATUS" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "200" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "SCRIPT_FILENAME" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script var: "./blobs" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http script copy: "/ginxsom.fcgi" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIzMDllOGE1MDk2YTk2YzhjZjJmYTAwMGVhZWNjZTYyMWM3ODkyMzgyMmZmZDNmNWEyNzY1OTgzYzlhZThhN2MxIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE1MzQsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJhMjdkZjlhNDI1YjQzY2EyOTJlYWY0ZTM3NzkyMjlkMTk1NWVhMmUyNWFlZGRlZjE5NjIzMjAwOGQ0YTI1YzVhIl0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTEzMyJdXSwiY29udGVudCI6IiIsInNpZyI6IjJlMDA1NDRlN2M3MThkMTM1MWVhZTU0NTNkZjBlYzc0YzUwZDllZjkyYjZiN2I2NTRhODQ0ZjliZGUwZTY3YjAzOTVhZTdjM2EwMzQ4ODIwZDNkNWU3NzY2NWE0NjM5ZTRiZTEzMmRmNTQwNGQ0NGIwYTYwMDI1YzgyNmMwNjZjIn0=" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756831533.txt"" +2025/09/02 12:45:34 [debug] 176727#176727: *5 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http cleanup add: 00005B3FE0BB3BA0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 get rr peer, try: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 stream socket 10 +2025/09/02 12:45:34 [debug] 176727#176727: *5 epoll add connection: fd:10 ev:80002005 +2025/09/02 12:45:34 [debug] 176727#176727: *5 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #6 +2025/09/02 12:45:34 [debug] 176727#176727: *5 connected +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream connect: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 posix_memalign: 00005B3FE0B86F20:128 @16 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream send request +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream send request body +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer buf fl:0 s:1304 +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer buf fl:0 s:184 +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer buf fl:0 s:8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer buf fl:0 s:112 +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer buf fl:0 s:8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer in: 00005B3FE0BB3C30 +2025/09/02 12:45:34 [debug] 176727#176727: *5 writev: 1616 of 1616 +2025/09/02 12:45:34 [debug] 176727#176727: *5 chain writer out: 0000000000000000 +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer add: 10: 60000:85294439 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http request count:2 blk:0 +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:6 ev:0004 d:0000786ADF2DF1E0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http run request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream check client, write event:1, "/upload" +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 malloc: 00005B3FE0BA8180:4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 560 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 21 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 33 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload +ENTRY: Entering handle_upload_request() function +DEBUG: handle_upload_request called +LOG: [2025-09-02 12:45:34] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIzMDllOGE1MDk2YTk2YzhjZjJmYTAwMGVhZWNjZTYyMWM3ODkyMzgyMmZmZDNmNWEyNzY1OTgzYzlhZThhN2MxIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" 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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0004 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 1104 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzE1MzQsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJhMjdkZjlhNDI1YjQzY2EyOTJlYWY0ZTM3NzkyMjlkMTk1NWVhMmUyNWFlZGRlZjE5NjIzMjAwOGQ0YTI1YzVhIl0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTEzMyJdXSwiY29udGVudCI6IiIsInNpZyI6IjJlMDA1NDRlN2M3MThkMTM1MWVhZTU0NTNkZjBlYzc0YzUwZDllZjkyYjZiN2I2NTRhODQ0ZjliZGUwZTY3YjAzOTVhZTdjM2EwMzQ4ODIwZDNkNWU3NzY2NWE0NjM5ZTRiZTEzMmRmNTQwNGQ0NGIwYTYwMDI1YzgyNmMwNjZjIn0= +LOG: [2025-09-02 12:45:34] 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 43 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 05 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 67 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: " a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a" 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a +═══════════════════════════════════════════════════════════════════ +🔍 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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 2560 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "d with method: upload, hash: a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIzMDllOGE1MDk2YTk2... +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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: " parse: {"kind":24242,"id":"309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756831534,"tags":[["t","upload"],["x","a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a"],["expiration","1756835133"]],"content":"","sig":"2e00544e7c718d1351eae5453df0ec74c50d9ef92b6b7b654a844f9bde0e67b0395ae7c3a0348820d3d5e77665a4639e4be132df5404d44b0a60025c826c066c"} +✅ 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756831534, + "tags": [["t", "upload"], ["x", "a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a"], ["expiration", "1756835133"]], + "content": "", + "sig": "2e00544e7c718d1351eae5453df0ec74c50d9ef92b6b7b654a844f9bde0e67b0395ae7c3a0348820d3d5e77665a4639e4be132df5" 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "404d44b0a60025c826c066c" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: 309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1 +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 2e00544e7c718d1351eae5453df0ec74c50d9ef92b6b7b654a844f9bde0e67b0395ae7c3a0348820d3d5e77665a4639e4be132df5404d44b0a60025c826c066c +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756831534 +🔍 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 512 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 4096 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: avail:512 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: '309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1' (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: '2e00544e7c718d1351eae5453df0ec74c50d9ef92b6b7b654a844f9bde0e" 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "67b0395ae7c3a0348820d3d5e77665a4639e4be132df5404d44b0a60025c826c066c' (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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756831534 +✅ SUCCESS: Timestamp is valid: 2025-09-02 16:45:34 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: " INFO: Tag[1][1]: 'a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756835133' +✅ 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( 30 9e 8a 50 96 a9 6c 8c f2 fa 00 0e ae cc e6 21 |0..P..l........!| + c7 89 23 82 2f fd 3f 5a 27 65 98 3c 9a e8 a7 c1 |..#./.?Z'e.<....| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: 309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1 +ℹ️ INFO: Provided ID: 309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1 +✅ 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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:512 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 3584 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 ( 2e 00 54 4e 7c 71 8d 13 51 ea e5 45 3d f0 ec 74 |..TN|q..Q..E=..t| + c5 0d 9e f9 2b 6b 7b 65 4a 84 4f 9b d" 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "e 0e 67 b0 |....+k{eJ.O...g.| + 39 5a e7 c3 a0 34 88 20 d3 d5 e7 76 65 a4 63 9e |9Z...4. ...ve.c.| + 4b e1 32 df 54 04 d4 4b 0a 60 02 5c 82 6c 06 6c |K.2.T..K.`.\.l.l| +🔍 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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: '309e8a5096a96c8cf2fa000eaecce621c78923822ffd3f5a2765983c9ae8a7c1' +ℹ️ 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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: 1756831534 +ℹ️ 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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '2e00544e7c718d1351eae5453df0ec74c50d9ef92b6b7b654a844f9bde0e67b0395ae7c3a0348820d3d5e77665a4639e4be132df5404d44b0a60025c826c066c' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a +DEBUG: Found expiration tag: 1756835133 +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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 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 eyJraW5kIjoyNDI0MiwiaWQiOiIzMDllOGE1MDk2YTk2... +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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756831533.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175683153 +DEBUG: Processing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756831533.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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 1024 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: "' +DEBUG: Final filename after extraction: test_blob_1756831533.txt +DEBUG: insert_blob_metadata() called for sha256='a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a' +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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: F8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 504 +2025/09/02 12:45:34 [error] 176727#176727: *5 FastCGI sent in stderr: " 1. sha256 = 'a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756831534 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756831533.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 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream dummy handler +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 59997 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:10 ev:2005 d:0000786ADF2DF2C8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream request: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process header +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:1, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:10 800 of 4096 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: BE +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 02 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 446 +2025/09/02 12:45:34 [error] 176727#176727: *5 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_1756831533.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 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 07 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 06 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 2D +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 03 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 301 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi parser: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi header: "Status: 200 OK" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi parser: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi header: "Content-Type: application/json" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi parser: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi header done +2025/09/02 12:45:34 [debug] 176727#176727: *5 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 16:45:34 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 12:45:34 [debug] 176727#176727: *5 write new buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http write filter: l:0 f:0 s:260 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http cacheable: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream process upstream +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe read upstream: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe preread: 278 +2025/09/02 12:45:34 [debug] 176727#176727: *5 readv: eof:1, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 readv: 1, last:3296 +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe recv chain: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe buf free s:0 t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 278 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe length: -1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 input buf #0 00005B3FE0BA838A +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 06 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi closed stdout +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 03 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 01 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 08 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record byte: 00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi record length: 8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http fastcgi sent end request +2025/09/02 12:45:34 [debug] 176727#176727: *5 input buf 00005B3FE0BA838A 251 +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe write downstream: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe write downstream flush in +2025/09/02 12:45:34 [debug] 176727#176727: *5 http output filter "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http copy filter: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http postpone filter "/upload?" 00005B3FE0BB3C00 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http chunk: 251 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write new buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write new buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http write filter: l:0 f:0 s:517 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http copy filter: 0 "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 pipe write downstream done +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer: 10, old: 85294439, new: 85294444 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream exit: 0000000000000000 +2025/09/02 12:45:34 [debug] 176727#176727: *5 finalize http upstream request: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 finalize http fastcgi request +2025/09/02 12:45:34 [debug] 176727#176727: *5 free rr peer 1 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 close http upstream connection: 10 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0B86F20, unused: 48 +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer del: 10: 85294439 +2025/09/02 12:45:34 [debug] 176727#176727: *5 reusable connection: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http upstream temp fd: -1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http output filter "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http copy filter: "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http postpone filter "/upload?" 00007FFEE9E68320 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http chunk: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write old buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write old buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write old buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E5, size: 5 file: 0, size: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http write filter: l:1 f:0 s:522 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http write filter limit 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 writev: 522 of 522 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http write filter 0000000000000000 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http copy filter: 0 "/upload?" +2025/09/02 12:45:34 [debug] 176727#176727: *5 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 set http keepalive handler +2025/09/02 12:45:34 [debug] 176727#176727: *5 http close request +2025/09/02 12:45:34 [debug] 176727#176727: *5 http log handler +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BA8180 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BBCA50, unused: 3 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BB2DC0, unused: 8 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BA7170, unused: 1170 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BA00A0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 hc free: 0000000000000000 +2025/09/02 12:45:34 [debug] 176727#176727: *5 hc busy: 0000000000000000 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 tcp_nodelay +2025/09/02 12:45:34 [debug] 176727#176727: *5 reusable connection: 1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer add: 6: 65000:85299444 +2025/09/02 12:45:34 [debug] 176727#176727: *5 post event 00005B3FE0BEE790 +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 2 +2025/09/02 12:45:34 [debug] 176727#176727: posted event 00005B3FE0BEE790 +2025/09/02 12:45:34 [debug] 176727#176727: *5 delete posted event 00005B3FE0BEE790 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http keepalive handler +2025/09/02 12:45:34 [debug] 176727#176727: *5 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:0, avail:0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BA00A0 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: 65000 +2025/09/02 12:45:34 [debug] 176727#176727: epoll: fd:6 ev:2005 d:0000786ADF2DF1E0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 http keepalive handler +2025/09/02 12:45:34 [debug] 176727#176727: *5 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: eof:1, avail:-1 +2025/09/02 12:45:34 [debug] 176727#176727: *5 recv: fd:6 0 of 1024 +2025/09/02 12:45:34 [info] 176727#176727: *5 client 127.0.0.1 closed keepalive connection +2025/09/02 12:45:34 [debug] 176727#176727: *5 close http connection: 6 +2025/09/02 12:45:34 [debug] 176727#176727: *5 event timer del: 6: 85299444 +2025/09/02 12:45:34 [debug] 176727#176727: *5 reusable connection: 0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0BA00A0 +2025/09/02 12:45:34 [debug] 176727#176727: *5 free: 00005B3FE0B9D840, unused: 120 +2025/09/02 12:45:34 [debug] 176727#176727: timer delta: 2 +2025/09/02 12:45:34 [debug] 176727#176727: worker cycle +2025/09/02 12:45:34 [debug] 176727#176727: epoll timer: -1 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:5 ev:0001 d:0000786ADF2DF010 +2025/09/02 12:45:42 [debug] 176727#176727: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 12:45:42 [debug] 176727#176727: posix_memalign: 00005B3FE0B9D840:512 @16 +2025/09/02 12:45:42 [debug] 176727#176727: *7 accept: 127.0.0.1:60794 fd:6 +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer add: 6: 60000:85303265 +2025/09/02 12:45:42 [debug] 176727#176727: *7 reusable connection: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 8819 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:6 ev:0001 d:0000786ADF2DF1E1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http wait request handler +2025/09/02 12:45:42 [debug] 176727#176727: *7 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:6 1024 of 1024 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: avail:112 +2025/09/02 12:45:42 [debug] 176727#176727: *7 reusable connection: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 posix_memalign: 00005B3FE0BBCA50:4096 @16 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http process request line +2025/09/02 12:45:42 [debug] 176727#176727: *7 http request line: "PUT /upload HTTP/1.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http uri: "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http args: "" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http exten: "" +2025/09/02 12:45:42 [debug] 176727#176727: *7 posix_memalign: 00005B3FE0BB2DC0:4096 @16 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http process request header line +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "Host: localhost:9001" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "User-Agent: curl/8.15.0" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "Accept: */*" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNzg2ZjgxMWRhMzZkNmQxNTU5ZTBiZGEzYmVlZDQ2ZTY4YjM1YThmNGZhN2QxMmZiOGQyMTg3YWQxMWRjZjkzIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE1NDIsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2MTk5M2FhNmEwOTY5YmNhNDMxNjQ2MTU1MDA5NWFkYmQyYjVlODJmNjkxZjUxNDQ1NGE4ZjQwODIxNzljN2MxIl0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTE0MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjNlY2YzZDIwOWI5MDgzMjNlOGI3ZGYwZjRkNjg4ZGFkNzE2M2YwOTkyZDFiNDBkZDMyMDRhNDhkNjZmMzMxOGY5YWUxMDBhOTJkOTNhYzJjNDk2M2Y4OTlhY2I1ZDQyNzIzZDVkNTA3MjdjYTAzNzVjMGJlM2Y1ZjM4NTk5ZmQzIn0=" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "Content-Type: text/plain" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "Content-Disposition: attachment; filename="test_blob_1756831542.txt"" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header: "Content-Length: 296" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http header done +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer del: 6: 85303265 +2025/09/02 12:45:42 [debug] 176727#176727: *7 generic phase: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 rewrite phase: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 test location: "/health" +2025/09/02 12:45:42 [debug] 176727#176727: *7 test location: "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 12:45:42 [debug] 176727#176727: *7 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 12:45:42 [debug] 176727#176727: *7 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 12:45:42 [debug] 176727#176727: *7 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:45:42 [debug] 176727#176727: *7 using configuration "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http cl:296 max:104857600 +2025/09/02 12:45:42 [debug] 176727#176727: *7 rewrite phase: 3 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "PUT" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script regex: "^(PUT)$" +2025/09/02 12:45:42 [notice] 176727#176727: *7 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script if +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script if: false +2025/09/02 12:45:42 [debug] 176727#176727: *7 post rewrite phase: 4 +2025/09/02 12:45:42 [debug] 176727#176727: *7 generic phase: 5 +2025/09/02 12:45:42 [debug] 176727#176727: *7 generic phase: 6 +2025/09/02 12:45:42 [debug] 176727#176727: *7 generic phase: 7 +2025/09/02 12:45:42 [debug] 176727#176727: *7 access phase: 8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 access phase: 9 +2025/09/02 12:45:42 [debug] 176727#176727: *7 access phase: 10 +2025/09/02 12:45:42 [debug] 176727#176727: *7 post access phase: 11 +2025/09/02 12:45:42 [debug] 176727#176727: *7 generic phase: 12 +2025/09/02 12:45:42 [debug] 176727#176727: *7 generic phase: 13 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http client request body preread 184 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http request body content length filter +2025/09/02 12:45:42 [debug] 176727#176727: *7 http body new buf t:1 f:0 00005B3FE0BA03E8, pos 00005B3FE0BA03E8, size: 184 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http read client request body +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:112 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:6 112 of 112 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http client request body recv 112 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http body new buf t:1 f:0 00005B3FE0BB3850, pos 00005B3FE0BB3850, size: 112 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http client request body rest 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http init upstream, client timer: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 12:45:42 [debug] 176727#176727: *7 posix_memalign: 00005B3FE0BA7170:4096 @16 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "QUERY_STRING" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "QUERY_STRING: " +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "REQUEST_METHOD" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "PUT" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "CONTENT_TYPE" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "text/plain" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "CONTENT_LENGTH" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "296" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SCRIPT_NAME" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "REQUEST_URI" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "DOCUMENT_URI" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "DOCUMENT_ROOT" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "./blobs" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SERVER_PROTOCOL" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "HTTP/1.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "REQUEST_SCHEME" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "http" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "GATEWAY_INTERFACE" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "CGI/1.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SERVER_SOFTWARE" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "nginx/" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "1.18.0" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "REMOTE_ADDR" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "127.0.0.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "REMOTE_PORT" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "60794" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "REMOTE_PORT: 60794" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SERVER_ADDR" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "127.0.0.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SERVER_PORT" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "9001" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SERVER_NAME" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "localhost" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "REDIRECT_STATUS" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "200" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "SCRIPT_FILENAME" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script var: "./blobs" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http script copy: "/ginxsom.fcgi" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNzg2ZjgxMWRhMzZkNmQxNTU5ZTBiZGEzYmVlZDQ2ZTY4YjM1YThmNGZhN2QxMmZiOGQyMTg3YWQxMWRjZjkzIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE1NDIsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2MTk5M2FhNmEwOTY5YmNhNDMxNjQ2MTU1MDA5NWFkYmQyYjVlODJmNjkxZjUxNDQ1NGE4ZjQwODIxNzljN2MxIl0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTE0MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjNlY2YzZDIwOWI5MDgzMjNlOGI3ZGYwZjRkNjg4ZGFkNzE2M2YwOTkyZDFiNDBkZDMyMDRhNDhkNjZmMzMxOGY5YWUxMDBhOTJkOTNhYzJjNDk2M2Y4OTlhY2I1ZDQyNzIzZDVkNTA3MjdjYTAzNzVjMGJlM2Y1ZjM4NTk5ZmQzIn0=" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756831542.txt"" +2025/09/02 12:45:42 [debug] 176727#176727: *7 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http cleanup add: 00005B3FE0BB3BA0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 get rr peer, try: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 stream socket 10 +2025/09/02 12:45:42 [debug] 176727#176727: *7 epoll add connection: fd:10 ev:80002005 +2025/09/02 12:45:42 [debug] 176727#176727: *7 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 connected +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream connect: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 posix_memalign: 00005B3FE0B86F20:128 @16 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream send request +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream send request body +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer buf fl:0 s:1304 +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer buf fl:0 s:184 +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer buf fl:0 s:8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer buf fl:0 s:112 +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer buf fl:0 s:8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer in: 00005B3FE0BB3C30 +2025/09/02 12:45:42 [debug] 176727#176727: *7 writev: 1616 of 1616 +2025/09/02 12:45:42 [debug] 176727#176727: *7 chain writer out: 0000000000000000 +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer add: 10: 60000:85303265 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http request count:2 blk:0 +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:6 ev:0004 d:0000786ADF2DF1E1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http run request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream check client, write event:1, "/upload" +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream process header +2025/09/02 12:45:42 [debug] 176727#176727: *7 malloc: 00005B3FE0BA8180:4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:10 560 of 4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 21 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 33 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload +ENTRY: Entering handle_upload_request() function +DEBUG: handle_upload_request called +LOG: [2025-09-02 12:45:42] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNzg2ZjgxMWRhMzZkNmQxNTU5ZTBiZGEzYmVlZDQ2ZTY4YjM1YThmNGZhN2QxMmZiOGQyMTg3YWQxMWRjZjkzIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" 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 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream dummy handler +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream process header +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:10 3664 of 4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzE1NDIsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2MTk5M2FhNmEwOTY5YmNhNDMxNjQ2MTU1MDA5NWFkYmQyYjVlODJmNjkxZjUxNDQ1NGE4ZjQwODIxNzljN2MxIl0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTE0MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjNlY2YzZDIwOWI5MDgzMjNlOGI3ZGYwZjRkNjg4ZGFkNzE2M2YwOTkyZDFiNDBkZDMyMDRhNDhkNjZmMzMxOGY5YWUxMDBhOTJkOTNhYzJjNDk2M2Y4OTlhY2I1ZDQyNzIzZDVkNTA3MjdjYTAzNzVjMGJlM2Y1ZjM4NTk5ZmQzIn0= +LOG: [2025-09-02 12:45:42] 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 43 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 05 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 67 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: " 61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1" 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1 +═══════════════════════════════════════════════════════════════════ +🔍 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "d with method: upload, hash: 61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1 +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNzg2ZjgxMWRhMzZk... +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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: " parse: {"kind":24242,"id":"e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756831542,"tags":[["t","upload"],["x","61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1"],["expiration","1756835142"]],"content":"","sig":"3ecf3d209b908323e8b7df0f4d688dad7163f0992d1b40dd3204a48d66f3318f9ae100a92d93ac2c4963f899acb5d42723d5d50727ca0375c0be3f5f38599fd3"} +✅ 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756831542, + "tags": [["t", "upload"], ["x", "61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1"], ["expiration", "1756835142"]], + "content": "", + "sig": "3ecf3d209b908323e8b7df0f4d688dad7163f0992d1b40dd3204a48d66f3318f9ae100a92d93ac2c4963f899acb5d42723d5d5072" 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "7ca0375c0be3f5f38599fd3" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93 +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 3ecf3d209b908323e8b7df0f4d688dad7163f0992d1b40dd3204a48d66f3318f9ae100a92d93ac2c4963f899acb5d42723d5d50727ca0375c0be3f5f38599fd3 +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756831542 +🔍 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream dummy handler +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream process header +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:10 4096 of 4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: avail:4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: 'e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93' (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: '3ecf3d209b908323e8b7df0f4d688dad7163f0992d1b40dd3204a48d66f3" 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "318f9ae100a92d93ac2c4963f899acb5d42723d5d50727ca0375c0be3f5f38599fd3' (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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756831542 +✅ SUCCESS: Timestamp is valid: 2025-09-02 16:45:42 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: " INFO: Tag[1][1]: '61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756835142' +✅ 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:10 4096 of 4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( e7 86 f8 11 da 36 d6 d1 55 9e 0b da 3b ee d4 6e |.....6..U...;..n| + 68 b3 5a 8f 4f a7 d1 2f b8 d2 18 7a d1 1d cf 93 |h.Z.O../...z....| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93 +ℹ️ INFO: Provided ID: e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93 +✅ 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 ( 3e cf 3d 20 9b 90 83 23 e8 b7 df 0f 4d 68 8d ad |>.= ...#....Mh..| + 71 63 f0 99 2d 1b 40 dd 32 04 a4 8d 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "6 f3 31 8f |qc..-.@.2...f.1.| + 9a e1 00 a9 2d 93 ac 2c 49 63 f8 99 ac b5 d4 27 |....-..,Ic.....'| + 23 d5 d5 07 27 ca 03 75 c0 be 3f 5f 38 59 9f d3 |#...'..u..?_8Y..| +🔍 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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: 'e786f811da36d6d1559e0bda3beed46e68b35a8f4fa7d12fb8d2187ad11dcf93' +ℹ️ 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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: 1756831542 +ℹ️ 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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '3ecf3d209b908323e8b7df0f4d688dad7163f0992d1b40dd3204a48d66f3318f9ae100a92d93ac2c4963f899acb5d42723d5d50727ca0375c0be3f5f38599fd3' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: 61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1 +DEBUG: Found expiration tag: 1756835142 +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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 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 eyJraW5kIjoyNDI0MiwiaWQiOiJlNzg2ZjgxMWRhMzZk... +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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756831542.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175683154 +DEBUG: Processing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756831542.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 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream dummy handler +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream process header +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:10 1024 of 4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: "' +DEBUG: Final filename after extraction: test_blob_1756831542.txt +DEBUG: insert_blob_metadata() called for sha256='61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1' +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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: F8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 504 +2025/09/02 12:45:42 [error] 176727#176727: *7 FastCGI sent in stderr: " 1. sha256 = '61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756831542 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756831542.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 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream dummy handler +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 2 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 59996 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:10 ev:2005 d:0000786ADF2DF2C9 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream request: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream process header +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:1, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:10 800 of 4096 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: BE +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 02 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 446 +2025/09/02 12:45:42 [error] 176727#176727: *7 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_1756831542.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 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 07 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 06 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 2D +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 03 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 301 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi parser: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi header: "Status: 200 OK" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi parser: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi header: "Content-Type: application/json" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi parser: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi header done +2025/09/02 12:45:42 [debug] 176727#176727: *7 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 16:45:42 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 12:45:42 [debug] 176727#176727: *7 write new buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http write filter: l:0 f:0 s:260 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http cacheable: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream process upstream +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe read upstream: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe preread: 278 +2025/09/02 12:45:42 [debug] 176727#176727: *7 readv: eof:1, avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 readv: 1, last:3296 +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe recv chain: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe buf free s:0 t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 278 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe length: -1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 input buf #0 00005B3FE0BA838A +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 06 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi closed stdout +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 03 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 01 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 08 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record byte: 00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi record length: 8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http fastcgi sent end request +2025/09/02 12:45:42 [debug] 176727#176727: *7 input buf 00005B3FE0BA838A 251 +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe write downstream: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe write downstream flush in +2025/09/02 12:45:42 [debug] 176727#176727: *7 http output filter "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http copy filter: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http postpone filter "/upload?" 00005B3FE0BB3C00 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http chunk: 251 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write new buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write new buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http write filter: l:0 f:0 s:517 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http copy filter: 0 "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 pipe write downstream done +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer: 10, old: 85303265, new: 85303271 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream exit: 0000000000000000 +2025/09/02 12:45:42 [debug] 176727#176727: *7 finalize http upstream request: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 finalize http fastcgi request +2025/09/02 12:45:42 [debug] 176727#176727: *7 free rr peer 1 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 close http upstream connection: 10 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0B86F20, unused: 48 +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer del: 10: 85303265 +2025/09/02 12:45:42 [debug] 176727#176727: *7 reusable connection: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http upstream temp fd: -1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http output filter "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http copy filter: "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http postpone filter "/upload?" 00007FFEE9E68320 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http chunk: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write old buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write old buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write old buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E5, size: 5 file: 0, size: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http write filter: l:1 f:0 s:522 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http write filter limit 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 writev: 522 of 522 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http write filter 0000000000000000 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http copy filter: 0 "/upload?" +2025/09/02 12:45:42 [debug] 176727#176727: *7 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 set http keepalive handler +2025/09/02 12:45:42 [debug] 176727#176727: *7 http close request +2025/09/02 12:45:42 [debug] 176727#176727: *7 http log handler +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BA8180 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BBCA50, unused: 3 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BB2DC0, unused: 8 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BA7170, unused: 1170 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BA00A0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 hc free: 0000000000000000 +2025/09/02 12:45:42 [debug] 176727#176727: *7 hc busy: 0000000000000000 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 tcp_nodelay +2025/09/02 12:45:42 [debug] 176727#176727: *7 reusable connection: 1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer add: 6: 65000:85308271 +2025/09/02 12:45:42 [debug] 176727#176727: *7 post event 00005B3FE0BEE790 +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 2 +2025/09/02 12:45:42 [debug] 176727#176727: posted event 00005B3FE0BEE790 +2025/09/02 12:45:42 [debug] 176727#176727: *7 delete posted event 00005B3FE0BEE790 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http keepalive handler +2025/09/02 12:45:42 [debug] 176727#176727: *7 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:0, avail:0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BA00A0 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: 65000 +2025/09/02 12:45:42 [debug] 176727#176727: epoll: fd:6 ev:2005 d:0000786ADF2DF1E1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 http keepalive handler +2025/09/02 12:45:42 [debug] 176727#176727: *7 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: eof:1, avail:-1 +2025/09/02 12:45:42 [debug] 176727#176727: *7 recv: fd:6 0 of 1024 +2025/09/02 12:45:42 [info] 176727#176727: *7 client 127.0.0.1 closed keepalive connection +2025/09/02 12:45:42 [debug] 176727#176727: *7 close http connection: 6 +2025/09/02 12:45:42 [debug] 176727#176727: *7 event timer del: 6: 85308271 +2025/09/02 12:45:42 [debug] 176727#176727: *7 reusable connection: 0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0BA00A0 +2025/09/02 12:45:42 [debug] 176727#176727: *7 free: 00005B3FE0B9D840, unused: 120 +2025/09/02 12:45:42 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:45:42 [debug] 176727#176727: worker cycle +2025/09/02 12:45:42 [debug] 176727#176727: epoll timer: -1 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:5 ev:0001 d:0000786ADF2DF010 +2025/09/02 12:46:50 [debug] 176727#176727: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 12:46:50 [debug] 176727#176727: posix_memalign: 00005B3FE0B9D840:512 @16 +2025/09/02 12:46:50 [debug] 176727#176727: *9 accept: 127.0.0.1:48860 fd:6 +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer add: 6: 60000:85371075 +2025/09/02 12:46:50 [debug] 176727#176727: *9 reusable connection: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 67803 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:6 ev:0001 d:0000786ADF2DF1E0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http wait request handler +2025/09/02 12:46:50 [debug] 176727#176727: *9 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:6 1024 of 1024 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: avail:112 +2025/09/02 12:46:50 [debug] 176727#176727: *9 reusable connection: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 posix_memalign: 00005B3FE0BBCA50:4096 @16 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http process request line +2025/09/02 12:46:50 [debug] 176727#176727: *9 http request line: "PUT /upload HTTP/1.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http uri: "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http args: "" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http exten: "" +2025/09/02 12:46:50 [debug] 176727#176727: *9 posix_memalign: 00005B3FE0BB2DC0:4096 @16 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http process request header line +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "Host: localhost:9001" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "User-Agent: curl/8.15.0" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "Accept: */*" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjZjNkOGU0NzgwY2JiNGEzMzZkYjZjNzZkODdjZjFmMmYzYWMyZGRmZTM2YmRhZGMyOTc4ZWY1MWVhNzIyMDgwIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE2MTAsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI4ZjY4MTc1YTcxZjFhMzhlNzBlMGRhYzFiNDU5NzM1MTA5NzNmZDcxM2EzN2ExMGU5YjRkMDRiMTU1OGE3OTk5Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTIxMCJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyZTc0ZGUzMDE5NGZkZWUyMGVjMTBhOGFlNzkxM2NlOTI0ODgzMWE0ZWI2Yjc1ZjRlMjczZDc3MmU3YTE3ZGM2ZTE1M2Y4MzY5YjlkOWEyMWRlYzY2Y2FkNGIyMDVkNWZmZTg4ODhhMTQyOTI5MGE5MmU1MjRhMTJhYTJkNWQwIn0=" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "Content-Type: text/plain" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "Content-Disposition: attachment; filename="test_blob_1756831610.txt"" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header: "Content-Length: 296" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http header done +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer del: 6: 85371075 +2025/09/02 12:46:50 [debug] 176727#176727: *9 generic phase: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 rewrite phase: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 test location: "/health" +2025/09/02 12:46:50 [debug] 176727#176727: *9 test location: "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 12:46:50 [debug] 176727#176727: *9 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 12:46:50 [debug] 176727#176727: *9 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 12:46:50 [debug] 176727#176727: *9 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:46:50 [debug] 176727#176727: *9 using configuration "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http cl:296 max:104857600 +2025/09/02 12:46:50 [debug] 176727#176727: *9 rewrite phase: 3 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "PUT" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script regex: "^(PUT)$" +2025/09/02 12:46:50 [notice] 176727#176727: *9 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script if +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script if: false +2025/09/02 12:46:50 [debug] 176727#176727: *9 post rewrite phase: 4 +2025/09/02 12:46:50 [debug] 176727#176727: *9 generic phase: 5 +2025/09/02 12:46:50 [debug] 176727#176727: *9 generic phase: 6 +2025/09/02 12:46:50 [debug] 176727#176727: *9 generic phase: 7 +2025/09/02 12:46:50 [debug] 176727#176727: *9 access phase: 8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 access phase: 9 +2025/09/02 12:46:50 [debug] 176727#176727: *9 access phase: 10 +2025/09/02 12:46:50 [debug] 176727#176727: *9 post access phase: 11 +2025/09/02 12:46:50 [debug] 176727#176727: *9 generic phase: 12 +2025/09/02 12:46:50 [debug] 176727#176727: *9 generic phase: 13 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http client request body preread 184 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http request body content length filter +2025/09/02 12:46:50 [debug] 176727#176727: *9 http body new buf t:1 f:0 00005B3FE0BA03E8, pos 00005B3FE0BA03E8, size: 184 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http read client request body +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:112 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:6 112 of 112 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http client request body recv 112 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http body new buf t:1 f:0 00005B3FE0BB3850, pos 00005B3FE0BB3850, size: 112 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http client request body rest 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http init upstream, client timer: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 12:46:50 [debug] 176727#176727: *9 posix_memalign: 00005B3FE0BA7170:4096 @16 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "QUERY_STRING" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "QUERY_STRING: " +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "REQUEST_METHOD" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "PUT" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "CONTENT_TYPE" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "text/plain" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "CONTENT_LENGTH" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "296" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "CONTENT_LENGTH: 296" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SCRIPT_NAME" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "REQUEST_URI" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "DOCUMENT_URI" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "DOCUMENT_ROOT" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "./blobs" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SERVER_PROTOCOL" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "HTTP/1.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "REQUEST_SCHEME" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "http" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "GATEWAY_INTERFACE" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "CGI/1.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SERVER_SOFTWARE" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "nginx/" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "1.18.0" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "REMOTE_ADDR" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "127.0.0.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "REMOTE_PORT" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "48860" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "REMOTE_PORT: 48860" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SERVER_ADDR" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "127.0.0.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SERVER_PORT" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "9001" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SERVER_NAME" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "localhost" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "REDIRECT_STATUS" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "200" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "SCRIPT_FILENAME" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script var: "./blobs" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http script copy: "/ginxsom.fcgi" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjZjNkOGU0NzgwY2JiNGEzMzZkYjZjNzZkODdjZjFmMmYzYWMyZGRmZTM2YmRhZGMyOTc4ZWY1MWVhNzIyMDgwIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzE2MTAsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI4ZjY4MTc1YTcxZjFhMzhlNzBlMGRhYzFiNDU5NzM1MTA5NzNmZDcxM2EzN2ExMGU5YjRkMDRiMTU1OGE3OTk5Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTIxMCJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyZTc0ZGUzMDE5NGZkZWUyMGVjMTBhOGFlNzkxM2NlOTI0ODgzMWE0ZWI2Yjc1ZjRlMjczZDc3MmU3YTE3ZGM2ZTE1M2Y4MzY5YjlkOWEyMWRlYzY2Y2FkNGIyMDVkNWZmZTg4ODhhMTQyOTI5MGE5MmU1MjRhMTJhYTJkNWQwIn0=" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756831610.txt"" +2025/09/02 12:46:50 [debug] 176727#176727: *9 fastcgi param: "HTTP_CONTENT_LENGTH: 296" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http cleanup add: 00005B3FE0BB3BA0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 get rr peer, try: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 stream socket 10 +2025/09/02 12:46:50 [debug] 176727#176727: *9 epoll add connection: fd:10 ev:80002005 +2025/09/02 12:46:50 [debug] 176727#176727: *9 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #10 +2025/09/02 12:46:50 [debug] 176727#176727: *9 connected +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream connect: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 posix_memalign: 00005B3FE0B86F20:128 @16 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream send request +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream send request body +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer buf fl:0 s:1304 +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer buf fl:0 s:184 +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer buf fl:0 s:8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer buf fl:0 s:112 +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer buf fl:0 s:8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer in: 00005B3FE0BB3C30 +2025/09/02 12:46:50 [debug] 176727#176727: *9 writev: 1616 of 1616 +2025/09/02 12:46:50 [debug] 176727#176727: *9 chain writer out: 0000000000000000 +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer add: 10: 60000:85371076 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http request count:2 blk:0 +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:6 ev:0004 d:0000786ADF2DF1E0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http run request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream check client, write event:1, "/upload" +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream process header +2025/09/02 12:46:50 [debug] 176727#176727: *9 malloc: 00005B3FE0BA8180:4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:10 560 of 4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 21 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 33 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload +ENTRY: Entering handle_upload_request() function +DEBUG: handle_upload_request called +LOG: [2025-09-02 12:46:50] PUT /upload - Auth: pending - Status: 0 +DEBUG: content_type=text/plain +DEBUG: content_length=296 +DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjZjNkOGU0NzgwY2JiNGEzMzZkYjZjNzZkODdjZjFmMmYzYWMyZGRmZTM2YmRhZGMyOTc4ZWY1MWVhNzIyMDgwIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" 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 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream dummy handler +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream process header +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:10 3664 of 4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzE2MTAsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI4ZjY4MTc1YTcxZjFhMzhlNzBlMGRhYzFiNDU5NzM1MTA5NzNmZDcxM2EzN2ExMGU5YjRkMDRiMTU1OGE3OTk5Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzNTIxMCJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyZTc0ZGUzMDE5NGZkZWUyMGVjMTBhOGFlNzkxM2NlOTI0ODgzMWE0ZWI2Yjc1ZjRlMjczZDc3MmU3YTE3ZGM2ZTE1M2Y4MzY5YjlkOWEyMWRlYzY2Y2FkNGIyMDVkNWZmZTg4ODhhMTQyOTI5MGE5MmU1MjRhMTJhYTJkNWQwIn0= +LOG: [2025-09-02 12:46:50] 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 43 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 05 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 67 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: " 8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999" 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999 +═══════════════════════════════════════════════════════════════════ +🔍 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "d with method: upload, hash: 8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999 +🔍 STEP SERVER-2: Calling parse_authorization_header +DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjZjNkOGU0NzgwY2Ji... +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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: " parse: {"kind":24242,"id":"cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756831610,"tags":[["t","upload"],["x","8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999"],["expiration","1756835210"]],"content":"","sig":"72e74de30194fdee20ec10a8ae7913ce9248831a4eb6b75f4e273d772e7a17dc6e153f8369b9d9a21dec66cad4b205d5ffe8888a1429290a92e524a12aa2d5d0"} +✅ 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: ", event parsed +ℹ️ INFO: Parsed JSON: { + "kind": 24242, + "id": "cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756831610, + "tags": [["t", "upload"], ["x", "8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999"], ["expiration", "1756835210"]], + "content": "", + "sig": "72e74de30194fdee20ec10a8ae7913ce9248831a4eb6b75f4e273d772e7a17dc6e153f8369b9d9a21dec66cad4b205d5ffe8888a1" 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "429290a92e524a12aa2d5d0" +} +🔍 STEP SERVER-4: Event fields before validation +ℹ️ INFO: id: cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080 +ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹ️ INFO: sig: 72e74de30194fdee20ec10a8ae7913ce9248831a4eb6b75f4e273d772e7a17dc6e153f8369b9d9a21dec66cad4b205d5ffe8888a1429290a92e524a12aa2d5d0 +ℹ️ INFO: kind: 24242 +ℹ️ INFO: created_at: 1756831610 +🔍 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream dummy handler +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 59999 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream process header +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:10 4096 of 4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: avail:1024 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "' is string +✅ SUCCESS: Field 'sig' is string +🔍 STEP STRUCT-4: Validating hex string lengths +ℹ️ INFO: ID string: 'cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080' (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: '72e74de30194fdee20ec10a8ae7913ce9248831a4eb6b75f4e273d772e7a" 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "17dc6e153f8369b9d9a21dec66cad4b205d5ffe8888a1429290a92e524a12aa2d5d0' (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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp +ℹ️ INFO: Created_at timestamp: 1756831610 +✅ SUCCESS: Timestamp is valid: 2025-09-02 16:46:50 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: " INFO: Tag[1][1]: '8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999' +ℹ️ INFO: Tag[2] has 2 elements +ℹ️ INFO: Tag[2][0]: 'expiration' +ℹ️ INFO: Tag[2][1]: '1756835210' +✅ 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:1024 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:10 4096 of 4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash +✅ SUCCESS: SHA256 hash computed +ℹ️ INFO: Event hash ( cf 3d 8e 47 80 cb b4 a3 36 db 6c 76 d8 7c f1 f2 |.=.G....6.lv.|..| + f3 ac 2d df e3 6b da dc 29 78 ef 51 ea 72 20 80 |..-..k..)x.Q.r .| +🔍 STEP CRYPTO-5: Verifying event ID +ℹ️ INFO: Calculated ID: cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080 +ℹ️ INFO: Provided ID: cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080 +✅ 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 e7 4d e3 01 94 fd ee 20 ec 10 a8 ae 79 13 ce |r.M..... ....y..| + 92 48 83 1a 4e b6 b7 5f 4e 27 3d 77 2" 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "e 7a 17 dc |.H..N.._N'=w.z..| + 6e 15 3f 83 69 b9 d9 a2 1d ec 66 ca d4 b2 05 d5 |n.?.i.....f.....| + ff e8 88 8a 14 29 29 0a 92 e5 24 a1 2a a2 d5 d0 |.....))...$.*...| +🔍 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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: 'cf3d8e4780cbb4a336db6c76d87cf1f2f3ac2ddfe36bdadc2978ef51ea722080' +ℹ️ 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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: 1756831610 +ℹ️ 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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: " INFO: Type: String +ℹ️ INFO: Value: '72e74de30194fdee20ec10a8ae7913ce9248831a4eb6b75f4e273d772e7a17dc6e153f8369b9d9a21dec66cad4b205d5ffe8888a1429290a92e524a12aa2d5d0' +ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements +DEBUG: Validating Blossom event +DEBUG: Found matching method tag: upload +DEBUG: Found matching hash tag: 8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999 +DEBUG: Found expiration tag: 1756835210 +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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 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 eyJraW5kIjoyNDI0MiwiaWQiOiJjZjNkOGU0NzgwY2Ji... +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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "815b16f81798 +DEBUG: Saving file to: blobs/8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999.txt +DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756831610.txt" +DEBUG: Looking for filename= in Content-Disposition header +DEBUG: Found filename= at position 12 +DEBUG: Filename value starts with: "test_blob_175683161 +DEBUG: Processing quoted filename +DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756831610.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 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream dummy handler +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 59998 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream process header +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:10 1024 of 4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: "' +DEBUG: Final filename after extraction: test_blob_1756831610.txt +DEBUG: insert_blob_metadata() called for sha256='8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999' +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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: F8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 504 +2025/09/02 12:46:50 [error] 176727#176727: *9 FastCGI sent in stderr: " 1. sha256 = '8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999' +DEBUG: 2. size = 296 +DEBUG: 3. type = 'text/plain' +DEBUG: 4. uploaded_at = 1756831610 +DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DEBUG: 6. filename = 'test_blob_1756831610.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 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream dummy handler +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 59997 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:10 ev:2005 d:0000786ADF2DF2C8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream request: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream process header +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:1, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:10 800 of 4096 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: BE +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 02 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 446 +2025/09/02 12:46:50 [error] 176727#176727: *9 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_1756831610.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 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 07 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 06 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 2D +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 03 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 301 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi parser: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi header: "Status: 200 OK" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi parser: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi header: "Content-Type: application/json" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi parser: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi header done +2025/09/02 12:46:50 [debug] 176727#176727: *9 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 16:46:50 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 12:46:50 [debug] 176727#176727: *9 write new buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http write filter: l:0 f:0 s:260 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http cacheable: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream process upstream +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe read upstream: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe preread: 278 +2025/09/02 12:46:50 [debug] 176727#176727: *9 readv: eof:1, avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 readv: 1, last:3296 +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe recv chain: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe buf free s:0 t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 278 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe length: -1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 input buf #0 00005B3FE0BA838A +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 06 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi closed stdout +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 03 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 01 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 08 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record byte: 00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi record length: 8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http fastcgi sent end request +2025/09/02 12:46:50 [debug] 176727#176727: *9 input buf 00005B3FE0BA838A 251 +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe write downstream: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe write downstream flush in +2025/09/02 12:46:50 [debug] 176727#176727: *9 http output filter "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http copy filter: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http postpone filter "/upload?" 00005B3FE0BB3C00 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http chunk: 251 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write new buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write new buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http write filter: l:0 f:0 s:517 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http copy filter: 0 "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 pipe write downstream done +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer: 10, old: 85371076, new: 85371082 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream exit: 0000000000000000 +2025/09/02 12:46:50 [debug] 176727#176727: *9 finalize http upstream request: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 finalize http fastcgi request +2025/09/02 12:46:50 [debug] 176727#176727: *9 free rr peer 1 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 close http upstream connection: 10 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0B86F20, unused: 48 +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer del: 10: 85371076 +2025/09/02 12:46:50 [debug] 176727#176727: *9 reusable connection: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http upstream temp fd: -1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http output filter "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http copy filter: "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http postpone filter "/upload?" 00007FFEE9E68320 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http chunk: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write old buf t:1 f:0 00005B3FE0BA7828, pos 00005B3FE0BA7828, size: 260 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write old buf t:1 f:0 00005B3FE0BB3D90, pos 00005B3FE0BB3D90, size: 4 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write old buf t:1 f:0 00005B3FE0BA8180, pos 00005B3FE0BA838A, size: 251 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write old buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E5, size: 5 file: 0, size: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http write filter: l:1 f:0 s:522 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http write filter limit 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 writev: 522 of 522 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http write filter 0000000000000000 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http copy filter: 0 "/upload?" +2025/09/02 12:46:50 [debug] 176727#176727: *9 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 set http keepalive handler +2025/09/02 12:46:50 [debug] 176727#176727: *9 http close request +2025/09/02 12:46:50 [debug] 176727#176727: *9 http log handler +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BA8180 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BBCA50, unused: 3 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BB2DC0, unused: 8 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BA7170, unused: 1170 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BA00A0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 hc free: 0000000000000000 +2025/09/02 12:46:50 [debug] 176727#176727: *9 hc busy: 0000000000000000 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 tcp_nodelay +2025/09/02 12:46:50 [debug] 176727#176727: *9 reusable connection: 1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer add: 6: 65000:85376082 +2025/09/02 12:46:50 [debug] 176727#176727: *9 post event 00005B3FE0BEE790 +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 3 +2025/09/02 12:46:50 [debug] 176727#176727: posted event 00005B3FE0BEE790 +2025/09/02 12:46:50 [debug] 176727#176727: *9 delete posted event 00005B3FE0BEE790 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http keepalive handler +2025/09/02 12:46:50 [debug] 176727#176727: *9 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:0, avail:0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BA00A0 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: 65000 +2025/09/02 12:46:50 [debug] 176727#176727: epoll: fd:6 ev:2005 d:0000786ADF2DF1E0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 http keepalive handler +2025/09/02 12:46:50 [debug] 176727#176727: *9 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: eof:1, avail:-1 +2025/09/02 12:46:50 [debug] 176727#176727: *9 recv: fd:6 0 of 1024 +2025/09/02 12:46:50 [info] 176727#176727: *9 client 127.0.0.1 closed keepalive connection +2025/09/02 12:46:50 [debug] 176727#176727: *9 close http connection: 6 +2025/09/02 12:46:50 [debug] 176727#176727: *9 event timer del: 6: 85376082 +2025/09/02 12:46:50 [debug] 176727#176727: *9 reusable connection: 0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0BA00A0 +2025/09/02 12:46:50 [debug] 176727#176727: *9 free: 00005B3FE0B9D840, unused: 120 +2025/09/02 12:46:50 [debug] 176727#176727: timer delta: 1 +2025/09/02 12:46:50 [debug] 176727#176727: worker cycle +2025/09/02 12:46:50 [debug] 176727#176727: epoll timer: -1 +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:5 ev:0001 d:0000786ADF2DF010 +2025/09/02 12:49:20 [debug] 176727#176727: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 12:49:20 [debug] 176727#176727: posix_memalign: 00005B3FE0B9D840:512 @16 +2025/09/02 12:49:20 [debug] 176727#176727: *11 accept: 127.0.0.1:33774 fd:6 +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer add: 6: 60000:85520496 +2025/09/02 12:49:20 [debug] 176727#176727: *11 reusable connection: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 12:49:20 [debug] 176727#176727: timer delta: 149413 +2025/09/02 12:49:20 [debug] 176727#176727: worker cycle +2025/09/02 12:49:20 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:6 ev:0001 d:0000786ADF2DF1E1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http wait request handler +2025/09/02 12:49:20 [debug] 176727#176727: *11 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: eof:0, avail:-1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: fd:6 147 of 1024 +2025/09/02 12:49:20 [debug] 176727#176727: *11 reusable connection: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 posix_memalign: 00005B3FE0BBCA50:4096 @16 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http process request line +2025/09/02 12:49:20 [debug] 176727#176727: *11 http request line: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http uri: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http args: "" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http exten: "" +2025/09/02 12:49:20 [debug] 176727#176727: *11 posix_memalign: 00005B3FE0BB2DC0:4096 @16 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http process request header line +2025/09/02 12:49:20 [debug] 176727#176727: *11 http header: "Host: localhost:9001" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http header: "User-Agent: curl/8.15.0" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http header: "Accept: */*" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http header done +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer del: 6: 85520496 +2025/09/02 12:49:20 [debug] 176727#176727: *11 generic phase: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 rewrite phase: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 test location: "/health" +2025/09/02 12:49:20 [debug] 176727#176727: *11 test location: "/upload" +2025/09/02 12:49:20 [debug] 176727#176727: *11 test location: ~ "^/([a-f0-9]{64}).*$" +2025/09/02 12:49:20 [debug] 176727#176727: *11 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 12:49:20 [debug] 176727#176727: *11 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 12:49:20 [debug] 176727#176727: *11 test location: ~ "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:49:20 [debug] 176727#176727: *11 using configuration "^/list/([a-f0-9]{64}).*$" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http cl:-1 max:104857600 +2025/09/02 12:49:20 [debug] 176727#176727: *11 rewrite phase: 3 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "GET" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script regex: "^(GET)$" +2025/09/02 12:49:20 [notice] 176727#176727: *11 "^(GET)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", host: "localhost:9001" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script if +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script if: false +2025/09/02 12:49:20 [debug] 176727#176727: *11 post rewrite phase: 4 +2025/09/02 12:49:20 [debug] 176727#176727: *11 generic phase: 5 +2025/09/02 12:49:20 [debug] 176727#176727: *11 generic phase: 6 +2025/09/02 12:49:20 [debug] 176727#176727: *11 generic phase: 7 +2025/09/02 12:49:20 [debug] 176727#176727: *11 access phase: 8 +2025/09/02 12:49:20 [debug] 176727#176727: *11 access phase: 9 +2025/09/02 12:49:20 [debug] 176727#176727: *11 access phase: 10 +2025/09/02 12:49:20 [debug] 176727#176727: *11 post access phase: 11 +2025/09/02 12:49:20 [debug] 176727#176727: *11 generic phase: 12 +2025/09/02 12:49:20 [debug] 176727#176727: *11 generic phase: 13 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http init upstream, client timer: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "QUERY_STRING" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "QUERY_STRING: " +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "REQUEST_METHOD" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "GET" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "REQUEST_METHOD: GET" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "CONTENT_TYPE" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "CONTENT_TYPE: " +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "CONTENT_LENGTH" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SCRIPT_NAME" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SCRIPT_NAME: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "REQUEST_URI" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "REQUEST_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "DOCUMENT_URI" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "DOCUMENT_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "DOCUMENT_ROOT" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "./blobs" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SERVER_PROTOCOL" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "HTTP/1.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "REQUEST_SCHEME" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "http" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "GATEWAY_INTERFACE" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "CGI/1.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SERVER_SOFTWARE" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "nginx/" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "1.18.0" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "REMOTE_ADDR" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "127.0.0.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "REMOTE_PORT" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "33774" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "REMOTE_PORT: 33774" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SERVER_ADDR" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "127.0.0.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SERVER_PORT" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "9001" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SERVER_NAME" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "localhost" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "REDIRECT_STATUS" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "200" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "SCRIPT_FILENAME" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script var: "./blobs" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http script copy: "/ginxsom.fcgi" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 12:49:20 [debug] 176727#176727: *11 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http cleanup add: 00005B3FE0BBDA38 +2025/09/02 12:49:20 [debug] 176727#176727: *11 get rr peer, try: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 stream socket 10 +2025/09/02 12:49:20 [debug] 176727#176727: *11 epoll add connection: fd:10 ev:80002005 +2025/09/02 12:49:20 [debug] 176727#176727: *11 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #12 +2025/09/02 12:49:20 [debug] 176727#176727: *11 connected +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream connect: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 posix_memalign: 00005B3FE0B86F20:128 @16 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream send request +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream send request body +2025/09/02 12:49:20 [debug] 176727#176727: *11 chain writer buf fl:0 s:704 +2025/09/02 12:49:20 [debug] 176727#176727: *11 chain writer in: 00005B3FE0BB3B38 +2025/09/02 12:49:20 [debug] 176727#176727: *11 writev: 704 of 704 +2025/09/02 12:49:20 [debug] 176727#176727: *11 chain writer out: 0000000000000000 +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer add: 10: 60000:85520496 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http finalize request: -4, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:2 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http request count:2 blk:0 +2025/09/02 12:49:20 [debug] 176727#176727: timer delta: 0 +2025/09/02 12:49:20 [debug] 176727#176727: worker cycle +2025/09/02 12:49:20 [debug] 176727#176727: epoll timer: 60000 +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:6 ev:0004 d:0000786ADF2DF1E1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http run request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream check client, write event:1, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream process header +2025/09/02 12:49:20 [debug] 176727#176727: *11 malloc: 00005B3FE0BA7170:4096 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: eof:0, avail:-1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: fd:10 48 of 4096 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 07 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 21 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 07 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 33 +2025/09/02 12:49:20 [error] 176727#176727: *11 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 12:49:20 [debug] 176727#176727: *11 recv: eof:0, avail:0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream dummy handler +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: 59999 +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:10 ev:0005 d:0000786ADF2DF2C9 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream process header +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: eof:0, avail:-1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: fd:10 2152 of 4048 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 07 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: F8 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 504 +2025/09/02 12:49:20 [error] 176727#176727: *11 FastCGI sent in stderr: "DEBUG: METHOD=GET, URI=/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +DEBUG: handle_list_request called with pubkey=79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +LOG: [2025-09-02 12:49:20] 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 12:49:20] 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 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 07 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 20 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 32 +2025/09/02 12:49:20 [error] 176727#176727: *11 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 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 07 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 06 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 06 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 16 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 02 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 1558 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi parser: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi header: "Status: 200 OK" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi parser: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi header: "Content-Type: application/json" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi parser: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi header done +2025/09/02 12:49:20 [debug] 176727#176727: *11 posix_memalign: 00005B3FE0BA8180:4096 @16 +2025/09/02 12:49:20 [debug] 176727#176727: *11 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 16:49:20 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 12:49:20 [debug] 176727#176727: *11 write new buf t:1 f:0 00005B3FE0BA81F0, pos 00005B3FE0BA81F0, size: 260 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter: l:0 f:0 s:260 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http cacheable: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream process upstream +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe read upstream: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe preread: 1534 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe buf free s:0 t:1 f:0 00005B3FE0BA7170, pos 00005B3FE0BA740A, size: 1534 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe length: -1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe write downstream: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe write busy: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe write: out:0000000000000000, f:0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe read upstream: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe buf free s:0 t:1 f:0 00005B3FE0BA7170, pos 00005B3FE0BA740A, size: 1534 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe length: -1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer: 10, old: 85520496, new: 85520498 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream dummy handler +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: 59998 +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:10 ev:2005 d:0000786ADF2DF2C9 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream process upstream +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe read upstream: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 readv: eof:1, avail:-1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 readv: 1, last:1896 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe recv chain: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe buf free s:0 t:1 f:0 00005B3FE0BA7170, pos 00005B3FE0BA740A, size: 1534 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe length: -1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 input buf #0 00005B3FE0BA740A +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 06 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi closed stdout +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 03 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 01 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 08 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record byte: 00 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi record length: 8 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http fastcgi sent end request +2025/09/02 12:49:20 [debug] 176727#176727: *11 input buf 00005B3FE0BA740A 1508 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe write downstream: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe write downstream flush in +2025/09/02 12:49:20 [debug] 176727#176727: *11 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00005B3FE0BB3D98 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http chunk: 1508 +2025/09/02 12:49:20 [debug] 176727#176727: *11 write old buf t:1 f:0 00005B3FE0BA81F0, pos 00005B3FE0BA81F0, size: 260 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 write new buf t:1 f:0 00005B3FE0BA8548, pos 00005B3FE0BA8548, size: 5 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 write new buf t:1 f:0 00005B3FE0BA7170, pos 00005B3FE0BA740A, size: 1508 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E8, size: 2 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter: l:0 f:0 s:1775 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter limit 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 writev: 1775 of 1775 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter 0000000000000000 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 pipe write downstream done +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer: 10, old: 85520496, new: 85520499 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream exit: 0000000000000000 +2025/09/02 12:49:20 [debug] 176727#176727: *11 finalize http upstream request: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 finalize http fastcgi request +2025/09/02 12:49:20 [debug] 176727#176727: *11 free rr peer 1 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 close http upstream connection: 10 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0B86F20, unused: 48 +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer del: 10: 85520496 +2025/09/02 12:49:20 [debug] 176727#176727: *11 reusable connection: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http upstream temp fd: -1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00007FFEE9E68320 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http chunk: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 write new buf t:0 f:0 0000000000000000, pos 00005B3FDC3BF2E5, size: 5 file: 0, size: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter: l:1 f:0 s:5 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter limit 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 writev: 5 of 5 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http write filter 0000000000000000 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" +2025/09/02 12:49:20 [debug] 176727#176727: *11 http finalize request: 0, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 set http keepalive handler +2025/09/02 12:49:20 [debug] 176727#176727: *11 http close request +2025/09/02 12:49:20 [debug] 176727#176727: *11 http log handler +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0BA7170 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0BBCA50, unused: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0BB2DC0, unused: 8 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0BA8180, unused: 2691 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0BA00A0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 hc free: 0000000000000000 +2025/09/02 12:49:20 [debug] 176727#176727: *11 hc busy: 0000000000000000 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 tcp_nodelay +2025/09/02 12:49:20 [debug] 176727#176727: *11 reusable connection: 1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer add: 6: 65000:85525499 +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: 65000 +2025/09/02 12:49:20 [debug] 176727#176727: epoll: fd:6 ev:2005 d:0000786ADF2DF1E1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 http keepalive handler +2025/09/02 12:49:20 [debug] 176727#176727: *11 malloc: 00005B3FE0BA00A0:1024 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: eof:1, avail:-1 +2025/09/02 12:49:20 [debug] 176727#176727: *11 recv: fd:6 0 of 1024 +2025/09/02 12:49:20 [info] 176727#176727: *11 client 127.0.0.1 closed keepalive connection +2025/09/02 12:49:20 [debug] 176727#176727: *11 close http connection: 6 +2025/09/02 12:49:20 [debug] 176727#176727: *11 event timer del: 6: 85525499 +2025/09/02 12:49:20 [debug] 176727#176727: *11 reusable connection: 0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0BA00A0 +2025/09/02 12:49:20 [debug] 176727#176727: *11 free: 00005B3FE0B9D840, unused: 120 +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 diff --git a/logs/fcgi-stderr.log b/logs/fcgi-stderr.log index b9d24a2..2bb8049 100755 --- a/logs/fcgi-stderr.log +++ b/logs/fcgi-stderr.log @@ -998,3 +998,4 @@ Event pointer: 0x6176f258bd10 ✅ 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 diff --git a/logs/nginx.pid b/logs/nginx.pid index 5e91d62..13b5ae8 100644 --- a/logs/nginx.pid +++ b/logs/nginx.pid @@ -1 +1 @@ -170852 +176726 diff --git a/nostr_core_lib b/nostr_core_lib index 77d92db..33129d8 160000 --- a/nostr_core_lib +++ b/nostr_core_lib @@ -1 +1 @@ -Subproject commit 77d92dbcf9f59d08bbf96f9dd42fcdca048b9154 +Subproject commit 33129d82fdce8cff280bc0b5ba7ed5e49531606d diff --git a/file_put.sh b/tests/file_put.sh similarity index 100% rename from file_put.sh rename to tests/file_put.sh diff --git a/list_test.sh b/tests/list_test.sh similarity index 100% rename from list_test.sh rename to tests/list_test.sh