2025/09/02 11:09:54 [debug] 166322#166322: bind() 0.0.0.0:9001 #5 2025/09/02 11:09:54 [debug] 166322#166322: counter: 00007933F8283080, 1 2025/09/02 11:09:54 [debug] 166323#166323: bind() 0.0.0.0:9001 #5 2025/09/02 11:09:54 [emerg] 166323#166323: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:09:54 [notice] 166323#166323: try again to bind() after 500ms 2025/09/02 11:09:54 [debug] 166323#166323: bind() 0.0.0.0:9001 #5 2025/09/02 11:09:54 [emerg] 166323#166323: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:09:54 [notice] 166323#166323: try again to bind() after 500ms 2025/09/02 11:09:54 [debug] 166323#166323: bind() 0.0.0.0:9001 #5 2025/09/02 11:09:54 [emerg] 166323#166323: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:09:54 [notice] 166323#166323: try again to bind() after 500ms 2025/09/02 11:09:54 [debug] 166323#166323: bind() 0.0.0.0:9001 #5 2025/09/02 11:09:54 [emerg] 166323#166323: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:09:54 [notice] 166323#166323: try again to bind() after 500ms 2025/09/02 11:09:54 [debug] 166323#166323: bind() 0.0.0.0:9001 #5 2025/09/02 11:09:54 [emerg] 166323#166323: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:09:54 [notice] 166323#166323: try again to bind() after 500ms 2025/09/02 11:09:54 [emerg] 166323#166323: still could not bind() 2025/09/02 11:10:41 [debug] 166392#166392: bind() 0.0.0.0:9001 #5 2025/09/02 11:10:41 [debug] 166392#166392: counter: 000070365EDCD080, 1 2025/09/02 11:10:41 [debug] 166393#166393: bind() 0.0.0.0:9001 #5 2025/09/02 11:10:41 [emerg] 166393#166393: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:10:41 [notice] 166393#166393: try again to bind() after 500ms 2025/09/02 11:10:41 [debug] 166393#166393: bind() 0.0.0.0:9001 #5 2025/09/02 11:10:41 [emerg] 166393#166393: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:10:41 [notice] 166393#166393: try again to bind() after 500ms 2025/09/02 11:10:41 [debug] 166393#166393: bind() 0.0.0.0:9001 #5 2025/09/02 11:10:41 [emerg] 166393#166393: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:10:41 [notice] 166393#166393: try again to bind() after 500ms 2025/09/02 11:10:41 [debug] 166393#166393: bind() 0.0.0.0:9001 #5 2025/09/02 11:10:41 [emerg] 166393#166393: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:10:41 [notice] 166393#166393: try again to bind() after 500ms 2025/09/02 11:10:41 [debug] 166393#166393: bind() 0.0.0.0:9001 #5 2025/09/02 11:10:41 [emerg] 166393#166393: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 11:10:41 [notice] 166393#166393: try again to bind() after 500ms 2025/09/02 11:10:41 [emerg] 166393#166393: still could not bind() 2025/09/02 11:19:31 [debug] 166974#166974: bind() 0.0.0.0:9001 #5 2025/09/02 11:19:31 [debug] 166974#166974: counter: 00007F27A153B080, 1 2025/09/02 11:19:31 [debug] 166975#166975: bind() 0.0.0.0:9001 #5 2025/09/02 11:19:31 [notice] 166975#166975: using the "epoll" event method 2025/09/02 11:19:31 [debug] 166975#166975: counter: 00007C797CA8D080, 1 2025/09/02 11:19:31 [notice] 166975#166975: nginx/1.18.0 (Ubuntu) 2025/09/02 11:19:31 [notice] 166975#166975: OS: Linux 6.12.10-76061203-generic 2025/09/02 11:19:31 [notice] 166975#166975: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 11:19:31 [debug] 166976#166975: write: 6, 00007FFFCBEC1490, 7, 0 2025/09/02 11:19:31 [debug] 166976#166976: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 11:19:31 [notice] 166976#166976: start worker processes 2025/09/02 11:19:31 [debug] 166976#166976: channel 6:7 2025/09/02 11:19:31 [notice] 166976#166976: start worker process 166977 2025/09/02 11:19:31 [debug] 166976#166976: sigsuspend 2025/09/02 11:19:31 [debug] 166977#166977: add cleanup: 00005AD424BD2AA0 2025/09/02 11:19:31 [debug] 166977#166977: malloc: 00005AD424B85BD0:8 2025/09/02 11:19:31 [debug] 166977#166977: notify eventfd: 9 2025/09/02 11:19:31 [debug] 166977#166977: testing the EPOLLRDHUP flag: success 2025/09/02 11:19:31 [debug] 166977#166977: malloc: 00005AD424B985B0:6144 2025/09/02 11:19:31 [debug] 166977#166977: malloc: 00007C797C885010:237568 2025/09/02 11:19:31 [debug] 166977#166977: malloc: 00005AD424BD56D0:98304 2025/09/02 11:19:31 [debug] 166977#166977: malloc: 00005AD424BED6E0:98304 2025/09/02 11:19:31 [debug] 166977#166977: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 11:19:31 [debug] 166977#166977: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 11:19:31 [debug] 166977#166977: setproctitle: "nginx: worker process" 2025/09/02 11:19:31 [debug] 166977#166977: worker cycle 2025/09/02 11:19:31 [debug] 166977#166977: epoll timer: -1 2025/09/02 11:19:53 [debug] 166977#166977: epoll: fd:5 ev:0001 d:00007C797C885010 2025/09/02 11:19:53 [debug] 166977#166977: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:19:53 [debug] 166977#166977: posix_memalign: 00005AD424B84840:512 @16 2025/09/02 11:19:53 [debug] 166977#166977: *1 accept: 127.0.0.1:56966 fd:6 2025/09/02 11:19:53 [debug] 166977#166977: *1 event timer add: 6: 60000:80153996 2025/09/02 11:19:53 [debug] 166977#166977: *1 reusable connection: 1 2025/09/02 11:19:53 [debug] 166977#166977: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:19:53 [debug] 166977#166977: timer delta: 22131 2025/09/02 11:19:53 [debug] 166977#166977: worker cycle 2025/09/02 11:19:53 [debug] 166977#166977: epoll timer: 60000 2025/09/02 11:19:53 [debug] 166977#166977: epoll: fd:6 ev:0001 d:00007C797C8851E0 2025/09/02 11:19:53 [debug] 166977#166977: *1 http wait request handler 2025/09/02 11:19:53 [debug] 166977#166977: *1 malloc: 00005AD424B870A0:1024 2025/09/02 11:19:53 [debug] 166977#166977: *1 recv: eof:0, avail:-1 2025/09/02 11:19:53 [debug] 166977#166977: *1 recv: fd:6 648 of 1024 2025/09/02 11:19:53 [debug] 166977#166977: *1 reusable connection: 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 posix_memalign: 00005AD424BA3A50:4096 @16 2025/09/02 11:19:53 [debug] 166977#166977: *1 http process request line 2025/09/02 11:19:53 [debug] 166977#166977: *1 http request line: "GET /health HTTP/1.1" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http uri: "/health" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http args: "" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http exten: "" 2025/09/02 11:19:53 [debug] 166977#166977: *1 posix_memalign: 00005AD424B99DC0:4096 @16 2025/09/02 11:19:53 [debug] 166977#166977: *1 http process request header line 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Host: localhost:9001" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Connection: keep-alive" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Cache-Control: max-age=0" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Brave";v="138"" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "sec-ch-ua-mobile: ?0" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "sec-ch-ua-platform: "Linux"" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Upgrade-Insecure-Requests: 1" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Sec-GPC: 1" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Accept-Language: en-US,en;q=0.9" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Sec-Fetch-Site: none" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Sec-Fetch-Mode: navigate" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Sec-Fetch-User: ?1" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Sec-Fetch-Dest: document" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header: "Accept-Encoding: gzip, deflate, br, zstd" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http header done 2025/09/02 11:19:53 [debug] 166977#166977: *1 event timer del: 6: 80153996 2025/09/02 11:19:53 [debug] 166977#166977: *1 generic phase: 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 rewrite phase: 1 2025/09/02 11:19:53 [debug] 166977#166977: *1 test location: "/health" 2025/09/02 11:19:53 [debug] 166977#166977: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:19:53 [debug] 166977#166977: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:19:53 [debug] 166977#166977: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:19:53 [debug] 166977#166977: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:19:53 [debug] 166977#166977: *1 using configuration "/health" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http cl:-1 max:104857600 2025/09/02 11:19:53 [debug] 166977#166977: *1 rewrite phase: 3 2025/09/02 11:19:53 [debug] 166977#166977: *1 http set discard body 2025/09/02 11:19:53 [debug] 166977#166977: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:19:53 GMT Content-Type: application/octet-stream Content-Length: 3 Connection: keep-alive Content-Type: text/plain 2025/09/02 11:19:53 [debug] 166977#166977: *1 write new buf t:1 f:0 00005AD424B9A290, pos 00005AD424B9A290, size: 196 file: 0, size: 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 http write filter: l:0 f:0 s:196 2025/09/02 11:19:53 [debug] 166977#166977: *1 http output filter "/health?" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http copy filter: "/health?" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http postpone filter "/health?" 00007FFFCBEC1020 2025/09/02 11:19:53 [debug] 166977#166977: *1 write old buf t:1 f:0 00005AD424B9A290, pos 00005AD424B9A290, size: 196 file: 0, size: 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 write new buf t:0 f:0 0000000000000000, pos 00005AD424BC1B62, size: 3 file: 0, size: 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 http write filter: l:1 f:0 s:199 2025/09/02 11:19:53 [debug] 166977#166977: *1 http write filter limit 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 writev: 199 of 199 2025/09/02 11:19:53 [debug] 166977#166977: *1 http write filter 0000000000000000 2025/09/02 11:19:53 [debug] 166977#166977: *1 http copy filter: 0 "/health?" 2025/09/02 11:19:53 [debug] 166977#166977: *1 http finalize request: 0, "/health?" a:1, c:1 2025/09/02 11:19:53 [debug] 166977#166977: *1 set http keepalive handler 2025/09/02 11:19:53 [debug] 166977#166977: *1 http close request 2025/09/02 11:19:53 [debug] 166977#166977: *1 http log handler 2025/09/02 11:19:53 [debug] 166977#166977: *1 free: 00005AD424BA3A50, unused: 40 2025/09/02 11:19:53 [debug] 166977#166977: *1 free: 00005AD424B99DC0, unused: 2512 2025/09/02 11:19:53 [debug] 166977#166977: *1 free: 00005AD424B870A0 2025/09/02 11:19:53 [debug] 166977#166977: *1 hc free: 0000000000000000 2025/09/02 11:19:53 [debug] 166977#166977: *1 hc busy: 0000000000000000 0 2025/09/02 11:19:53 [debug] 166977#166977: *1 tcp_nodelay 2025/09/02 11:19:53 [debug] 166977#166977: *1 reusable connection: 1 2025/09/02 11:19:53 [debug] 166977#166977: *1 event timer add: 6: 65000:80158996 2025/09/02 11:19:53 [debug] 166977#166977: timer delta: 0 2025/09/02 11:19:53 [debug] 166977#166977: worker cycle 2025/09/02 11:19:53 [debug] 166977#166977: epoll timer: 65000 2025/09/02 11:20:38 [notice] 166976#166976: signal 15 (SIGTERM) received from 167186, exiting 2025/09/02 11:20:38 [debug] 166976#166976: wake up, sigio 0 2025/09/02 11:20:38 [debug] 166976#166976: child: 0 166977 e:0 t:0 d:0 r:1 j:0 2025/09/02 11:20:38 [debug] 166976#166976: termination cycle: 50 2025/09/02 11:20:38 [debug] 166976#166976: sigsuspend 2025/09/02 11:20:38 [debug] 166977#166977: epoll: fd:7 ev:0001 d:00007C797C8850F8 2025/09/02 11:20:38 [debug] 166977#166977: channel handler 2025/09/02 11:20:38 [debug] 166977#166977: channel: 32 2025/09/02 11:20:38 [debug] 166977#166977: channel command: 4 2025/09/02 11:20:38 [debug] 166977#166977: channel: -2 2025/09/02 11:20:38 [debug] 166977#166977: timer delta: 44904 2025/09/02 11:20:38 [notice] 166977#166977: exiting 2025/09/02 11:20:38 [debug] 166977#166977: flush files 2025/09/02 11:20:38 [debug] 166977#166977: run cleanup: 00005AD424BD2AA0 2025/09/02 11:20:38 [debug] 166977#166977: run cleanup: 00005AD424BC5A38 2025/09/02 11:20:38 [debug] 166977#166977: cleanup resolver 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BD3E00 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BC6C00 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BA5B70 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BA4A60 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B9EA30 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B9D970 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B9C8B0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B9B7F0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B93190 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B8A160, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B945A0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424B9FA40, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BA6B80, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BAAB90, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BAEBA0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BB2BB0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BB6BC0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BBABD0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BBEBE0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BC2BF0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BC7DD0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BCBDE0, unused: 0 2025/09/02 11:20:38 [debug] 166977#166977: free: 00005AD424BCFDF0, unused: 4920 2025/09/02 11:20:38 [notice] 166977#166977: exit 2025/09/02 11:20:38 [notice] 166976#166976: signal 17 (SIGCHLD) received from 166977 2025/09/02 11:20:38 [notice] 166976#166976: worker process 166977 exited with code 0 2025/09/02 11:20:38 [debug] 166976#166976: shmtx forced unlock 2025/09/02 11:20:38 [debug] 166976#166976: wake up, sigio 3 2025/09/02 11:20:38 [debug] 166976#166976: reap children 2025/09/02 11:20:38 [debug] 166976#166976: child: 0 166977 e:1 t:1 d:0 r:1 j:0 2025/09/02 11:20:38 [notice] 166976#166976: exit 2025/09/02 11:20:38 [debug] 166976#166976: close listening 0.0.0.0:9001 #5 2025/09/02 11:20:38 [debug] 166976#166976: run cleanup: 00005AD424BC5A38 2025/09/02 11:20:38 [debug] 166976#166976: cleanup resolver 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BD3E00 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BC6C00 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BA5B70 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BA4A60 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B9EA30 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B9D970 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B9C8B0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B9B7F0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B93190 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B8A160, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B945A0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424B9FA40, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BA6B80, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BAAB90, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BAEBA0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BB2BB0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BB6BC0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BBABD0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BBEBE0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BC2BF0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BC7DD0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BCBDE0, unused: 0 2025/09/02 11:20:38 [debug] 166976#166976: free: 00005AD424BCFDF0, unused: 4951 2025/09/02 11:20:41 [debug] 167234#167234: bind() 0.0.0.0:9001 #5 2025/09/02 11:20:41 [debug] 167234#167234: counter: 000074088CBA8080, 1 2025/09/02 11:20:41 [debug] 167235#167235: bind() 0.0.0.0:9001 #5 2025/09/02 11:20:41 [notice] 167235#167235: using the "epoll" event method 2025/09/02 11:20:41 [debug] 167235#167235: counter: 00007079E127C080, 1 2025/09/02 11:20:41 [notice] 167235#167235: nginx/1.18.0 (Ubuntu) 2025/09/02 11:20:41 [notice] 167235#167235: OS: Linux 6.12.10-76061203-generic 2025/09/02 11:20:41 [notice] 167235#167235: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 11:20:41 [debug] 167236#167235: write: 6, 00007FFE8D721040, 7, 0 2025/09/02 11:20:41 [debug] 167236#167236: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 11:20:41 [notice] 167236#167236: start worker processes 2025/09/02 11:20:41 [debug] 167236#167236: channel 6:7 2025/09/02 11:20:41 [notice] 167236#167236: start worker process 167237 2025/09/02 11:20:41 [debug] 167236#167236: sigsuspend 2025/09/02 11:20:41 [debug] 167237#167237: add cleanup: 00005C278B102A90 2025/09/02 11:20:41 [debug] 167237#167237: malloc: 00005C278B0B5BD0:8 2025/09/02 11:20:41 [debug] 167237#167237: notify eventfd: 9 2025/09/02 11:20:41 [debug] 167237#167237: testing the EPOLLRDHUP flag: success 2025/09/02 11:20:41 [debug] 167237#167237: malloc: 00005C278B0C85A0:6144 2025/09/02 11:20:41 [debug] 167237#167237: malloc: 00007079E1074010:237568 2025/09/02 11:20:41 [debug] 167237#167237: malloc: 00005C278B1056C0:98304 2025/09/02 11:20:41 [debug] 167237#167237: malloc: 00005C278B11D6D0:98304 2025/09/02 11:20:41 [debug] 167237#167237: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 11:20:41 [debug] 167237#167237: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 11:20:41 [debug] 167237#167237: setproctitle: "nginx: worker process" 2025/09/02 11:20:41 [debug] 167237#167237: worker cycle 2025/09/02 11:20:41 [debug] 167237#167237: epoll timer: -1 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:5 ev:0001 d:00007079E1074010 2025/09/02 11:22:13 [debug] 167237#167237: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:22:13 [debug] 167237#167237: posix_memalign: 00005C278B0B4840:512 @16 2025/09/02 11:22:13 [debug] 167237#167237: *1 accept: 127.0.0.1:44980 fd:6 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer add: 6: 60000:80293887 2025/09/02 11:22:13 [debug] 167237#167237: *1 reusable connection: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 91789 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: 60000 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:6 ev:0001 d:00007079E10741E0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http wait request handler 2025/09/02 11:22:13 [debug] 167237#167237: *1 malloc: 00005C278B0B70A0:1024 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:-1 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: fd:6 908 of 1024 2025/09/02 11:22:13 [debug] 167237#167237: *1 reusable connection: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 posix_memalign: 00005C278B0D3A40:4096 @16 2025/09/02 11:22:13 [debug] 167237#167237: *1 http process request line 2025/09/02 11:22:13 [debug] 167237#167237: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http uri: "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http args: "" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http exten: "" 2025/09/02 11:22:13 [debug] 167237#167237: *1 posix_memalign: 00005C278B0C9DB0:4096 @16 2025/09/02 11:22:13 [debug] 167237#167237: *1 http process request header line 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header: "Host: localhost:9001" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header: "Accept: */*" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header: "Content-Type: text/plain" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header: "Content-Length: 39" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http header done 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer del: 6: 80293887 2025/09/02 11:22:13 [debug] 167237#167237: *1 generic phase: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 rewrite phase: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 test location: "/health" 2025/09/02 11:22:13 [debug] 167237#167237: *1 test location: "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:22:13 [debug] 167237#167237: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:22:13 [debug] 167237#167237: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:22:13 [debug] 167237#167237: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:22:13 [debug] 167237#167237: *1 using configuration "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http cl:39 max:104857600 2025/09/02 11:22:13 [debug] 167237#167237: *1 rewrite phase: 3 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "PUT" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script regex: "^(PUT)$" 2025/09/02 11:22:13 [notice] 167237#167237: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script if 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script if: false 2025/09/02 11:22:13 [debug] 167237#167237: *1 post rewrite phase: 4 2025/09/02 11:22:13 [debug] 167237#167237: *1 generic phase: 5 2025/09/02 11:22:13 [debug] 167237#167237: *1 generic phase: 6 2025/09/02 11:22:13 [debug] 167237#167237: *1 generic phase: 7 2025/09/02 11:22:13 [debug] 167237#167237: *1 access phase: 8 2025/09/02 11:22:13 [debug] 167237#167237: *1 access phase: 9 2025/09/02 11:22:13 [debug] 167237#167237: *1 access phase: 10 2025/09/02 11:22:13 [debug] 167237#167237: *1 post access phase: 11 2025/09/02 11:22:13 [debug] 167237#167237: *1 generic phase: 12 2025/09/02 11:22:13 [debug] 167237#167237: *1 generic phase: 13 2025/09/02 11:22:13 [debug] 167237#167237: *1 http client request body preread 39 2025/09/02 11:22:13 [debug] 167237#167237: *1 http request body content length filter 2025/09/02 11:22:13 [debug] 167237#167237: *1 http body new buf t:1 f:0 00005C278B0B7405, pos 00005C278B0B7405, size: 39 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http init upstream, client timer: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "QUERY_STRING" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "REQUEST_METHOD" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "PUT" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "CONTENT_TYPE" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "text/plain" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "39" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SCRIPT_NAME" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "REQUEST_URI" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "DOCUMENT_URI" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "./blobs" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "HTTP/1.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "http" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "CGI/1.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "nginx/" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "1.18.0" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "REMOTE_ADDR" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "127.0.0.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "REMOTE_PORT" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "44980" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "REMOTE_PORT: 44980" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SERVER_ADDR" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "127.0.0.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SERVER_PORT" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "9001" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SERVER_NAME" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "localhost" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "200" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script var: "./blobs" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:22:13 [debug] 167237#167237: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:22:13 [debug] 167237#167237: *1 posix_memalign: 00005C278B0BE160:4096 @16 2025/09/02 11:22:13 [debug] 167237#167237: *1 http cleanup add: 00005C278B0BE290 2025/09/02 11:22:13 [debug] 167237#167237: *1 get rr peer, try: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 stream socket 10 2025/09/02 11:22:13 [debug] 167237#167237: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 11:22:13 [debug] 167237#167237: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 11:22:13 [debug] 167237#167237: *1 connected 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream connect: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 posix_memalign: 00005C278B09DF20:128 @16 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream send request 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream send request body 2025/09/02 11:22:13 [debug] 167237#167237: *1 chain writer buf fl:0 s:1328 2025/09/02 11:22:13 [debug] 167237#167237: *1 chain writer buf fl:0 s:39 2025/09/02 11:22:13 [debug] 167237#167237: *1 chain writer buf fl:0 s:9 2025/09/02 11:22:13 [debug] 167237#167237: *1 chain writer in: 00005C278B0BE300 2025/09/02 11:22:13 [debug] 167237#167237: *1 writev: 1376 of 1376 2025/09/02 11:22:13 [debug] 167237#167237: *1 chain writer out: 0000000000000000 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer add: 10: 60000:80293887 2025/09/02 11:22:13 [debug] 167237#167237: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:22:13 [debug] 167237#167237: *1 http request count:2 blk:0 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 0 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: 60000 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:6 ev:0004 d:00007079E10741E0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http run request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream check client, write event:1, "/upload" 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:10 ev:0005 d:00007079E10742C8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream process header 2025/09/02 11:22:13 [debug] 167237#167237: *1 malloc: 00005C278B0BF170:4096 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:-1 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: fd:10 48 of 4096 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 21 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 33 2025/09/02 11:22:13 [error] 167237#167237: *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 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream dummy handler 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 1 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: 59999 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:10 ev:0005 d:00007079E10742C8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream process header 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:-1 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: fd:10 1024 of 4048 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *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 11:22:13] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=39 DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0= 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 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream dummy handler 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 1 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: 59998 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:10 ev:0005 d:00007079E10742C8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream process header 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:-1 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: fd:10 3248 of 4096 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: A6 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 02 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 166 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: "2025-09-02 11:22:13] 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNk... 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: " parse: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [ ["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"] ], "content": "Upload standard test file", "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70" 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: "d03509edf64f54f05e72bde9ea74056440679" } ✅ SUCCESS: cJSON_Parse succeeded, event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], "content": "Upload standard test file", "sig": "595f7" 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: "260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679 " 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: "️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756822481 🔍 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 11:22:13 [debug] 167237#167237: *1 recv: eof:0, avail:0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream dummy handler 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 0 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: 59998 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:10 ev:2005 d:00007079E10742C8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream request: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream process header 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: eof:1, avail:-1 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: fd:10 1064 of 4096 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: F8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 504 2025/09/02 11:22:13 [error] 167237#167237: *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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 29 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 297 2025/09/02 11:22:13 [error] 167237#167237: *1 FastCGI sent in stderr: "urned: -32 (Event has invalid public key) ❌ ERROR: CRYPTO verification failed! ❌ ERROR: Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: AUTH: authenticate_request returned: -32 LOG: [2025-09-02 11:22:13] PUT /upload - Auth: auth_failed - Status: 401" 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 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 07 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 06 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: C7 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 199 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi parser: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi header: "Status: 401 Unauthorized" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi parser: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi parser: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi header done 2025/09/02 11:22:13 [debug] 167237#167237: *1 HTTP/1.1 401 Unauthorized Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:22:13 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive 2025/09/02 11:22:13 [debug] 167237#167237: *1 write new buf t:1 f:0 00005C278B0BE5C8, pos 00005C278B0BE5C8, size: 181 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http write filter: l:0 f:0 s:181 2025/09/02 11:22:13 [debug] 167237#167237: *1 http cacheable: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream process upstream 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe read upstream: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe preread: 164 2025/09/02 11:22:13 [debug] 167237#167237: *1 readv: eof:1, avail:0 2025/09/02 11:22:13 [debug] 167237#167237: *1 readv: 1, last:3032 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe recv chain: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe buf free s:0 t:1 f:0 00005C278B0BF170, pos 00005C278B0BF4F4, size: 164 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe length: -1 2025/09/02 11:22:13 [debug] 167237#167237: *1 input buf #0 00005C278B0BF4F4 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 06 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi closed stdout 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 03 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 01 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 08 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record byte: 00 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi record length: 8 2025/09/02 11:22:13 [debug] 167237#167237: *1 http fastcgi sent end request 2025/09/02 11:22:13 [debug] 167237#167237: *1 input buf 00005C278B0BF4F4 139 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe write downstream: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe write downstream flush in 2025/09/02 11:22:13 [debug] 167237#167237: *1 http output filter "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http copy filter: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http postpone filter "/upload?" 00005C278B0BE2D0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http chunk: 139 2025/09/02 11:22:13 [debug] 167237#167237: *1 write old buf t:1 f:0 00005C278B0BE5C8, pos 00005C278B0BE5C8, size: 181 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write new buf t:1 f:0 00005C278B0BE8C0, pos 00005C278B0BE8C0, size: 4 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write new buf t:1 f:0 00005C278B0BF170, pos 00005C278B0BF4F4, size: 139 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write new buf t:0 f:0 0000000000000000, pos 00005C2763E152E8, size: 2 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http write filter: l:0 f:0 s:326 2025/09/02 11:22:13 [debug] 167237#167237: *1 http copy filter: 0 "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 pipe write downstream done 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer: 10, old: 80293887, new: 80293890 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream exit: 0000000000000000 2025/09/02 11:22:13 [debug] 167237#167237: *1 finalize http upstream request: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 finalize http fastcgi request 2025/09/02 11:22:13 [debug] 167237#167237: *1 free rr peer 1 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 close http upstream connection: 10 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B09DF20, unused: 48 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer del: 10: 80293887 2025/09/02 11:22:13 [debug] 167237#167237: *1 reusable connection: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http upstream temp fd: -1 2025/09/02 11:22:13 [debug] 167237#167237: *1 http output filter "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http copy filter: "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http postpone filter "/upload?" 00007FFE8D720C80 2025/09/02 11:22:13 [debug] 167237#167237: *1 http chunk: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write old buf t:1 f:0 00005C278B0BE5C8, pos 00005C278B0BE5C8, size: 181 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write old buf t:1 f:0 00005C278B0BE8C0, pos 00005C278B0BE8C0, size: 4 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write old buf t:1 f:0 00005C278B0BF170, pos 00005C278B0BF4F4, size: 139 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write old buf t:0 f:0 0000000000000000, pos 00005C2763E152E8, size: 2 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 write new buf t:0 f:0 0000000000000000, pos 00005C2763E152E5, size: 5 file: 0, size: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http write filter: l:1 f:0 s:331 2025/09/02 11:22:13 [debug] 167237#167237: *1 http write filter limit 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 writev: 331 of 331 2025/09/02 11:22:13 [debug] 167237#167237: *1 http write filter 0000000000000000 2025/09/02 11:22:13 [debug] 167237#167237: *1 http copy filter: 0 "/upload?" 2025/09/02 11:22:13 [debug] 167237#167237: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:22:13 [debug] 167237#167237: *1 set http keepalive handler 2025/09/02 11:22:13 [debug] 167237#167237: *1 http close request 2025/09/02 11:22:13 [debug] 167237#167237: *1 http log handler 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0BF170 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0D3A40, unused: 3 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0C9DB0, unused: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0BE160, unused: 1738 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0B70A0 2025/09/02 11:22:13 [debug] 167237#167237: *1 hc free: 0000000000000000 2025/09/02 11:22:13 [debug] 167237#167237: *1 hc busy: 0000000000000000 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 tcp_nodelay 2025/09/02 11:22:13 [debug] 167237#167237: *1 reusable connection: 1 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer add: 6: 65000:80298890 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 1 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: 65000 2025/09/02 11:22:13 [debug] 167237#167237: epoll: fd:6 ev:2005 d:00007079E10741E0 2025/09/02 11:22:13 [debug] 167237#167237: *1 http keepalive handler 2025/09/02 11:22:13 [debug] 167237#167237: *1 malloc: 00005C278B0B70A0:1024 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: eof:1, avail:-1 2025/09/02 11:22:13 [debug] 167237#167237: *1 recv: fd:6 0 of 1024 2025/09/02 11:22:13 [info] 167237#167237: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 11:22:13 [debug] 167237#167237: *1 close http connection: 6 2025/09/02 11:22:13 [debug] 167237#167237: *1 event timer del: 6: 80298890 2025/09/02 11:22:13 [debug] 167237#167237: *1 reusable connection: 0 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0B70A0 2025/09/02 11:22:13 [debug] 167237#167237: *1 free: 00005C278B0B4840, unused: 120 2025/09/02 11:22:13 [debug] 167237#167237: timer delta: 1 2025/09/02 11:22:13 [debug] 167237#167237: worker cycle 2025/09/02 11:22:13 [debug] 167237#167237: epoll timer: -1 2025/09/02 11:29:26 [notice] 167236#167236: signal 15 (SIGTERM) received from 168144, exiting 2025/09/02 11:29:26 [debug] 167236#167236: wake up, sigio 0 2025/09/02 11:29:26 [debug] 167236#167236: child: 0 167237 e:0 t:0 d:0 r:1 j:0 2025/09/02 11:29:26 [debug] 167236#167236: termination cycle: 50 2025/09/02 11:29:26 [debug] 167236#167236: sigsuspend 2025/09/02 11:29:26 [debug] 167237#167237: epoll: fd:7 ev:0001 d:00007079E10740F8 2025/09/02 11:29:26 [debug] 167237#167237: channel handler 2025/09/02 11:29:26 [debug] 167237#167237: channel: 32 2025/09/02 11:29:26 [debug] 167237#167237: channel command: 4 2025/09/02 11:29:26 [debug] 167237#167237: channel: -2 2025/09/02 11:29:26 [debug] 167237#167237: timer delta: 433276 2025/09/02 11:29:26 [notice] 167237#167237: exiting 2025/09/02 11:29:26 [debug] 167237#167237: flush files 2025/09/02 11:29:26 [debug] 167237#167237: run cleanup: 00005C278B102A90 2025/09/02 11:29:26 [debug] 167237#167237: run cleanup: 00005C278B0F5A28 2025/09/02 11:29:26 [debug] 167237#167237: cleanup resolver 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B103DF0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0F6BF0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0D5B60 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0D4A50 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0CEA20 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0CD960 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0CC8A0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0CB7E0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0C3180 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0BA150, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0C4590, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0CFA30, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0D6B70, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0DAB80, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0DEB90, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0E2BA0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0E6BB0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0EABC0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0EEBD0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0F2BE0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0F7DC0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0FBDD0, unused: 0 2025/09/02 11:29:26 [debug] 167237#167237: free: 00005C278B0FFDE0, unused: 4920 2025/09/02 11:29:26 [notice] 167237#167237: exit 2025/09/02 11:29:26 [notice] 167236#167236: signal 17 (SIGCHLD) received from 167237 2025/09/02 11:29:26 [notice] 167236#167236: worker process 167237 exited with code 0 2025/09/02 11:29:26 [debug] 167236#167236: shmtx forced unlock 2025/09/02 11:29:26 [debug] 167236#167236: wake up, sigio 3 2025/09/02 11:29:26 [debug] 167236#167236: reap children 2025/09/02 11:29:26 [debug] 167236#167236: child: 0 167237 e:1 t:1 d:0 r:1 j:0 2025/09/02 11:29:26 [notice] 167236#167236: exit 2025/09/02 11:29:26 [debug] 167236#167236: close listening 0.0.0.0:9001 #5 2025/09/02 11:29:26 [debug] 167236#167236: run cleanup: 00005C278B0F5A28 2025/09/02 11:29:26 [debug] 167236#167236: cleanup resolver 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B103DF0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0F6BF0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0D5B60 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0D4A50 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0CEA20 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0CD960 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0CC8A0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0CB7E0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0C3180 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0BA150, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0C4590, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0CFA30, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0D6B70, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0DAB80, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0DEB90, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0E2BA0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0E6BB0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0EABC0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0EEBD0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0F2BE0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0F7DC0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0FBDD0, unused: 0 2025/09/02 11:29:26 [debug] 167236#167236: free: 00005C278B0FFDE0, unused: 4951 2025/09/02 11:29:30 [debug] 168190#168190: bind() 0.0.0.0:9001 #5 2025/09/02 11:29:30 [debug] 168190#168190: counter: 00007B4B0B284080, 1 2025/09/02 11:29:30 [debug] 168191#168191: bind() 0.0.0.0:9001 #5 2025/09/02 11:29:30 [notice] 168191#168191: using the "epoll" event method 2025/09/02 11:29:30 [debug] 168191#168191: counter: 0000754A5EBEE080, 1 2025/09/02 11:29:30 [notice] 168191#168191: nginx/1.18.0 (Ubuntu) 2025/09/02 11:29:30 [notice] 168191#168191: OS: Linux 6.12.10-76061203-generic 2025/09/02 11:29:30 [notice] 168191#168191: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 11:29:30 [debug] 168192#168191: write: 6, 00007FFE9150E240, 7, 0 2025/09/02 11:29:30 [debug] 168192#168192: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 11:29:30 [notice] 168192#168192: start worker processes 2025/09/02 11:29:30 [debug] 168192#168192: channel 6:7 2025/09/02 11:29:30 [notice] 168192#168192: start worker process 168193 2025/09/02 11:29:30 [debug] 168192#168192: sigsuspend 2025/09/02 11:29:30 [debug] 168193#168193: add cleanup: 000063EDFA3AFAA0 2025/09/02 11:29:30 [debug] 168193#168193: malloc: 000063EDFA362BD0:8 2025/09/02 11:29:30 [debug] 168193#168193: notify eventfd: 9 2025/09/02 11:29:30 [debug] 168193#168193: testing the EPOLLRDHUP flag: success 2025/09/02 11:29:30 [debug] 168193#168193: malloc: 000063EDFA3755B0:6144 2025/09/02 11:29:30 [debug] 168193#168193: malloc: 0000754A5E9E6010:237568 2025/09/02 11:29:30 [debug] 168193#168193: malloc: 000063EDFA3B26D0:98304 2025/09/02 11:29:30 [debug] 168193#168193: malloc: 000063EDFA3CA6E0:98304 2025/09/02 11:29:30 [debug] 168193#168193: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 11:29:30 [debug] 168193#168193: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 11:29:30 [debug] 168193#168193: setproctitle: "nginx: worker process" 2025/09/02 11:29:30 [debug] 168193#168193: worker cycle 2025/09/02 11:29:30 [debug] 168193#168193: epoll timer: -1 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:5 ev:0001 d:0000754A5E9E6010 2025/09/02 11:29:38 [debug] 168193#168193: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:29:38 [debug] 168193#168193: posix_memalign: 000063EDFA361840:512 @16 2025/09/02 11:29:38 [debug] 168193#168193: *1 accept: 127.0.0.1:38756 fd:6 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer add: 6: 60000:80738490 2025/09/02 11:29:38 [debug] 168193#168193: *1 reusable connection: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 8122 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 60000 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:6 ev:0001 d:0000754A5E9E61E0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http wait request handler 2025/09/02 11:29:38 [debug] 168193#168193: *1 malloc: 000063EDFA3640A0:1024 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:6 908 of 1024 2025/09/02 11:29:38 [debug] 168193#168193: *1 reusable connection: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 posix_memalign: 000063EDFA380A50:4096 @16 2025/09/02 11:29:38 [debug] 168193#168193: *1 http process request line 2025/09/02 11:29:38 [debug] 168193#168193: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http uri: "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http args: "" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http exten: "" 2025/09/02 11:29:38 [debug] 168193#168193: *1 posix_memalign: 000063EDFA376DC0:4096 @16 2025/09/02 11:29:38 [debug] 168193#168193: *1 http process request header line 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header: "Host: localhost:9001" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header: "Accept: */*" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header: "Content-Type: text/plain" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header: "Content-Length: 39" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http header done 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer del: 6: 80738490 2025/09/02 11:29:38 [debug] 168193#168193: *1 generic phase: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 rewrite phase: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 test location: "/health" 2025/09/02 11:29:38 [debug] 168193#168193: *1 test location: "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:29:38 [debug] 168193#168193: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:29:38 [debug] 168193#168193: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:29:38 [debug] 168193#168193: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:29:38 [debug] 168193#168193: *1 using configuration "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http cl:39 max:104857600 2025/09/02 11:29:38 [debug] 168193#168193: *1 rewrite phase: 3 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "PUT" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script regex: "^(PUT)$" 2025/09/02 11:29:38 [notice] 168193#168193: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script if 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script if: false 2025/09/02 11:29:38 [debug] 168193#168193: *1 post rewrite phase: 4 2025/09/02 11:29:38 [debug] 168193#168193: *1 generic phase: 5 2025/09/02 11:29:38 [debug] 168193#168193: *1 generic phase: 6 2025/09/02 11:29:38 [debug] 168193#168193: *1 generic phase: 7 2025/09/02 11:29:38 [debug] 168193#168193: *1 access phase: 8 2025/09/02 11:29:38 [debug] 168193#168193: *1 access phase: 9 2025/09/02 11:29:38 [debug] 168193#168193: *1 access phase: 10 2025/09/02 11:29:38 [debug] 168193#168193: *1 post access phase: 11 2025/09/02 11:29:38 [debug] 168193#168193: *1 generic phase: 12 2025/09/02 11:29:38 [debug] 168193#168193: *1 generic phase: 13 2025/09/02 11:29:38 [debug] 168193#168193: *1 http client request body preread 39 2025/09/02 11:29:38 [debug] 168193#168193: *1 http request body content length filter 2025/09/02 11:29:38 [debug] 168193#168193: *1 http body new buf t:1 f:0 000063EDFA364405, pos 000063EDFA364405, size: 39 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http init upstream, client timer: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "QUERY_STRING" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "REQUEST_METHOD" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "PUT" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "CONTENT_TYPE" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "text/plain" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "39" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SCRIPT_NAME" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "REQUEST_URI" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "DOCUMENT_URI" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "./blobs" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "HTTP/1.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "http" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "CGI/1.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "nginx/" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "1.18.0" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "REMOTE_ADDR" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "127.0.0.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "REMOTE_PORT" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "38756" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "REMOTE_PORT: 38756" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SERVER_ADDR" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "127.0.0.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SERVER_PORT" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "9001" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SERVER_NAME" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "localhost" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "200" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script var: "./blobs" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:29:38 [debug] 168193#168193: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:29:38 [debug] 168193#168193: *1 posix_memalign: 000063EDFA36B170:4096 @16 2025/09/02 11:29:38 [debug] 168193#168193: *1 http cleanup add: 000063EDFA36B2A0 2025/09/02 11:29:38 [debug] 168193#168193: *1 get rr peer, try: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 stream socket 10 2025/09/02 11:29:38 [debug] 168193#168193: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 11:29:38 [debug] 168193#168193: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 11:29:38 [debug] 168193#168193: *1 connected 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream connect: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 posix_memalign: 000063EDFA34AF20:128 @16 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream send request 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream send request body 2025/09/02 11:29:38 [debug] 168193#168193: *1 chain writer buf fl:0 s:1328 2025/09/02 11:29:38 [debug] 168193#168193: *1 chain writer buf fl:0 s:39 2025/09/02 11:29:38 [debug] 168193#168193: *1 chain writer buf fl:0 s:9 2025/09/02 11:29:38 [debug] 168193#168193: *1 chain writer in: 000063EDFA36B310 2025/09/02 11:29:38 [debug] 168193#168193: *1 writev: 1376 of 1376 2025/09/02 11:29:38 [debug] 168193#168193: *1 chain writer out: 0000000000000000 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer add: 10: 60000:80738491 2025/09/02 11:29:38 [debug] 168193#168193: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:29:38 [debug] 168193#168193: *1 http request count:2 blk:0 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 1 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 60000 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:6 ev:0004 d:0000754A5E9E61E0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http run request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream check client, write event:1, "/upload" 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:10 ev:0005 d:0000754A5E9E62C8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process header 2025/09/02 11:29:38 [debug] 168193#168193: *1 malloc: 000063EDFA36C180:4096 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:10 48 of 4096 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 21 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 33 2025/09/02 11:29:38 [error] 168193#168193: *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 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream dummy handler 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 2 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 59998 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:10 ev:0005 d:0000754A5E9E62C8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process header 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:10 1024 of 4048 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *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 11:29:38] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=39 DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0= 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 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream dummy handler 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 0 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 59998 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:10 ev:0005 d:0000754A5E9E62C8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process header 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:10 3248 of 4096 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: A6 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 02 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 166 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: "2025-09-02 11:29:38] 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNk... 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: " parse: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [ ["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"] ], "content": "Upload standard test file", "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70" 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: "d03509edf64f54f05e72bde9ea74056440679" } ✅ SUCCESS: cJSON_Parse succeeded, event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], "content": "Upload standard test file", "sig": "595f7" 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: "260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679 " 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: "️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756822481 🔍 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 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream dummy handler 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 0 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 59998 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:10 ev:0005 d:0000754A5E9E62C8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process header 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:10 512 of 4096 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: F8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 504 2025/09/02 11:29:38 [error] 168193#168193: *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 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream dummy handler 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 1 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 59997 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:10 ev:0005 d:0000754A5E9E62C8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process header 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:0, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:10 552 of 4096 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 29 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 297 2025/09/02 11:29:38 [error] 168193#168193: *1 FastCGI sent in stderr: "urned: -32 (Event has invalid public key) ❌ ERROR: CRYPTO verification failed! ❌ ERROR: Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: AUTH: authenticate_request returned: -32 LOG: [2025-09-02 11:29:38] PUT /upload - Auth: auth_failed - Status: 401" 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 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 07 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 06 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: C7 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 199 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi parser: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi header: "Status: 401 Unauthorized" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi parser: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi parser: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi header done 2025/09/02 11:29:38 [debug] 168193#168193: *1 HTTP/1.1 401 Unauthorized Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:29:38 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive 2025/09/02 11:29:38 [debug] 168193#168193: *1 write new buf t:1 f:0 000063EDFA36B5D8, pos 000063EDFA36B5D8, size: 181 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http write filter: l:0 f:0 s:181 2025/09/02 11:29:38 [debug] 168193#168193: *1 http cacheable: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process upstream 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe read upstream: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe preread: 164 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe buf free s:0 t:1 f:0 000063EDFA36C180, pos 000063EDFA36C304, size: 164 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe length: -1 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe write downstream: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe write busy: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe write: out:0000000000000000, f:0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe read upstream: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe buf free s:0 t:1 f:0 000063EDFA36C180, pos 000063EDFA36C304, size: 164 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe length: -1 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer: 10, old: 80738491, new: 80738494 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream dummy handler 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 0 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 59997 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:10 ev:2005 d:0000754A5E9E62C8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream request: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream process upstream 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe read upstream: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 readv: eof:1, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 readv: 1, last:3544 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe recv chain: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe buf free s:0 t:1 f:0 000063EDFA36C180, pos 000063EDFA36C304, size: 164 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe length: -1 2025/09/02 11:29:38 [debug] 168193#168193: *1 input buf #0 000063EDFA36C304 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 06 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi closed stdout 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 03 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 01 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 08 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record byte: 00 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi record length: 8 2025/09/02 11:29:38 [debug] 168193#168193: *1 http fastcgi sent end request 2025/09/02 11:29:38 [debug] 168193#168193: *1 input buf 000063EDFA36C304 139 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe write downstream: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe write downstream flush in 2025/09/02 11:29:38 [debug] 168193#168193: *1 http output filter "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http copy filter: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http postpone filter "/upload?" 000063EDFA36B2E0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http chunk: 139 2025/09/02 11:29:38 [debug] 168193#168193: *1 write old buf t:1 f:0 000063EDFA36B5D8, pos 000063EDFA36B5D8, size: 181 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write new buf t:1 f:0 000063EDFA36B8D0, pos 000063EDFA36B8D0, size: 4 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write new buf t:1 f:0 000063EDFA36C180, pos 000063EDFA36C304, size: 139 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write new buf t:0 f:0 0000000000000000, pos 000063EDEDDBA2E8, size: 2 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http write filter: l:0 f:0 s:326 2025/09/02 11:29:38 [debug] 168193#168193: *1 http copy filter: 0 "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 pipe write downstream done 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer: 10, old: 80738491, new: 80738494 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream exit: 0000000000000000 2025/09/02 11:29:38 [debug] 168193#168193: *1 finalize http upstream request: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 finalize http fastcgi request 2025/09/02 11:29:38 [debug] 168193#168193: *1 free rr peer 1 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 close http upstream connection: 10 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA34AF20, unused: 48 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer del: 10: 80738491 2025/09/02 11:29:38 [debug] 168193#168193: *1 reusable connection: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http upstream temp fd: -1 2025/09/02 11:29:38 [debug] 168193#168193: *1 http output filter "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http copy filter: "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http postpone filter "/upload?" 00007FFE9150DE80 2025/09/02 11:29:38 [debug] 168193#168193: *1 http chunk: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write old buf t:1 f:0 000063EDFA36B5D8, pos 000063EDFA36B5D8, size: 181 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write old buf t:1 f:0 000063EDFA36B8D0, pos 000063EDFA36B8D0, size: 4 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write old buf t:1 f:0 000063EDFA36C180, pos 000063EDFA36C304, size: 139 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write old buf t:0 f:0 0000000000000000, pos 000063EDEDDBA2E8, size: 2 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 write new buf t:0 f:0 0000000000000000, pos 000063EDEDDBA2E5, size: 5 file: 0, size: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http write filter: l:1 f:0 s:331 2025/09/02 11:29:38 [debug] 168193#168193: *1 http write filter limit 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 writev: 331 of 331 2025/09/02 11:29:38 [debug] 168193#168193: *1 http write filter 0000000000000000 2025/09/02 11:29:38 [debug] 168193#168193: *1 http copy filter: 0 "/upload?" 2025/09/02 11:29:38 [debug] 168193#168193: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:29:38 [debug] 168193#168193: *1 set http keepalive handler 2025/09/02 11:29:38 [debug] 168193#168193: *1 http close request 2025/09/02 11:29:38 [debug] 168193#168193: *1 http log handler 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA36C180 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA380A50, unused: 3 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA376DC0, unused: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA36B170, unused: 1738 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA3640A0 2025/09/02 11:29:38 [debug] 168193#168193: *1 hc free: 0000000000000000 2025/09/02 11:29:38 [debug] 168193#168193: *1 hc busy: 0000000000000000 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 tcp_nodelay 2025/09/02 11:29:38 [debug] 168193#168193: *1 reusable connection: 1 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer add: 6: 65000:80743494 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 0 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: 65000 2025/09/02 11:29:38 [debug] 168193#168193: epoll: fd:6 ev:2005 d:0000754A5E9E61E0 2025/09/02 11:29:38 [debug] 168193#168193: *1 http keepalive handler 2025/09/02 11:29:38 [debug] 168193#168193: *1 malloc: 000063EDFA3640A0:1024 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: eof:1, avail:-1 2025/09/02 11:29:38 [debug] 168193#168193: *1 recv: fd:6 0 of 1024 2025/09/02 11:29:38 [info] 168193#168193: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 11:29:38 [debug] 168193#168193: *1 close http connection: 6 2025/09/02 11:29:38 [debug] 168193#168193: *1 event timer del: 6: 80743494 2025/09/02 11:29:38 [debug] 168193#168193: *1 reusable connection: 0 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA3640A0 2025/09/02 11:29:38 [debug] 168193#168193: *1 free: 000063EDFA361840, unused: 120 2025/09/02 11:29:38 [debug] 168193#168193: timer delta: 0 2025/09/02 11:29:38 [debug] 168193#168193: worker cycle 2025/09/02 11:29:38 [debug] 168193#168193: epoll timer: -1 2025/09/02 11:32:03 [notice] 168192#168192: signal 15 (SIGTERM) received from 168679, exiting 2025/09/02 11:32:03 [debug] 168192#168192: wake up, sigio 0 2025/09/02 11:32:03 [debug] 168192#168192: child: 0 168193 e:0 t:0 d:0 r:1 j:0 2025/09/02 11:32:03 [debug] 168192#168192: termination cycle: 50 2025/09/02 11:32:03 [debug] 168192#168192: sigsuspend 2025/09/02 11:32:03 [debug] 168193#168193: epoll: fd:7 ev:0001 d:0000754A5E9E60F8 2025/09/02 11:32:03 [debug] 168193#168193: channel handler 2025/09/02 11:32:03 [debug] 168193#168193: channel: 32 2025/09/02 11:32:03 [debug] 168193#168193: channel command: 4 2025/09/02 11:32:03 [debug] 168193#168193: channel: -2 2025/09/02 11:32:03 [debug] 168193#168193: timer delta: 144861 2025/09/02 11:32:03 [notice] 168193#168193: exiting 2025/09/02 11:32:03 [debug] 168193#168193: flush files 2025/09/02 11:32:03 [debug] 168193#168193: run cleanup: 000063EDFA3AFAA0 2025/09/02 11:32:03 [debug] 168193#168193: run cleanup: 000063EDFA3A2A38 2025/09/02 11:32:03 [debug] 168193#168193: cleanup resolver 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3B0E00 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3A3C00 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA382B70 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA381A60 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA37BA30 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA37A970 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3798B0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3787F0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA370190 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA367160, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3715A0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA37CA40, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA383B80, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA387B90, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA38BBA0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA38FBB0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA393BC0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA397BD0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA39BBE0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA39FBF0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3A4DD0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3A8DE0, unused: 0 2025/09/02 11:32:03 [debug] 168193#168193: free: 000063EDFA3ACDF0, unused: 4920 2025/09/02 11:32:03 [notice] 168193#168193: exit 2025/09/02 11:32:03 [notice] 168192#168192: signal 17 (SIGCHLD) received from 168193 2025/09/02 11:32:03 [notice] 168192#168192: worker process 168193 exited with code 0 2025/09/02 11:32:03 [debug] 168192#168192: shmtx forced unlock 2025/09/02 11:32:03 [debug] 168192#168192: wake up, sigio 3 2025/09/02 11:32:03 [debug] 168192#168192: reap children 2025/09/02 11:32:03 [debug] 168192#168192: child: 0 168193 e:1 t:1 d:0 r:1 j:0 2025/09/02 11:32:03 [notice] 168192#168192: exit 2025/09/02 11:32:03 [debug] 168192#168192: close listening 0.0.0.0:9001 #5 2025/09/02 11:32:03 [debug] 168192#168192: run cleanup: 000063EDFA3A2A38 2025/09/02 11:32:03 [debug] 168192#168192: cleanup resolver 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3B0E00 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3A3C00 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA382B70 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA381A60 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA37BA30 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA37A970 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3798B0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3787F0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA370190 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA367160, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3715A0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA37CA40, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA383B80, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA387B90, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA38BBA0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA38FBB0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA393BC0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA397BD0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA39BBE0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA39FBF0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3A4DD0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3A8DE0, unused: 0 2025/09/02 11:32:03 [debug] 168192#168192: free: 000063EDFA3ACDF0, unused: 4951 2025/09/02 11:32:06 [debug] 168715#168715: bind() 0.0.0.0:9001 #5 2025/09/02 11:32:06 [debug] 168715#168715: counter: 00007CB21E81E080, 1 2025/09/02 11:32:06 [debug] 168716#168716: bind() 0.0.0.0:9001 #5 2025/09/02 11:32:06 [notice] 168716#168716: using the "epoll" event method 2025/09/02 11:32:06 [debug] 168716#168716: counter: 000073B793B9B080, 1 2025/09/02 11:32:06 [notice] 168716#168716: nginx/1.18.0 (Ubuntu) 2025/09/02 11:32:06 [notice] 168716#168716: OS: Linux 6.12.10-76061203-generic 2025/09/02 11:32:06 [notice] 168716#168716: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 11:32:06 [debug] 168717#168716: write: 6, 00007FFCF9457230, 7, 0 2025/09/02 11:32:06 [debug] 168717#168717: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 11:32:06 [notice] 168717#168717: start worker processes 2025/09/02 11:32:06 [debug] 168717#168717: channel 6:7 2025/09/02 11:32:06 [notice] 168717#168717: start worker process 168718 2025/09/02 11:32:06 [debug] 168717#168717: sigsuspend 2025/09/02 11:32:06 [debug] 168718#168718: add cleanup: 0000567062D6DA70 2025/09/02 11:32:06 [debug] 168718#168718: malloc: 0000567062D20BD0:8 2025/09/02 11:32:06 [debug] 168718#168718: notify eventfd: 9 2025/09/02 11:32:06 [debug] 168718#168718: testing the EPOLLRDHUP flag: success 2025/09/02 11:32:06 [debug] 168718#168718: malloc: 0000567062D33580:6144 2025/09/02 11:32:06 [debug] 168718#168718: malloc: 000073B793993010:237568 2025/09/02 11:32:06 [debug] 168718#168718: malloc: 0000567062D706A0:98304 2025/09/02 11:32:06 [debug] 168718#168718: malloc: 0000567062D886B0:98304 2025/09/02 11:32:06 [debug] 168718#168718: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 11:32:06 [debug] 168718#168718: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 11:32:06 [debug] 168718#168718: setproctitle: "nginx: worker process" 2025/09/02 11:32:06 [debug] 168718#168718: worker cycle 2025/09/02 11:32:06 [debug] 168718#168718: epoll timer: -1 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:5 ev:0001 d:000073B793993010 2025/09/02 11:32:15 [debug] 168718#168718: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:32:15 [debug] 168718#168718: posix_memalign: 0000567062D1F840:512 @16 2025/09/02 11:32:15 [debug] 168718#168718: *1 accept: 127.0.0.1:34734 fd:6 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer add: 6: 60000:80895356 2025/09/02 11:32:15 [debug] 168718#168718: *1 reusable connection: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 8811 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 60000 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:6 ev:0001 d:000073B7939931E0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http wait request handler 2025/09/02 11:32:15 [debug] 168718#168718: *1 malloc: 0000567062D220A0:1024 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:6 908 of 1024 2025/09/02 11:32:15 [debug] 168718#168718: *1 reusable connection: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 posix_memalign: 0000567062D3EA20:4096 @16 2025/09/02 11:32:15 [debug] 168718#168718: *1 http process request line 2025/09/02 11:32:15 [debug] 168718#168718: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http uri: "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http args: "" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http exten: "" 2025/09/02 11:32:15 [debug] 168718#168718: *1 posix_memalign: 0000567062D34D90:4096 @16 2025/09/02 11:32:15 [debug] 168718#168718: *1 http process request header line 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header: "Host: localhost:9001" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header: "Accept: */*" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header: "Content-Type: text/plain" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header: "Content-Length: 39" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http header done 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer del: 6: 80895356 2025/09/02 11:32:15 [debug] 168718#168718: *1 generic phase: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 rewrite phase: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 test location: "/health" 2025/09/02 11:32:15 [debug] 168718#168718: *1 test location: "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:32:15 [debug] 168718#168718: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:32:15 [debug] 168718#168718: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:32:15 [debug] 168718#168718: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:32:15 [debug] 168718#168718: *1 using configuration "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http cl:39 max:104857600 2025/09/02 11:32:15 [debug] 168718#168718: *1 rewrite phase: 3 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "PUT" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script regex: "^(PUT)$" 2025/09/02 11:32:15 [notice] 168718#168718: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script if 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script if: false 2025/09/02 11:32:15 [debug] 168718#168718: *1 post rewrite phase: 4 2025/09/02 11:32:15 [debug] 168718#168718: *1 generic phase: 5 2025/09/02 11:32:15 [debug] 168718#168718: *1 generic phase: 6 2025/09/02 11:32:15 [debug] 168718#168718: *1 generic phase: 7 2025/09/02 11:32:15 [debug] 168718#168718: *1 access phase: 8 2025/09/02 11:32:15 [debug] 168718#168718: *1 access phase: 9 2025/09/02 11:32:15 [debug] 168718#168718: *1 access phase: 10 2025/09/02 11:32:15 [debug] 168718#168718: *1 post access phase: 11 2025/09/02 11:32:15 [debug] 168718#168718: *1 generic phase: 12 2025/09/02 11:32:15 [debug] 168718#168718: *1 generic phase: 13 2025/09/02 11:32:15 [debug] 168718#168718: *1 http client request body preread 39 2025/09/02 11:32:15 [debug] 168718#168718: *1 http request body content length filter 2025/09/02 11:32:15 [debug] 168718#168718: *1 http body new buf t:1 f:0 0000567062D22405, pos 0000567062D22405, size: 39 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http init upstream, client timer: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "QUERY_STRING" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "REQUEST_METHOD" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "PUT" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "CONTENT_TYPE" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "text/plain" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "39" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SCRIPT_NAME" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "REQUEST_URI" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "DOCUMENT_URI" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "./blobs" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "HTTP/1.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "http" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "CGI/1.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "nginx/" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "1.18.0" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "REMOTE_ADDR" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "127.0.0.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "REMOTE_PORT" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "34734" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "REMOTE_PORT: 34734" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SERVER_ADDR" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "127.0.0.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SERVER_PORT" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "9001" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SERVER_NAME" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "localhost" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "200" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script var: "./blobs" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:32:15 [debug] 168718#168718: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:32:15 [debug] 168718#168718: *1 posix_memalign: 0000567062D29140:4096 @16 2025/09/02 11:32:15 [debug] 168718#168718: *1 http cleanup add: 0000567062D29270 2025/09/02 11:32:15 [debug] 168718#168718: *1 get rr peer, try: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 stream socket 10 2025/09/02 11:32:15 [debug] 168718#168718: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 11:32:15 [debug] 168718#168718: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 11:32:15 [debug] 168718#168718: *1 connected 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream connect: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 posix_memalign: 0000567062D08F20:128 @16 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream send request 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream send request body 2025/09/02 11:32:15 [debug] 168718#168718: *1 chain writer buf fl:0 s:1328 2025/09/02 11:32:15 [debug] 168718#168718: *1 chain writer buf fl:0 s:39 2025/09/02 11:32:15 [debug] 168718#168718: *1 chain writer buf fl:0 s:9 2025/09/02 11:32:15 [debug] 168718#168718: *1 chain writer in: 0000567062D292E0 2025/09/02 11:32:15 [debug] 168718#168718: *1 writev: 1376 of 1376 2025/09/02 11:32:15 [debug] 168718#168718: *1 chain writer out: 0000000000000000 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer add: 10: 60000:80895356 2025/09/02 11:32:15 [debug] 168718#168718: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:32:15 [debug] 168718#168718: *1 http request count:2 blk:0 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 0 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 60000 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:6 ev:0004 d:000073B7939931E0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http run request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream check client, write event:1, "/upload" 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process header 2025/09/02 11:32:15 [debug] 168718#168718: *1 malloc: 0000567062D2A150:4096 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:10 48 of 4096 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 21 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 33 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream dummy handler 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 1 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 59999 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process header 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:10 1024 of 4048 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=39 DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0= 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 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream dummy handler 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 1 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 59998 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process header 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:10 3248 of 4096 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: A6 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 02 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 166 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "2025-09-02 11:32:15] 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNk... 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: " parse: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [ ["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"] ], "content": "Upload standard test file", "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70" 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "d03509edf64f54f05e72bde9ea74056440679" } ✅ SUCCESS: cJSON_Parse succeeded, event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], "content": "Upload standard test file", "sig": "595f7" 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679 " 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756822481 🔍 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 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream dummy handler 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 0 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 59998 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process header 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:10 512 of 4096 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream dummy handler 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 1 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 59997 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process header 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:10 3584 of 4096 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' (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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "chars) ℹ️ INFO: Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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: 1756822481 ✅ SUCCESS: Timestamp is valid: 2025-09-02 14:14:41 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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]: '1756826080' ✅ 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 recv: eof:0, avail:0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream dummy handler 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 0 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 59997 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:10 ev:2005 d:000073B7939932C8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream request: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process header 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:1, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:10 3696 of 4096 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 ( 4d 03 d6 2f f1 da 5a fc 18 a7 e7 a7 9f 5a 3b b4 |M../..Z......Z;.| 67 cf 4a 34 ec c2 d8 62 ed ee 0c 4a fe c0 6e fb |g.J4...b...J..n.| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "NFO: Provided ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ✅ 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "ignature bytes ( 59 5f 72 60 c4 c5 8d ac 8c 3a d7 7e 7c df 11 6c |Y_r`.....:.~|..l| c9 d2 de f8 a8 ae b1 e7 e5 84 c9 4d 3d 01 c7 9e |...........M=...| 98 e4 41 92 da 0f 7b 85 9f 3b 77 a6 e7 0d 03 50 |..A...{..;w....P| 9e df 64 f5 4f 05 e7 2b de 9e a7 40 56 44 06 79 |..d.O..+...@VD.y| 🔍 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' ℹ️ INFO: Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756822481 ℹ️ 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: F8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 504 2025/09/02 11:32:15 [error] 168718#168718: *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: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' ℹ️ 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 75 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 03 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 373 2025/09/02 11:32:15 [error] 168718#168718: *1 FastCGI sent in stderr: "tching hash tag: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 DEBUG: Found expiration tag: 1756826080 DEBUG: Event expired (now: 1756827135, exp: 1756826080) ❌ ERROR: Blossom event validation failed: -37 (Event has invalid content) AUTH: authenticate_request returned: -37 LOG: [2025-09-02 11:32:15] PUT /upload - Auth: auth_failed - Status: 401" 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 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 07 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 06 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: C7 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 199 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi parser: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi header: "Status: 401 Unauthorized" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi parser: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi parser: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi header done 2025/09/02 11:32:15 [debug] 168718#168718: *1 HTTP/1.1 401 Unauthorized Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:32:15 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive 2025/09/02 11:32:15 [debug] 168718#168718: *1 write new buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http write filter: l:0 f:0 s:181 2025/09/02 11:32:15 [debug] 168718#168718: *1 http cacheable: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream process upstream 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe read upstream: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe preread: 164 2025/09/02 11:32:15 [debug] 168718#168718: *1 readv: eof:1, avail:0 2025/09/02 11:32:15 [debug] 168718#168718: *1 readv: 1, last:400 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe recv chain: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe buf free s:0 t:1 f:0 0000567062D2A150, pos 0000567062D2AF1C, size: 164 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe length: -1 2025/09/02 11:32:15 [debug] 168718#168718: *1 input buf #0 0000567062D2AF1C 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 06 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi closed stdout 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 03 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 01 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 08 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record byte: 00 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi record length: 8 2025/09/02 11:32:15 [debug] 168718#168718: *1 http fastcgi sent end request 2025/09/02 11:32:15 [debug] 168718#168718: *1 input buf 0000567062D2AF1C 139 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe write downstream: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe write downstream flush in 2025/09/02 11:32:15 [debug] 168718#168718: *1 http output filter "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http copy filter: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http postpone filter "/upload?" 0000567062D292B0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http chunk: 139 2025/09/02 11:32:15 [debug] 168718#168718: *1 write old buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write new buf t:1 f:0 0000567062D298A0, pos 0000567062D298A0, size: 4 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write new buf t:1 f:0 0000567062D2A150, pos 0000567062D2AF1C, size: 139 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write new buf t:0 f:0 0000000000000000, pos 0000567030AFB2E8, size: 2 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http write filter: l:0 f:0 s:326 2025/09/02 11:32:15 [debug] 168718#168718: *1 http copy filter: 0 "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 pipe write downstream done 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer: 10, old: 80895356, new: 80895360 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream exit: 0000000000000000 2025/09/02 11:32:15 [debug] 168718#168718: *1 finalize http upstream request: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 finalize http fastcgi request 2025/09/02 11:32:15 [debug] 168718#168718: *1 free rr peer 1 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 close http upstream connection: 10 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D08F20, unused: 48 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer del: 10: 80895356 2025/09/02 11:32:15 [debug] 168718#168718: *1 reusable connection: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http upstream temp fd: -1 2025/09/02 11:32:15 [debug] 168718#168718: *1 http output filter "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http copy filter: "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http postpone filter "/upload?" 00007FFCF9456E70 2025/09/02 11:32:15 [debug] 168718#168718: *1 http chunk: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write old buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write old buf t:1 f:0 0000567062D298A0, pos 0000567062D298A0, size: 4 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write old buf t:1 f:0 0000567062D2A150, pos 0000567062D2AF1C, size: 139 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write old buf t:0 f:0 0000000000000000, pos 0000567030AFB2E8, size: 2 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 write new buf t:0 f:0 0000000000000000, pos 0000567030AFB2E5, size: 5 file: 0, size: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http write filter: l:1 f:0 s:331 2025/09/02 11:32:15 [debug] 168718#168718: *1 http write filter limit 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 writev: 331 of 331 2025/09/02 11:32:15 [debug] 168718#168718: *1 http write filter 0000000000000000 2025/09/02 11:32:15 [debug] 168718#168718: *1 http copy filter: 0 "/upload?" 2025/09/02 11:32:15 [debug] 168718#168718: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:32:15 [debug] 168718#168718: *1 set http keepalive handler 2025/09/02 11:32:15 [debug] 168718#168718: *1 http close request 2025/09/02 11:32:15 [debug] 168718#168718: *1 http log handler 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D2A150 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D3EA20, unused: 3 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D34D90, unused: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D29140, unused: 1738 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D220A0 2025/09/02 11:32:15 [debug] 168718#168718: *1 hc free: 0000000000000000 2025/09/02 11:32:15 [debug] 168718#168718: *1 hc busy: 0000000000000000 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 tcp_nodelay 2025/09/02 11:32:15 [debug] 168718#168718: *1 reusable connection: 1 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer add: 6: 65000:80900360 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 1 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: 65000 2025/09/02 11:32:15 [debug] 168718#168718: epoll: fd:6 ev:2005 d:000073B7939931E0 2025/09/02 11:32:15 [debug] 168718#168718: *1 http keepalive handler 2025/09/02 11:32:15 [debug] 168718#168718: *1 malloc: 0000567062D220A0:1024 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: eof:1, avail:-1 2025/09/02 11:32:15 [debug] 168718#168718: *1 recv: fd:6 0 of 1024 2025/09/02 11:32:15 [info] 168718#168718: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 11:32:15 [debug] 168718#168718: *1 close http connection: 6 2025/09/02 11:32:15 [debug] 168718#168718: *1 event timer del: 6: 80900360 2025/09/02 11:32:15 [debug] 168718#168718: *1 reusable connection: 0 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D220A0 2025/09/02 11:32:15 [debug] 168718#168718: *1 free: 0000567062D1F840, unused: 120 2025/09/02 11:32:15 [debug] 168718#168718: timer delta: 1 2025/09/02 11:32:15 [debug] 168718#168718: worker cycle 2025/09/02 11:32:15 [debug] 168718#168718: epoll timer: -1 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:5 ev:0001 d:000073B793993010 2025/09/02 11:35:33 [debug] 168718#168718: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:35:33 [debug] 168718#168718: posix_memalign: 0000567062D1F840:512 @16 2025/09/02 11:35:33 [debug] 168718#168718: *3 accept: 127.0.0.1:45018 fd:6 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer add: 6: 60000:81093400 2025/09/02 11:35:33 [debug] 168718#168718: *3 reusable connection: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 198039 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: 60000 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:6 ev:0001 d:000073B7939931E1 2025/09/02 11:35:33 [debug] 168718#168718: *3 http wait request handler 2025/09/02 11:35:33 [debug] 168718#168718: *3 malloc: 0000567062D220A0:1024 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:-1 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: fd:6 908 of 1024 2025/09/02 11:35:33 [debug] 168718#168718: *3 reusable connection: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 posix_memalign: 0000567062D3EA20:4096 @16 2025/09/02 11:35:33 [debug] 168718#168718: *3 http process request line 2025/09/02 11:35:33 [debug] 168718#168718: *3 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http uri: "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http args: "" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http exten: "" 2025/09/02 11:35:33 [debug] 168718#168718: *3 posix_memalign: 0000567062D34D90:4096 @16 2025/09/02 11:35:33 [debug] 168718#168718: *3 http process request header line 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header: "Host: localhost:9001" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header: "Accept: */*" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header: "Content-Type: text/plain" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header: "Content-Length: 39" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http header done 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer del: 6: 81093400 2025/09/02 11:35:33 [debug] 168718#168718: *3 generic phase: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 rewrite phase: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 test location: "/health" 2025/09/02 11:35:33 [debug] 168718#168718: *3 test location: "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:35:33 [debug] 168718#168718: *3 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:35:33 [debug] 168718#168718: *3 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:35:33 [debug] 168718#168718: *3 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:35:33 [debug] 168718#168718: *3 using configuration "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http cl:39 max:104857600 2025/09/02 11:35:33 [debug] 168718#168718: *3 rewrite phase: 3 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "PUT" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script regex: "^(PUT)$" 2025/09/02 11:35:33 [notice] 168718#168718: *3 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script if 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script if: false 2025/09/02 11:35:33 [debug] 168718#168718: *3 post rewrite phase: 4 2025/09/02 11:35:33 [debug] 168718#168718: *3 generic phase: 5 2025/09/02 11:35:33 [debug] 168718#168718: *3 generic phase: 6 2025/09/02 11:35:33 [debug] 168718#168718: *3 generic phase: 7 2025/09/02 11:35:33 [debug] 168718#168718: *3 access phase: 8 2025/09/02 11:35:33 [debug] 168718#168718: *3 access phase: 9 2025/09/02 11:35:33 [debug] 168718#168718: *3 access phase: 10 2025/09/02 11:35:33 [debug] 168718#168718: *3 post access phase: 11 2025/09/02 11:35:33 [debug] 168718#168718: *3 generic phase: 12 2025/09/02 11:35:33 [debug] 168718#168718: *3 generic phase: 13 2025/09/02 11:35:33 [debug] 168718#168718: *3 http client request body preread 39 2025/09/02 11:35:33 [debug] 168718#168718: *3 http request body content length filter 2025/09/02 11:35:33 [debug] 168718#168718: *3 http body new buf t:1 f:0 0000567062D22405, pos 0000567062D22405, size: 39 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http init upstream, client timer: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "QUERY_STRING" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "QUERY_STRING: " 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "REQUEST_METHOD" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "PUT" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "CONTENT_TYPE" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "text/plain" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "CONTENT_LENGTH" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "39" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SCRIPT_NAME" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "REQUEST_URI" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "DOCUMENT_URI" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "./blobs" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "HTTP/1.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "REQUEST_SCHEME" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "http" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "CGI/1.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "nginx/" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "1.18.0" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "REMOTE_ADDR" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "127.0.0.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "REMOTE_PORT" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "45018" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "REMOTE_PORT: 45018" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SERVER_ADDR" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "127.0.0.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SERVER_PORT" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "9001" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SERVER_NAME" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "localhost" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "REDIRECT_STATUS" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "200" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script var: "./blobs" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http script copy: "/ginxsom.fcgi" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:35:33 [debug] 168718#168718: *3 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:35:33 [debug] 168718#168718: *3 posix_memalign: 0000567062D29140:4096 @16 2025/09/02 11:35:33 [debug] 168718#168718: *3 http cleanup add: 0000567062D29270 2025/09/02 11:35:33 [debug] 168718#168718: *3 get rr peer, try: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 stream socket 10 2025/09/02 11:35:33 [debug] 168718#168718: *3 epoll add connection: fd:10 ev:80002005 2025/09/02 11:35:33 [debug] 168718#168718: *3 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #4 2025/09/02 11:35:33 [debug] 168718#168718: *3 connected 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream connect: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 posix_memalign: 0000567062D08F20:128 @16 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream send request 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream send request body 2025/09/02 11:35:33 [debug] 168718#168718: *3 chain writer buf fl:0 s:1328 2025/09/02 11:35:33 [debug] 168718#168718: *3 chain writer buf fl:0 s:39 2025/09/02 11:35:33 [debug] 168718#168718: *3 chain writer buf fl:0 s:9 2025/09/02 11:35:33 [debug] 168718#168718: *3 chain writer in: 0000567062D292E0 2025/09/02 11:35:33 [debug] 168718#168718: *3 writev: 1376 of 1376 2025/09/02 11:35:33 [debug] 168718#168718: *3 chain writer out: 0000000000000000 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer add: 10: 60000:81093400 2025/09/02 11:35:33 [debug] 168718#168718: *3 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:35:33 [debug] 168718#168718: *3 http request count:2 blk:0 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 0 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: 60000 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:6 ev:0004 d:000073B7939931E1 2025/09/02 11:35:33 [debug] 168718#168718: *3 http run request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream check client, write event:1, "/upload" 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C9 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream process header 2025/09/02 11:35:33 [debug] 168718#168718: *3 malloc: 0000567062D2A150:4096 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:-1 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: fd:10 2784 of 4096 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 21 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 33 2025/09/02 11:35:33 [error] 168718#168718: *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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *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 11:35:33] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=39 DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0= 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: A6 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 02 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 166 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "2025-09-02 11:35:33] 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNk... 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: " parse: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [ ["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"] ], "content": "Upload standard test file", "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70" 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 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream dummy handler 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 1 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: 59999 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C9 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream process header 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:-1 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: fd:10 2048 of 4096 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "d03509edf64f54f05e72bde9ea74056440679" } ✅ SUCCESS: cJSON_Parse succeeded, event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], "content": "Upload standard test file", "sig": "595f7" 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679 " 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756822481 🔍 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream dummy handler 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 1 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: 59998 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C9 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream process header 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:-1 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: fd:10 4096 of 4096 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: avail:2560 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' (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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "chars) ℹ️ INFO: Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "cking signature hex characters... ✅ SUCCESS: Signature hex characters are valid (lowercase) 🔍 STEP STRUCT-6: Validating timestamp ℹ️ INFO: Created_at timestamp: 1756822481 ✅ SUCCESS: Timestamp is valid: 2025-09-02 14:14:41 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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]: '1756826080' ✅ 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 ( 4d 03 d6 2f f1 da 5a fc 18 a7 e7 a7 9f 5a 3b b4 |M../..Z......Z;.| 67 cf 4a 34 ec c2 d8 62 ed ee 0c 4a fe c0 6e fb |g.J4...b...J..n.| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ 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 11:35:33 [debug] 168718#168718: *3 recv: eof:0, avail:2560 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: fd:10 3184 of 4096 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: avail:0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "NFO: Provided ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ✅ 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "ignature bytes ( 59 5f 72 60 c4 c5 8d ac 8c 3a d7 7e 7c df 11 6c |Y_r`.....:.~|..l| c9 d2 de f8 a8 ae b1 e7 e5 84 c9 4d 3d 01 c7 9e |...........M=...| 98 e4 41 92 da 0f 7b 85 9f 3b 77 a6 e7 0d 03 50 |..A...{..;w....P| 9e df 64 f5 4f 05 e7 2b de 9e a7 40 56 44 06 79 |..d.O..+...@VD.y| 🔍 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' ℹ️ INFO: Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756822481 ℹ️ 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: F8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 504 2025/09/02 11:35:33 [error] 168718#168718: *3 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: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' ℹ️ 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 75 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 03 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 373 2025/09/02 11:35:33 [error] 168718#168718: *3 FastCGI sent in stderr: "tching hash tag: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 DEBUG: Found expiration tag: 1756826080 DEBUG: Event expired (now: 1756827333, exp: 1756826080) ❌ ERROR: Blossom event validation failed: -37 (Event has invalid content) AUTH: authenticate_request returned: -37 LOG: [2025-09-02 11:35:33] PUT /upload - Auth: auth_failed - Status: 401" 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 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 07 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 06 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: C7 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 199 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi parser: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi header: "Status: 401 Unauthorized" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi parser: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi parser: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi header done 2025/09/02 11:35:33 [debug] 168718#168718: *3 HTTP/1.1 401 Unauthorized Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:35:33 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive 2025/09/02 11:35:33 [debug] 168718#168718: *3 write new buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http write filter: l:0 f:0 s:181 2025/09/02 11:35:33 [debug] 168718#168718: *3 http cacheable: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream process upstream 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe read upstream: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe preread: 164 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe buf free s:0 t:1 f:0 0000567062D2A150, pos 0000567062D2AD1C, size: 164 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe length: -1 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe write downstream: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe write busy: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe write: out:0000000000000000, f:0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe read upstream: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe buf free s:0 t:1 f:0 0000567062D2A150, pos 0000567062D2AD1C, size: 164 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe length: -1 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer: 10, old: 81093400, new: 81093403 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream dummy handler 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 1 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: 59997 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:10 ev:2005 d:000073B7939932C9 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream request: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream process upstream 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe read upstream: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 readv: eof:1, avail:-1 2025/09/02 11:35:33 [debug] 168718#168718: *3 readv: 1, last:912 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe recv chain: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe buf free s:0 t:1 f:0 0000567062D2A150, pos 0000567062D2AD1C, size: 164 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe length: -1 2025/09/02 11:35:33 [debug] 168718#168718: *3 input buf #0 0000567062D2AD1C 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 06 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi closed stdout 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 03 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 01 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 08 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record byte: 00 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi record length: 8 2025/09/02 11:35:33 [debug] 168718#168718: *3 http fastcgi sent end request 2025/09/02 11:35:33 [debug] 168718#168718: *3 input buf 0000567062D2AD1C 139 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe write downstream: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe write downstream flush in 2025/09/02 11:35:33 [debug] 168718#168718: *3 http output filter "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http copy filter: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http postpone filter "/upload?" 0000567062D292B0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http chunk: 139 2025/09/02 11:35:33 [debug] 168718#168718: *3 write old buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write new buf t:1 f:0 0000567062D298A0, pos 0000567062D298A0, size: 4 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write new buf t:1 f:0 0000567062D2A150, pos 0000567062D2AD1C, size: 139 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write new buf t:0 f:0 0000000000000000, pos 0000567030AFB2E8, size: 2 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http write filter: l:0 f:0 s:326 2025/09/02 11:35:33 [debug] 168718#168718: *3 http copy filter: 0 "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 pipe write downstream done 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer: 10, old: 81093400, new: 81093404 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream exit: 0000000000000000 2025/09/02 11:35:33 [debug] 168718#168718: *3 finalize http upstream request: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 finalize http fastcgi request 2025/09/02 11:35:33 [debug] 168718#168718: *3 free rr peer 1 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 close http upstream connection: 10 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D08F20, unused: 48 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer del: 10: 81093400 2025/09/02 11:35:33 [debug] 168718#168718: *3 reusable connection: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http upstream temp fd: -1 2025/09/02 11:35:33 [debug] 168718#168718: *3 http output filter "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http copy filter: "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http postpone filter "/upload?" 00007FFCF9456E70 2025/09/02 11:35:33 [debug] 168718#168718: *3 http chunk: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write old buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write old buf t:1 f:0 0000567062D298A0, pos 0000567062D298A0, size: 4 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write old buf t:1 f:0 0000567062D2A150, pos 0000567062D2AD1C, size: 139 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write old buf t:0 f:0 0000000000000000, pos 0000567030AFB2E8, size: 2 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 write new buf t:0 f:0 0000000000000000, pos 0000567030AFB2E5, size: 5 file: 0, size: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 http write filter: l:1 f:0 s:331 2025/09/02 11:35:33 [debug] 168718#168718: *3 http write filter limit 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 writev: 331 of 331 2025/09/02 11:35:33 [debug] 168718#168718: *3 http write filter 0000000000000000 2025/09/02 11:35:33 [debug] 168718#168718: *3 http copy filter: 0 "/upload?" 2025/09/02 11:35:33 [debug] 168718#168718: *3 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:35:33 [debug] 168718#168718: *3 set http keepalive handler 2025/09/02 11:35:33 [debug] 168718#168718: *3 http close request 2025/09/02 11:35:33 [debug] 168718#168718: *3 http log handler 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D2A150 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D3EA20, unused: 3 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D34D90, unused: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D29140, unused: 1738 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D220A0 2025/09/02 11:35:33 [debug] 168718#168718: *3 hc free: 0000000000000000 2025/09/02 11:35:33 [debug] 168718#168718: *3 hc busy: 0000000000000000 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 tcp_nodelay 2025/09/02 11:35:33 [debug] 168718#168718: *3 reusable connection: 1 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer add: 6: 65000:81098404 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 1 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: 65000 2025/09/02 11:35:33 [debug] 168718#168718: epoll: fd:6 ev:2005 d:000073B7939931E1 2025/09/02 11:35:33 [debug] 168718#168718: *3 http keepalive handler 2025/09/02 11:35:33 [debug] 168718#168718: *3 malloc: 0000567062D220A0:1024 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: eof:1, avail:-1 2025/09/02 11:35:33 [debug] 168718#168718: *3 recv: fd:6 0 of 1024 2025/09/02 11:35:33 [info] 168718#168718: *3 client 127.0.0.1 closed keepalive connection 2025/09/02 11:35:33 [debug] 168718#168718: *3 close http connection: 6 2025/09/02 11:35:33 [debug] 168718#168718: *3 event timer del: 6: 81098404 2025/09/02 11:35:33 [debug] 168718#168718: *3 reusable connection: 0 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D220A0 2025/09/02 11:35:33 [debug] 168718#168718: *3 free: 0000567062D1F840, unused: 120 2025/09/02 11:35:33 [debug] 168718#168718: timer delta: 1 2025/09/02 11:35:33 [debug] 168718#168718: worker cycle 2025/09/02 11:35:33 [debug] 168718#168718: epoll timer: -1 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:5 ev:0001 d:000073B793993010 2025/09/02 11:40:11 [debug] 168718#168718: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:40:11 [debug] 168718#168718: posix_memalign: 0000567062D1F840:512 @16 2025/09/02 11:40:11 [debug] 168718#168718: *5 accept: 127.0.0.1:42118 fd:6 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer add: 6: 60000:81371495 2025/09/02 11:40:11 [debug] 168718#168718: *5 reusable connection: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:40:11 [debug] 168718#168718: timer delta: 278090 2025/09/02 11:40:11 [debug] 168718#168718: worker cycle 2025/09/02 11:40:11 [debug] 168718#168718: epoll timer: 60000 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:6 ev:0001 d:000073B7939931E0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http wait request handler 2025/09/02 11:40:11 [debug] 168718#168718: *5 malloc: 0000567062D220A0:1024 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: eof:0, avail:-1 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: fd:6 908 of 1024 2025/09/02 11:40:11 [debug] 168718#168718: *5 reusable connection: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 posix_memalign: 0000567062D3EA20:4096 @16 2025/09/02 11:40:11 [debug] 168718#168718: *5 http process request line 2025/09/02 11:40:11 [debug] 168718#168718: *5 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http uri: "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http args: "" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http exten: "" 2025/09/02 11:40:11 [debug] 168718#168718: *5 posix_memalign: 0000567062D34D90:4096 @16 2025/09/02 11:40:11 [debug] 168718#168718: *5 http process request header line 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header: "Host: localhost:9001" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header: "Accept: */*" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header: "Content-Type: text/plain" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header: "Content-Length: 39" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http header done 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer del: 6: 81371495 2025/09/02 11:40:11 [debug] 168718#168718: *5 generic phase: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 rewrite phase: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 test location: "/health" 2025/09/02 11:40:11 [debug] 168718#168718: *5 test location: "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:40:11 [debug] 168718#168718: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:40:11 [debug] 168718#168718: *5 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:40:11 [debug] 168718#168718: *5 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:40:11 [debug] 168718#168718: *5 using configuration "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http cl:39 max:104857600 2025/09/02 11:40:11 [debug] 168718#168718: *5 rewrite phase: 3 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "PUT" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script regex: "^(PUT)$" 2025/09/02 11:40:11 [notice] 168718#168718: *5 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script if 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script if: false 2025/09/02 11:40:11 [debug] 168718#168718: *5 post rewrite phase: 4 2025/09/02 11:40:11 [debug] 168718#168718: *5 generic phase: 5 2025/09/02 11:40:11 [debug] 168718#168718: *5 generic phase: 6 2025/09/02 11:40:11 [debug] 168718#168718: *5 generic phase: 7 2025/09/02 11:40:11 [debug] 168718#168718: *5 access phase: 8 2025/09/02 11:40:11 [debug] 168718#168718: *5 access phase: 9 2025/09/02 11:40:11 [debug] 168718#168718: *5 access phase: 10 2025/09/02 11:40:11 [debug] 168718#168718: *5 post access phase: 11 2025/09/02 11:40:11 [debug] 168718#168718: *5 generic phase: 12 2025/09/02 11:40:11 [debug] 168718#168718: *5 generic phase: 13 2025/09/02 11:40:11 [debug] 168718#168718: *5 http client request body preread 39 2025/09/02 11:40:11 [debug] 168718#168718: *5 http request body content length filter 2025/09/02 11:40:11 [debug] 168718#168718: *5 http body new buf t:1 f:0 0000567062D22405, pos 0000567062D22405, size: 39 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http init upstream, client timer: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "QUERY_STRING" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "QUERY_STRING: " 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "REQUEST_METHOD" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "PUT" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "CONTENT_TYPE" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "text/plain" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "CONTENT_LENGTH" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "39" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SCRIPT_NAME" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "REQUEST_URI" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "DOCUMENT_URI" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "./blobs" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "HTTP/1.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "REQUEST_SCHEME" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "http" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "CGI/1.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "nginx/" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "1.18.0" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "REMOTE_ADDR" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "127.0.0.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "REMOTE_PORT" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "42118" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "REMOTE_PORT: 42118" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SERVER_ADDR" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "127.0.0.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SERVER_PORT" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "9001" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SERVER_NAME" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "localhost" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "REDIRECT_STATUS" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "200" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script var: "./blobs" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http script copy: "/ginxsom.fcgi" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:40:11 [debug] 168718#168718: *5 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:40:11 [debug] 168718#168718: *5 posix_memalign: 0000567062D29140:4096 @16 2025/09/02 11:40:11 [debug] 168718#168718: *5 http cleanup add: 0000567062D29270 2025/09/02 11:40:11 [debug] 168718#168718: *5 get rr peer, try: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 stream socket 10 2025/09/02 11:40:11 [debug] 168718#168718: *5 epoll add connection: fd:10 ev:80002005 2025/09/02 11:40:11 [debug] 168718#168718: *5 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #6 2025/09/02 11:40:11 [debug] 168718#168718: *5 connected 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream connect: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 posix_memalign: 0000567062D08F20:128 @16 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream send request 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream send request body 2025/09/02 11:40:11 [debug] 168718#168718: *5 chain writer buf fl:0 s:1328 2025/09/02 11:40:11 [debug] 168718#168718: *5 chain writer buf fl:0 s:39 2025/09/02 11:40:11 [debug] 168718#168718: *5 chain writer buf fl:0 s:9 2025/09/02 11:40:11 [debug] 168718#168718: *5 chain writer in: 0000567062D292E0 2025/09/02 11:40:11 [debug] 168718#168718: *5 writev: 1376 of 1376 2025/09/02 11:40:11 [debug] 168718#168718: *5 chain writer out: 0000000000000000 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer add: 10: 60000:81371495 2025/09/02 11:40:11 [debug] 168718#168718: *5 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:40:11 [debug] 168718#168718: *5 http request count:2 blk:0 2025/09/02 11:40:11 [debug] 168718#168718: timer delta: 0 2025/09/02 11:40:11 [debug] 168718#168718: worker cycle 2025/09/02 11:40:11 [debug] 168718#168718: epoll timer: 60000 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:6 ev:0004 d:000073B7939931E0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http run request: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream check client, write event:1, "/upload" 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream request: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream process header 2025/09/02 11:40:11 [debug] 168718#168718: *5 malloc: 0000567062D2A150:4096 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: eof:0, avail:-1 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: fd:10 2784 of 4096 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 21 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 33 2025/09/02 11:40:11 [error] 168718#168718: *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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *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 11:40:11] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=39 DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0= 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: A6 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 02 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 166 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "2025-09-02 11:40:11] 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNk... 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: " parse: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [ ["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"] ], "content": "Upload standard test file", "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70" 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 11:40:11 [debug] 168718#168718: *5 recv: eof:0, avail:0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream request: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream dummy handler 2025/09/02 11:40:11 [debug] 168718#168718: timer delta: 1 2025/09/02 11:40:11 [debug] 168718#168718: worker cycle 2025/09/02 11:40:11 [debug] 168718#168718: epoll timer: 59999 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:10 ev:0005 d:000073B7939932C8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream request: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream process header 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: eof:0, avail:-1 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: fd:10 4096 of 4096 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: avail:1536 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "d03509edf64f54f05e72bde9ea74056440679" } ✅ SUCCESS: cJSON_Parse succeeded, event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], "content": "Upload standard test file", "sig": "595f7" 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679 " 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756822481 🔍 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' (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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "chars) ℹ️ INFO: Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (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 11:40:11 [debug] 168718#168718: *5 recv: eof:0, avail:1536 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: fd:10 4096 of 4096 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: avail:0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "cking signature hex characters... ✅ SUCCESS: Signature hex characters are valid (lowercase) 🔍 STEP STRUCT-6: Validating timestamp ℹ️ INFO: Created_at timestamp: 1756822481 ✅ SUCCESS: Timestamp is valid: 2025-09-02 14:14:41 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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]: '1756826080' ✅ 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 ( 4d 03 d6 2f f1 da 5a fc 18 a7 e7 a7 9f 5a 3b b4 |M../..Z......Z;.| 67 cf 4a 34 ec c2 d8 62 ed ee 0c 4a fe c0 6e fb |g.J4...b...J..n.| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "NFO: Provided ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ✅ 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "ignature bytes ( 59 5f 72 60 c4 c5 8d ac 8c 3a d7 7e 7c df 11 6c |Y_r`.....:.~|..l| c9 d2 de f8 a8 ae b1 e7 e5 84 c9 4d 3d 01 c7 9e |...........M=...| 98 e4 41 92 da 0f 7b 85 9f 3b 77 a6 e7 0d 03 50 |..A...{..;w....P| 9e df 64 f5 4f 05 e7 2b de 9e a7 40 56 44 06 79 |..d.O..+...@VD.y| 🔍 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' ℹ️ INFO: Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756822481 ℹ️ 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 11:40:11 [debug] 168718#168718: *5 recv: eof:0, avail:0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream request: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream dummy handler 2025/09/02 11:40:11 [debug] 168718#168718: timer delta: 1 2025/09/02 11:40:11 [debug] 168718#168718: worker cycle 2025/09/02 11:40:11 [debug] 168718#168718: epoll timer: 59998 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:10 ev:2005 d:000073B7939932C8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream request: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream process header 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: eof:1, avail:-1 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: fd:10 1136 of 4096 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: F8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 504 2025/09/02 11:40:11 [error] 168718#168718: *5 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: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' ℹ️ 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 75 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 03 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 373 2025/09/02 11:40:11 [error] 168718#168718: *5 FastCGI sent in stderr: "tching hash tag: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 DEBUG: Found expiration tag: 1756826080 DEBUG: Event expired (now: 1756827611, exp: 1756826080) ❌ ERROR: Blossom event validation failed: -37 (Event has invalid content) AUTH: authenticate_request returned: -37 LOG: [2025-09-02 11:40:11] PUT /upload - Auth: auth_failed - Status: 401" 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 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 07 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 06 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: C7 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 199 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi parser: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi header: "Status: 401 Unauthorized" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi parser: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi parser: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi header done 2025/09/02 11:40:11 [debug] 168718#168718: *5 HTTP/1.1 401 Unauthorized Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:40:11 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive 2025/09/02 11:40:11 [debug] 168718#168718: *5 write new buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http write filter: l:0 f:0 s:181 2025/09/02 11:40:11 [debug] 168718#168718: *5 http cacheable: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream process upstream 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe read upstream: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe preread: 164 2025/09/02 11:40:11 [debug] 168718#168718: *5 readv: eof:1, avail:0 2025/09/02 11:40:11 [debug] 168718#168718: *5 readv: 1, last:2960 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe recv chain: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe buf free s:0 t:1 f:0 0000567062D2A150, pos 0000567062D2A51C, size: 164 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe length: -1 2025/09/02 11:40:11 [debug] 168718#168718: *5 input buf #0 0000567062D2A51C 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 06 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi closed stdout 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 03 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 01 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 08 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record byte: 00 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi record length: 8 2025/09/02 11:40:11 [debug] 168718#168718: *5 http fastcgi sent end request 2025/09/02 11:40:11 [debug] 168718#168718: *5 input buf 0000567062D2A51C 139 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe write downstream: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe write downstream flush in 2025/09/02 11:40:11 [debug] 168718#168718: *5 http output filter "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http copy filter: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http postpone filter "/upload?" 0000567062D292B0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http chunk: 139 2025/09/02 11:40:11 [debug] 168718#168718: *5 write old buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write new buf t:1 f:0 0000567062D298A0, pos 0000567062D298A0, size: 4 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write new buf t:1 f:0 0000567062D2A150, pos 0000567062D2A51C, size: 139 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write new buf t:0 f:0 0000000000000000, pos 0000567030AFB2E8, size: 2 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http write filter: l:0 f:0 s:326 2025/09/02 11:40:11 [debug] 168718#168718: *5 http copy filter: 0 "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 pipe write downstream done 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer: 10, old: 81371495, new: 81371498 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream exit: 0000000000000000 2025/09/02 11:40:11 [debug] 168718#168718: *5 finalize http upstream request: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 finalize http fastcgi request 2025/09/02 11:40:11 [debug] 168718#168718: *5 free rr peer 1 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 close http upstream connection: 10 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D08F20, unused: 48 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer del: 10: 81371495 2025/09/02 11:40:11 [debug] 168718#168718: *5 reusable connection: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http upstream temp fd: -1 2025/09/02 11:40:11 [debug] 168718#168718: *5 http output filter "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http copy filter: "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http postpone filter "/upload?" 00007FFCF9456E70 2025/09/02 11:40:11 [debug] 168718#168718: *5 http chunk: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write old buf t:1 f:0 0000567062D295A8, pos 0000567062D295A8, size: 181 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write old buf t:1 f:0 0000567062D298A0, pos 0000567062D298A0, size: 4 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write old buf t:1 f:0 0000567062D2A150, pos 0000567062D2A51C, size: 139 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write old buf t:0 f:0 0000000000000000, pos 0000567030AFB2E8, size: 2 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 write new buf t:0 f:0 0000000000000000, pos 0000567030AFB2E5, size: 5 file: 0, size: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http write filter: l:1 f:0 s:331 2025/09/02 11:40:11 [debug] 168718#168718: *5 http write filter limit 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 writev: 331 of 331 2025/09/02 11:40:11 [debug] 168718#168718: *5 http write filter 0000000000000000 2025/09/02 11:40:11 [debug] 168718#168718: *5 http copy filter: 0 "/upload?" 2025/09/02 11:40:11 [debug] 168718#168718: *5 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:40:11 [debug] 168718#168718: *5 set http keepalive handler 2025/09/02 11:40:11 [debug] 168718#168718: *5 http close request 2025/09/02 11:40:11 [debug] 168718#168718: *5 http log handler 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D2A150 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D3EA20, unused: 3 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D34D90, unused: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D29140, unused: 1738 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D220A0 2025/09/02 11:40:11 [debug] 168718#168718: *5 hc free: 0000000000000000 2025/09/02 11:40:11 [debug] 168718#168718: *5 hc busy: 0000000000000000 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 tcp_nodelay 2025/09/02 11:40:11 [debug] 168718#168718: *5 reusable connection: 1 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer add: 6: 65000:81376498 2025/09/02 11:40:11 [debug] 168718#168718: timer delta: 1 2025/09/02 11:40:11 [debug] 168718#168718: worker cycle 2025/09/02 11:40:11 [debug] 168718#168718: epoll timer: 65000 2025/09/02 11:40:11 [debug] 168718#168718: epoll: fd:6 ev:2005 d:000073B7939931E0 2025/09/02 11:40:11 [debug] 168718#168718: *5 http keepalive handler 2025/09/02 11:40:11 [debug] 168718#168718: *5 malloc: 0000567062D220A0:1024 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: eof:1, avail:-1 2025/09/02 11:40:11 [debug] 168718#168718: *5 recv: fd:6 0 of 1024 2025/09/02 11:40:11 [info] 168718#168718: *5 client 127.0.0.1 closed keepalive connection 2025/09/02 11:40:11 [debug] 168718#168718: *5 close http connection: 6 2025/09/02 11:40:11 [debug] 168718#168718: *5 event timer del: 6: 81376498 2025/09/02 11:40:11 [debug] 168718#168718: *5 reusable connection: 0 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D220A0 2025/09/02 11:40:11 [debug] 168718#168718: *5 free: 0000567062D1F840, unused: 120 2025/09/02 11:40:11 [debug] 168718#168718: timer delta: 2 2025/09/02 11:40:11 [debug] 168718#168718: worker cycle 2025/09/02 11:40:11 [debug] 168718#168718: epoll timer: -1 2025/09/02 11:43:38 [notice] 168717#168717: signal 15 (SIGTERM) received from 169402, exiting 2025/09/02 11:43:38 [debug] 168717#168717: wake up, sigio 0 2025/09/02 11:43:38 [debug] 168717#168717: child: 0 168718 e:0 t:0 d:0 r:1 j:0 2025/09/02 11:43:38 [debug] 168717#168717: termination cycle: 50 2025/09/02 11:43:38 [debug] 168717#168717: sigsuspend 2025/09/02 11:43:38 [debug] 168718#168718: epoll: fd:7 ev:0001 d:000073B7939930F8 2025/09/02 11:43:38 [debug] 168718#168718: channel handler 2025/09/02 11:43:38 [debug] 168718#168718: channel: 32 2025/09/02 11:43:38 [debug] 168718#168718: channel command: 4 2025/09/02 11:43:38 [debug] 168718#168718: channel: -2 2025/09/02 11:43:38 [debug] 168718#168718: timer delta: 207722 2025/09/02 11:43:38 [notice] 168718#168718: exiting 2025/09/02 11:43:38 [debug] 168718#168718: flush files 2025/09/02 11:43:38 [debug] 168718#168718: run cleanup: 0000567062D6DA70 2025/09/02 11:43:38 [debug] 168718#168718: run cleanup: 0000567062D60A08 2025/09/02 11:43:38 [debug] 168718#168718: cleanup resolver 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D6EDD0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D61BD0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D40B40 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D3FA30 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D39A00 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D38940 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D37880 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D367C0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D2E160 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D25130, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D2F570, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D3AA10, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D41B50, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D45B60, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D49B70, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D4DB80, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D51B90, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D55BA0, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D59BB0, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D5DBC0, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D62DA0, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D66DB0, unused: 0 2025/09/02 11:43:38 [debug] 168718#168718: free: 0000567062D6ADC0, unused: 4920 2025/09/02 11:43:38 [notice] 168718#168718: exit 2025/09/02 11:43:38 [notice] 168717#168717: signal 17 (SIGCHLD) received from 168718 2025/09/02 11:43:38 [notice] 168717#168717: worker process 168718 exited with code 0 2025/09/02 11:43:38 [debug] 168717#168717: shmtx forced unlock 2025/09/02 11:43:38 [debug] 168717#168717: wake up, sigio 3 2025/09/02 11:43:38 [debug] 168717#168717: reap children 2025/09/02 11:43:38 [debug] 168717#168717: child: 0 168718 e:1 t:1 d:0 r:1 j:0 2025/09/02 11:43:38 [notice] 168717#168717: exit 2025/09/02 11:43:38 [debug] 168717#168717: close listening 0.0.0.0:9001 #5 2025/09/02 11:43:38 [debug] 168717#168717: run cleanup: 0000567062D60A08 2025/09/02 11:43:38 [debug] 168717#168717: cleanup resolver 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D6EDD0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D61BD0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D40B40 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D3FA30 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D39A00 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D38940 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D37880 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D367C0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D2E160 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D25130, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D2F570, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D3AA10, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D41B50, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D45B60, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D49B70, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D4DB80, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D51B90, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D55BA0, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D59BB0, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D5DBC0, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D62DA0, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D66DB0, unused: 0 2025/09/02 11:43:38 [debug] 168717#168717: free: 0000567062D6ADC0, unused: 4951 2025/09/02 11:43:42 [debug] 169451#169451: bind() 0.0.0.0:9001 #5 2025/09/02 11:43:42 [debug] 169451#169451: counter: 00007CA6E4977080, 1 2025/09/02 11:43:42 [debug] 169456#169456: bind() 0.0.0.0:9001 #5 2025/09/02 11:43:42 [notice] 169456#169456: using the "epoll" event method 2025/09/02 11:43:42 [debug] 169456#169456: counter: 000074C851AC0080, 1 2025/09/02 11:43:42 [notice] 169456#169456: nginx/1.18.0 (Ubuntu) 2025/09/02 11:43:42 [notice] 169456#169456: OS: Linux 6.12.10-76061203-generic 2025/09/02 11:43:42 [notice] 169456#169456: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 11:43:42 [debug] 169457#169456: write: 6, 00007FFEE794D8E0, 7, 0 2025/09/02 11:43:42 [debug] 169457#169457: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 11:43:42 [notice] 169457#169457: start worker processes 2025/09/02 11:43:42 [debug] 169457#169457: channel 6:7 2025/09/02 11:43:42 [notice] 169457#169457: start worker process 169458 2025/09/02 11:43:42 [debug] 169457#169457: sigsuspend 2025/09/02 11:43:42 [debug] 169458#169458: add cleanup: 00005638F5B91A70 2025/09/02 11:43:42 [debug] 169458#169458: malloc: 00005638F5B44BD0:8 2025/09/02 11:43:42 [debug] 169458#169458: notify eventfd: 9 2025/09/02 11:43:42 [debug] 169458#169458: testing the EPOLLRDHUP flag: success 2025/09/02 11:43:42 [debug] 169458#169458: malloc: 00005638F5B57580:6144 2025/09/02 11:43:42 [debug] 169458#169458: malloc: 000074C8518B8010:237568 2025/09/02 11:43:42 [debug] 169458#169458: malloc: 00005638F5B946A0:98304 2025/09/02 11:43:42 [debug] 169458#169458: malloc: 00005638F5BAC6B0:98304 2025/09/02 11:43:42 [debug] 169458#169458: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 11:43:42 [debug] 169458#169458: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 11:43:42 [debug] 169458#169458: setproctitle: "nginx: worker process" 2025/09/02 11:43:42 [debug] 169458#169458: worker cycle 2025/09/02 11:43:42 [debug] 169458#169458: epoll timer: -1 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:5 ev:0001 d:000074C8518B8010 2025/09/02 11:43:51 [debug] 169458#169458: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:43:51 [debug] 169458#169458: posix_memalign: 00005638F5B43840:512 @16 2025/09/02 11:43:51 [debug] 169458#169458: *1 accept: 127.0.0.1:47568 fd:6 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer add: 6: 60000:81591889 2025/09/02 11:43:51 [debug] 169458#169458: *1 reusable connection: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 9476 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 60000 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:6 ev:0001 d:000074C8518B81E0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http wait request handler 2025/09/02 11:43:51 [debug] 169458#169458: *1 malloc: 00005638F5B460A0:1024 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:6 908 of 1024 2025/09/02 11:43:51 [debug] 169458#169458: *1 reusable connection: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 posix_memalign: 00005638F5B62A20:4096 @16 2025/09/02 11:43:51 [debug] 169458#169458: *1 http process request line 2025/09/02 11:43:51 [debug] 169458#169458: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http uri: "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http args: "" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http exten: "" 2025/09/02 11:43:51 [debug] 169458#169458: *1 posix_memalign: 00005638F5B58D90:4096 @16 2025/09/02 11:43:51 [debug] 169458#169458: *1 http process request header line 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header: "Host: localhost:9001" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header: "Accept: */*" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header: "Content-Type: text/plain" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header: "Content-Length: 39" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http header done 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer del: 6: 81591889 2025/09/02 11:43:51 [debug] 169458#169458: *1 generic phase: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 rewrite phase: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 test location: "/health" 2025/09/02 11:43:51 [debug] 169458#169458: *1 test location: "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:43:51 [debug] 169458#169458: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:43:51 [debug] 169458#169458: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:43:51 [debug] 169458#169458: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:43:51 [debug] 169458#169458: *1 using configuration "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http cl:39 max:104857600 2025/09/02 11:43:51 [debug] 169458#169458: *1 rewrite phase: 3 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "PUT" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script regex: "^(PUT)$" 2025/09/02 11:43:51 [notice] 169458#169458: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script if 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script if: false 2025/09/02 11:43:51 [debug] 169458#169458: *1 post rewrite phase: 4 2025/09/02 11:43:51 [debug] 169458#169458: *1 generic phase: 5 2025/09/02 11:43:51 [debug] 169458#169458: *1 generic phase: 6 2025/09/02 11:43:51 [debug] 169458#169458: *1 generic phase: 7 2025/09/02 11:43:51 [debug] 169458#169458: *1 access phase: 8 2025/09/02 11:43:51 [debug] 169458#169458: *1 access phase: 9 2025/09/02 11:43:51 [debug] 169458#169458: *1 access phase: 10 2025/09/02 11:43:51 [debug] 169458#169458: *1 post access phase: 11 2025/09/02 11:43:51 [debug] 169458#169458: *1 generic phase: 12 2025/09/02 11:43:51 [debug] 169458#169458: *1 generic phase: 13 2025/09/02 11:43:51 [debug] 169458#169458: *1 http client request body preread 39 2025/09/02 11:43:51 [debug] 169458#169458: *1 http request body content length filter 2025/09/02 11:43:51 [debug] 169458#169458: *1 http body new buf t:1 f:0 00005638F5B46405, pos 00005638F5B46405, size: 39 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http init upstream, client timer: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "QUERY_STRING" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "REQUEST_METHOD" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "PUT" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "CONTENT_TYPE" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "text/plain" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "39" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SCRIPT_NAME" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "REQUEST_URI" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "DOCUMENT_URI" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "./blobs" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "HTTP/1.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "http" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "CGI/1.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "nginx/" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "1.18.0" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "REMOTE_ADDR" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "127.0.0.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "REMOTE_PORT" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "47568" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "REMOTE_PORT: 47568" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SERVER_ADDR" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "127.0.0.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SERVER_PORT" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "9001" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SERVER_NAME" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "localhost" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "200" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script var: "./blobs" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0=" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:43:51 [debug] 169458#169458: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:43:51 [debug] 169458#169458: *1 posix_memalign: 00005638F5B4D140:4096 @16 2025/09/02 11:43:51 [debug] 169458#169458: *1 http cleanup add: 00005638F5B4D270 2025/09/02 11:43:51 [debug] 169458#169458: *1 get rr peer, try: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 stream socket 10 2025/09/02 11:43:51 [debug] 169458#169458: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 11:43:51 [debug] 169458#169458: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 11:43:51 [debug] 169458#169458: *1 connected 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream connect: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 posix_memalign: 00005638F5B2CF20:128 @16 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream send request 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream send request body 2025/09/02 11:43:51 [debug] 169458#169458: *1 chain writer buf fl:0 s:1328 2025/09/02 11:43:51 [debug] 169458#169458: *1 chain writer buf fl:0 s:39 2025/09/02 11:43:51 [debug] 169458#169458: *1 chain writer buf fl:0 s:9 2025/09/02 11:43:51 [debug] 169458#169458: *1 chain writer in: 00005638F5B4D2E0 2025/09/02 11:43:51 [debug] 169458#169458: *1 writev: 1376 of 1376 2025/09/02 11:43:51 [debug] 169458#169458: *1 chain writer out: 0000000000000000 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer add: 10: 60000:81591889 2025/09/02 11:43:51 [debug] 169458#169458: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:43:51 [debug] 169458#169458: *1 http request count:2 blk:0 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 60000 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:6 ev:0004 d:000074C8518B81E0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http run request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream check client, write event:1, "/upload" 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0004 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 1 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0004 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 malloc: 00005638F5B4E150:4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 48 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 21 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 33 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 1024 of 4048 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=39 DEBUG: Raw Authorization header: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNkNjJmZjFkYTVhZmMxOGE3ZTdhNzlmNWEzYmI0NjdjZjRhMzRlY2MyZDg2MmVkZWUwYzRhZmVjMDZlZmIiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIx" 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "NmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODIyNDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzU2ODI2MDgwIl0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiNTk1ZjcyNjBjNGM1OGRhYzhjM2FkNzdlN2NkZjExNmNjOWQyZGVmOGE4YWViMWU3ZTU4NGM5NGQzZDAxYzc5ZTk4ZTQ0MTkyZGEwZjdiODU5ZjNiNzdhNmU3MGQwMzUwOWVkZjY0ZjU0ZjA1ZTcyYmRlOWVhNzQwNTY0NDA2NzkiCn0= 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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0004 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 176 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: A6 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 02 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 166 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "2025-09-02 11:43:51] 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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 1536 of 3920 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjRkMDNk... 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: " parse: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [ ["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"] ], "content": "Upload standard test file", "sig": "595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70" 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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 1536 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "d03509edf64f54f05e72bde9ea74056440679" } ✅ SUCCESS: cJSON_Parse succeeded, event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756822481, "tags": [["t", "upload"], ["x", "3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540"], ["expiration", "1756826080"]], "content": "Upload standard test file", "sig": "595f7" 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679 " 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756822481 🔍 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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 512 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 1 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 2048 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' (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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "chars) ℹ️ INFO: Signature string: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' (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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 2048 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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: 1756822481 ✅ SUCCESS: Timestamp is valid: 2025-09-02 14:14:41 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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]: '1756826080' ✅ 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 ( 4d 03 d6 2f f1 da 5a fc 18 a7 e7 a7 9f 5a 3b b4 |M../..Z......Z;.| 67 cf 4a 34 ec c2 d8 62 ed ee 0c 4a fe c0 6e fb |g.J4...b...J..n.| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ℹ️ 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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 512 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "NFO: Provided ID: 4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb ✅ 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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 1 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59997 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 1024 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "ignature bytes ( 59 5f 72 60 c4 c5 8d ac 8c 3a d7 7e 7c df 11 6c |Y_r`.....:.~|..l| c9 d2 de f8 a8 ae b1 e7 e5 84 c9 4d 3d 01 c7 9e |...........M=...| 98 e4 41 92 da 0f 7b 85 9f 3b 77 a6 e7 0d 03 50 |..A...{..;w....P| 9e df 64 f5 4f 05 e7 2b de 9e a7 40 56 44 06 79 |..d.O..+...@VD.y| 🔍 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59997 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process header 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:0, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:10 1664 of 4096 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '4d03d62ff1da5afc18a7e7a79f5a3bb467cf4a34ecc2d862edee0c4afec06efb' ℹ️ INFO: Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756822481 ℹ️ 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: F8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 504 2025/09/02 11:43:51 [error] 169458#169458: *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: '595f7260c4c58dac8c3ad77e7cdf116cc9d2def8a8aeb1e7e584c94d3d01c79e98e44192da0f7b859f3b77a6e70d03509edf64f54f05e72bde9ea74056440679' ℹ️ 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 75 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 03 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 373 2025/09/02 11:43:51 [error] 169458#169458: *1 FastCGI sent in stderr: "tching hash tag: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 DEBUG: Found expiration tag: 1756826080 DEBUG: Event expired (now: 1756827831, exp: 1756826080) ❌ ERROR: Blossom event validation failed: -37 (Event has invalid content) AUTH: authenticate_request returned: -37 LOG: [2025-09-02 11:43:51] PUT /upload - Auth: auth_failed - Status: 401" 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 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 07 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 06 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: D4 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 04 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 212 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi parser: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi header: "Status: 401 Unauthorized" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi parser: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi parser: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi header done 2025/09/02 11:43:51 [debug] 169458#169458: *1 HTTP/1.1 401 Unauthorized Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:43:51 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive 2025/09/02 11:43:51 [debug] 169458#169458: *1 write new buf t:1 f:0 00005638F5B4D5A8, pos 00005638F5B4D5A8, size: 181 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http write filter: l:0 f:0 s:181 2025/09/02 11:43:51 [debug] 169458#169458: *1 http cacheable: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process upstream 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe read upstream: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe preread: 180 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe buf free s:0 t:1 f:0 00005638F5B4E150, pos 00005638F5B4E71C, size: 180 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe length: -1 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe write downstream: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe write busy: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe write: out:0000000000000000, f:0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe read upstream: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe buf free s:0 t:1 f:0 00005638F5B4E150, pos 00005638F5B4E71C, size: 180 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe length: -1 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer: 10, old: 81591889, new: 81591892 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream dummy handler 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 59997 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:10 ev:2005 d:000074C8518B82C8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream request: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream process upstream 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe read upstream: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 readv: eof:1, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 readv: 1, last:2432 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe recv chain: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe buf free s:0 t:1 f:0 00005638F5B4E150, pos 00005638F5B4E71C, size: 180 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe length: -1 2025/09/02 11:43:51 [debug] 169458#169458: *1 input buf #0 00005638F5B4E71C 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 06 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi closed stdout 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 03 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 01 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 08 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record byte: 00 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi record length: 8 2025/09/02 11:43:51 [debug] 169458#169458: *1 http fastcgi sent end request 2025/09/02 11:43:51 [debug] 169458#169458: *1 input buf 00005638F5B4E71C 152 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe write downstream: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe write downstream flush in 2025/09/02 11:43:51 [debug] 169458#169458: *1 http output filter "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http copy filter: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http postpone filter "/upload?" 00005638F5B4D2B0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http chunk: 152 2025/09/02 11:43:51 [debug] 169458#169458: *1 write old buf t:1 f:0 00005638F5B4D5A8, pos 00005638F5B4D5A8, size: 181 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write new buf t:1 f:0 00005638F5B4D8A0, pos 00005638F5B4D8A0, size: 4 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write new buf t:1 f:0 00005638F5B4E150, pos 00005638F5B4E71C, size: 152 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write new buf t:0 f:0 0000000000000000, pos 00005638B82D82E8, size: 2 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http write filter: l:0 f:0 s:339 2025/09/02 11:43:51 [debug] 169458#169458: *1 http copy filter: 0 "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 pipe write downstream done 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer: 10, old: 81591889, new: 81591892 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream exit: 0000000000000000 2025/09/02 11:43:51 [debug] 169458#169458: *1 finalize http upstream request: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 finalize http fastcgi request 2025/09/02 11:43:51 [debug] 169458#169458: *1 free rr peer 1 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 close http upstream connection: 10 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B2CF20, unused: 48 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer del: 10: 81591889 2025/09/02 11:43:51 [debug] 169458#169458: *1 reusable connection: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http upstream temp fd: -1 2025/09/02 11:43:51 [debug] 169458#169458: *1 http output filter "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http copy filter: "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http postpone filter "/upload?" 00007FFEE794D520 2025/09/02 11:43:51 [debug] 169458#169458: *1 http chunk: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write old buf t:1 f:0 00005638F5B4D5A8, pos 00005638F5B4D5A8, size: 181 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write old buf t:1 f:0 00005638F5B4D8A0, pos 00005638F5B4D8A0, size: 4 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write old buf t:1 f:0 00005638F5B4E150, pos 00005638F5B4E71C, size: 152 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write old buf t:0 f:0 0000000000000000, pos 00005638B82D82E8, size: 2 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 write new buf t:0 f:0 0000000000000000, pos 00005638B82D82E5, size: 5 file: 0, size: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http write filter: l:1 f:0 s:344 2025/09/02 11:43:51 [debug] 169458#169458: *1 http write filter limit 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 writev: 344 of 344 2025/09/02 11:43:51 [debug] 169458#169458: *1 http write filter 0000000000000000 2025/09/02 11:43:51 [debug] 169458#169458: *1 http copy filter: 0 "/upload?" 2025/09/02 11:43:51 [debug] 169458#169458: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:43:51 [debug] 169458#169458: *1 set http keepalive handler 2025/09/02 11:43:51 [debug] 169458#169458: *1 http close request 2025/09/02 11:43:51 [debug] 169458#169458: *1 http log handler 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B4E150 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B62A20, unused: 3 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B58D90, unused: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B4D140, unused: 1738 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B460A0 2025/09/02 11:43:51 [debug] 169458#169458: *1 hc free: 0000000000000000 2025/09/02 11:43:51 [debug] 169458#169458: *1 hc busy: 0000000000000000 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 tcp_nodelay 2025/09/02 11:43:51 [debug] 169458#169458: *1 reusable connection: 1 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer add: 6: 65000:81596892 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 0 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: 65000 2025/09/02 11:43:51 [debug] 169458#169458: epoll: fd:6 ev:2005 d:000074C8518B81E0 2025/09/02 11:43:51 [debug] 169458#169458: *1 http keepalive handler 2025/09/02 11:43:51 [debug] 169458#169458: *1 malloc: 00005638F5B460A0:1024 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: eof:1, avail:-1 2025/09/02 11:43:51 [debug] 169458#169458: *1 recv: fd:6 0 of 1024 2025/09/02 11:43:51 [info] 169458#169458: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 11:43:51 [debug] 169458#169458: *1 close http connection: 6 2025/09/02 11:43:51 [debug] 169458#169458: *1 event timer del: 6: 81596892 2025/09/02 11:43:51 [debug] 169458#169458: *1 reusable connection: 0 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B460A0 2025/09/02 11:43:51 [debug] 169458#169458: *1 free: 00005638F5B43840, unused: 120 2025/09/02 11:43:51 [debug] 169458#169458: timer delta: 1 2025/09/02 11:43:51 [debug] 169458#169458: worker cycle 2025/09/02 11:43:51 [debug] 169458#169458: epoll timer: -1 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:5 ev:0001 d:000074C8518B8010 2025/09/02 11:48:32 [debug] 169458#169458: accept on 0.0.0.0:9001, ready: 0 2025/09/02 11:48:32 [debug] 169458#169458: posix_memalign: 00005638F5B43840:512 @16 2025/09/02 11:48:32 [debug] 169458#169458: *3 accept: 127.0.0.1:58774 fd:6 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer add: 6: 60000:81873107 2025/09/02 11:48:32 [debug] 169458#169458: *3 reusable connection: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 281214 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 60000 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:6 ev:0001 d:000074C8518B81E1 2025/09/02 11:48:32 [debug] 169458#169458: *3 http wait request handler 2025/09/02 11:48:32 [debug] 169458#169458: *3 malloc: 00005638F5B460A0:1024 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:6 908 of 1024 2025/09/02 11:48:32 [debug] 169458#169458: *3 reusable connection: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 posix_memalign: 00005638F5B62A20:4096 @16 2025/09/02 11:48:32 [debug] 169458#169458: *3 http process request line 2025/09/02 11:48:32 [debug] 169458#169458: *3 http request line: "PUT /upload HTTP/1.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http uri: "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http args: "" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http exten: "" 2025/09/02 11:48:32 [debug] 169458#169458: *3 posix_memalign: 00005638F5B58D90:4096 @16 2025/09/02 11:48:32 [debug] 169458#169458: *3 http process request header line 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header: "Host: localhost:9001" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header: "User-Agent: curl/8.15.0" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header: "Accept: */*" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0=" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header: "Content-Type: text/plain" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header: "Content-Length: 39" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http header done 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer del: 6: 81873107 2025/09/02 11:48:32 [debug] 169458#169458: *3 generic phase: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 rewrite phase: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 test location: "/health" 2025/09/02 11:48:32 [debug] 169458#169458: *3 test location: "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 11:48:32 [debug] 169458#169458: *3 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 11:48:32 [debug] 169458#169458: *3 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 11:48:32 [debug] 169458#169458: *3 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 11:48:32 [debug] 169458#169458: *3 using configuration "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http cl:39 max:104857600 2025/09/02 11:48:32 [debug] 169458#169458: *3 rewrite phase: 3 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "PUT" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script regex: "^(PUT)$" 2025/09/02 11:48:32 [notice] 169458#169458: *3 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script if 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script if: false 2025/09/02 11:48:32 [debug] 169458#169458: *3 post rewrite phase: 4 2025/09/02 11:48:32 [debug] 169458#169458: *3 generic phase: 5 2025/09/02 11:48:32 [debug] 169458#169458: *3 generic phase: 6 2025/09/02 11:48:32 [debug] 169458#169458: *3 generic phase: 7 2025/09/02 11:48:32 [debug] 169458#169458: *3 access phase: 8 2025/09/02 11:48:32 [debug] 169458#169458: *3 access phase: 9 2025/09/02 11:48:32 [debug] 169458#169458: *3 access phase: 10 2025/09/02 11:48:32 [debug] 169458#169458: *3 post access phase: 11 2025/09/02 11:48:32 [debug] 169458#169458: *3 generic phase: 12 2025/09/02 11:48:32 [debug] 169458#169458: *3 generic phase: 13 2025/09/02 11:48:32 [debug] 169458#169458: *3 http client request body preread 39 2025/09/02 11:48:32 [debug] 169458#169458: *3 http request body content length filter 2025/09/02 11:48:32 [debug] 169458#169458: *3 http body new buf t:1 f:0 00005638F5B46405, pos 00005638F5B46405, size: 39 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http init upstream, client timer: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "QUERY_STRING" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "QUERY_STRING: " 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "REQUEST_METHOD" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "PUT" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "CONTENT_TYPE" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "text/plain" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "CONTENT_LENGTH" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "39" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SCRIPT_NAME" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "REQUEST_URI" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "DOCUMENT_URI" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "DOCUMENT_ROOT" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "./blobs" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SERVER_PROTOCOL" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "HTTP/1.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "REQUEST_SCHEME" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "http" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "GATEWAY_INTERFACE" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "CGI/1.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SERVER_SOFTWARE" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "nginx/" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "1.18.0" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "REMOTE_ADDR" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "127.0.0.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "REMOTE_PORT" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "58774" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "REMOTE_PORT: 58774" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SERVER_ADDR" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "127.0.0.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SERVER_PORT" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "9001" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SERVER_NAME" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "localhost" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "REDIRECT_STATUS" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "200" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "SCRIPT_FILENAME" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script var: "./blobs" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http script copy: "/ginxsom.fcgi" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0=" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 11:48:32 [debug] 169458#169458: *3 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 11:48:32 [debug] 169458#169458: *3 posix_memalign: 00005638F5B4D140:4096 @16 2025/09/02 11:48:32 [debug] 169458#169458: *3 http cleanup add: 00005638F5B4D270 2025/09/02 11:48:32 [debug] 169458#169458: *3 get rr peer, try: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 stream socket 10 2025/09/02 11:48:32 [debug] 169458#169458: *3 epoll add connection: fd:10 ev:80002005 2025/09/02 11:48:32 [debug] 169458#169458: *3 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #4 2025/09/02 11:48:32 [debug] 169458#169458: *3 connected 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream connect: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 posix_memalign: 00005638F5B2CF20:128 @16 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream send request 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream send request body 2025/09/02 11:48:32 [debug] 169458#169458: *3 chain writer buf fl:0 s:1328 2025/09/02 11:48:32 [debug] 169458#169458: *3 chain writer buf fl:0 s:39 2025/09/02 11:48:32 [debug] 169458#169458: *3 chain writer buf fl:0 s:9 2025/09/02 11:48:32 [debug] 169458#169458: *3 chain writer in: 00005638F5B4D2E0 2025/09/02 11:48:32 [debug] 169458#169458: *3 writev: 1376 of 1376 2025/09/02 11:48:32 [debug] 169458#169458: *3 chain writer out: 0000000000000000 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer add: 10: 60000:81873107 2025/09/02 11:48:32 [debug] 169458#169458: *3 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 11:48:32 [debug] 169458#169458: *3 http request count:2 blk:0 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 60000 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:6 ev:0004 d:000074C8518B81E1 2025/09/02 11:48:32 [debug] 169458#169458: *3 http run request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream check client, write event:1, "/upload" 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0004 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 1 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 malloc: 00005638F5B4E150:4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 560 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 21 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 33 2025/09/02 11:48:32 [error] 169458#169458: *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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *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 11:48:32] 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 2224 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: A6 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 02 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 166 2025/09/02 11:48:32 [error] 169458#169458: *3 FastCGI sent in stderr: "2025-09-02 11:48:32] 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 1536 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 512 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59999 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 2048 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 1 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 2560 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 2560 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 512 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59998 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 1024 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 504 2025/09/02 11:48:32 [error] 169458#169458: *3 FastCGI sent in stderr: " uploaded_at = 1756828112 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 11:48:32 [debug] 169458#169458: *3 recv: eof:0, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 1 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59997 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:0004 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream dummy handler 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 0 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 59997 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:10 ev:2005 d:000074C8518B82C9 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream request: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process header 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:1, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:10 600 of 4096 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: F7 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 247 2025/09/02 11:48:32 [error] 169458#169458: *3 FastCGI sent in stderr: " Binding filename as NULL 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 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 07 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 06 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 2C 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 04 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 300 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi parser: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi header: "Status: 200 OK" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi parser: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi header: "Content-Type: application/json" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi parser: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi header done 2025/09/02 11:48:32 [debug] 169458#169458: *3 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 15:48:32 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block 2025/09/02 11:48:32 [debug] 169458#169458: *3 write new buf t:1 f:0 00005638F5B4D5A0, pos 00005638F5B4D5A0, size: 260 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http write filter: l:0 f:0 s:260 2025/09/02 11:48:32 [debug] 169458#169458: *3 http cacheable: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream process upstream 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe read upstream: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe preread: 278 2025/09/02 11:48:32 [debug] 169458#169458: *3 readv: eof:1, avail:0 2025/09/02 11:48:32 [debug] 169458#169458: *3 readv: 1, last:3496 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe recv chain: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe buf free s:0 t:1 f:0 00005638F5B4E150, pos 00005638F5B4E292, size: 278 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe length: -1 2025/09/02 11:48:32 [debug] 169458#169458: *3 input buf #0 00005638F5B4E292 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 06 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi closed stdout 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 03 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 01 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 08 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record byte: 00 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi record length: 8 2025/09/02 11:48:32 [debug] 169458#169458: *3 http fastcgi sent end request 2025/09/02 11:48:32 [debug] 169458#169458: *3 input buf 00005638F5B4E292 250 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe write downstream: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe write downstream flush in 2025/09/02 11:48:32 [debug] 169458#169458: *3 http output filter "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http copy filter: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http postpone filter "/upload?" 00005638F5B4D2B0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http chunk: 250 2025/09/02 11:48:32 [debug] 169458#169458: *3 write old buf t:1 f:0 00005638F5B4D5A0, pos 00005638F5B4D5A0, size: 260 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write new buf t:1 f:0 00005638F5B4D8E8, pos 00005638F5B4D8E8, size: 4 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write new buf t:1 f:0 00005638F5B4E150, pos 00005638F5B4E292, size: 250 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write new buf t:0 f:0 0000000000000000, pos 00005638B82D82E8, size: 2 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http write filter: l:0 f:0 s:516 2025/09/02 11:48:32 [debug] 169458#169458: *3 http copy filter: 0 "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 pipe write downstream done 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer: 10, old: 81873107, new: 81873113 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream exit: 0000000000000000 2025/09/02 11:48:32 [debug] 169458#169458: *3 finalize http upstream request: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 finalize http fastcgi request 2025/09/02 11:48:32 [debug] 169458#169458: *3 free rr peer 1 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 close http upstream connection: 10 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B2CF20, unused: 48 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer del: 10: 81873107 2025/09/02 11:48:32 [debug] 169458#169458: *3 reusable connection: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http upstream temp fd: -1 2025/09/02 11:48:32 [debug] 169458#169458: *3 http output filter "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http copy filter: "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http postpone filter "/upload?" 00007FFEE794D520 2025/09/02 11:48:32 [debug] 169458#169458: *3 http chunk: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write old buf t:1 f:0 00005638F5B4D5A0, pos 00005638F5B4D5A0, size: 260 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write old buf t:1 f:0 00005638F5B4D8E8, pos 00005638F5B4D8E8, size: 4 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write old buf t:1 f:0 00005638F5B4E150, pos 00005638F5B4E292, size: 250 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write old buf t:0 f:0 0000000000000000, pos 00005638B82D82E8, size: 2 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 write new buf t:0 f:0 0000000000000000, pos 00005638B82D82E5, size: 5 file: 0, size: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 http write filter: l:1 f:0 s:521 2025/09/02 11:48:32 [debug] 169458#169458: *3 http write filter limit 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 writev: 521 of 521 2025/09/02 11:48:32 [debug] 169458#169458: *3 http write filter 0000000000000000 2025/09/02 11:48:32 [debug] 169458#169458: *3 http copy filter: 0 "/upload?" 2025/09/02 11:48:32 [debug] 169458#169458: *3 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 11:48:32 [debug] 169458#169458: *3 set http keepalive handler 2025/09/02 11:48:32 [debug] 169458#169458: *3 http close request 2025/09/02 11:48:32 [debug] 169458#169458: *3 http log handler 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B4E150 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B62A20, unused: 3 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B58D90, unused: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B4D140, unused: 1666 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B460A0 2025/09/02 11:48:32 [debug] 169458#169458: *3 hc free: 0000000000000000 2025/09/02 11:48:32 [debug] 169458#169458: *3 hc busy: 0000000000000000 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 tcp_nodelay 2025/09/02 11:48:32 [debug] 169458#169458: *3 reusable connection: 1 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer add: 6: 65000:81878113 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 3 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: 65000 2025/09/02 11:48:32 [debug] 169458#169458: epoll: fd:6 ev:2005 d:000074C8518B81E1 2025/09/02 11:48:32 [debug] 169458#169458: *3 http keepalive handler 2025/09/02 11:48:32 [debug] 169458#169458: *3 malloc: 00005638F5B460A0:1024 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: eof:1, avail:-1 2025/09/02 11:48:32 [debug] 169458#169458: *3 recv: fd:6 0 of 1024 2025/09/02 11:48:32 [info] 169458#169458: *3 client 127.0.0.1 closed keepalive connection 2025/09/02 11:48:32 [debug] 169458#169458: *3 close http connection: 6 2025/09/02 11:48:32 [debug] 169458#169458: *3 event timer del: 6: 81878113 2025/09/02 11:48:32 [debug] 169458#169458: *3 reusable connection: 0 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B460A0 2025/09/02 11:48:32 [debug] 169458#169458: *3 free: 00005638F5B43840, unused: 120 2025/09/02 11:48:32 [debug] 169458#169458: timer delta: 1 2025/09/02 11:48:32 [debug] 169458#169458: worker cycle 2025/09/02 11:48:32 [debug] 169458#169458: epoll timer: -1 2025/09/02 12:01:29 [notice] 169457#169457: signal 15 (SIGTERM) received from 170804, exiting 2025/09/02 12:01:29 [debug] 169457#169457: wake up, sigio 0 2025/09/02 12:01:29 [debug] 169457#169457: child: 0 169458 e:0 t:0 d:0 r:1 j:0 2025/09/02 12:01:29 [debug] 169457#169457: termination cycle: 50 2025/09/02 12:01:29 [debug] 169457#169457: sigsuspend 2025/09/02 12:01:29 [debug] 169458#169458: epoll: fd:7 ev:0001 d:000074C8518B80F8 2025/09/02 12:01:29 [debug] 169458#169458: channel handler 2025/09/02 12:01:29 [debug] 169458#169458: channel: 32 2025/09/02 12:01:29 [debug] 169458#169458: channel command: 4 2025/09/02 12:01:29 [debug] 169458#169458: channel: -2 2025/09/02 12:01:29 [debug] 169458#169458: timer delta: 776283 2025/09/02 12:01:29 [notice] 169458#169458: exiting 2025/09/02 12:01:29 [debug] 169458#169458: flush files 2025/09/02 12:01:29 [debug] 169458#169458: run cleanup: 00005638F5B91A70 2025/09/02 12:01:29 [debug] 169458#169458: run cleanup: 00005638F5B84A08 2025/09/02 12:01:29 [debug] 169458#169458: cleanup resolver 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B92DD0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B85BD0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B64B40 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B63A30 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B5DA00 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B5C940 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B5B880 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B5A7C0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B52160 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B49130, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B53570, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B5EA10, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B65B50, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B69B60, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B6DB70, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B71B80, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B75B90, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B79BA0, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B7DBB0, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B81BC0, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B86DA0, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B8ADB0, unused: 0 2025/09/02 12:01:29 [debug] 169458#169458: free: 00005638F5B8EDC0, unused: 4920 2025/09/02 12:01:29 [notice] 169458#169458: exit 2025/09/02 12:01:29 [notice] 169457#169457: signal 17 (SIGCHLD) received from 169458 2025/09/02 12:01:29 [notice] 169457#169457: worker process 169458 exited with code 0 2025/09/02 12:01:29 [debug] 169457#169457: shmtx forced unlock 2025/09/02 12:01:29 [debug] 169457#169457: wake up, sigio 3 2025/09/02 12:01:29 [debug] 169457#169457: reap children 2025/09/02 12:01:29 [debug] 169457#169457: child: 0 169458 e:1 t:1 d:0 r:1 j:0 2025/09/02 12:01:29 [notice] 169457#169457: exit 2025/09/02 12:01:29 [debug] 169457#169457: close listening 0.0.0.0:9001 #5 2025/09/02 12:01:29 [debug] 169457#169457: run cleanup: 00005638F5B84A08 2025/09/02 12:01:29 [debug] 169457#169457: cleanup resolver 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B92DD0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B85BD0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B64B40 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B63A30 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B5DA00 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B5C940 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B5B880 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B5A7C0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B52160 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B49130, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B53570, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B5EA10, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B65B50, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B69B60, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B6DB70, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B71B80, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B75B90, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B79BA0, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B7DBB0, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B81BC0, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B86DA0, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B8ADB0, unused: 0 2025/09/02 12:01:29 [debug] 169457#169457: free: 00005638F5B8EDC0, unused: 4951 2025/09/02 12:01:32 [debug] 170850#170850: bind() 0.0.0.0:9001 #5 2025/09/02 12:01:32 [debug] 170850#170850: counter: 0000786C6418E080, 1 2025/09/02 12:01:32 [debug] 170851#170851: bind() 0.0.0.0:9001 #5 2025/09/02 12:01:32 [notice] 170851#170851: using the "epoll" event method 2025/09/02 12:01:32 [debug] 170851#170851: counter: 00007BB937D05080, 1 2025/09/02 12:01:32 [notice] 170851#170851: nginx/1.18.0 (Ubuntu) 2025/09/02 12:01:32 [notice] 170851#170851: OS: Linux 6.12.10-76061203-generic 2025/09/02 12:01:32 [notice] 170851#170851: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 12:01:32 [debug] 170852#170851: write: 6, 00007FFCC4AB8230, 7, 0 2025/09/02 12:01:32 [debug] 170852#170852: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 12:01:32 [notice] 170852#170852: start worker processes 2025/09/02 12:01:32 [debug] 170852#170852: channel 6:7 2025/09/02 12:01:32 [notice] 170852#170852: start worker process 170853 2025/09/02 12:01:32 [debug] 170852#170852: sigsuspend 2025/09/02 12:01:32 [debug] 170853#170853: add cleanup: 00005800960CEA90 2025/09/02 12:01:32 [debug] 170853#170853: malloc: 0000580096081BD0:8 2025/09/02 12:01:32 [debug] 170853#170853: notify eventfd: 9 2025/09/02 12:01:32 [debug] 170853#170853: testing the EPOLLRDHUP flag: success 2025/09/02 12:01:32 [debug] 170853#170853: malloc: 00005800960945A0:6144 2025/09/02 12:01:32 [debug] 170853#170853: malloc: 00007BB937AFD010:237568 2025/09/02 12:01:32 [debug] 170853#170853: malloc: 00005800960D16C0:98304 2025/09/02 12:01:32 [debug] 170853#170853: malloc: 00005800960E96D0:98304 2025/09/02 12:01:32 [debug] 170853#170853: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 12:01:32 [debug] 170853#170853: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 12:01:32 [debug] 170853#170853: setproctitle: "nginx: worker process" 2025/09/02 12:01:32 [debug] 170853#170853: worker cycle 2025/09/02 12:01:32 [debug] 170853#170853: epoll timer: -1 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:5 ev:0001 d:00007BB937AFD010 2025/09/02 12:01:40 [debug] 170853#170853: accept on 0.0.0.0:9001, ready: 0 2025/09/02 12:01:40 [debug] 170853#170853: posix_memalign: 0000580096080840:512 @16 2025/09/02 12:01:40 [debug] 170853#170853: *1 accept: 127.0.0.1:35772 fd:6 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer add: 6: 60000:82660854 2025/09/02 12:01:40 [debug] 170853#170853: *1 reusable connection: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 12:01:40 [debug] 170853#170853: timer delta: 8251 2025/09/02 12:01:40 [debug] 170853#170853: worker cycle 2025/09/02 12:01:40 [debug] 170853#170853: epoll timer: 60000 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:6 ev:0001 d:00007BB937AFD1E0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http wait request handler 2025/09/02 12:01:40 [debug] 170853#170853: *1 malloc: 00005800960830A0:1024 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:-1 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:6 908 of 1024 2025/09/02 12:01:40 [debug] 170853#170853: *1 reusable connection: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 posix_memalign: 000058009609FA40:4096 @16 2025/09/02 12:01:40 [debug] 170853#170853: *1 http process request line 2025/09/02 12:01:40 [debug] 170853#170853: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http uri: "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http args: "" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http exten: "" 2025/09/02 12:01:40 [debug] 170853#170853: *1 posix_memalign: 0000580096095DB0:4096 @16 2025/09/02 12:01:40 [debug] 170853#170853: *1 http process request header line 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header: "Host: localhost:9001" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header: "Accept: */*" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header: "Authorization: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0=" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header: "Content-Type: text/plain" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header: "Content-Length: 39" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http header done 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer del: 6: 82660854 2025/09/02 12:01:40 [debug] 170853#170853: *1 generic phase: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 rewrite phase: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 test location: "/health" 2025/09/02 12:01:40 [debug] 170853#170853: *1 test location: "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 12:01:40 [debug] 170853#170853: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 12:01:40 [debug] 170853#170853: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 12:01:40 [debug] 170853#170853: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 12:01:40 [debug] 170853#170853: *1 using configuration "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http cl:39 max:104857600 2025/09/02 12:01:40 [debug] 170853#170853: *1 rewrite phase: 3 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "PUT" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script regex: "^(PUT)$" 2025/09/02 12:01:40 [notice] 170853#170853: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script if 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script if: false 2025/09/02 12:01:40 [debug] 170853#170853: *1 post rewrite phase: 4 2025/09/02 12:01:40 [debug] 170853#170853: *1 generic phase: 5 2025/09/02 12:01:40 [debug] 170853#170853: *1 generic phase: 6 2025/09/02 12:01:40 [debug] 170853#170853: *1 generic phase: 7 2025/09/02 12:01:40 [debug] 170853#170853: *1 access phase: 8 2025/09/02 12:01:40 [debug] 170853#170853: *1 access phase: 9 2025/09/02 12:01:40 [debug] 170853#170853: *1 access phase: 10 2025/09/02 12:01:40 [debug] 170853#170853: *1 post access phase: 11 2025/09/02 12:01:40 [debug] 170853#170853: *1 generic phase: 12 2025/09/02 12:01:40 [debug] 170853#170853: *1 generic phase: 13 2025/09/02 12:01:40 [debug] 170853#170853: *1 http client request body preread 39 2025/09/02 12:01:40 [debug] 170853#170853: *1 http request body content length filter 2025/09/02 12:01:40 [debug] 170853#170853: *1 http body new buf t:1 f:0 0000580096083405, pos 0000580096083405, size: 39 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http init upstream, client timer: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "QUERY_STRING" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "REQUEST_METHOD" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "PUT" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "CONTENT_TYPE" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "text/plain" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "39" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "CONTENT_LENGTH: 39" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SCRIPT_NAME" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "REQUEST_URI" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "DOCUMENT_URI" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "./blobs" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "HTTP/1.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "http" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "CGI/1.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "nginx/" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "1.18.0" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "REMOTE_ADDR" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "127.0.0.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "REMOTE_PORT" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "35772" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "REMOTE_PORT: 35772" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SERVER_ADDR" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "127.0.0.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SERVER_PORT" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "9001" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SERVER_NAME" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "localhost" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "200" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script var: "./blobs" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr ewogICJraW5kIjogMjQyNDIsCiAgImlkIjogIjZmMWUyZmY4NTFiZGU0N2FiMjQ0NWFhYjhjOGNiZmFlNWM1NGYzZDYyYzE4OTJmMTMxNDlmYzU5NDFmZmM2MDEiLAogICJwdWJrZXkiOiAiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsCiAgImNyZWF0ZWRfYXQiOiAxNzU2ODI4MDgxLAogICJ0YWdzIjogWwogICAgWyJ0IiwgInVwbG9hZCJdLAogICAgWyJ4IiwgIjNmNDlmOTM0ZTgzODg5M2JkYzUxNmU2ODBhZGUzY2VlMmE4NDhiYmY0MmMzZTdhYmEwMTA4Y2Y3Y2VkYjg1NDAiXSwKICAgIFsiZXhwaXJhdGlvbiIsICIxNzg4MzY0MDY5Il0KICBdLAogICJjb250ZW50IjogIlVwbG9hZCBzdGFuZGFyZCB0ZXN0IGZpbGUiLAogICJzaWciOiAiOTlkZjViYzU5NGNmYjU1MGIzZjQ2NjI1ZDI0ODI3NTQ5MmNlMmVjNGI4ZjkzMTExYTE5MjQ0M2ZjNjM5NjEyOWQ5ZDY0ZDNmN2IzODBlZjI5YzI5MmQ5ZmI0NmNhODI3OWFlZWE2ZjkxZGFlMzQ5ZWEzY2EyMmJmYjQxZTY3N2YiCn0=" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 12:01:40 [debug] 170853#170853: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 39" 2025/09/02 12:01:40 [debug] 170853#170853: *1 posix_memalign: 000058009608A160:4096 @16 2025/09/02 12:01:40 [debug] 170853#170853: *1 http cleanup add: 000058009608A290 2025/09/02 12:01:40 [debug] 170853#170853: *1 get rr peer, try: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 stream socket 10 2025/09/02 12:01:40 [debug] 170853#170853: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 12:01:40 [debug] 170853#170853: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 12:01:40 [debug] 170853#170853: *1 connected 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream connect: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 posix_memalign: 0000580096069F20:128 @16 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream send request 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream send request body 2025/09/02 12:01:40 [debug] 170853#170853: *1 chain writer buf fl:0 s:1328 2025/09/02 12:01:40 [debug] 170853#170853: *1 chain writer buf fl:0 s:39 2025/09/02 12:01:40 [debug] 170853#170853: *1 chain writer buf fl:0 s:9 2025/09/02 12:01:40 [debug] 170853#170853: *1 chain writer in: 000058009608A300 2025/09/02 12:01:40 [debug] 170853#170853: *1 writev: 1376 of 1376 2025/09/02 12:01:40 [debug] 170853#170853: *1 chain writer out: 0000000000000000 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer add: 10: 60000:82660855 2025/09/02 12:01:40 [debug] 170853#170853: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 12:01:40 [debug] 170853#170853: *1 http request count:2 blk:0 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: 60000 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:6 ev:0004 d:00007BB937AFD1E0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http run request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream check client, write event:1, "/upload" 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:10 ev:0005 d:00007BB937AFD2C8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream process header 2025/09/02 12:01:40 [debug] 170853#170853: *1 malloc: 000058009608B170:4096 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:-1 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:10 1072 of 4096 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 21 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 33 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40] 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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream dummy handler 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: 59999 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:10 ev:0005 d:00007BB937AFD2C8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream process header 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:-1 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:10 3760 of 4096 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: A6 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 02 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 166 2025/09/02 12:01:40 [error] 170853#170853: *1 FastCGI sent in stderr: "2025-09-02 12:01:40] 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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream dummy handler 2025/09/02 12:01:40 [debug] 170853#170853: timer delta: 0 2025/09/02 12:01:40 [debug] 170853#170853: worker cycle 2025/09/02 12:01:40 [debug] 170853#170853: epoll timer: 59999 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:10 ev:0005 d:00007BB937AFD2C8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream process header 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:-1 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:10 4096 of 4096 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: avail:3584 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:3584 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:10 4096 of 4096 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: avail:0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 recv: eof:0, avail:0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream dummy handler 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: 59998 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:10 ev:2005 d:00007BB937AFD2C8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream request: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream process header 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: eof:1, avail:-1 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:10 1152 of 4096 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: F8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 504 2025/09/02 12:01:40 [error] 170853#170853: *1 FastCGI sent in stderr: " uploaded_at = 1756828900 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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 1C 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 04 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 284 2025/09/02 12:01:40 [error] 170853#170853: *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:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 07 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 06 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 2C 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 04 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 300 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi parser: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi header: "Status: 200 OK" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi parser: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi parser: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi header done 2025/09/02 12:01:40 [debug] 170853#170853: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 16:01:40 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:01:40 [debug] 170853#170853: *1 write new buf t:1 f:0 000058009608A5C0, pos 000058009608A5C0, size: 260 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http write filter: l:0 f:0 s:260 2025/09/02 12:01:40 [debug] 170853#170853: *1 http cacheable: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream process upstream 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe read upstream: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe preread: 278 2025/09/02 12:01:40 [debug] 170853#170853: *1 readv: eof:1, avail:0 2025/09/02 12:01:40 [debug] 170853#170853: *1 readv: 1, last:2944 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe recv chain: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe buf free s:0 t:1 f:0 000058009608B170, pos 000058009608B4DA, size: 278 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe length: -1 2025/09/02 12:01:40 [debug] 170853#170853: *1 input buf #0 000058009608B4DA 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 06 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi closed stdout 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 03 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 01 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 08 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record byte: 00 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi record length: 8 2025/09/02 12:01:40 [debug] 170853#170853: *1 http fastcgi sent end request 2025/09/02 12:01:40 [debug] 170853#170853: *1 input buf 000058009608B4DA 250 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe write downstream: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe write downstream flush in 2025/09/02 12:01:40 [debug] 170853#170853: *1 http output filter "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http copy filter: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http postpone filter "/upload?" 000058009608A2D0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http chunk: 250 2025/09/02 12:01:40 [debug] 170853#170853: *1 write old buf t:1 f:0 000058009608A5C0, pos 000058009608A5C0, size: 260 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write new buf t:1 f:0 000058009608A908, pos 000058009608A908, size: 4 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write new buf t:1 f:0 000058009608B170, pos 000058009608B4DA, size: 250 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write new buf t:0 f:0 0000000000000000, pos 00005800768122E8, size: 2 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http write filter: l:0 f:0 s:516 2025/09/02 12:01:40 [debug] 170853#170853: *1 http copy filter: 0 "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 pipe write downstream done 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer: 10, old: 82660855, new: 82660858 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream exit: 0000000000000000 2025/09/02 12:01:40 [debug] 170853#170853: *1 finalize http upstream request: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 finalize http fastcgi request 2025/09/02 12:01:40 [debug] 170853#170853: *1 free rr peer 1 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 close http upstream connection: 10 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 0000580096069F20, unused: 48 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer del: 10: 82660855 2025/09/02 12:01:40 [debug] 170853#170853: *1 reusable connection: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http upstream temp fd: -1 2025/09/02 12:01:40 [debug] 170853#170853: *1 http output filter "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http copy filter: "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http postpone filter "/upload?" 00007FFCC4AB7E70 2025/09/02 12:01:40 [debug] 170853#170853: *1 http chunk: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write old buf t:1 f:0 000058009608A5C0, pos 000058009608A5C0, size: 260 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write old buf t:1 f:0 000058009608A908, pos 000058009608A908, size: 4 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write old buf t:1 f:0 000058009608B170, pos 000058009608B4DA, size: 250 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write old buf t:0 f:0 0000000000000000, pos 00005800768122E8, size: 2 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 write new buf t:0 f:0 0000000000000000, pos 00005800768122E5, size: 5 file: 0, size: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http write filter: l:1 f:0 s:521 2025/09/02 12:01:40 [debug] 170853#170853: *1 http write filter limit 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 writev: 521 of 521 2025/09/02 12:01:40 [debug] 170853#170853: *1 http write filter 0000000000000000 2025/09/02 12:01:40 [debug] 170853#170853: *1 http copy filter: 0 "/upload?" 2025/09/02 12:01:40 [debug] 170853#170853: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 12:01:40 [debug] 170853#170853: *1 set http keepalive handler 2025/09/02 12:01:40 [debug] 170853#170853: *1 http close request 2025/09/02 12:01:40 [debug] 170853#170853: *1 http log handler 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 000058009608B170 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 000058009609FA40, unused: 3 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 0000580096095DB0, unused: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 000058009608A160, unused: 1666 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 00005800960830A0 2025/09/02 12:01:40 [debug] 170853#170853: *1 hc free: 0000000000000000 2025/09/02 12:01:40 [debug] 170853#170853: *1 hc busy: 0000000000000000 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 tcp_nodelay 2025/09/02 12:01:40 [debug] 170853#170853: *1 reusable connection: 1 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer add: 6: 65000:82665858 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: 65000 2025/09/02 12:01:40 [debug] 170853#170853: epoll: fd:6 ev:2005 d:00007BB937AFD1E0 2025/09/02 12:01:40 [debug] 170853#170853: *1 http keepalive handler 2025/09/02 12:01:40 [debug] 170853#170853: *1 malloc: 00005800960830A0:1024 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: eof:1, avail:-1 2025/09/02 12:01:40 [debug] 170853#170853: *1 recv: fd:6 0 of 1024 2025/09/02 12:01:40 [info] 170853#170853: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 12:01:40 [debug] 170853#170853: *1 close http connection: 6 2025/09/02 12:01:40 [debug] 170853#170853: *1 event timer del: 6: 82665858 2025/09/02 12:01:40 [debug] 170853#170853: *1 reusable connection: 0 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 00005800960830A0 2025/09/02 12:01:40 [debug] 170853#170853: *1 free: 0000580096080840, unused: 120 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 2025/09/02 13:54:38 [notice] 176726#176726: signal 15 (SIGTERM) received from 185166, exiting 2025/09/02 13:54:38 [debug] 176726#176726: wake up, sigio 0 2025/09/02 13:54:38 [debug] 176726#176726: child: 0 176727 e:0 t:0 d:0 r:1 j:0 2025/09/02 13:54:38 [debug] 176726#176726: termination cycle: 50 2025/09/02 13:54:38 [debug] 176726#176726: sigsuspend 2025/09/02 13:54:38 [debug] 176727#176727: epoll: fd:7 ev:0001 d:0000786ADF2DF0F8 2025/09/02 13:54:38 [debug] 176727#176727: channel handler 2025/09/02 13:54:38 [debug] 176727#176727: channel: 32 2025/09/02 13:54:38 [debug] 176727#176727: channel command: 4 2025/09/02 13:54:38 [debug] 176727#176727: channel: -2 2025/09/02 13:54:38 [debug] 176727#176727: timer delta: 3918486 2025/09/02 13:54:38 [notice] 176727#176727: exiting 2025/09/02 13:54:38 [debug] 176727#176727: flush files 2025/09/02 13:54:38 [debug] 176727#176727: run cleanup: 00005B3FE0BEBAA0 2025/09/02 13:54:38 [debug] 176727#176727: run cleanup: 00005B3FE0BDEA38 2025/09/02 13:54:38 [debug] 176727#176727: cleanup resolver 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BECE00 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BDFC00 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BBEB70 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BBDA60 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB7A30 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB6970 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB58B0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB47F0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BAC190 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BA3160, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BAD5A0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BB8A40, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BBFB80, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BC3B90, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BC7BA0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BCBBB0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BCFBC0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BD3BD0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BD7BE0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BDBBF0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BE0DD0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BE4DE0, unused: 0 2025/09/02 13:54:38 [debug] 176727#176727: free: 00005B3FE0BE8DF0, unused: 4920 2025/09/02 13:54:38 [notice] 176727#176727: exit 2025/09/02 13:54:38 [notice] 176726#176726: signal 17 (SIGCHLD) received from 176727 2025/09/02 13:54:38 [notice] 176726#176726: worker process 176727 exited with code 0 2025/09/02 13:54:38 [debug] 176726#176726: shmtx forced unlock 2025/09/02 13:54:38 [debug] 176726#176726: wake up, sigio 3 2025/09/02 13:54:38 [debug] 176726#176726: reap children 2025/09/02 13:54:38 [debug] 176726#176726: child: 0 176727 e:1 t:1 d:0 r:1 j:0 2025/09/02 13:54:38 [notice] 176726#176726: exit 2025/09/02 13:54:38 [debug] 176726#176726: close listening 0.0.0.0:9001 #5 2025/09/02 13:54:38 [debug] 176726#176726: run cleanup: 00005B3FE0BDEA38 2025/09/02 13:54:38 [debug] 176726#176726: cleanup resolver 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BECE00 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BDFC00 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BBEB70 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BBDA60 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB7A30 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB6970 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB58B0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB47F0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BAC190 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BA3160, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BAD5A0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BB8A40, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BBFB80, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BC3B90, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BC7BA0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BCBBB0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BCFBC0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BD3BD0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BD7BE0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BDBBF0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BE0DD0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BE4DE0, unused: 0 2025/09/02 13:54:38 [debug] 176726#176726: free: 00005B3FE0BE8DF0, unused: 4951 2025/09/02 13:59:01 [debug] 185430#185430: bind() 0.0.0.0:9001 #5 2025/09/02 13:59:01 [debug] 185430#185430: counter: 000070C1B3B95080, 1 2025/09/02 13:59:01 [debug] 185431#185431: bind() 0.0.0.0:9001 #5 2025/09/02 13:59:01 [notice] 185431#185431: using the "epoll" event method 2025/09/02 13:59:01 [debug] 185431#185431: counter: 0000763ACE5C5080, 1 2025/09/02 13:59:01 [notice] 185431#185431: nginx/1.18.0 (Ubuntu) 2025/09/02 13:59:01 [notice] 185431#185431: OS: Linux 6.12.10-76061203-generic 2025/09/02 13:59:01 [notice] 185431#185431: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 13:59:01 [debug] 185432#185431: write: 6, 00007FFD3A843160, 7, 0 2025/09/02 13:59:01 [debug] 185432#185432: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 13:59:01 [notice] 185432#185432: start worker processes 2025/09/02 13:59:01 [debug] 185432#185432: channel 6:7 2025/09/02 13:59:01 [notice] 185432#185432: start worker process 185433 2025/09/02 13:59:01 [debug] 185432#185432: sigsuspend 2025/09/02 13:59:01 [debug] 185433#185433: add cleanup: 0000645FFAA2EA90 2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFA9E1BD0:8 2025/09/02 13:59:01 [debug] 185433#185433: notify eventfd: 9 2025/09/02 13:59:01 [debug] 185433#185433: testing the EPOLLRDHUP flag: success 2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFA9F45A0:6144 2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000763ACE3BD010:237568 2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFAA316C0:98304 2025/09/02 13:59:01 [debug] 185433#185433: malloc: 0000645FFAA496D0:98304 2025/09/02 13:59:01 [debug] 185433#185433: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 13:59:01 [debug] 185433#185433: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 13:59:01 [debug] 185433#185433: setproctitle: "nginx: worker process" 2025/09/02 13:59:01 [debug] 185433#185433: worker cycle 2025/09/02 13:59:01 [debug] 185433#185433: epoll timer: -1 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:5 ev:0001 d:0000763ACE3BD010 2025/09/02 13:59:11 [debug] 185433#185433: accept on 0.0.0.0:9001, ready: 0 2025/09/02 13:59:11 [debug] 185433#185433: posix_memalign: 0000645FFA9E0840:512 @16 2025/09/02 13:59:11 [debug] 185433#185433: *1 accept: 127.0.0.1:42108 fd:6 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer add: 6: 60000:89712167 2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 10531 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:6 ev:0001 d:0000763ACE3BD1E0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http wait request handler 2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9E30A0:1024 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:6 1024 of 1024 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: avail:112 2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9FFA40:4096 @16 2025/09/02 13:59:11 [debug] 185433#185433: *1 http process request line 2025/09/02 13:59:11 [debug] 185433#185433: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http uri: "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http args: "" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http exten: "" 2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9F5DB0:4096 @16 2025/09/02 13:59:11 [debug] 185433#185433: *1 http process request header line 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Host: localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Accept: */*" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1MmYwNzQ0Mjg0ZDc4MTQ4NTczZmY2OGQ5OWZkZGYxYTgyZTQ3YTUwMzM4NjlkZmIzYWQ3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzU5NTEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlNmJkYzZiNTMzNjA3MmRjMDVlMWE2ZWVhNjhjNzUxMTBjYmQ2YzE5OTRmNWRiZmU3NWM1ODgwYThiNDNkY2Y0Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzOTU1MSJdXSwiY29udGVudCI6IiIsInNpZyI6IjQ3MTY4ZTk1ZGMzZTFmNGQ3NTg5NGQxYmFlNDdmNzUyODliNDNhMDU3Njk0YzJlMTYwZmI4ZTk3MDg1M2M1MDNkYjk0YjdmNzRlMDcxNDg1OThmODBhYWY2NjNiYzEzYzQ3NzllMTZiYzRhMWM2NTVlYjgxNmMyYWY3OWIyZDZkIn0=" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Content-Type: text/plain" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Content-Disposition: attachment; filename="test_blob_1756835951.txt"" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header: "Content-Length: 296" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http header done 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer del: 6: 89712167 2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 rewrite phase: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: "/health" 2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 13:59:11 [debug] 185433#185433: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 13:59:11 [debug] 185433#185433: *1 using configuration "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http cl:296 max:104857600 2025/09/02 13:59:11 [debug] 185433#185433: *1 rewrite phase: 3 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "PUT" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script regex: "^(PUT)$" 2025/09/02 13:59:11 [notice] 185433#185433: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script if 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script if: false 2025/09/02 13:59:11 [debug] 185433#185433: *1 post rewrite phase: 4 2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 5 2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 6 2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 7 2025/09/02 13:59:11 [debug] 185433#185433: *1 access phase: 8 2025/09/02 13:59:11 [debug] 185433#185433: *1 access phase: 9 2025/09/02 13:59:11 [debug] 185433#185433: *1 access phase: 10 2025/09/02 13:59:11 [debug] 185433#185433: *1 post access phase: 11 2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 12 2025/09/02 13:59:11 [debug] 185433#185433: *1 generic phase: 13 2025/09/02 13:59:11 [debug] 185433#185433: *1 http client request body preread 184 2025/09/02 13:59:11 [debug] 185433#185433: *1 http request body content length filter 2025/09/02 13:59:11 [debug] 185433#185433: *1 http body new buf t:1 f:0 0000645FFA9E33E8, pos 0000645FFA9E33E8, size: 184 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http read client request body 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:112 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:6 112 of 112 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http client request body recv 112 2025/09/02 13:59:11 [debug] 185433#185433: *1 http body new buf t:1 f:0 0000645FFA9F6840, pos 0000645FFA9F6840, size: 112 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http client request body rest 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http init upstream, client timer: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9EA160:4096 @16 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "QUERY_STRING" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REQUEST_METHOD" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "PUT" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "CONTENT_TYPE" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "text/plain" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "296" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "CONTENT_LENGTH: 296" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SCRIPT_NAME" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REQUEST_URI" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "DOCUMENT_URI" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "./blobs" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "HTTP/1.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "http" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "CGI/1.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "nginx/" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "1.18.0" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REMOTE_ADDR" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "127.0.0.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REMOTE_PORT" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "42108" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REMOTE_PORT: 42108" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_ADDR" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "127.0.0.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_PORT" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SERVER_NAME" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "localhost" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "200" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script var: "./blobs" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1MmYwNzQ0Mjg0ZDc4MTQ4NTczZmY2OGQ5OWZkZGYxYTgyZTQ3YTUwMzM4NjlkZmIzYWQ3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzU5NTEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlNmJkYzZiNTMzNjA3MmRjMDVlMWE2ZWVhNjhjNzUxMTBjYmQ2YzE5OTRmNWRiZmU3NWM1ODgwYThiNDNkY2Y0Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzOTU1MSJdXSwiY29udGVudCI6IiIsInNpZyI6IjQ3MTY4ZTk1ZGMzZTFmNGQ3NTg5NGQxYmFlNDdmNzUyODliNDNhMDU3Njk0YzJlMTYwZmI4ZTk3MDg1M2M1MDNkYjk0YjdmNzRlMDcxNDg1OThmODBhYWY2NjNiYzEzYzQ3NzllMTZiYzRhMWM2NTVlYjgxNmMyYWY3OWIyZDZkIn0=" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756835951.txt"" 2025/09/02 13:59:11 [debug] 185433#185433: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 296" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http cleanup add: 0000645FFA9F6B90 2025/09/02 13:59:11 [debug] 185433#185433: *1 get rr peer, try: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 stream socket 10 2025/09/02 13:59:11 [debug] 185433#185433: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 13:59:11 [debug] 185433#185433: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 13:59:11 [debug] 185433#185433: *1 connected 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream connect: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 posix_memalign: 0000645FFA9C9F20:128 @16 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream send request 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream send request body 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:1304 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:184 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:8 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:112 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer buf fl:0 s:8 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer in: 0000645FFA9F6C20 2025/09/02 13:59:11 [debug] 185433#185433: *1 writev: 1616 of 1616 2025/09/02 13:59:11 [debug] 185433#185433: *1 chain writer out: 0000000000000000 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer add: 10: 60000:89712168 2025/09/02 13:59:11 [debug] 185433#185433: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 13:59:11 [debug] 185433#185433: *1 http request count:2 blk:0 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 1 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:6 ev:0004 d:0000763ACE3BD1E0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http run request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream check client, write event:1, "/upload" 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0004 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9EB170:4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 48 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 21 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 33 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 512 of 4048 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload ENTRY: Entering handle_upload_request() function DEBUG: handle_upload_request called LOG: [2025-09-02 13:59:11] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=296 DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1MmYwNzQ0Mjg0ZDc4MTQ4NTczZmY2OGQ5OWZkZGYxYTgyZTQ3YTUwMzM4NjlkZmIzYWQ3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 60000 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 1104 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzU5NTEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlNmJkYzZiNTMzNjA3MmRjMDVlMWE2ZWVhNjhjNzUxMTBjYmQ2YzE5OTRmNWRiZmU3NWM1ODgwYThiNDNkY2Y0Il0sWyJleHBpcmF0aW9uIiwiMTc1NjgzOTU1MSJdXSwiY29udGVudCI6IiIsInNpZyI6IjQ3MTY4ZTk1ZGMzZTFmNGQ3NTg5NGQxYmFlNDdmNzUyODliNDNhMDU3Njk0YzJlMTYwZmI4ZTk3MDg1M2M1MDNkYjk0YjdmNzRlMDcxNDg1OThmODBhYWY2NjNiYzEzYzQ3NzllMTZiYzRhMWM2NTVlYjgxNmMyYWY3OWIyZDZkIn0= LOG: [2025-09-02 13:59:11] PUT /upload - Auth: auth_provided - Status: 0 DEBUG-LAAN: Calculated SHA-256:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 43 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 05 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 67 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES AUTH: Calling authenticate_request with hash: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 ═══════════════════════════════════════════════════════════════════ 🔍 STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) ℹ️ INFO: Server-style auth calle" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 1 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 2560 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "d with method: upload, hash: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 🔍 STEP SERVER-2: Calling parse_authorization_header DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1... DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=✅ SUCCESS: parse_authorization_header succeeded 🔍 STEP SERVER-3: Calling cJSON_Parse on JSON string ℹ️ INFO: JSON to" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " parse: {"kind":24242,"id":"caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756835951,"tags":[["t","upload"],["x","e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4"],["expiration","1756839551"]],"content":"","sig":"47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d"} ✅ SUCCESS: cJSON_Parse succeeded" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: ", event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756835951, "tags": [["t", "upload"], ["x", "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4"], ["expiration", "1756839551"]], "content": "", "sig": "47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "4a1c655eb816c2af79b2d6d" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7 ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d ℹ️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756835951 🔍 STEP SERVER-5: Detailed pubkey" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " analysis ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): 7(0x37) 9(0x39) b(0x62) e(0x65) 6(0x36) 6(0x36) 7(0x37) e(0x65) f(0x66) 9(0x39) 🔍 STEP SERVER-6: Pre-validation pubkey analysis ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): 7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(5" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 512 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "5) e(101) f(102) 9(57) ℹ️ INFO: Character validation test: ALL VALID (lowercase hex) 🔍 STEP SERVER-7: Starting detailed validation analysis ℹ️ INFO: Testing structure validation... ℹ️ INFO: nostr_validate_event_structure returned: 0 (Success) ✅ SUCCESS: Structure validation PASSED ℹ️ INFO: Testing cryptographic verification... ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) ✅ SUCCESS: Crypto verification PASSED ℹ️ INFO: Testing complete validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 2048 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "... ℹ️ INFO: nostr_validate_event returned: 0 (Success) ✅ SUCCESS: Complete validation PASSED 🔍 STEP SERVER-8: Running detailed structure validation ═══════════════════════════════════════════════════════════════════ 🔍 STEP STRUCT-1: Starting detailed structure validation ✅ SUCCESS: Event is valid JSON object 🔍 STEP STRUCT-2: Checking required field" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "existence ✅ SUCCESS: Field 'id' exists ✅ SUCCESS: Field 'pubkey' exists ✅ SUCCESS: Field 'created_at' exists ✅ SUCCESS: Field 'kind' exists ✅ SUCCESS: Field 'tags' exists ✅ SUCCESS: Field 'content' exists ✅ SUCCESS: Field 'sig' exists 🔍 STEP STRUCT-3: Validating field types ✅ SUCCESS: Field 'id' is string ✅ SUCCESS: Field 'pubkey' is string ✅ SUCCESS: Field 'created_at' is number ✅ SUCCESS: Field 'kind' is number ✅ SUCCESS: Field 'tags' is array ✅ SUCCESS: Field 'content" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "' is string ✅ SUCCESS: Field 'sig' is string 🔍 STEP STRUCT-4: Validating hex string lengths ℹ️ INFO: ID string: 'caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7' (length: ✅ SUCCESS: ID string length is correct (64 chars) ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64 chars) ℹ️ INFO: Signature string: '47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d' (length: ✅ SUCCESS: Signature string length is correct (128 chars) 🔍 STEP STRUCT-5: Validating hex characters ℹ️ INFO: Checking ID hex characters... ✅ SUCCESS: ID hex characters are valid (lowercase) ℹ️ INFO: Checking pubkey hex characters... ✅ SUCCESS: Pubkey hex characters are valid (lowercase) ℹ️ INFO: Checking signature hex characters... ✅ SUCCESS: Signature hex characters are valid (lowercase) 🔍 S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 2560 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp ℹ️ INFO: Created_at timestamp: 1756835951 ✅ SUCCESS: Timestamp is valid: 2025-09-02 17:59:11 UTC 🔍 STEP STRUCT-7: Validating kind ℹ️ INFO: Event kind: 24242 ✅ SUCCESS: Kind is valid: 24242 🔍 STEP STRUCT-8: Validating tags array structure ℹ️ INFO: Tags array has 3 elements ℹ️ INFO: Tag[0] has 2 elements ℹ️ INFO: Tag[0][0]: 't' ℹ️ INFO: Tag[0][1]: 'upload' ℹ️ INFO: Tag[1] has 2 elements ℹ️ INFO: Tag[1][0]: 'x' ℹ️" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " INFO: Tag[1][1]: 'e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4' ℹ️ INFO: Tag[2] has 2 elements ℹ️ INFO: Tag[2][0]: 'expiration' ℹ️ INFO: Tag[2][1]: '1756839551' ✅ SUCCESS: Tags array structure is valid 🔍 STEP STRUCT-9: Validating content ℹ️ INFO: Content: '' (length: ✅ SUCCESS: Content is valid string ✅ SUCCESS: Structure validation completed successfully ✅ SUCCESS: Detailed structure validation PASSED 🔍 STEP SERVER-9: Running detailed signature" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " validation ═══════════════════════════════════════════════════════════════════ 🔍 STEP CRYPTO-1: Starting detailed signature validation 🔍 STEP CRYPTO-2: Creating serialization array ✅ SUCCESS: Serialization array created 🔍 STEP CRYPTO-3: Converting to JSON string ✅ SUCCESS: JSON serialization string created ℹ️ INFO: Serialization string (length 🔍" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash ✅ SUCCESS: SHA256 hash computed ℹ️ INFO: Event hash ( ca ca 1b c0 a1 19 52 f0 74 42 84 d7 81 48 57 3f |......R.tB...HW?| f6 8d 99 fd df 1a 82 e4 7a 50 33 86 9d fb 3a d7 |........zP3...:.| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7 ℹ️ INFO: Provided ID: caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7 ✅ SUCCESS: Event ID verification passe" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "d 🔍 STEP CRYPTO-6: Preparing signature verification 🔍 STEP CRYPTO-7: Converting hex strings to bytes ✅ SUCCESS: Pubkey hex converted to bytes ℹ️ INFO: Pubkey bytes ( 79 be 66 7e f9 dc bb ac 55 a0 62 95 ce 87 0b 07 |y.f~....U.b.....| 02 9b fc db 2d ce 28 d9 59 f2 81 5b 16 f8 17 98 |....-.(.Y..[....| ✅ SUCCESS: Signature hex converted to bytes ℹ️ INFO: Signature bytes ( 47 16 8e 95 dc 3e 1f 4d 75 89 4d 1b ae 47 f7 52 |G....>.Mu.M..G.R| 89 b4 3a 05 76 94 c2 e1 60 fb 8e 97 0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 3072 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "8 53 c5 03 |..:.v...`....S..| db 94 b7 f7 4e 07 14 85 98 f8 0a af 66 3b c1 3c |....N.......f;.<| 47 79 e1 6b c4 a1 c6 55 eb 81 6c 2a f7 9b 2d 6d |Gy.k...U..l*..-m| 🔍 STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() ℹ️ INFO: Calling nostr_verify_event_signature() for detailed crypto validation ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) ✅ SUCCESS: Signature verification PASSED using nostr_core_lib! ✅ SUCCESS: Detailed signature validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " PASSED ═══════════════════════════════════════════════════════════════════ 🔍 STEP ANALYZE-1: Analyzing event field details ℹ️ INFO: Field 'kind': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 24242 ℹ️ INFO: Field 'id': ℹ️ INFO: Type: String ℹ️ INFO: Value: 'caca1bc0a11952f0744284d78148573ff68d99fddf1a82e47a5033869dfb3ad7' ℹ️ INFO" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: ": Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756835951 ℹ️ INFO: Field 'tags': ℹ️ INFO: Type: Array ℹ️ INFO: Size: 3 ℹ️ INFO: Field 'content': ℹ️ INFO: Type: String ℹ️ INFO: Value: '' ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': ℹ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '47168e95dc3e1f4d75894d1bae47f75289b43a057694c2e160fb8e970853c503db94b7f74e07148598f80aaf663bc13c4779e16bc4a1c655eb816c2af79b2d6d' ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements DEBUG: Validating Blossom event DEBUG: Found matching method tag: upload DEBUG: Found matching hash tag: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 DEBUG: Found expiration tag: 1756839551 DEBUG: Blossom event valid" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "ation passed ✅ SUCCESS: Blossom event validation PASSED ✅ SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS AUTH: authenticate_request returned: 0 DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjYWNhMWJjMGExMTk1... DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "815b16f81798 DEBUG: Saving file to: blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756835951.txt" DEBUG: Looking for filename= in Content-Disposition header DEBUG: Found filename= at position 12 DEBUG: Filename value starts with: "test_blob_175683595 DEBUG: Processing quoted filename DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756835951.txt" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59999 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 1024 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "' DEBUG: Final filename after extraction: test_blob_1756835951.txt DEBUG: insert_blob_metadata() called for sha256='e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4' DEBUG: Opening database at path: db/ginxsom.db DEBUG: Database opened successfully for writing DEBUG: Preparing SQL: INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES (?, ?, ?, ?, ?, ?) DEBUG: SQL prepared successfully, binding parameters DEBUG: Parameter values to bind: DEBUG:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: F8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 504 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: " 1. sha256 = 'e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4' DEBUG: 2. size = 296 DEBUG: 3. type = 'text/plain' DEBUG: 4. uploaded_at = 1756835951 DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' DEBUG: 6. filename = 'test_blob_1756835951.txt' DEBUG: Binding parameter 1 (sha256) DEBUG: Binding parameter 2 (size) DEBUG: Binding parameter 3 (type) DEBUG: Binding parameter 4 (uploaded_at) DEBUG: Binding parameter 5 (" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 1 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59998 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:0004 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream dummy handler 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 59998 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:10 ev:2005 d:0000763ACE3BD2C8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream request: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process header 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:1, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:10 800 of 4096 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: BE 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 02 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 446 2025/09/02 13:59:11 [error] 185433#185433: *1 FastCGI sent in stderr: "uploader_pubkey) DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' DEBUG: Binding parameter 6 (filename) DEBUG: Binding filename as text: 'test_blob_1756835951.txt' DEBUG: Parameters bound, executing INSERT DEBUG: INSERT successful DEBUG: Database closed, returning 1 DEBUG: Blob metadata successfully stored in database DEBUG: Upload completed successfully with database storage" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 07 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 06 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 2D 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 03 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 301 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi parser: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi header: "Status: 200 OK" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi parser: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi parser: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi header done 2025/09/02 13:59:11 [debug] 185433#185433: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 17:59:11 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block 2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:1 f:0 0000645FFA9EA818, pos 0000645FFA9EA818, size: 260 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter: l:0 f:0 s:260 2025/09/02 13:59:11 [debug] 185433#185433: *1 http cacheable: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream process upstream 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe read upstream: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe preread: 278 2025/09/02 13:59:11 [debug] 185433#185433: *1 readv: eof:1, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 readv: 1, last:3296 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe recv chain: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe buf free s:0 t:1 f:0 0000645FFA9EB170, pos 0000645FFA9EB37A, size: 278 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe length: -1 2025/09/02 13:59:11 [debug] 185433#185433: *1 input buf #0 0000645FFA9EB37A 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 06 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi closed stdout 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 03 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 01 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 08 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record byte: 00 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi record length: 8 2025/09/02 13:59:11 [debug] 185433#185433: *1 http fastcgi sent end request 2025/09/02 13:59:11 [debug] 185433#185433: *1 input buf 0000645FFA9EB37A 251 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe write downstream: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe write downstream flush in 2025/09/02 13:59:11 [debug] 185433#185433: *1 http output filter "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http postpone filter "/upload?" 0000645FFA9F6BF0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http chunk: 251 2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9EA818, pos 0000645FFA9EA818, size: 260 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:1 f:0 0000645FFA9F6D80, pos 0000645FFA9F6D80, size: 4 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:1 f:0 0000645FFA9EB170, pos 0000645FFA9EB37A, size: 251 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:0 f:0 0000000000000000, pos 0000645FEB0562E8, size: 2 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter: l:0 f:0 s:517 2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: 0 "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 pipe write downstream done 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer: 10, old: 89712168, new: 89712173 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream exit: 0000000000000000 2025/09/02 13:59:11 [debug] 185433#185433: *1 finalize http upstream request: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 finalize http fastcgi request 2025/09/02 13:59:11 [debug] 185433#185433: *1 free rr peer 1 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 close http upstream connection: 10 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9C9F20, unused: 48 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer del: 10: 89712168 2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http upstream temp fd: -1 2025/09/02 13:59:11 [debug] 185433#185433: *1 http output filter "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http postpone filter "/upload?" 00007FFD3A842DA0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http chunk: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9EA818, pos 0000645FFA9EA818, size: 260 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9F6D80, pos 0000645FFA9F6D80, size: 4 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:1 f:0 0000645FFA9EB170, pos 0000645FFA9EB37A, size: 251 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write old buf t:0 f:0 0000000000000000, pos 0000645FEB0562E8, size: 2 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 write new buf t:0 f:0 0000000000000000, pos 0000645FEB0562E5, size: 5 file: 0, size: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter: l:1 f:0 s:522 2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter limit 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 writev: 522 of 522 2025/09/02 13:59:11 [debug] 185433#185433: *1 http write filter 0000000000000000 2025/09/02 13:59:11 [debug] 185433#185433: *1 http copy filter: 0 "/upload?" 2025/09/02 13:59:11 [debug] 185433#185433: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 13:59:11 [debug] 185433#185433: *1 set http keepalive handler 2025/09/02 13:59:11 [debug] 185433#185433: *1 http close request 2025/09/02 13:59:11 [debug] 185433#185433: *1 http log handler 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9EB170 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9FFA40, unused: 3 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9F5DB0, unused: 8 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9EA160, unused: 1170 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E30A0 2025/09/02 13:59:11 [debug] 185433#185433: *1 hc free: 0000000000000000 2025/09/02 13:59:11 [debug] 185433#185433: *1 hc busy: 0000000000000000 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 tcp_nodelay 2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 1 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer add: 6: 65000:89717173 2025/09/02 13:59:11 [debug] 185433#185433: *1 post event 0000645FFAA31780 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 3 2025/09/02 13:59:11 [debug] 185433#185433: posted event 0000645FFAA31780 2025/09/02 13:59:11 [debug] 185433#185433: *1 delete posted event 0000645FFAA31780 2025/09/02 13:59:11 [debug] 185433#185433: *1 http keepalive handler 2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9E30A0:1024 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:0, avail:0 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E30A0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: 65000 2025/09/02 13:59:11 [debug] 185433#185433: epoll: fd:6 ev:2005 d:0000763ACE3BD1E0 2025/09/02 13:59:11 [debug] 185433#185433: *1 http keepalive handler 2025/09/02 13:59:11 [debug] 185433#185433: *1 malloc: 0000645FFA9E30A0:1024 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: eof:1, avail:-1 2025/09/02 13:59:11 [debug] 185433#185433: *1 recv: fd:6 0 of 1024 2025/09/02 13:59:11 [info] 185433#185433: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 13:59:11 [debug] 185433#185433: *1 close http connection: 6 2025/09/02 13:59:11 [debug] 185433#185433: *1 event timer del: 6: 89717173 2025/09/02 13:59:11 [debug] 185433#185433: *1 reusable connection: 0 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E30A0 2025/09/02 13:59:11 [debug] 185433#185433: *1 free: 0000645FFA9E0840, unused: 120 2025/09/02 13:59:11 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:11 [debug] 185433#185433: worker cycle 2025/09/02 13:59:11 [debug] 185433#185433: epoll timer: -1 2025/09/02 13:59:38 [debug] 185433#185433: epoll: fd:5 ev:0001 d:0000763ACE3BD010 2025/09/02 13:59:38 [debug] 185433#185433: accept on 0.0.0.0:9001, ready: 0 2025/09/02 13:59:38 [debug] 185433#185433: posix_memalign: 0000645FFA9E0840:512 @16 2025/09/02 13:59:38 [debug] 185433#185433: *3 accept: 127.0.0.1:47772 fd:6 2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer add: 6: 60000:89739271 2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 1 2025/09/02 13:59:38 [debug] 185433#185433: *3 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 13:59:38 [debug] 185433#185433: timer delta: 27098 2025/09/02 13:59:38 [debug] 185433#185433: worker cycle 2025/09/02 13:59:38 [debug] 185433#185433: epoll timer: 60000 2025/09/02 13:59:38 [debug] 185433#185433: epoll: fd:6 ev:0001 d:0000763ACE3BD1E1 2025/09/02 13:59:38 [debug] 185433#185433: *3 http wait request handler 2025/09/02 13:59:38 [debug] 185433#185433: *3 malloc: 0000645FFA9E30A0:1024 2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: eof:0, avail:-1 2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: fd:6 146 of 1024 2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 posix_memalign: 0000645FFA9FFA40:4096 @16 2025/09/02 13:59:38 [debug] 185433#185433: *3 http process request line 2025/09/02 13:59:38 [debug] 185433#185433: *3 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http args: "" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http exten: "txt" 2025/09/02 13:59:38 [debug] 185433#185433: *3 posix_memalign: 0000645FFA9F5DB0:4096 @16 2025/09/02 13:59:38 [debug] 185433#185433: *3 http process request header line 2025/09/02 13:59:38 [debug] 185433#185433: *3 http header: "Host: localhost:9001" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http header: "User-Agent: curl/8.15.0" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http header: "Accept: */*" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http header done 2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer del: 6: 89739271 2025/09/02 13:59:38 [debug] 185433#185433: *3 generic phase: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 rewrite phase: 1 2025/09/02 13:59:38 [debug] 185433#185433: *3 test location: "/health" 2025/09/02 13:59:38 [debug] 185433#185433: *3 test location: "/debug/list" 2025/09/02 13:59:38 [debug] 185433#185433: *3 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 13:59:38 [debug] 185433#185433: *3 using configuration "^/([a-f0-9]{64}).*$" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http cl:-1 max:104857600 2025/09/02 13:59:38 [debug] 185433#185433: *3 rewrite phase: 3 2025/09/02 13:59:38 [debug] 185433#185433: *3 http script var 2025/09/02 13:59:38 [debug] 185433#185433: *3 http script var: "GET" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http script value: "DELETE" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http script not equal 2025/09/02 13:59:38 [debug] 185433#185433: *3 http script if 2025/09/02 13:59:38 [debug] 185433#185433: *3 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 13:59:38 [debug] 185433#185433: *3 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http set discard body 2025/09/02 13:59:38 [debug] 185433#185433: *3 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 17:59:38 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 13:59:38 [debug] 185433#185433: *3 write new buf t:1 f:0 0000645FFA9F6190, pos 0000645FFA9F6190, size: 164 file: 0, size: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter: l:0 f:0 s:164 2025/09/02 13:59:38 [debug] 185433#185433: *3 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 0000645FFA9F6320 2025/09/02 13:59:38 [debug] 185433#185433: *3 write old buf t:1 f:0 0000645FFA9F6190, pos 0000645FFA9F6190, size: 164 file: 0, size: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 write new buf t:0 f:0 0000000000000000, pos 0000645FEB095580, size: 100 file: 0, size: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 write new buf t:0 f:0 0000000000000000, pos 0000645FEB095C80, size: 62 file: 0, size: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter: l:1 f:0 s:326 2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter limit 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 writev: 326 of 326 2025/09/02 13:59:38 [debug] 185433#185433: *3 http write filter 0000000000000000 2025/09/02 13:59:38 [debug] 185433#185433: *3 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 13:59:38 [debug] 185433#185433: *3 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 13:59:38 [debug] 185433#185433: *3 set http keepalive handler 2025/09/02 13:59:38 [debug] 185433#185433: *3 http close request 2025/09/02 13:59:38 [debug] 185433#185433: *3 http log handler 2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9FFA40, unused: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9F5DB0, unused: 2452 2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9E30A0 2025/09/02 13:59:38 [debug] 185433#185433: *3 hc free: 0000000000000000 2025/09/02 13:59:38 [debug] 185433#185433: *3 hc busy: 0000000000000000 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 tcp_nodelay 2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 1 2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer add: 6: 65000:89744271 2025/09/02 13:59:38 [debug] 185433#185433: timer delta: 0 2025/09/02 13:59:38 [debug] 185433#185433: worker cycle 2025/09/02 13:59:38 [debug] 185433#185433: epoll timer: 65000 2025/09/02 13:59:38 [debug] 185433#185433: epoll: fd:6 ev:2001 d:0000763ACE3BD1E1 2025/09/02 13:59:38 [debug] 185433#185433: *3 http keepalive handler 2025/09/02 13:59:38 [debug] 185433#185433: *3 malloc: 0000645FFA9E30A0:1024 2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: eof:1, avail:-1 2025/09/02 13:59:38 [debug] 185433#185433: *3 recv: fd:6 0 of 1024 2025/09/02 13:59:38 [info] 185433#185433: *3 client 127.0.0.1 closed keepalive connection 2025/09/02 13:59:38 [debug] 185433#185433: *3 close http connection: 6 2025/09/02 13:59:38 [debug] 185433#185433: *3 event timer del: 6: 89744271 2025/09/02 13:59:38 [debug] 185433#185433: *3 reusable connection: 0 2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9E30A0 2025/09/02 13:59:38 [debug] 185433#185433: *3 free: 0000645FFA9E0840, unused: 136 2025/09/02 13:59:38 [debug] 185433#185433: timer delta: 1 2025/09/02 13:59:38 [debug] 185433#185433: worker cycle 2025/09/02 13:59:38 [debug] 185433#185433: epoll timer: -1 2025/09/02 14:03:26 [notice] 185432#185432: signal 15 (SIGTERM) received from 185739, exiting 2025/09/02 14:03:26 [debug] 185432#185432: wake up, sigio 0 2025/09/02 14:03:26 [debug] 185432#185432: child: 0 185433 e:0 t:0 d:0 r:1 j:0 2025/09/02 14:03:26 [debug] 185432#185432: termination cycle: 50 2025/09/02 14:03:26 [debug] 185432#185432: sigsuspend 2025/09/02 14:03:26 [debug] 185433#185433: epoll: fd:7 ev:0001 d:0000763ACE3BD0F8 2025/09/02 14:03:26 [debug] 185433#185433: channel handler 2025/09/02 14:03:26 [debug] 185433#185433: channel: 32 2025/09/02 14:03:26 [debug] 185433#185433: channel command: 4 2025/09/02 14:03:26 [debug] 185433#185433: channel: -2 2025/09/02 14:03:26 [debug] 185433#185433: timer delta: 227740 2025/09/02 14:03:26 [notice] 185433#185433: exiting 2025/09/02 14:03:26 [debug] 185433#185433: flush files 2025/09/02 14:03:26 [debug] 185433#185433: run cleanup: 0000645FFAA2EA90 2025/09/02 14:03:26 [debug] 185433#185433: run cleanup: 0000645FFAA21A28 2025/09/02 14:03:26 [debug] 185433#185433: cleanup resolver 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA2FDF0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA22BF0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA01B60 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA00A50 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9FAA20 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F9960 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F88A0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F77E0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9EF180 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9E6150, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9F0590, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFA9FBA30, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA02B70, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA06B80, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA0AB90, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA0EBA0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA12BB0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA16BC0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA1ABD0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA1EBE0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA23DC0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA27DD0, unused: 0 2025/09/02 14:03:26 [debug] 185433#185433: free: 0000645FFAA2BDE0, unused: 4920 2025/09/02 14:03:26 [notice] 185433#185433: exit 2025/09/02 14:03:26 [notice] 185432#185432: signal 17 (SIGCHLD) received from 185433 2025/09/02 14:03:26 [notice] 185432#185432: worker process 185433 exited with code 0 2025/09/02 14:03:26 [debug] 185432#185432: shmtx forced unlock 2025/09/02 14:03:26 [debug] 185432#185432: wake up, sigio 3 2025/09/02 14:03:26 [debug] 185432#185432: reap children 2025/09/02 14:03:26 [debug] 185432#185432: child: 0 185433 e:1 t:1 d:0 r:1 j:0 2025/09/02 14:03:26 [notice] 185432#185432: exit 2025/09/02 14:03:26 [debug] 185432#185432: close listening 0.0.0.0:9001 #5 2025/09/02 14:03:26 [debug] 185432#185432: run cleanup: 0000645FFAA21A28 2025/09/02 14:03:26 [debug] 185432#185432: cleanup resolver 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA2FDF0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA22BF0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA01B60 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA00A50 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9FAA20 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F9960 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F88A0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F77E0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9EF180 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9E6150, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9F0590, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFA9FBA30, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA02B70, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA06B80, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA0AB90, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA0EBA0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA12BB0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA16BC0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA1ABD0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA1EBE0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA23DC0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA27DD0, unused: 0 2025/09/02 14:03:26 [debug] 185432#185432: free: 0000645FFAA2BDE0, unused: 4951 2025/09/02 14:03:29 [debug] 185787#185787: bind() 0.0.0.0:9001 #5 2025/09/02 14:03:29 [debug] 185787#185787: counter: 00007CCBB20FE080, 1 2025/09/02 14:03:29 [debug] 185788#185788: bind() 0.0.0.0:9001 #5 2025/09/02 14:03:29 [notice] 185788#185788: using the "epoll" event method 2025/09/02 14:03:29 [debug] 185788#185788: counter: 000079E41017D080, 1 2025/09/02 14:03:29 [notice] 185788#185788: nginx/1.18.0 (Ubuntu) 2025/09/02 14:03:29 [notice] 185788#185788: OS: Linux 6.12.10-76061203-generic 2025/09/02 14:03:29 [notice] 185788#185788: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 14:03:29 [debug] 185789#185788: write: 6, 00007FFD72429C10, 7, 0 2025/09/02 14:03:29 [debug] 185789#185789: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 14:03:29 [notice] 185789#185789: start worker processes 2025/09/02 14:03:29 [debug] 185789#185789: channel 6:7 2025/09/02 14:03:29 [notice] 185789#185789: start worker process 185790 2025/09/02 14:03:29 [debug] 185789#185789: sigsuspend 2025/09/02 14:03:29 [debug] 185790#185790: add cleanup: 000058127A8EFB38 2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A8A2BD0:8 2025/09/02 14:03:29 [debug] 185790#185790: notify eventfd: 9 2025/09/02 14:03:29 [debug] 185790#185790: testing the EPOLLRDHUP flag: success 2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A8B55A0:6144 2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000079E40FF75010:237568 2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A8F26C0:98304 2025/09/02 14:03:29 [debug] 185790#185790: malloc: 000058127A90A6D0:98304 2025/09/02 14:03:29 [debug] 185790#185790: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 14:03:29 [debug] 185790#185790: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 14:03:29 [debug] 185790#185790: setproctitle: "nginx: worker process" 2025/09/02 14:03:29 [debug] 185790#185790: worker cycle 2025/09/02 14:03:29 [debug] 185790#185790: epoll timer: -1 2025/09/02 14:03:38 [debug] 185790#185790: epoll: fd:5 ev:0001 d:000079E40FF75010 2025/09/02 14:03:38 [debug] 185790#185790: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:03:38 [debug] 185790#185790: posix_memalign: 000058127A8A1840:512 @16 2025/09/02 14:03:38 [debug] 185790#185790: *1 accept: 127.0.0.1:38908 fd:6 2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer add: 6: 60000:89978457 2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 1 2025/09/02 14:03:38 [debug] 185790#185790: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:03:38 [debug] 185790#185790: timer delta: 8233 2025/09/02 14:03:38 [debug] 185790#185790: worker cycle 2025/09/02 14:03:38 [debug] 185790#185790: epoll timer: 60000 2025/09/02 14:03:38 [debug] 185790#185790: epoll: fd:6 ev:0001 d:000079E40FF751E0 2025/09/02 14:03:38 [debug] 185790#185790: *1 http wait request handler 2025/09/02 14:03:38 [debug] 185790#185790: *1 malloc: 000058127A8A40A0:1024 2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: eof:0, avail:-1 2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: fd:6 146 of 1024 2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 posix_memalign: 000058127A8C0A40:4096 @16 2025/09/02 14:03:38 [debug] 185790#185790: *1 http process request line 2025/09/02 14:03:38 [debug] 185790#185790: *1 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http args: "" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http exten: "txt" 2025/09/02 14:03:38 [debug] 185790#185790: *1 posix_memalign: 000058127A8B6DB0:4096 @16 2025/09/02 14:03:38 [debug] 185790#185790: *1 http process request header line 2025/09/02 14:03:38 [debug] 185790#185790: *1 http header: "Host: localhost:9001" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http header: "Accept: */*" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http header done 2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer del: 6: 89978457 2025/09/02 14:03:38 [debug] 185790#185790: *1 generic phase: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 rewrite phase: 1 2025/09/02 14:03:38 [debug] 185790#185790: *1 test location: "/health" 2025/09/02 14:03:38 [debug] 185790#185790: *1 test location: "/debug/list" 2025/09/02 14:03:38 [debug] 185790#185790: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:03:38 [debug] 185790#185790: *1 using configuration "^/([a-f0-9]{64}).*$" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http cl:-1 max:104857600 2025/09/02 14:03:38 [debug] 185790#185790: *1 rewrite phase: 3 2025/09/02 14:03:38 [debug] 185790#185790: *1 http script var 2025/09/02 14:03:38 [debug] 185790#185790: *1 http script var: "GET" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http script value: "DELETE" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http script not equal 2025/09/02 14:03:38 [debug] 185790#185790: *1 http script if 2025/09/02 14:03:38 [debug] 185790#185790: *1 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:03:38 [debug] 185790#185790: *1 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http set discard body 2025/09/02 14:03:38 [debug] 185790#185790: *1 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:03:38 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 14:03:38 [debug] 185790#185790: *1 write new buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter: l:0 f:0 s:164 2025/09/02 14:03:38 [debug] 185790#185790: *1 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 000058127A8B7320 2025/09/02 14:03:38 [debug] 185790#185790: *1 write old buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 write new buf t:0 f:0 0000000000000000, pos 0000581245EEB580, size: 100 file: 0, size: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 write new buf t:0 f:0 0000000000000000, pos 0000581245EEBC80, size: 62 file: 0, size: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter: l:1 f:0 s:326 2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter limit 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 writev: 326 of 326 2025/09/02 14:03:38 [debug] 185790#185790: *1 http write filter 0000000000000000 2025/09/02 14:03:38 [debug] 185790#185790: *1 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:03:38 [debug] 185790#185790: *1 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:03:38 [debug] 185790#185790: *1 set http keepalive handler 2025/09/02 14:03:38 [debug] 185790#185790: *1 http close request 2025/09/02 14:03:38 [debug] 185790#185790: *1 http log handler 2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8C0A40, unused: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8B6DB0, unused: 2452 2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8A40A0 2025/09/02 14:03:38 [debug] 185790#185790: *1 hc free: 0000000000000000 2025/09/02 14:03:38 [debug] 185790#185790: *1 hc busy: 0000000000000000 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 tcp_nodelay 2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 1 2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer add: 6: 65000:89983457 2025/09/02 14:03:38 [debug] 185790#185790: timer delta: 0 2025/09/02 14:03:38 [debug] 185790#185790: worker cycle 2025/09/02 14:03:38 [debug] 185790#185790: epoll timer: 65000 2025/09/02 14:03:38 [debug] 185790#185790: epoll: fd:6 ev:2001 d:000079E40FF751E0 2025/09/02 14:03:38 [debug] 185790#185790: *1 http keepalive handler 2025/09/02 14:03:38 [debug] 185790#185790: *1 malloc: 000058127A8A40A0:1024 2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: eof:1, avail:-1 2025/09/02 14:03:38 [debug] 185790#185790: *1 recv: fd:6 0 of 1024 2025/09/02 14:03:38 [info] 185790#185790: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 14:03:38 [debug] 185790#185790: *1 close http connection: 6 2025/09/02 14:03:38 [debug] 185790#185790: *1 event timer del: 6: 89983457 2025/09/02 14:03:38 [debug] 185790#185790: *1 reusable connection: 0 2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8A40A0 2025/09/02 14:03:38 [debug] 185790#185790: *1 free: 000058127A8A1840, unused: 136 2025/09/02 14:03:38 [debug] 185790#185790: timer delta: 1 2025/09/02 14:03:38 [debug] 185790#185790: worker cycle 2025/09/02 14:03:38 [debug] 185790#185790: epoll timer: -1 2025/09/02 14:05:11 [debug] 185790#185790: epoll: fd:5 ev:0001 d:000079E40FF75010 2025/09/02 14:05:11 [debug] 185790#185790: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:05:11 [debug] 185790#185790: posix_memalign: 000058127A8A1840:512 @16 2025/09/02 14:05:11 [debug] 185790#185790: *2 accept: 127.0.0.1:58790 fd:6 2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer add: 6: 60000:90071933 2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 1 2025/09/02 14:05:11 [debug] 185790#185790: *2 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:05:11 [debug] 185790#185790: timer delta: 93475 2025/09/02 14:05:11 [debug] 185790#185790: worker cycle 2025/09/02 14:05:11 [debug] 185790#185790: epoll timer: 60000 2025/09/02 14:05:11 [debug] 185790#185790: epoll: fd:6 ev:0001 d:000079E40FF751E1 2025/09/02 14:05:11 [debug] 185790#185790: *2 http wait request handler 2025/09/02 14:05:11 [debug] 185790#185790: *2 malloc: 000058127A8A40A0:1024 2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: eof:0, avail:-1 2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: fd:6 146 of 1024 2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 posix_memalign: 000058127A8C0A40:4096 @16 2025/09/02 14:05:11 [debug] 185790#185790: *2 http process request line 2025/09/02 14:05:11 [debug] 185790#185790: *2 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http args: "" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http exten: "txt" 2025/09/02 14:05:11 [debug] 185790#185790: *2 posix_memalign: 000058127A8B6DB0:4096 @16 2025/09/02 14:05:11 [debug] 185790#185790: *2 http process request header line 2025/09/02 14:05:11 [debug] 185790#185790: *2 http header: "Host: localhost:9001" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http header: "Accept: */*" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http header done 2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer del: 6: 90071933 2025/09/02 14:05:11 [debug] 185790#185790: *2 generic phase: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 rewrite phase: 1 2025/09/02 14:05:11 [debug] 185790#185790: *2 test location: "/health" 2025/09/02 14:05:11 [debug] 185790#185790: *2 test location: "/debug/list" 2025/09/02 14:05:11 [debug] 185790#185790: *2 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:05:11 [debug] 185790#185790: *2 using configuration "^/([a-f0-9]{64}).*$" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http cl:-1 max:104857600 2025/09/02 14:05:11 [debug] 185790#185790: *2 rewrite phase: 3 2025/09/02 14:05:11 [debug] 185790#185790: *2 http script var 2025/09/02 14:05:11 [debug] 185790#185790: *2 http script var: "GET" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http script value: "DELETE" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http script not equal 2025/09/02 14:05:11 [debug] 185790#185790: *2 http script if 2025/09/02 14:05:11 [debug] 185790#185790: *2 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:05:11 [debug] 185790#185790: *2 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http set discard body 2025/09/02 14:05:11 [debug] 185790#185790: *2 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:05:11 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 14:05:11 [debug] 185790#185790: *2 write new buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter: l:0 f:0 s:164 2025/09/02 14:05:11 [debug] 185790#185790: *2 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 000058127A8B7320 2025/09/02 14:05:11 [debug] 185790#185790: *2 write old buf t:1 f:0 000058127A8B7190, pos 000058127A8B7190, size: 164 file: 0, size: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 write new buf t:0 f:0 0000000000000000, pos 0000581245EEB580, size: 100 file: 0, size: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 write new buf t:0 f:0 0000000000000000, pos 0000581245EEBC80, size: 62 file: 0, size: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter: l:1 f:0 s:326 2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter limit 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 writev: 326 of 326 2025/09/02 14:05:11 [debug] 185790#185790: *2 http write filter 0000000000000000 2025/09/02 14:05:11 [debug] 185790#185790: *2 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:05:11 [debug] 185790#185790: *2 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:05:11 [debug] 185790#185790: *2 set http keepalive handler 2025/09/02 14:05:11 [debug] 185790#185790: *2 http close request 2025/09/02 14:05:11 [debug] 185790#185790: *2 http log handler 2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8C0A40, unused: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8B6DB0, unused: 2452 2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8A40A0 2025/09/02 14:05:11 [debug] 185790#185790: *2 hc free: 0000000000000000 2025/09/02 14:05:11 [debug] 185790#185790: *2 hc busy: 0000000000000000 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 tcp_nodelay 2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 1 2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer add: 6: 65000:90076933 2025/09/02 14:05:11 [debug] 185790#185790: timer delta: 0 2025/09/02 14:05:11 [debug] 185790#185790: worker cycle 2025/09/02 14:05:11 [debug] 185790#185790: epoll timer: 65000 2025/09/02 14:05:11 [debug] 185790#185790: epoll: fd:6 ev:2001 d:000079E40FF751E1 2025/09/02 14:05:11 [debug] 185790#185790: *2 http keepalive handler 2025/09/02 14:05:11 [debug] 185790#185790: *2 malloc: 000058127A8A40A0:1024 2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: eof:1, avail:-1 2025/09/02 14:05:11 [debug] 185790#185790: *2 recv: fd:6 0 of 1024 2025/09/02 14:05:11 [info] 185790#185790: *2 client 127.0.0.1 closed keepalive connection 2025/09/02 14:05:11 [debug] 185790#185790: *2 close http connection: 6 2025/09/02 14:05:11 [debug] 185790#185790: *2 event timer del: 6: 90076933 2025/09/02 14:05:11 [debug] 185790#185790: *2 reusable connection: 0 2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8A40A0 2025/09/02 14:05:11 [debug] 185790#185790: *2 free: 000058127A8A1840, unused: 136 2025/09/02 14:05:11 [debug] 185790#185790: timer delta: 1 2025/09/02 14:05:11 [debug] 185790#185790: worker cycle 2025/09/02 14:05:11 [debug] 185790#185790: epoll timer: -1 2025/09/02 14:07:11 [debug] 185790#185790: epoll: fd:7 ev:2011 d:000079E40FF750F8 2025/09/02 14:07:11 [debug] 185790#185790: epoll_wait() error on fd:7 ev:2011 2025/09/02 14:07:11 [debug] 185790#185790: channel handler 2025/09/02 14:07:11 [debug] 185790#185790: recvmsg() returned zero 2025/09/02 14:07:11 [debug] 185790#185790: channel: -1 2025/09/02 14:07:11 [debug] 185790#185790: epoll del connection: fd:7 2025/09/02 14:07:11 [debug] 185790#185790: reusable connection: 0 2025/09/02 14:07:11 [debug] 185790#185790: timer delta: 120080 2025/09/02 14:07:11 [debug] 185790#185790: worker cycle 2025/09/02 14:07:11 [debug] 185790#185790: epoll timer: -1 2025/09/02 14:21:19 [debug] 186560#186560: bind() 0.0.0.0:9001 #5 2025/09/02 14:21:19 [debug] 186560#186560: counter: 0000775E57EEC080, 1 2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms 2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms 2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms 2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms 2025/09/02 14:21:19 [debug] 186561#186561: bind() 0.0.0.0:9001 #5 2025/09/02 14:21:19 [emerg] 186561#186561: bind() to 0.0.0.0:9001 failed (98: Unknown error) 2025/09/02 14:21:19 [notice] 186561#186561: try again to bind() after 500ms 2025/09/02 14:21:19 [emerg] 186561#186561: still could not bind() 2025/09/02 14:22:30 [debug] 187083#187083: bind() 0.0.0.0:9001 #5 2025/09/02 14:22:30 [debug] 187083#187083: counter: 000072F9596B0080, 1 2025/09/02 14:22:30 [debug] 187084#187084: bind() 0.0.0.0:9001 #5 2025/09/02 14:22:30 [notice] 187084#187084: using the "epoll" event method 2025/09/02 14:22:30 [debug] 187084#187084: counter: 0000727296A33080, 1 2025/09/02 14:22:30 [notice] 187084#187084: nginx/1.18.0 (Ubuntu) 2025/09/02 14:22:30 [notice] 187084#187084: OS: Linux 6.12.10-76061203-generic 2025/09/02 14:22:30 [notice] 187084#187084: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 14:22:30 [debug] 187085#187084: write: 6, 00007FFC098C09D0, 7, 0 2025/09/02 14:22:30 [debug] 187085#187085: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 14:22:30 [notice] 187085#187085: start worker processes 2025/09/02 14:22:30 [debug] 187085#187085: channel 6:7 2025/09/02 14:22:30 [notice] 187085#187085: start worker process 187086 2025/09/02 14:22:30 [debug] 187085#187085: sigsuspend 2025/09/02 14:22:30 [debug] 187086#187086: add cleanup: 00005C72D1EFFB38 2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1EB2BD0:8 2025/09/02 14:22:30 [debug] 187086#187086: notify eventfd: 9 2025/09/02 14:22:30 [debug] 187086#187086: testing the EPOLLRDHUP flag: success 2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1EC55A0:6144 2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00007272963C5010:237568 2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1F026C0:98304 2025/09/02 14:22:30 [debug] 187086#187086: malloc: 00005C72D1F1A6D0:98304 2025/09/02 14:22:30 [debug] 187086#187086: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 14:22:30 [debug] 187086#187086: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 14:22:30 [debug] 187086#187086: setproctitle: "nginx: worker process" 2025/09/02 14:22:30 [debug] 187086#187086: worker cycle 2025/09/02 14:22:30 [debug] 187086#187086: epoll timer: -1 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 2025/09/02 14:22:56 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:22:56 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 2025/09/02 14:22:56 [debug] 187086#187086: *1 accept: 127.0.0.1:51244 fd:6 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer add: 6: 60000:91136444 2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 25341 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http wait request handler 2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:6 1024 of 1024 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:112 2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1ED0A40:4096 @16 2025/09/02 14:22:56 [debug] 187086#187086: *1 http process request line 2025/09/02 14:22:56 [debug] 187086#187086: *1 http request line: "PUT /upload HTTP/1.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http uri: "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http args: "" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http exten: "" 2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1EC6DB0:4096 @16 2025/09/02 14:22:56 [debug] 187086#187086: *1 http process request header line 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Host: localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Accept: */*" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdiODIwNjQwZTIwZGYyYjE5NmMxNzc3ODRiYjVkZGFiOGUwMGVlYzI3OTI0MGJjNGE5MTE2IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzczNzYsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI1MmQ3OTIwNzI1YmJiZDg2ZDU0YTc4MDJhNDVjMGMzOWZhODE1ODcwNTQzNmZjNTdkN2M0ZmI0YmUxY2U3NWYxIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0MDk3NSJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyNzgyOWYxM2I3OGQ1NWE3ZTY0NjNmYWUyOTBkNTZkYjhlZWIyZGE5ZjdmZGQxYWI0YmM5MWE4NjRiYjgwMDAxZDEwNWYzMzBhMWIxMGM5MGZhNGFiOTc5MmRhNjhiZmEyNDFhMTlhMDI3ZDUwMjcyMzk1YjBhZDk5MGFmYjMyIn0=" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Content-Type: text/plain" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Content-Disposition: attachment; filename="test_blob_1756837375.txt"" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header: "Content-Length: 296" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http header done 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer del: 6: 91136444 2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 rewrite phase: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: "/health" 2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 14:22:56 [debug] 187086#187086: *1 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 14:22:56 [debug] 187086#187086: *1 using configuration "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http cl:296 max:104857600 2025/09/02 14:22:56 [debug] 187086#187086: *1 rewrite phase: 3 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "PUT" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script regex: "^(PUT)$" 2025/09/02 14:22:56 [notice] 187086#187086: *1 "^(PUT)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script if 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script if: false 2025/09/02 14:22:56 [debug] 187086#187086: *1 post rewrite phase: 4 2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 5 2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 6 2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 7 2025/09/02 14:22:56 [debug] 187086#187086: *1 access phase: 8 2025/09/02 14:22:56 [debug] 187086#187086: *1 access phase: 9 2025/09/02 14:22:56 [debug] 187086#187086: *1 access phase: 10 2025/09/02 14:22:56 [debug] 187086#187086: *1 post access phase: 11 2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 12 2025/09/02 14:22:56 [debug] 187086#187086: *1 generic phase: 13 2025/09/02 14:22:56 [debug] 187086#187086: *1 http client request body preread 184 2025/09/02 14:22:56 [debug] 187086#187086: *1 http request body content length filter 2025/09/02 14:22:56 [debug] 187086#187086: *1 http body new buf t:1 f:0 00005C72D1EB43E8, pos 00005C72D1EB43E8, size: 184 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http read client request body 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:112 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:6 112 of 112 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http client request body recv 112 2025/09/02 14:22:56 [debug] 187086#187086: *1 http body new buf t:1 f:0 00005C72D1EC7840, pos 00005C72D1EC7840, size: 112 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http client request body rest 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http init upstream, client timer: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1EBB160:4096 @16 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "QUERY_STRING" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REQUEST_METHOD" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "PUT" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "CONTENT_TYPE" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "text/plain" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "296" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "CONTENT_LENGTH: 296" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SCRIPT_NAME" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REQUEST_URI" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "DOCUMENT_URI" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "./blobs" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "HTTP/1.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "http" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "CGI/1.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "nginx/" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "1.18.0" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REMOTE_ADDR" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "127.0.0.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REMOTE_PORT" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "51244" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REMOTE_PORT: 51244" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_ADDR" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "127.0.0.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_PORT" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SERVER_NAME" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "localhost" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "200" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script var: "./blobs" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdiODIwNjQwZTIwZGYyYjE5NmMxNzc3ODRiYjVkZGFiOGUwMGVlYzI3OTI0MGJjNGE5MTE2IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4MzczNzYsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI1MmQ3OTIwNzI1YmJiZDg2ZDU0YTc4MDJhNDVjMGMzOWZhODE1ODcwNTQzNmZjNTdkN2M0ZmI0YmUxY2U3NWYxIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0MDk3NSJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyNzgyOWYxM2I3OGQ1NWE3ZTY0NjNmYWUyOTBkNTZkYjhlZWIyZGE5ZjdmZGQxYWI0YmM5MWE4NjRiYjgwMDAxZDEwNWYzMzBhMWIxMGM5MGZhNGFiOTc5MmRhNjhiZmEyNDFhMTlhMDI3ZDUwMjcyMzk1YjBhZDk5MGFmYjMyIn0=" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756837375.txt"" 2025/09/02 14:22:56 [debug] 187086#187086: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 296" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http cleanup add: 00005C72D1EC7B90 2025/09/02 14:22:56 [debug] 187086#187086: *1 get rr peer, try: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 stream socket 10 2025/09/02 14:22:56 [debug] 187086#187086: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 14:22:56 [debug] 187086#187086: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 14:22:56 [debug] 187086#187086: *1 connected 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream connect: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 posix_memalign: 00005C72D1E9AF20:128 @16 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream send request 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream send request body 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:1304 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:184 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:8 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:112 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer buf fl:0 s:8 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer in: 00005C72D1EC7C20 2025/09/02 14:22:56 [debug] 187086#187086: *1 writev: 1616 of 1616 2025/09/02 14:22:56 [debug] 187086#187086: *1 chain writer out: 0000000000000000 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer add: 10: 60000:91136444 2025/09/02 14:22:56 [debug] 187086#187086: *1 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 14:22:56 [debug] 187086#187086: *1 http request count:2 blk:0 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 0 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:6 ev:0004 d:00007272963C51E0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http run request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream check client, write event:1, "/upload" 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header 2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EBC170:4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 560 of 4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 21 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 33 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload ENTRY: Entering handle_upload_request() function DEBUG: handle_upload_request called LOG: [2025-09-02 14:22:56] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=296 DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdiODIwNjQwZTIwZGYyYjE5NmMxNzc3ODRiYjVkZGFiOGUwMGVlYzI3OTI0MGJjNGE5MTE2IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 2 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59998 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 3664 of 4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4MzczNzYsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI1MmQ3OTIwNzI1YmJiZDg2ZDU0YTc4MDJhNDVjMGMzOWZhODE1ODcwNTQzNmZjNTdkN2M0ZmI0YmUxY2U3NWYxIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0MDk3NSJdXSwiY29udGVudCI6IiIsInNpZyI6IjcyNzgyOWYxM2I3OGQ1NWE3ZTY0NjNmYWUyOTBkNTZkYjhlZWIyZGE5ZjdmZGQxYWI0YmM5MWE4NjRiYjgwMDAxZDEwNWYzMzBhMWIxMGM5MGZhNGFiOTc5MmRhNjhiZmEyNDFhMTlhMDI3ZDUwMjcyMzk1YjBhZDk5MGFmYjMyIn0= LOG: [2025-09-02 14:22:56] PUT /upload - Auth: auth_provided - Status: 0 DEBUG-LAAN: Calculated SHA-256:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 43 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 05 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 67 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES AUTH: Calling authenticate_request with hash: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 ═══════════════════════════════════════════════════════════════════ 🔍 STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) ℹ️ INFO: Server-style auth calle" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "d with method: upload, hash: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 🔍 STEP SERVER-2: Calling parse_authorization_header DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdi... DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=✅ SUCCESS: parse_authorization_header succeeded 🔍 STEP SERVER-3: Calling cJSON_Parse on JSON string ℹ️ INFO: JSON to" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " parse: {"kind":24242,"id":"ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756837376,"tags":[["t","upload"],["x","52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1"],["expiration","1756840975"]],"content":"","sig":"727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32"} ✅ SUCCESS: cJSON_Parse succeeded" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: ", event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756837376, "tags": [["t", "upload"], ["x", "52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1"], ["expiration", "1756840975"]], "content": "", "sig": "727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "27d50272395b0ad990afb32" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116 ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32 ℹ️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756837376 🔍 STEP SERVER-5: Detailed pubkey" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " analysis ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): 7(0x37) 9(0x39) b(0x62) e(0x65) 6(0x36) 6(0x36) 7(0x37) e(0x65) f(0x66) 9(0x39) 🔍 STEP SERVER-6: Pre-validation pubkey analysis ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): 7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(5" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 0 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59998 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 4096 of 4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "5) e(101) f(102) 9(57) ℹ️ INFO: Character validation test: ALL VALID (lowercase hex) 🔍 STEP SERVER-7: Starting detailed validation analysis ℹ️ INFO: Testing structure validation... ℹ️ INFO: nostr_validate_event_structure returned: 0 (Success) ✅ SUCCESS: Structure validation PASSED ℹ️ INFO: Testing cryptographic verification... ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) ✅ SUCCESS: Crypto verification PASSED ℹ️ INFO: Testing complete validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "... ℹ️ INFO: nostr_validate_event returned: 0 (Success) ✅ SUCCESS: Complete validation PASSED 🔍 STEP SERVER-8: Running detailed structure validation ═══════════════════════════════════════════════════════════════════ 🔍 STEP STRUCT-1: Starting detailed structure validation ✅ SUCCESS: Event is valid JSON object 🔍 STEP STRUCT-2: Checking required field" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "existence ✅ SUCCESS: Field 'id' exists ✅ SUCCESS: Field 'pubkey' exists ✅ SUCCESS: Field 'created_at' exists ✅ SUCCESS: Field 'kind' exists ✅ SUCCESS: Field 'tags' exists ✅ SUCCESS: Field 'content' exists ✅ SUCCESS: Field 'sig' exists 🔍 STEP STRUCT-3: Validating field types ✅ SUCCESS: Field 'id' is string ✅ SUCCESS: Field 'pubkey' is string ✅ SUCCESS: Field 'created_at' is number ✅ SUCCESS: Field 'kind' is number ✅ SUCCESS: Field 'tags' is array ✅ SUCCESS: Field 'content" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "' is string ✅ SUCCESS: Field 'sig' is string 🔍 STEP STRUCT-4: Validating hex string lengths ℹ️ INFO: ID string: 'ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116' (length: ✅ SUCCESS: ID string length is correct (64 chars) ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64 chars) ℹ️ INFO: Signature string: '727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32' (length: ✅ SUCCESS: Signature string length is correct (128 chars) 🔍 STEP STRUCT-5: Validating hex characters ℹ️ INFO: Checking ID hex characters... ✅ SUCCESS: ID hex characters are valid (lowercase) ℹ️ INFO: Checking pubkey hex characters... ✅ SUCCESS: Pubkey hex characters are valid (lowercase) ℹ️ INFO: Checking signature hex characters... ✅ SUCCESS: Signature hex characters are valid (lowercase) 🔍 S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp ℹ️ INFO: Created_at timestamp: 1756837376 ✅ SUCCESS: Timestamp is valid: 2025-09-02 18:22:56 UTC 🔍 STEP STRUCT-7: Validating kind ℹ️ INFO: Event kind: 24242 ✅ SUCCESS: Kind is valid: 24242 🔍 STEP STRUCT-8: Validating tags array structure ℹ️ INFO: Tags array has 3 elements ℹ️ INFO: Tag[0] has 2 elements ℹ️ INFO: Tag[0][0]: 't' ℹ️ INFO: Tag[0][1]: 'upload' ℹ️ INFO: Tag[1] has 2 elements ℹ️ INFO: Tag[1][0]: 'x' ℹ️" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " INFO: Tag[1][1]: '52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1' ℹ️ INFO: Tag[2] has 2 elements ℹ️ INFO: Tag[2][0]: 'expiration' ℹ️ INFO: Tag[2][1]: '1756840975' ✅ SUCCESS: Tags array structure is valid 🔍 STEP STRUCT-9: Validating content ℹ️ INFO: Content: '' (length: ✅ SUCCESS: Content is valid string ✅ SUCCESS: Structure validation completed successfully ✅ SUCCESS: Detailed structure validation PASSED 🔍 STEP SERVER-9: Running detailed signature" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " validation ═══════════════════════════════════════════════════════════════════ 🔍 STEP CRYPTO-1: Starting detailed signature validation 🔍 STEP CRYPTO-2: Creating serialization array ✅ SUCCESS: Serialization array created 🔍 STEP CRYPTO-3: Converting to JSON string ✅ SUCCESS: JSON serialization string created ℹ️ INFO: Serialization string (length 🔍" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 4096 of 4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash ✅ SUCCESS: SHA256 hash computed ℹ️ INFO: Event hash ( ec b0 67 33 1c 17 b8 20 64 0e 20 df 2b 19 6c 17 |..g3... d. .+.l.| 77 84 bb 5d da b8 e0 0e ec 27 92 40 bc 4a 91 16 |w..].....'.@.J..| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116 ℹ️ INFO: Provided ID: ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116 ✅ SUCCESS: Event ID verification passe" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "d 🔍 STEP CRYPTO-6: Preparing signature verification 🔍 STEP CRYPTO-7: Converting hex strings to bytes ✅ SUCCESS: Pubkey hex converted to bytes ℹ️ INFO: Pubkey bytes ( 79 be 66 7e f9 dc bb ac 55 a0 62 95 ce 87 0b 07 |y.f~....U.b.....| 02 9b fc db 2d ce 28 d9 59 f2 81 5b 16 f8 17 98 |....-.(.Y..[....| ✅ SUCCESS: Signature hex converted to bytes ℹ️ INFO: Signature bytes ( 72 78 29 f1 3b 78 d5 5a 7e 64 63 fa e2 90 d5 6d |rx).;x.Z~dc....m| b8 ee b2 da 9f 7f dd 1a b4 bc 91 a8 6" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "4 bb 80 00 |............d...| 1d 10 5f 33 0a 1b 10 c9 0f a4 ab 97 92 da 68 bf |.._3..........h.| a2 41 a1 9a 02 7d 50 27 23 95 b0 ad 99 0a fb 32 |.A...}P'#......2| 🔍 STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() ℹ️ INFO: Calling nostr_verify_event_signature() for detailed crypto validation ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) ✅ SUCCESS: Signature verification PASSED using nostr_core_lib! ✅ SUCCESS: Detailed signature validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " PASSED ═══════════════════════════════════════════════════════════════════ 🔍 STEP ANALYZE-1: Analyzing event field details ℹ️ INFO: Field 'kind': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 24242 ℹ️ INFO: Field 'id': ℹ️ INFO: Type: String ℹ️ INFO: Value: 'ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116' ℹ️ INFO" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: ": Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756837376 ℹ️ INFO: Field 'tags': ℹ️ INFO: Type: Array ℹ️ INFO: Size: 3 ℹ️ INFO: Field 'content': ℹ️ INFO: Type: String ℹ️ INFO: Value: '' ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': ℹ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '727829f13b78d55a7e6463fae290d56db8eeb2da9f7fdd1ab4bc91a864bb80001d105f330a1b10c90fa4ab9792da68bfa241a19a027d50272395b0ad990afb32' ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements DEBUG: Validating Blossom event DEBUG: Found matching method tag: upload DEBUG: Found matching hash tag: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 DEBUG: Found expiration tag: 1756840975 DEBUG: Blossom event valid" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "ation passed ✅ SUCCESS: Blossom event validation PASSED ✅ SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS AUTH: authenticate_request returned: 0 DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlY2IwNjczMzFjMTdi... DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "815b16f81798 DEBUG: Saving file to: blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt DEBUG: File permissions set to 644 for blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756837375.txt" DEBUG: Looking for filename= in Content-Disposition header DEBUG: Found filename= at position 12 DEBUG: Filename value starts with: "test_blob_175683737 DEBUG: Pro" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59997 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 1024 of 4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "cessing quoted filename DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756837375.txt' DEBUG: Final filename after extraction: test_blob_1756837375.txt DEBUG: insert_blob_metadata() called for sha256='52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1' DEBUG: Opening database at path: db/ginxsom.db DEBUG: Database opened successfully for writing DEBUG: Preparing SQL: INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: " (?, ?, ?, ?, ?, ?) DEBUG: SQL prepared successfully, binding parameters DEBUG: Parameter values to bind: DEBUG: 1. sha256 = '52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1' DEBUG: 2. size = 296 DEBUG: 3. type = 'text/plain' DEBUG: 4. uploaded_at = 1756837376 DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' DEBUG: 6. filename = 'test_blob_1756837375.txt' DEBUG: Binding parameter 1 (sha256) DEBUG: Binding parameter" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59996 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process header 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:10 928 of 4096 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: F8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 504 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "2 (size) DEBUG: Binding parameter 3 (type) DEBUG: Binding parameter 4 (uploaded_at) DEBUG: Binding parameter 5 (uploader_pubkey) DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' DEBUG: Binding parameter 6 (filename) DEBUG: Binding filename as text: 'test_blob_1756837375.txt' DEBUG: Parameters bound, executing INSERT DEBUG: INSERT successful DEBUG: Database closed, returning 1 DEBUG: Blob metadata successfully stored in database DEB" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 39 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 57 2025/09/02 14:22:56 [error] 187086#187086: *1 FastCGI sent in stderr: "UG: Upload completed successfully with database storage" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 07 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 06 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 2D 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 03 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 301 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi parser: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi header: "Status: 200 OK" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi parser: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi parser: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi header done 2025/09/02 14:22:56 [debug] 187086#187086: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:22:56 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block 2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:1 f:0 00005C72D1EBB818, pos 00005C72D1EBB818, size: 260 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter: l:0 f:0 s:260 2025/09/02 14:22:56 [debug] 187086#187086: *1 http cacheable: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process upstream 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe read upstream: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe preread: 278 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe buf free s:0 t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 278 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe length: -1 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write busy: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write: out:0000000000000000, f:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe read upstream: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe buf free s:0 t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 278 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe length: -1 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer: 10, old: 91136444, new: 91136451 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream dummy handler 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 3 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 59993 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:10 ev:2005 d:00007272963C52C8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream request: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream process upstream 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe read upstream: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 readv: eof:1, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 readv: 1, last:3168 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe recv chain: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe buf free s:0 t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 278 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe length: -1 2025/09/02 14:22:56 [debug] 187086#187086: *1 input buf #0 00005C72D1EBC3FA 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 06 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi closed stdout 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 03 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 01 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 08 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record byte: 00 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi record length: 8 2025/09/02 14:22:56 [debug] 187086#187086: *1 http fastcgi sent end request 2025/09/02 14:22:56 [debug] 187086#187086: *1 input buf 00005C72D1EBC3FA 251 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream flush in 2025/09/02 14:22:56 [debug] 187086#187086: *1 http output filter "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http postpone filter "/upload?" 00005C72D1EC7BF0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http chunk: 251 2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EBB818, pos 00005C72D1EBB818, size: 260 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:1 f:0 00005C72D1EC7D80, pos 00005C72D1EC7D80, size: 4 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 251 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter: l:0 f:0 s:517 2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: 0 "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 pipe write downstream done 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer: 10, old: 91136444, new: 91136452 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream exit: 0000000000000000 2025/09/02 14:22:56 [debug] 187086#187086: *1 finalize http upstream request: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 finalize http fastcgi request 2025/09/02 14:22:56 [debug] 187086#187086: *1 free rr peer 1 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 close http upstream connection: 10 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1E9AF20, unused: 48 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer del: 10: 91136444 2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http upstream temp fd: -1 2025/09/02 14:22:56 [debug] 187086#187086: *1 http output filter "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http postpone filter "/upload?" 00007FFC098C0610 2025/09/02 14:22:56 [debug] 187086#187086: *1 http chunk: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EBB818, pos 00005C72D1EBB818, size: 260 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EC7D80, pos 00005C72D1EC7D80, size: 4 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:1 f:0 00005C72D1EBC170, pos 00005C72D1EBC3FA, size: 251 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write old buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E5, size: 5 file: 0, size: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter: l:1 f:0 s:522 2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter limit 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 writev: 522 of 522 2025/09/02 14:22:56 [debug] 187086#187086: *1 http write filter 0000000000000000 2025/09/02 14:22:56 [debug] 187086#187086: *1 http copy filter: 0 "/upload?" 2025/09/02 14:22:56 [debug] 187086#187086: *1 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 14:22:56 [debug] 187086#187086: *1 set http keepalive handler 2025/09/02 14:22:56 [debug] 187086#187086: *1 http close request 2025/09/02 14:22:56 [debug] 187086#187086: *1 http log handler 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EBC170 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1ED0A40, unused: 3 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EC6DB0, unused: 8 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EBB160, unused: 1170 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB40A0 2025/09/02 14:22:56 [debug] 187086#187086: *1 hc free: 0000000000000000 2025/09/02 14:22:56 [debug] 187086#187086: *1 hc busy: 0000000000000000 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 tcp_nodelay 2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 1 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer add: 6: 65000:91141452 2025/09/02 14:22:56 [debug] 187086#187086: *1 post event 00005C72D1F02780 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 2025/09/02 14:22:56 [debug] 187086#187086: posted event 00005C72D1F02780 2025/09/02 14:22:56 [debug] 187086#187086: *1 delete posted event 00005C72D1F02780 2025/09/02 14:22:56 [debug] 187086#187086: *1 http keepalive handler 2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:0, avail:0 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB40A0 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: 65000 2025/09/02 14:22:56 [debug] 187086#187086: epoll: fd:6 ev:2005 d:00007272963C51E0 2025/09/02 14:22:56 [debug] 187086#187086: *1 http keepalive handler 2025/09/02 14:22:56 [debug] 187086#187086: *1 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: eof:1, avail:-1 2025/09/02 14:22:56 [debug] 187086#187086: *1 recv: fd:6 0 of 1024 2025/09/02 14:22:56 [info] 187086#187086: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 14:22:56 [debug] 187086#187086: *1 close http connection: 6 2025/09/02 14:22:56 [debug] 187086#187086: *1 event timer del: 6: 91141452 2025/09/02 14:22:56 [debug] 187086#187086: *1 reusable connection: 0 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB40A0 2025/09/02 14:22:56 [debug] 187086#187086: *1 free: 00005C72D1EB1840, unused: 120 2025/09/02 14:22:56 [debug] 187086#187086: timer delta: 1 2025/09/02 14:22:56 [debug] 187086#187086: worker cycle 2025/09/02 14:22:56 [debug] 187086#187086: epoll timer: -1 2025/09/02 14:23:24 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 2025/09/02 14:23:24 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:23:24 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 2025/09/02 14:23:24 [debug] 187086#187086: *3 accept: 127.0.0.1:45398 fd:6 2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer add: 6: 60000:91165226 2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 1 2025/09/02 14:23:24 [debug] 187086#187086: *3 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:23:24 [debug] 187086#187086: timer delta: 28773 2025/09/02 14:23:24 [debug] 187086#187086: worker cycle 2025/09/02 14:23:24 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:23:24 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E1 2025/09/02 14:23:24 [debug] 187086#187086: *3 http wait request handler 2025/09/02 14:23:24 [debug] 187086#187086: *3 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: eof:0, avail:-1 2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: fd:6 146 of 1024 2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 posix_memalign: 00005C72D1ED0A40:4096 @16 2025/09/02 14:23:24 [debug] 187086#187086: *3 http process request line 2025/09/02 14:23:24 [debug] 187086#187086: *3 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http args: "" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http exten: "txt" 2025/09/02 14:23:24 [debug] 187086#187086: *3 posix_memalign: 00005C72D1EC6DB0:4096 @16 2025/09/02 14:23:24 [debug] 187086#187086: *3 http process request header line 2025/09/02 14:23:24 [debug] 187086#187086: *3 http header: "Host: localhost:9001" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http header: "Accept: */*" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http header done 2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer del: 6: 91165226 2025/09/02 14:23:24 [debug] 187086#187086: *3 generic phase: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 rewrite phase: 1 2025/09/02 14:23:24 [debug] 187086#187086: *3 test location: "/health" 2025/09/02 14:23:24 [debug] 187086#187086: *3 test location: "/debug/list" 2025/09/02 14:23:24 [debug] 187086#187086: *3 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:23:24 [debug] 187086#187086: *3 using configuration "^/([a-f0-9]{64}).*$" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http cl:-1 max:104857600 2025/09/02 14:23:24 [debug] 187086#187086: *3 rewrite phase: 3 2025/09/02 14:23:24 [debug] 187086#187086: *3 http script var 2025/09/02 14:23:24 [debug] 187086#187086: *3 http script var: "GET" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http script value: "DELETE" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http script not equal 2025/09/02 14:23:24 [debug] 187086#187086: *3 http script if 2025/09/02 14:23:24 [debug] 187086#187086: *3 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:23:24 [debug] 187086#187086: *3 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http set discard body 2025/09/02 14:23:24 [debug] 187086#187086: *3 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:23:24 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 14:23:24 [debug] 187086#187086: *3 write new buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter: l:0 f:0 s:164 2025/09/02 14:23:24 [debug] 187086#187086: *3 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00005C72D1EC7320 2025/09/02 14:23:24 [debug] 187086#187086: *3 write old buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6580, size: 100 file: 0, size: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6C80, size: 62 file: 0, size: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter: l:1 f:0 s:326 2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter limit 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 writev: 326 of 326 2025/09/02 14:23:24 [debug] 187086#187086: *3 http write filter 0000000000000000 2025/09/02 14:23:24 [debug] 187086#187086: *3 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:23:24 [debug] 187086#187086: *3 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:23:24 [debug] 187086#187086: *3 set http keepalive handler 2025/09/02 14:23:24 [debug] 187086#187086: *3 http close request 2025/09/02 14:23:24 [debug] 187086#187086: *3 http log handler 2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1ED0A40, unused: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EC6DB0, unused: 2452 2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EB40A0 2025/09/02 14:23:24 [debug] 187086#187086: *3 hc free: 0000000000000000 2025/09/02 14:23:24 [debug] 187086#187086: *3 hc busy: 0000000000000000 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 tcp_nodelay 2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 1 2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer add: 6: 65000:91170226 2025/09/02 14:23:24 [debug] 187086#187086: timer delta: 0 2025/09/02 14:23:24 [debug] 187086#187086: worker cycle 2025/09/02 14:23:24 [debug] 187086#187086: epoll timer: 65000 2025/09/02 14:23:24 [debug] 187086#187086: epoll: fd:6 ev:2001 d:00007272963C51E1 2025/09/02 14:23:24 [debug] 187086#187086: *3 http keepalive handler 2025/09/02 14:23:24 [debug] 187086#187086: *3 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: eof:1, avail:-1 2025/09/02 14:23:24 [debug] 187086#187086: *3 recv: fd:6 0 of 1024 2025/09/02 14:23:24 [info] 187086#187086: *3 client 127.0.0.1 closed keepalive connection 2025/09/02 14:23:24 [debug] 187086#187086: *3 close http connection: 6 2025/09/02 14:23:24 [debug] 187086#187086: *3 event timer del: 6: 91170226 2025/09/02 14:23:24 [debug] 187086#187086: *3 reusable connection: 0 2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EB40A0 2025/09/02 14:23:24 [debug] 187086#187086: *3 free: 00005C72D1EB1840, unused: 136 2025/09/02 14:23:24 [debug] 187086#187086: timer delta: 1 2025/09/02 14:23:24 [debug] 187086#187086: worker cycle 2025/09/02 14:23:24 [debug] 187086#187086: epoll timer: -1 2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 2025/09/02 14:24:38 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:24:38 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 2025/09/02 14:24:38 [debug] 187086#187086: *4 accept: 127.0.0.1:50002 fd:6 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer add: 6: 60000:91239204 2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 73977 2025/09/02 14:24:38 [debug] 187086#187086: worker cycle 2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http wait request handler 2025/09/02 14:24:38 [debug] 187086#187086: *4 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:0, avail:-1 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:6 147 of 1024 2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1ED0A40:4096 @16 2025/09/02 14:24:38 [debug] 187086#187086: *4 http process request line 2025/09/02 14:24:38 [debug] 187086#187086: *4 http request line: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http uri: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http args: "" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http exten: "" 2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1EC6DB0:4096 @16 2025/09/02 14:24:38 [debug] 187086#187086: *4 http process request header line 2025/09/02 14:24:38 [debug] 187086#187086: *4 http header: "Host: localhost:9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http header: "Accept: */*" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http header done 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer del: 6: 91239204 2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 rewrite phase: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: "/health" 2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: "/upload" 2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" 2025/09/02 14:24:38 [debug] 187086#187086: *4 test location: ~ "^/list/([a-f0-9]{64}).*$" 2025/09/02 14:24:38 [debug] 187086#187086: *4 using configuration "^/list/([a-f0-9]{64}).*$" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http cl:-1 max:104857600 2025/09/02 14:24:38 [debug] 187086#187086: *4 rewrite phase: 3 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "GET" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script regex: "^(GET)$" 2025/09/02 14:24:38 [notice] 187086#187086: *4 "^(GET)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", host: "localhost:9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script if 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script if: false 2025/09/02 14:24:38 [debug] 187086#187086: *4 post rewrite phase: 4 2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 5 2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 6 2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 7 2025/09/02 14:24:38 [debug] 187086#187086: *4 access phase: 8 2025/09/02 14:24:38 [debug] 187086#187086: *4 access phase: 9 2025/09/02 14:24:38 [debug] 187086#187086: *4 access phase: 10 2025/09/02 14:24:38 [debug] 187086#187086: *4 post access phase: 11 2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 12 2025/09/02 14:24:38 [debug] 187086#187086: *4 generic phase: 13 2025/09/02 14:24:38 [debug] 187086#187086: *4 http init upstream, client timer: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "QUERY_STRING" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "QUERY_STRING: " 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REQUEST_METHOD" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "GET" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REQUEST_METHOD: GET" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "CONTENT_TYPE" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "CONTENT_TYPE: " 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "CONTENT_LENGTH" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "CONTENT_LENGTH: " 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SCRIPT_NAME" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SCRIPT_NAME: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REQUEST_URI" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REQUEST_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "DOCUMENT_URI" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "DOCUMENT_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "DOCUMENT_ROOT" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "./blobs" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_PROTOCOL" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "HTTP/1.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REQUEST_SCHEME" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "http" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "GATEWAY_INTERFACE" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "CGI/1.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_SOFTWARE" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "nginx/" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "1.18.0" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REMOTE_ADDR" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "127.0.0.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REMOTE_PORT" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "50002" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REMOTE_PORT: 50002" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_ADDR" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "127.0.0.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_PORT" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SERVER_NAME" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "localhost" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "REDIRECT_STATUS" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "200" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "SCRIPT_FILENAME" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script var: "./blobs" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http script copy: "/ginxsom.fcgi" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 14:24:38 [debug] 187086#187086: *4 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http cleanup add: 00005C72D1ED1A28 2025/09/02 14:24:38 [debug] 187086#187086: *4 get rr peer, try: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 stream socket 10 2025/09/02 14:24:38 [debug] 187086#187086: *4 epoll add connection: fd:10 ev:80002005 2025/09/02 14:24:38 [debug] 187086#187086: *4 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #5 2025/09/02 14:24:38 [debug] 187086#187086: *4 connected 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream connect: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1E9AF20:128 @16 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream send request 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream send request body 2025/09/02 14:24:38 [debug] 187086#187086: *4 chain writer buf fl:0 s:704 2025/09/02 14:24:38 [debug] 187086#187086: *4 chain writer in: 00005C72D1EC7B28 2025/09/02 14:24:38 [debug] 187086#187086: *4 writev: 704 of 704 2025/09/02 14:24:38 [debug] 187086#187086: *4 chain writer out: 0000000000000000 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer add: 10: 60000:91239204 2025/09/02 14:24:38 [debug] 187086#187086: *4 http finalize request: -4, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:2 2025/09/02 14:24:38 [debug] 187086#187086: *4 http request count:2 blk:0 2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 0 2025/09/02 14:24:38 [debug] 187086#187086: worker cycle 2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:6 ev:0004 d:00007272963C51E0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http run request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream check client, write event:1, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:10 ev:0005 d:00007272963C52C9 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream process header 2025/09/02 14:24:38 [debug] 187086#187086: *4 malloc: 00005C72D1EBB160:4096 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:0, avail:-1 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:10 48 of 4096 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 21 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 33 2025/09/02 14:24:38 [error] 187086#187086: *4 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:0, avail:0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream dummy handler 2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 1 2025/09/02 14:24:38 [debug] 187086#187086: worker cycle 2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 59999 2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:10 ev:2005 d:00007272963C52C9 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream process header 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:1, avail:-1 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:10 1272 of 4048 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: F8 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 504 2025/09/02 14:24:38 [error] 187086#187086: *4 FastCGI sent in stderr: "DEBUG: METHOD=GET, URI=/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 DEBUG: handle_list_request called with pubkey=79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 LOG: [2025-09-02 14:24:38] GET /list - Auth: pending - Status: 0 DEBUG: Query string: DEBUG: SQL query: SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? ORDER BY uploaded_at DESC DEBUG: List request completed successfully LOG: [2025-09-02 14:24:38] GET /l" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 20 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 32 2025/09/02 14:24:38 [error] 187086#187086: *4 FastCGI sent in stderr: "ist - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 06 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 02 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: A1 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 07 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 673 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi parser: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi header: "Status: 200 OK" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi parser: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi header: "Content-Type: application/json" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi parser: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi header done 2025/09/02 14:24:38 [debug] 187086#187086: *4 posix_memalign: 00005C72D1EBC170:4096 @16 2025/09/02 14:24:38 [debug] 187086#187086: *4 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:24:38 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block 2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:1 f:0 00005C72D1EBC1E0, pos 00005C72D1EBC1E0, size: 260 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter: l:0 f:0 s:260 2025/09/02 14:24:38 [debug] 187086#187086: *4 http cacheable: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream process upstream 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe read upstream: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe preread: 654 2025/09/02 14:24:38 [debug] 187086#187086: *4 readv: eof:1, avail:0 2025/09/02 14:24:38 [debug] 187086#187086: *4 readv: 1, last:2776 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe recv chain: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe buf free s:0 t:1 f:0 00005C72D1EBB160, pos 00005C72D1EBB3FA, size: 654 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe length: -1 2025/09/02 14:24:38 [debug] 187086#187086: *4 input buf #0 00005C72D1EBB3FA 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 06 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi closed stdout 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 03 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 01 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 08 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record byte: 00 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi record length: 8 2025/09/02 14:24:38 [debug] 187086#187086: *4 http fastcgi sent end request 2025/09/02 14:24:38 [debug] 187086#187086: *4 input buf 00005C72D1EBB3FA 623 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe write downstream: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe write downstream flush in 2025/09/02 14:24:38 [debug] 187086#187086: *4 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00005C72D1EC7D88 2025/09/02 14:24:38 [debug] 187086#187086: *4 http chunk: 623 2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBC1E0, pos 00005C72D1EBC1E0, size: 260 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:1 f:0 00005C72D1EBC538, pos 00005C72D1EBC538, size: 5 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:1 f:0 00005C72D1EBB160, pos 00005C72D1EBB3FA, size: 623 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter: l:0 f:0 s:890 2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 pipe write downstream done 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer: 10, old: 91239204, new: 91239206 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream exit: 0000000000000000 2025/09/02 14:24:38 [debug] 187086#187086: *4 finalize http upstream request: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 finalize http fastcgi request 2025/09/02 14:24:38 [debug] 187086#187086: *4 free rr peer 1 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 close http upstream connection: 10 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1E9AF20, unused: 48 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer del: 10: 91239204 2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http upstream temp fd: -1 2025/09/02 14:24:38 [debug] 187086#187086: *4 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00007FFC098C0610 2025/09/02 14:24:38 [debug] 187086#187086: *4 http chunk: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBC1E0, pos 00005C72D1EBC1E0, size: 260 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBC538, pos 00005C72D1EBC538, size: 5 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:1 f:0 00005C72D1EBB160, pos 00005C72D1EBB3FA, size: 623 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write old buf t:0 f:0 0000000000000000, pos 00005C72B73A72E8, size: 2 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 write new buf t:0 f:0 0000000000000000, pos 00005C72B73A72E5, size: 5 file: 0, size: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter: l:1 f:0 s:895 2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter limit 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 writev: 895 of 895 2025/09/02 14:24:38 [debug] 187086#187086: *4 http write filter 0000000000000000 2025/09/02 14:24:38 [debug] 187086#187086: *4 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 14:24:38 [debug] 187086#187086: *4 http finalize request: 0, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:1 2025/09/02 14:24:38 [debug] 187086#187086: *4 set http keepalive handler 2025/09/02 14:24:38 [debug] 187086#187086: *4 http close request 2025/09/02 14:24:38 [debug] 187086#187086: *4 http log handler 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EBB160 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1ED0A40, unused: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EC6DB0, unused: 8 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EBC170, unused: 2579 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EB40A0 2025/09/02 14:24:38 [debug] 187086#187086: *4 hc free: 0000000000000000 2025/09/02 14:24:38 [debug] 187086#187086: *4 hc busy: 0000000000000000 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 tcp_nodelay 2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 1 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer add: 6: 65000:91244206 2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 1 2025/09/02 14:24:38 [debug] 187086#187086: worker cycle 2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: 65000 2025/09/02 14:24:38 [debug] 187086#187086: epoll: fd:6 ev:2005 d:00007272963C51E0 2025/09/02 14:24:38 [debug] 187086#187086: *4 http keepalive handler 2025/09/02 14:24:38 [debug] 187086#187086: *4 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: eof:1, avail:-1 2025/09/02 14:24:38 [debug] 187086#187086: *4 recv: fd:6 0 of 1024 2025/09/02 14:24:38 [info] 187086#187086: *4 client 127.0.0.1 closed keepalive connection 2025/09/02 14:24:38 [debug] 187086#187086: *4 close http connection: 6 2025/09/02 14:24:38 [debug] 187086#187086: *4 event timer del: 6: 91244206 2025/09/02 14:24:38 [debug] 187086#187086: *4 reusable connection: 0 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EB40A0 2025/09/02 14:24:38 [debug] 187086#187086: *4 free: 00005C72D1EB1840, unused: 120 2025/09/02 14:24:38 [debug] 187086#187086: timer delta: 1 2025/09/02 14:24:38 [debug] 187086#187086: worker cycle 2025/09/02 14:24:38 [debug] 187086#187086: epoll timer: -1 2025/09/02 14:25:06 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 2025/09/02 14:25:06 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:25:06 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 2025/09/02 14:25:06 [debug] 187086#187086: *6 accept: 127.0.0.1:36670 fd:6 2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer add: 6: 60000:91266493 2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 1 2025/09/02 14:25:06 [debug] 187086#187086: *6 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:25:06 [debug] 187086#187086: timer delta: 27286 2025/09/02 14:25:06 [debug] 187086#187086: worker cycle 2025/09/02 14:25:06 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:25:06 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E1 2025/09/02 14:25:06 [debug] 187086#187086: *6 http wait request handler 2025/09/02 14:25:06 [debug] 187086#187086: *6 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: eof:0, avail:-1 2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: fd:6 142 of 1024 2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 posix_memalign: 00005C72D1ED0A40:4096 @16 2025/09/02 14:25:06 [debug] 187086#187086: *6 http process request line 2025/09/02 14:25:06 [debug] 187086#187086: *6 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http args: "" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http exten: "" 2025/09/02 14:25:06 [debug] 187086#187086: *6 posix_memalign: 00005C72D1EC6DB0:4096 @16 2025/09/02 14:25:06 [debug] 187086#187086: *6 http process request header line 2025/09/02 14:25:06 [debug] 187086#187086: *6 http header: "Host: localhost:9001" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http header: "Accept: */*" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http header done 2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer del: 6: 91266493 2025/09/02 14:25:06 [debug] 187086#187086: *6 generic phase: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 rewrite phase: 1 2025/09/02 14:25:06 [debug] 187086#187086: *6 test location: "/health" 2025/09/02 14:25:06 [debug] 187086#187086: *6 test location: "/debug/list" 2025/09/02 14:25:06 [debug] 187086#187086: *6 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:25:06 [debug] 187086#187086: *6 using configuration "^/([a-f0-9]{64}).*$" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http cl:-1 max:104857600 2025/09/02 14:25:06 [debug] 187086#187086: *6 rewrite phase: 3 2025/09/02 14:25:06 [debug] 187086#187086: *6 http script var 2025/09/02 14:25:06 [debug] 187086#187086: *6 http script var: "GET" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http script value: "DELETE" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http script not equal 2025/09/02 14:25:06 [debug] 187086#187086: *6 http script if 2025/09/02 14:25:06 [debug] 187086#187086: *6 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" a:1, c:1 2025/09/02 14:25:06 [debug] 187086#187086: *6 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http set discard body 2025/09/02 14:25:06 [debug] 187086#187086: *6 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:25:06 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 14:25:06 [debug] 187086#187086: *6 write new buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter: l:0 f:0 s:164 2025/09/02 14:25:06 [debug] 187086#187086: *6 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" 00005C72D1EC7320 2025/09/02 14:25:06 [debug] 187086#187086: *6 write old buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6580, size: 100 file: 0, size: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6C80, size: 62 file: 0, size: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter: l:1 f:0 s:326 2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter limit 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 writev: 326 of 326 2025/09/02 14:25:06 [debug] 187086#187086: *6 http write filter 0000000000000000 2025/09/02 14:25:06 [debug] 187086#187086: *6 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" 2025/09/02 14:25:06 [debug] 187086#187086: *6 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4?" a:1, c:1 2025/09/02 14:25:06 [debug] 187086#187086: *6 set http keepalive handler 2025/09/02 14:25:06 [debug] 187086#187086: *6 http close request 2025/09/02 14:25:06 [debug] 187086#187086: *6 http log handler 2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1ED0A40, unused: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EC6DB0, unused: 2456 2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EB40A0 2025/09/02 14:25:06 [debug] 187086#187086: *6 hc free: 0000000000000000 2025/09/02 14:25:06 [debug] 187086#187086: *6 hc busy: 0000000000000000 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 tcp_nodelay 2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 1 2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer add: 6: 65000:91271493 2025/09/02 14:25:06 [debug] 187086#187086: timer delta: 0 2025/09/02 14:25:06 [debug] 187086#187086: worker cycle 2025/09/02 14:25:06 [debug] 187086#187086: epoll timer: 65000 2025/09/02 14:25:06 [debug] 187086#187086: epoll: fd:6 ev:2001 d:00007272963C51E1 2025/09/02 14:25:06 [debug] 187086#187086: *6 http keepalive handler 2025/09/02 14:25:06 [debug] 187086#187086: *6 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: eof:1, avail:-1 2025/09/02 14:25:06 [debug] 187086#187086: *6 recv: fd:6 0 of 1024 2025/09/02 14:25:06 [info] 187086#187086: *6 client 127.0.0.1 closed keepalive connection 2025/09/02 14:25:06 [debug] 187086#187086: *6 close http connection: 6 2025/09/02 14:25:06 [debug] 187086#187086: *6 event timer del: 6: 91271493 2025/09/02 14:25:06 [debug] 187086#187086: *6 reusable connection: 0 2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EB40A0 2025/09/02 14:25:06 [debug] 187086#187086: *6 free: 00005C72D1EB1840, unused: 136 2025/09/02 14:25:06 [debug] 187086#187086: timer delta: 1 2025/09/02 14:25:06 [debug] 187086#187086: worker cycle 2025/09/02 14:25:06 [debug] 187086#187086: epoll timer: -1 2025/09/02 14:25:10 [debug] 187086#187086: epoll: fd:5 ev:0001 d:00007272963C5010 2025/09/02 14:25:10 [debug] 187086#187086: accept on 0.0.0.0:9001, ready: 0 2025/09/02 14:25:10 [debug] 187086#187086: posix_memalign: 00005C72D1EB1840:512 @16 2025/09/02 14:25:10 [debug] 187086#187086: *7 accept: 127.0.0.1:36684 fd:6 2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer add: 6: 60000:91270922 2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 1 2025/09/02 14:25:10 [debug] 187086#187086: *7 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 14:25:10 [debug] 187086#187086: timer delta: 4428 2025/09/02 14:25:10 [debug] 187086#187086: worker cycle 2025/09/02 14:25:10 [debug] 187086#187086: epoll timer: 60000 2025/09/02 14:25:10 [debug] 187086#187086: epoll: fd:6 ev:0001 d:00007272963C51E0 2025/09/02 14:25:10 [debug] 187086#187086: *7 http wait request handler 2025/09/02 14:25:10 [debug] 187086#187086: *7 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: eof:0, avail:-1 2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: fd:6 146 of 1024 2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 posix_memalign: 00005C72D1ED0A40:4096 @16 2025/09/02 14:25:10 [debug] 187086#187086: *7 http process request line 2025/09/02 14:25:10 [debug] 187086#187086: *7 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http args: "" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http exten: "txt" 2025/09/02 14:25:10 [debug] 187086#187086: *7 posix_memalign: 00005C72D1EC6DB0:4096 @16 2025/09/02 14:25:10 [debug] 187086#187086: *7 http process request header line 2025/09/02 14:25:10 [debug] 187086#187086: *7 http header: "Host: localhost:9001" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http header: "User-Agent: curl/8.15.0" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http header: "Accept: */*" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http header done 2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer del: 6: 91270922 2025/09/02 14:25:10 [debug] 187086#187086: *7 generic phase: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 rewrite phase: 1 2025/09/02 14:25:10 [debug] 187086#187086: *7 test location: "/health" 2025/09/02 14:25:10 [debug] 187086#187086: *7 test location: "/debug/list" 2025/09/02 14:25:10 [debug] 187086#187086: *7 test location: ~ "^/([a-f0-9]{64}).*$" 2025/09/02 14:25:10 [debug] 187086#187086: *7 using configuration "^/([a-f0-9]{64}).*$" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http cl:-1 max:104857600 2025/09/02 14:25:10 [debug] 187086#187086: *7 rewrite phase: 3 2025/09/02 14:25:10 [debug] 187086#187086: *7 http script var 2025/09/02 14:25:10 [debug] 187086#187086: *7 http script var: "GET" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http script value: "DELETE" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http script not equal 2025/09/02 14:25:10 [debug] 187086#187086: *7 http script if 2025/09/02 14:25:10 [debug] 187086#187086: *7 http finalize request: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:25:10 [debug] 187086#187086: *7 http special response: 404, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http set discard body 2025/09/02 14:25:10 [debug] 187086#187086: *7 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 18:25:10 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 14:25:10 [debug] 187086#187086: *7 write new buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter: l:0 f:0 s:164 2025/09/02 14:25:10 [debug] 187086#187086: *7 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00005C72D1EC7320 2025/09/02 14:25:10 [debug] 187086#187086: *7 write old buf t:1 f:0 00005C72D1EC7190, pos 00005C72D1EC7190, size: 164 file: 0, size: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6580, size: 100 file: 0, size: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 write new buf t:0 f:0 0000000000000000, pos 00005C72B73E6C80, size: 62 file: 0, size: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter: l:1 f:0 s:326 2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter limit 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 writev: 326 of 326 2025/09/02 14:25:10 [debug] 187086#187086: *7 http write filter 0000000000000000 2025/09/02 14:25:10 [debug] 187086#187086: *7 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 14:25:10 [debug] 187086#187086: *7 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 14:25:10 [debug] 187086#187086: *7 set http keepalive handler 2025/09/02 14:25:10 [debug] 187086#187086: *7 http close request 2025/09/02 14:25:10 [debug] 187086#187086: *7 http log handler 2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1ED0A40, unused: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EC6DB0, unused: 2452 2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EB40A0 2025/09/02 14:25:10 [debug] 187086#187086: *7 hc free: 0000000000000000 2025/09/02 14:25:10 [debug] 187086#187086: *7 hc busy: 0000000000000000 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 tcp_nodelay 2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 1 2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer add: 6: 65000:91275923 2025/09/02 14:25:10 [debug] 187086#187086: timer delta: 1 2025/09/02 14:25:10 [debug] 187086#187086: worker cycle 2025/09/02 14:25:10 [debug] 187086#187086: epoll timer: 65000 2025/09/02 14:25:10 [debug] 187086#187086: epoll: fd:6 ev:2001 d:00007272963C51E0 2025/09/02 14:25:10 [debug] 187086#187086: *7 http keepalive handler 2025/09/02 14:25:10 [debug] 187086#187086: *7 malloc: 00005C72D1EB40A0:1024 2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: eof:1, avail:-1 2025/09/02 14:25:10 [debug] 187086#187086: *7 recv: fd:6 0 of 1024 2025/09/02 14:25:10 [info] 187086#187086: *7 client 127.0.0.1 closed keepalive connection 2025/09/02 14:25:10 [debug] 187086#187086: *7 close http connection: 6 2025/09/02 14:25:10 [debug] 187086#187086: *7 event timer del: 6: 91275923 2025/09/02 14:25:10 [debug] 187086#187086: *7 reusable connection: 0 2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EB40A0 2025/09/02 14:25:10 [debug] 187086#187086: *7 free: 00005C72D1EB1840, unused: 136 2025/09/02 14:25:10 [debug] 187086#187086: timer delta: 0 2025/09/02 14:25:10 [debug] 187086#187086: worker cycle 2025/09/02 14:25:10 [debug] 187086#187086: epoll timer: -1 2025/09/02 15:05:23 [debug] 187086#187086: epoll: fd:7 ev:2011 d:00007272963C50F8 2025/09/02 15:05:23 [debug] 187086#187086: epoll_wait() error on fd:7 ev:2011 2025/09/02 15:05:23 [debug] 187086#187086: channel handler 2025/09/02 15:05:23 [debug] 187086#187086: recvmsg() returned zero 2025/09/02 15:05:23 [debug] 187086#187086: channel: -1 2025/09/02 15:05:23 [debug] 187086#187086: epoll del connection: fd:7 2025/09/02 15:05:23 [debug] 187086#187086: reusable connection: 0 2025/09/02 15:05:23 [debug] 187086#187086: timer delta: 2412837 2025/09/02 15:05:23 [debug] 187086#187086: worker cycle 2025/09/02 15:05:23 [debug] 187086#187086: epoll timer: -1 2025/09/02 15:17:09 [debug] 188755#188755: bind() 0.0.0.0:9001 #5 2025/09/02 15:17:09 [debug] 188755#188755: counter: 000074B0DF3B5080, 1 2025/09/02 15:17:09 [debug] 188756#188756: bind() 0.0.0.0:9001 #5 2025/09/02 15:17:09 [notice] 188756#188756: using the "epoll" event method 2025/09/02 15:17:09 [debug] 188756#188756: counter: 000071E17D26B080, 1 2025/09/02 15:17:09 [notice] 188756#188756: nginx/1.18.0 (Ubuntu) 2025/09/02 15:17:09 [notice] 188756#188756: OS: Linux 6.12.10-76061203-generic 2025/09/02 15:17:09 [notice] 188756#188756: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 15:17:09 [debug] 188757#188756: write: 6, 00007FFE362F2B10, 7, 0 2025/09/02 15:17:09 [debug] 188757#188757: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 15:17:09 [notice] 188757#188757: start worker processes 2025/09/02 15:17:09 [debug] 188757#188757: channel 6:7 2025/09/02 15:17:09 [notice] 188757#188757: start worker process 188758 2025/09/02 15:17:09 [debug] 188757#188757: sigsuspend 2025/09/02 15:17:09 [debug] 188758#188758: add cleanup: 000055CAAF754200 2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF6F2BD0:8 2025/09/02 15:17:09 [debug] 188758#188758: notify eventfd: 9 2025/09/02 15:17:09 [debug] 188758#188758: testing the EPOLLRDHUP flag: success 2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF707000:6144 2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000071E17D063010:237568 2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF758170:98304 2025/09/02 15:17:09 [debug] 188758#188758: malloc: 000055CAAF770180:98304 2025/09/02 15:17:09 [debug] 188758#188758: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 15:17:09 [debug] 188758#188758: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 15:17:09 [debug] 188758#188758: setproctitle: "nginx: worker process" 2025/09/02 15:17:09 [debug] 188758#188758: worker cycle 2025/09/02 15:17:09 [debug] 188758#188758: epoll timer: -1 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:5 ev:0001 d:000071E17D063010 2025/09/02 15:17:32 [debug] 188758#188758: accept on 0.0.0.0:9001, ready: 0 2025/09/02 15:17:32 [debug] 188758#188758: posix_memalign: 000055CAAF6F1840:512 @16 2025/09/02 15:17:32 [debug] 188758#188758: *1 accept: 127.0.0.1:49930 fd:6 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer add: 6: 60000:94413286 2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 23000 2025/09/02 15:17:32 [debug] 188758#188758: worker cycle 2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 60000 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:6 ev:0001 d:000071E17D0631E0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http wait request handler 2025/09/02 15:17:32 [debug] 188758#188758: *1 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:0, avail:-1 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:6 147 of 1024 2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF7124A0:4096 @16 2025/09/02 15:17:32 [debug] 188758#188758: *1 http process request line 2025/09/02 15:17:32 [debug] 188758#188758: *1 http request line: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http uri: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http args: "" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http exten: "" 2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF708810:4096 @16 2025/09/02 15:17:32 [debug] 188758#188758: *1 http process request header line 2025/09/02 15:17:32 [debug] 188758#188758: *1 http header: "Host: localhost:9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http header: "Accept: */*" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http header done 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer del: 6: 94413286 2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 rewrite phase: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: "/media" 2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: "/debug/list" 2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: "/health" 2025/09/02 15:17:32 [debug] 188758#188758: *1 test location: ~ "^/list/([a-f0-9]{64})$" 2025/09/02 15:17:32 [debug] 188758#188758: *1 using configuration "^/list/([a-f0-9]{64})$" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http cl:-1 max:104857600 2025/09/02 15:17:32 [debug] 188758#188758: *1 rewrite phase: 3 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "GET" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script regex: "^(GET)$" 2025/09/02 15:17:32 [notice] 188758#188758: *1 "^(GET)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", host: "localhost:9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script if 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script if: false 2025/09/02 15:17:32 [debug] 188758#188758: *1 post rewrite phase: 4 2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 5 2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 6 2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 7 2025/09/02 15:17:32 [debug] 188758#188758: *1 access phase: 8 2025/09/02 15:17:32 [debug] 188758#188758: *1 access phase: 9 2025/09/02 15:17:32 [debug] 188758#188758: *1 access phase: 10 2025/09/02 15:17:32 [debug] 188758#188758: *1 post access phase: 11 2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 12 2025/09/02 15:17:32 [debug] 188758#188758: *1 generic phase: 13 2025/09/02 15:17:32 [debug] 188758#188758: *1 http init upstream, client timer: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "QUERY_STRING" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "QUERY_STRING: " 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REQUEST_METHOD" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "GET" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REQUEST_METHOD: GET" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "CONTENT_TYPE" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "CONTENT_TYPE: " 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "CONTENT_LENGTH" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "CONTENT_LENGTH: " 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SCRIPT_NAME" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SCRIPT_NAME: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REQUEST_URI" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REQUEST_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "DOCUMENT_URI" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "DOCUMENT_URI: /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "DOCUMENT_ROOT" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "./blobs" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_PROTOCOL" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "HTTP/1.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REQUEST_SCHEME" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "http" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "GATEWAY_INTERFACE" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "CGI/1.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_SOFTWARE" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "nginx/" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "1.18.0" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REMOTE_ADDR" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "127.0.0.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REMOTE_PORT" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "49930" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REMOTE_PORT: 49930" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_ADDR" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "127.0.0.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_PORT" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SERVER_NAME" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "localhost" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "REDIRECT_STATUS" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "200" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "SCRIPT_FILENAME" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script var: "./blobs" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http script copy: "/ginxsom.fcgi" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 15:17:32 [debug] 188758#188758: *1 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http cleanup add: 000055CAAF713488 2025/09/02 15:17:32 [debug] 188758#188758: *1 get rr peer, try: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 stream socket 10 2025/09/02 15:17:32 [debug] 188758#188758: *1 epoll add connection: fd:10 ev:80002005 2025/09/02 15:17:32 [debug] 188758#188758: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 2025/09/02 15:17:32 [debug] 188758#188758: *1 connected 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream connect: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF6DAF20:128 @16 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream send request 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream send request body 2025/09/02 15:17:32 [debug] 188758#188758: *1 chain writer buf fl:0 s:704 2025/09/02 15:17:32 [debug] 188758#188758: *1 chain writer in: 000055CAAF709588 2025/09/02 15:17:32 [debug] 188758#188758: *1 writev: 704 of 704 2025/09/02 15:17:32 [debug] 188758#188758: *1 chain writer out: 0000000000000000 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer add: 10: 60000:94413286 2025/09/02 15:17:32 [debug] 188758#188758: *1 http finalize request: -4, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:2 2025/09/02 15:17:32 [debug] 188758#188758: *1 http request count:2 blk:0 2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 0 2025/09/02 15:17:32 [debug] 188758#188758: worker cycle 2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 60000 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:6 ev:0004 d:000071E17D0631E0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http run request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream check client, write event:1, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798" 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:10 ev:0004 d:000071E17D0632C8 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream dummy handler 2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 1 2025/09/02 15:17:32 [debug] 188758#188758: worker cycle 2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 59999 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C8 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream process header 2025/09/02 15:17:32 [debug] 188758#188758: *1 malloc: 000055CAAF6FB160:4096 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:0, avail:-1 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:10 48 of 4096 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 21 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 33 2025/09/02 15:17:32 [error] 188758#188758: *1 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:0, avail:0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream dummy handler 2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 0 2025/09/02 15:17:32 [debug] 188758#188758: worker cycle 2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 59999 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:10 ev:2005 d:000071E17D0632C8 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream request: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream process header 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:1, avail:-1 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:10 1272 of 4048 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: F8 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 504 2025/09/02 15:17:32 [error] 188758#188758: *1 FastCGI sent in stderr: "DEBUG: METHOD=GET, URI=/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 DEBUG: handle_list_request called with pubkey=79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 LOG: [2025-09-02 15:17:32] GET /list - Auth: pending - Status: 0 DEBUG: Query string: DEBUG: SQL query: SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? ORDER BY uploaded_at DESC DEBUG: List request completed successfully LOG: [2025-09-02 15:17:32] GET /l" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 20 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 32 2025/09/02 15:17:32 [error] 188758#188758: *1 FastCGI sent in stderr: "ist - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 06 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 02 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: A1 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 07 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 673 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi parser: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi header: "Status: 200 OK" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi parser: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi header: "Content-Type: application/json" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi parser: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi header done 2025/09/02 15:17:32 [debug] 188758#188758: *1 posix_memalign: 000055CAAF6FC170:4096 @16 2025/09/02 15:17:32 [debug] 188758#188758: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 19:17:32 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block 2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:1 f:0 000055CAAF6FC1E0, pos 000055CAAF6FC1E0, size: 260 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter: l:0 f:0 s:260 2025/09/02 15:17:32 [debug] 188758#188758: *1 http cacheable: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream process upstream 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe read upstream: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe preread: 654 2025/09/02 15:17:32 [debug] 188758#188758: *1 readv: eof:1, avail:0 2025/09/02 15:17:32 [debug] 188758#188758: *1 readv: 1, last:2776 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe recv chain: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe buf free s:0 t:1 f:0 000055CAAF6FB160, pos 000055CAAF6FB3FA, size: 654 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe length: -1 2025/09/02 15:17:32 [debug] 188758#188758: *1 input buf #0 000055CAAF6FB3FA 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 06 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi closed stdout 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 03 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 01 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 08 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record byte: 00 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi record length: 8 2025/09/02 15:17:32 [debug] 188758#188758: *1 http fastcgi sent end request 2025/09/02 15:17:32 [debug] 188758#188758: *1 input buf 000055CAAF6FB3FA 623 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe write downstream: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe write downstream flush in 2025/09/02 15:17:32 [debug] 188758#188758: *1 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 000055CAAF7097E8 2025/09/02 15:17:32 [debug] 188758#188758: *1 http chunk: 623 2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FC1E0, pos 000055CAAF6FC1E0, size: 260 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:1 f:0 000055CAAF6FC538, pos 000055CAAF6FC538, size: 5 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:1 f:0 000055CAAF6FB160, pos 000055CAAF6FB3FA, size: 623 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter: l:0 f:0 s:890 2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 pipe write downstream done 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer: 10, old: 94413286, new: 94413288 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream exit: 0000000000000000 2025/09/02 15:17:32 [debug] 188758#188758: *1 finalize http upstream request: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 finalize http fastcgi request 2025/09/02 15:17:32 [debug] 188758#188758: *1 free rr peer 1 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 close http upstream connection: 10 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6DAF20, unused: 48 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer del: 10: 94413286 2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http upstream temp fd: -1 2025/09/02 15:17:32 [debug] 188758#188758: *1 http output filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http postpone filter "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 00007FFE362F2750 2025/09/02 15:17:32 [debug] 188758#188758: *1 http chunk: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FC1E0, pos 000055CAAF6FC1E0, size: 260 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FC538, pos 000055CAAF6FC538, size: 5 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:1 f:0 000055CAAF6FB160, pos 000055CAAF6FB3FA, size: 623 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write old buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E5, size: 5 file: 0, size: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter: l:1 f:0 s:895 2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter limit 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 writev: 895 of 895 2025/09/02 15:17:32 [debug] 188758#188758: *1 http write filter 0000000000000000 2025/09/02 15:17:32 [debug] 188758#188758: *1 http copy filter: 0 "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" 2025/09/02 15:17:32 [debug] 188758#188758: *1 http finalize request: 0, "/list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798?" a:1, c:1 2025/09/02 15:17:32 [debug] 188758#188758: *1 set http keepalive handler 2025/09/02 15:17:32 [debug] 188758#188758: *1 http close request 2025/09/02 15:17:32 [debug] 188758#188758: *1 http log handler 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6FB160 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF7124A0, unused: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF708810, unused: 8 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6FC170, unused: 2579 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6F40A0 2025/09/02 15:17:32 [debug] 188758#188758: *1 hc free: 0000000000000000 2025/09/02 15:17:32 [debug] 188758#188758: *1 hc busy: 0000000000000000 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 tcp_nodelay 2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 1 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer add: 6: 65000:94418288 2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 1 2025/09/02 15:17:32 [debug] 188758#188758: worker cycle 2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: 65000 2025/09/02 15:17:32 [debug] 188758#188758: epoll: fd:6 ev:2005 d:000071E17D0631E0 2025/09/02 15:17:32 [debug] 188758#188758: *1 http keepalive handler 2025/09/02 15:17:32 [debug] 188758#188758: *1 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: eof:1, avail:-1 2025/09/02 15:17:32 [debug] 188758#188758: *1 recv: fd:6 0 of 1024 2025/09/02 15:17:32 [info] 188758#188758: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 15:17:32 [debug] 188758#188758: *1 close http connection: 6 2025/09/02 15:17:32 [debug] 188758#188758: *1 event timer del: 6: 94418288 2025/09/02 15:17:32 [debug] 188758#188758: *1 reusable connection: 0 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6F40A0 2025/09/02 15:17:32 [debug] 188758#188758: *1 free: 000055CAAF6F1840, unused: 120 2025/09/02 15:17:32 [debug] 188758#188758: timer delta: 2 2025/09/02 15:17:32 [debug] 188758#188758: worker cycle 2025/09/02 15:17:32 [debug] 188758#188758: epoll timer: -1 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:5 ev:0001 d:000071E17D063010 2025/09/02 15:17:47 [debug] 188758#188758: accept on 0.0.0.0:9001, ready: 0 2025/09/02 15:17:47 [debug] 188758#188758: posix_memalign: 000055CAAF6F1840:512 @16 2025/09/02 15:17:47 [debug] 188758#188758: *3 accept: 127.0.0.1:54846 fd:6 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer add: 6: 60000:94427845 2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 14555 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 60000 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:6 ev:0001 d:000071E17D0631E1 2025/09/02 15:17:47 [debug] 188758#188758: *3 http wait request handler 2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:6 1024 of 1024 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: avail:112 2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF7124A0:4096 @16 2025/09/02 15:17:47 [debug] 188758#188758: *3 http process request line 2025/09/02 15:17:47 [debug] 188758#188758: *3 http request line: "PUT /upload HTTP/1.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http uri: "/upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http args: "" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http exten: "" 2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF708810:4096 @16 2025/09/02 15:17:47 [debug] 188758#188758: *3 http process request header line 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Host: localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "User-Agent: curl/8.15.0" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Accept: */*" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5OTE3YTY3ODVhZWM1NmU5NGQ2NjQ0MDBkZjNkMDE0NTZmYjE0MzlmMDRhNTkzYWVjNTJkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDA2NjcsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIxMTVjNDQwYmY1YjY5MDE1ZjhiODQ0ZDMyNWFlMzM0NThhNTU1YjQ2M2Q1ZDUzZTRkZmUyZDI0Y2Q3NDBjNWJjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0NDI2NyJdXSwiY29udGVudCI6IiIsInNpZyI6IjFjYWFkMzJjZTk4ODZiZWM4YmFjN2I5NmEzMjE4ZWE0MmViYjgzNmMyZmRkMTA5OThjZjNhYTEwM2ZiMjBmZTI0NWNkNDMyODJmY2IzOWQxZWE4NDZhMjU4NTRlZWEwMzM3N2VkNjdlNDQ2MjUzZmQzNWZjNzhiZGFhMjljNTA2In0=" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Content-Type: text/plain" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Content-Disposition: attachment; filename="test_blob_1756840667.txt"" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header: "Content-Length: 296" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http header done 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer del: 6: 94427845 2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 rewrite phase: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 test location: "/media" 2025/09/02 15:17:47 [debug] 188758#188758: *3 test location: "/report" 2025/09/02 15:17:47 [debug] 188758#188758: *3 test location: "/upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 using configuration "=/upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http cl:296 max:104857600 2025/09/02 15:17:47 [debug] 188758#188758: *3 rewrite phase: 3 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "PUT" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script regex: "^(PUT|HEAD)$" 2025/09/02 15:17:47 [notice] 188758#188758: *3 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script if 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script if: false 2025/09/02 15:17:47 [debug] 188758#188758: *3 post rewrite phase: 4 2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 5 2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 6 2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 7 2025/09/02 15:17:47 [debug] 188758#188758: *3 access phase: 8 2025/09/02 15:17:47 [debug] 188758#188758: *3 access phase: 9 2025/09/02 15:17:47 [debug] 188758#188758: *3 access phase: 10 2025/09/02 15:17:47 [debug] 188758#188758: *3 post access phase: 11 2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 12 2025/09/02 15:17:47 [debug] 188758#188758: *3 generic phase: 13 2025/09/02 15:17:47 [debug] 188758#188758: *3 http client request body preread 184 2025/09/02 15:17:47 [debug] 188758#188758: *3 http request body content length filter 2025/09/02 15:17:47 [debug] 188758#188758: *3 http body new buf t:1 f:0 000055CAAF6F43E8, pos 000055CAAF6F43E8, size: 184 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http read client request body 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:112 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:6 112 of 112 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http client request body recv 112 2025/09/02 15:17:47 [debug] 188758#188758: *3 http body new buf t:1 f:0 000055CAAF7092A0, pos 000055CAAF7092A0, size: 112 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http client request body rest 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http init upstream, client timer: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 epoll add event: fd:6 op:3 ev:80002005 2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF6FB160:4096 @16 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "QUERY_STRING" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "QUERY_STRING: " 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REQUEST_METHOD" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "PUT" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REQUEST_METHOD: PUT" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "CONTENT_TYPE" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "text/plain" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "CONTENT_TYPE: text/plain" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "CONTENT_LENGTH" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "296" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "CONTENT_LENGTH: 296" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SCRIPT_NAME" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "/upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SCRIPT_NAME: /upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REQUEST_URI" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "/upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REQUEST_URI: /upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "DOCUMENT_URI" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "/upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "DOCUMENT_URI: /upload" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "DOCUMENT_ROOT" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "./blobs" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "DOCUMENT_ROOT: ./blobs" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_PROTOCOL" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "HTTP/1.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REQUEST_SCHEME" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "http" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REQUEST_SCHEME: http" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "GATEWAY_INTERFACE" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "CGI/1.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_SOFTWARE" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "nginx/" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "1.18.0" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REMOTE_ADDR" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "127.0.0.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REMOTE_ADDR: 127.0.0.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REMOTE_PORT" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "54846" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REMOTE_PORT: 54846" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_ADDR" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "127.0.0.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_ADDR: 127.0.0.1" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_PORT" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_PORT: 9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SERVER_NAME" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "localhost" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SERVER_NAME: localhost" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "REDIRECT_STATUS" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "200" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "REDIRECT_STATUS: 200" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "SCRIPT_FILENAME" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script var: "./blobs" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http script copy: "/ginxsom.fcgi" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_HOST: localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_ACCEPT: */*" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5OTE3YTY3ODVhZWM1NmU5NGQ2NjQ0MDBkZjNkMDE0NTZmYjE0MzlmMDRhNTkzYWVjNTJkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDA2NjcsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIxMTVjNDQwYmY1YjY5MDE1ZjhiODQ0ZDMyNWFlMzM0NThhNTU1YjQ2M2Q1ZDUzZTRkZmUyZDI0Y2Q3NDBjNWJjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0NDI2NyJdXSwiY29udGVudCI6IiIsInNpZyI6IjFjYWFkMzJjZTk4ODZiZWM4YmFjN2I5NmEzMjE4ZWE0MmViYjgzNmMyZmRkMTA5OThjZjNhYTEwM2ZiMjBmZTI0NWNkNDMyODJmY2IzOWQxZWE4NDZhMjU4NTRlZWEwMzM3N2VkNjdlNDQ2MjUzZmQzNWZjNzhiZGFhMjljNTA2In0=" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_CONTENT_DISPOSITION: attachment; filename="test_blob_1756840667.txt"" 2025/09/02 15:17:47 [debug] 188758#188758: *3 fastcgi param: "HTTP_CONTENT_LENGTH: 296" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http cleanup add: 000055CAAF7095F0 2025/09/02 15:17:47 [debug] 188758#188758: *3 get rr peer, try: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 stream socket 10 2025/09/02 15:17:47 [debug] 188758#188758: *3 epoll add connection: fd:10 ev:80002005 2025/09/02 15:17:47 [debug] 188758#188758: *3 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #4 2025/09/02 15:17:47 [debug] 188758#188758: *3 connected 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream connect: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 posix_memalign: 000055CAAF6DAF20:128 @16 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream send request 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream send request body 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:1304 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:184 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:8 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:112 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer buf fl:0 s:8 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer in: 000055CAAF709680 2025/09/02 15:17:47 [debug] 188758#188758: *3 writev: 1616 of 1616 2025/09/02 15:17:47 [debug] 188758#188758: *3 chain writer out: 0000000000000000 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer add: 10: 60000:94427845 2025/09/02 15:17:47 [debug] 188758#188758: *3 http finalize request: -4, "/upload?" a:1, c:2 2025/09/02 15:17:47 [debug] 188758#188758: *3 http request count:2 blk:0 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 60000 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:6 ev:0004 d:000071E17D0631E1 2025/09/02 15:17:47 [debug] 188758#188758: *3 http run request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream check client, write event:1, "/upload" 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6FC170:4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 560 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 21 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 33 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "DEBUG: FastCGI received request" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "DEBUG: METHOD=PUT, URI=/upload ENTRY: Entering handle_upload_request() function DEBUG: handle_upload_request called LOG: [2025-09-02 15:17:47] PUT /upload - Auth: pending - Status: 0 DEBUG: content_type=text/plain DEBUG: content_length=296 DEBUG: Raw Authorization header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5OTE3YTY3ODVhZWM1NmU5NGQ2NjQ0MDBkZjNkMDE0NTZmYjE0MzlmMDRhNTkzYWVjNTJkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImN" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 2 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59998 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 1616 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "yZWF0ZWRfYXQiOjE3NTY4NDA2NjcsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIxMTVjNDQwYmY1YjY5MDE1ZjhiODQ0ZDMyNWFlMzM0NThhNTU1YjQ2M2Q1ZDUzZTRkZmUyZDI0Y2Q3NDBjNWJjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg0NDI2NyJdXSwiY29udGVudCI6IiIsInNpZyI6IjFjYWFkMzJjZTk4ODZiZWM4YmFjN2I5NmEzMjE4ZWE0MmViYjgzNmMyZmRkMTA5OThjZjNhYTEwM2ZiMjBmZTI0NWNkNDMyODJmY2IzOWQxZWE4NDZhMjU4NTRlZWEwMzM3N2VkNjdlNDQ2MjUzZmQzNWZjNzhiZGFhMjljNTA2In0= LOG: [2025-09-02 15:17:47] PUT /upload - Auth: auth_provided - Status: 0 DEBUG-LAAN: Calculated SHA-256:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 43 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 05 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 67 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES AUTH: Calling authenticate_request with hash: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc ═══════════════════════════════════════════════════════════════════ 🔍 STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) ℹ️ INFO: Server-style auth calle" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "d with method: upload, hash: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc 🔍 STEP SERVER-2: Calling parse_authorization_header DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5... DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=✅ SUCCESS: parse_authorization_header succeeded 🔍 STEP SERVER-3: Calling cJSON_Parse on JSON string ℹ️ INFO: JSON to" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59998 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 2048 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " parse: {"kind":24242,"id":"e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756840667,"tags":[["t","upload"],["x","115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc"],["expiration","1756844267"]],"content":"","sig":"1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506"} ✅ SUCCESS: cJSON_Parse succeeded" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: ", event parsed ℹ️ INFO: Parsed JSON: { "kind": 24242, "id": "e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "created_at": 1756840667, "tags": [["t", "upload"], ["x", "115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc"], ["expiration", "1756844267"]], "content": "", "sig": "1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e4" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "46253fd35fc78bdaa29c506" } 🔍 STEP SERVER-4: Event fields before validation ℹ️ INFO: id: e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d ℹ️ INFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: sig: 1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506 ℹ️ INFO: kind: 24242 ℹ️ INFO: created_at: 1756840667 🔍 STEP SERVER-5: Detailed pubkey" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " analysis ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): 7(0x37) 9(0x39) b(0x62) e(0x65) 6(0x36) 6(0x36) 7(0x37) e(0x65) f(0x66) 9(0x39) 🔍 STEP SERVER-6: Pre-validation pubkey analysis ℹ️ INFO: Pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 ℹ️ INFO: Length: ℹ️ INFO: Character analysis (first 10): 7(55) 9(57) b(98) e(101) 6(54) 6(54) 7(5" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59998 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 3584 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "5) e(101) f(102) 9(57) ℹ️ INFO: Character validation test: ALL VALID (lowercase hex) 🔍 STEP SERVER-7: Starting detailed validation analysis ℹ️ INFO: Testing structure validation... ℹ️ INFO: nostr_validate_event_structure returned: 0 (Success) ✅ SUCCESS: Structure validation PASSED ℹ️ INFO: Testing cryptographic verification... ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) ✅ SUCCESS: Crypto verification PASSED ℹ️ INFO: Testing complete validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "... ℹ️ INFO: nostr_validate_event returned: 0 (Success) ✅ SUCCESS: Complete validation PASSED 🔍 STEP SERVER-8: Running detailed structure validation ═══════════════════════════════════════════════════════════════════ 🔍 STEP STRUCT-1: Starting detailed structure validation ✅ SUCCESS: Event is valid JSON object 🔍 STEP STRUCT-2: Checking required field" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "existence ✅ SUCCESS: Field 'id' exists ✅ SUCCESS: Field 'pubkey' exists ✅ SUCCESS: Field 'created_at' exists ✅ SUCCESS: Field 'kind' exists ✅ SUCCESS: Field 'tags' exists ✅ SUCCESS: Field 'content' exists ✅ SUCCESS: Field 'sig' exists 🔍 STEP STRUCT-3: Validating field types ✅ SUCCESS: Field 'id' is string ✅ SUCCESS: Field 'pubkey' is string ✅ SUCCESS: Field 'created_at' is number ✅ SUCCESS: Field 'kind' is number ✅ SUCCESS: Field 'tags' is array ✅ SUCCESS: Field 'content" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "' is string ✅ SUCCESS: Field 'sig' is string 🔍 STEP STRUCT-4: Validating hex string lengths ℹ️ INFO: ID string: 'e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d' (length: ✅ SUCCESS: ID string length is correct (64 chars) ℹ️ INFO: Pubkey string: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' (length: ✅ SUCCESS: Pubkey string length is correct (64 chars) ℹ️ INFO: Signature string: '1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "0fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506' (length: ✅ SUCCESS: Signature string length is correct (128 chars) 🔍 STEP STRUCT-5: Validating hex characters ℹ️ INFO: Checking ID hex characters... ✅ SUCCESS: ID hex characters are valid (lowercase) ℹ️ INFO: Checking pubkey hex characters... ✅ SUCCESS: Pubkey hex characters are valid (lowercase) ℹ️ INFO: Checking signature hex characters... ✅ SUCCESS: Signature hex characters are valid (lowercase) 🔍 S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "TEP STRUCT-6: Validating timestamp ℹ️ INFO: Created_at timestamp: 1756840667 ✅ SUCCESS: Timestamp is valid: 2025-09-02 19:17:47 UTC 🔍 STEP STRUCT-7: Validating kind ℹ️ INFO: Event kind: 24242 ✅ SUCCESS: Kind is valid: 24242 🔍 STEP STRUCT-8: Validating tags array structure ℹ️ INFO: Tags array has 3 elements ℹ️ INFO: Tag[0] has 2 elements ℹ️ INFO: Tag[0][0]: 't' ℹ️ INFO: Tag[0][1]: 'upload' ℹ️ INFO: Tag[1] has 2 elements ℹ️ INFO: Tag[1][0]: 'x' ℹ️" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " INFO: Tag[1][1]: '115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc' ℹ️ INFO: Tag[2] has 2 elements ℹ️ INFO: Tag[2][0]: 'expiration' ℹ️ INFO: Tag[2][1]: '1756844267' ✅ SUCCESS: Tags array structure is valid 🔍 STEP STRUCT-9: Validating content ℹ️ INFO: Content: '' (length: ✅ SUCCESS: Content is valid string ✅ SUCCESS: Structure validation completed successfully ✅ SUCCESS: Detailed structure validation PASSED 🔍 STEP SERVER-9: Running detailed signature" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 1 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59997 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 4096 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " validation ═══════════════════════════════════════════════════════════════════ 🔍 STEP CRYPTO-1: Starting detailed signature validation 🔍 STEP CRYPTO-2: Creating serialization array ✅ SUCCESS: Serialization array created 🔍 STEP CRYPTO-3: Converting to JSON string ✅ SUCCESS: JSON serialization string created ℹ️ INFO: Serialization string (length 🔍" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "STEP CRYPTO-4: Computing SHA256 hash ✅ SUCCESS: SHA256 hash computed ℹ️ INFO: Event hash ( e4 85 62 55 12 79 99 17 a6 78 5a ec 56 e9 4d 66 |..bU.y...xZ.V.Mf| 44 00 df 3d 01 45 6f b1 43 9f 04 a5 93 ae c5 2d |D..=.Eo.C......-| 🔍 STEP CRYPTO-5: Verifying event ID ℹ️ INFO: Calculated ID: e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d ℹ️ INFO: Provided ID: e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d ✅ SUCCESS: Event ID verification passe" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "d 🔍 STEP CRYPTO-6: Preparing signature verification 🔍 STEP CRYPTO-7: Converting hex strings to bytes ✅ SUCCESS: Pubkey hex converted to bytes ℹ️ INFO: Pubkey bytes ( 79 be 66 7e f9 dc bb ac 55 a0 62 95 ce 87 0b 07 |y.f~....U.b.....| 02 9b fc db 2d ce 28 d9 59 f2 81 5b 16 f8 17 98 |....-.(.Y..[....| ✅ SUCCESS: Signature hex converted to bytes ℹ️ INFO: Signature bytes ( 1c aa d3 2c e9 88 6b ec 8b ac 7b 96 a3 21 8e a4 |...,..k...{..!..| 2e bb 83 6c 2f dd 10 99 8c f3 aa 10 3" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "f b2 0f e2 |...l/.......?...| 45 cd 43 28 2f cb 39 d1 ea 84 6a 25 85 4e ea 03 |E.C(/.9...j%.N..| 37 7e d6 7e 44 62 53 fd 35 fc 78 bd aa 29 c5 06 |7~.~DbS.5.x..)..| 🔍 STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() ℹ️ INFO: Calling nostr_verify_event_signature() for detailed crypto validation ℹ️ INFO: nostr_verify_event_signature returned: 0 (Success) ✅ SUCCESS: Signature verification PASSED using nostr_core_lib! ✅ SUCCESS: Detailed signature validation" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " PASSED ═══════════════════════════════════════════════════════════════════ 🔍 STEP ANALYZE-1: Analyzing event field details ℹ️ INFO: Field 'kind': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 24242 ℹ️ INFO: Field 'id': ℹ️ INFO: Type: String ℹ️ INFO: Value: 'e485625512799917a6785aec56e94d664400df3d01456fb1439f04a593aec52d' ℹ️ INFO" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: ": Length: ℹ️ INFO: Field 'pubkey': ℹ️ INFO: Type: String ℹ️ INFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' ℹ️ INFO: Length: ℹ️ INFO: Field 'created_at': ℹ️ INFO: Type: Number ℹ️ INFO: Value: 1756840667 ℹ️ INFO: Field 'tags': ℹ️ INFO: Type: Array ℹ️ INFO: Size: 3 ℹ️ INFO: Field 'content': ℹ️ INFO: Type: String ℹ️ INFO: Value: '' ℹ️ INFO: Length: ℹ️ INFO: Field 'sig': ℹ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " INFO: Type: String ℹ️ INFO: Value: '1caad32ce9886bec8bac7b96a3218ea42ebb836c2fdd10998cf3aa103fb20fe245cd43282fcb39d1ea846a25854eea03377ed67e446253fd35fc78bdaa29c506' ℹ️ INFO: Length: 🔍 STEP SERVER-10: Validating Blossom-specific requirements DEBUG: Validating Blossom event DEBUG: Found matching method tag: upload DEBUG: Found matching hash tag: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc DEBUG: Found expiration tag: 1756844267 DEBUG: Blossom event valid" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "ation passed ✅ SUCCESS: Blossom event validation PASSED ✅ SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS AUTH: authenticate_request returned: 0 DEBUG: parse_authorization_header called with header: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJlNDg1NjI1NTEyNzk5... DEBUG: Extracted base64 event (length=DEBUG: Base64 decode result - decoded_len=DEBUG: Successfully decoded JSON (length=DEBUG: Authentication passed, uploader_pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 0 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59997 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:0005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 1536 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "815b16f81798 DEBUG: Saving file to: blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt DEBUG: File permissions set to 644 for blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt DEBUG: Successfully saved DEBUG: Content-Disposition header: attachment; filename="test_blob_1756840667.txt" DEBUG: Looking for filename= in Content-Disposition header DEBUG: Found filename= at position 12 DEBUG: Filename value starts with: "test_blob_175684066 DEBUG: Pro" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "cessing quoted filename DEBUG: Quoted filename length: DEBUG: Extracted quoted filename: 'test_blob_1756840667.txt' DEBUG: Final filename after extraction: test_blob_1756840667.txt DEBUG: insert_blob_metadata() called for sha256='115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc' DEBUG: Opening database at path: db/ginxsom.db DEBUG: Database opened successfully for writing DEBUG: Preparing SQL: INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: " (?, ?, ?, ?, ?, ?) DEBUG: SQL prepared successfully, binding parameters DEBUG: Parameter values to bind: DEBUG: 1. sha256 = '115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc' DEBUG: 2. size = 296 DEBUG: 3. type = 'text/plain' DEBUG: 4. uploaded_at = 1756840667 DEBUG: 5. uploader_pubkey = '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' DEBUG: 6. filename = 'test_blob_1756840667.txt' DEBUG: Binding parameter 1 (sha256) DEBUG: Binding parameter" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream dummy handler 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 1 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 59996 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:10 ev:2005 d:000071E17D0632C9 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream request: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process header 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:1, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:10 928 of 4096 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: F8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 504 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "2 (size) DEBUG: Binding parameter 3 (type) DEBUG: Binding parameter 4 (uploaded_at) DEBUG: Binding parameter 5 (uploader_pubkey) DEBUG: Binding uploader_pubkey as text: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' DEBUG: Binding parameter 6 (filename) DEBUG: Binding filename as text: 'test_blob_1756840667.txt' DEBUG: Parameters bound, executing INSERT DEBUG: INSERT successful DEBUG: Database closed, returning 1 DEBUG: Blob metadata successfully stored in database DEB" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 39 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 57 2025/09/02 15:17:47 [error] 188758#188758: *3 FastCGI sent in stderr: "UG: Upload completed successfully with database storage" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 07 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 06 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 2D 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 03 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 301 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi parser: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi header: "Status: 200 OK" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi parser: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi header: "Content-Type: application/json" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi parser: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi header done 2025/09/02 15:17:47 [debug] 188758#188758: *3 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 19:17:47 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block 2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:1 f:0 000055CAAF6FB818, pos 000055CAAF6FB818, size: 260 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter: l:0 f:0 s:260 2025/09/02 15:17:47 [debug] 188758#188758: *3 http cacheable: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream process upstream 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe read upstream: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe preread: 278 2025/09/02 15:17:47 [debug] 188758#188758: *3 readv: eof:1, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 readv: 1, last:3168 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe recv chain: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe buf free s:0 t:1 f:0 000055CAAF6FC170, pos 000055CAAF6FC3FA, size: 278 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe length: -1 2025/09/02 15:17:47 [debug] 188758#188758: *3 input buf #0 000055CAAF6FC3FA 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 06 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi closed stdout 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 03 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 01 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 08 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record byte: 00 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi record length: 8 2025/09/02 15:17:47 [debug] 188758#188758: *3 http fastcgi sent end request 2025/09/02 15:17:47 [debug] 188758#188758: *3 input buf 000055CAAF6FC3FA 251 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe write downstream: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe write downstream flush in 2025/09/02 15:17:47 [debug] 188758#188758: *3 http output filter "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http postpone filter "/upload?" 000055CAAF709650 2025/09/02 15:17:47 [debug] 188758#188758: *3 http chunk: 251 2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF6FB818, pos 000055CAAF6FB818, size: 260 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:1 f:0 000055CAAF7097E0, pos 000055CAAF7097E0, size: 4 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:1 f:0 000055CAAF6FC170, pos 000055CAAF6FC3FA, size: 251 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter: l:0 f:0 s:517 2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: 0 "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 pipe write downstream done 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer: 10, old: 94427845, new: 94427851 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream exit: 0000000000000000 2025/09/02 15:17:47 [debug] 188758#188758: *3 finalize http upstream request: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 finalize http fastcgi request 2025/09/02 15:17:47 [debug] 188758#188758: *3 free rr peer 1 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 close http upstream connection: 10 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6DAF20, unused: 48 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer del: 10: 94427845 2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http upstream temp fd: -1 2025/09/02 15:17:47 [debug] 188758#188758: *3 http output filter "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http postpone filter "/upload?" 00007FFE362F2750 2025/09/02 15:17:47 [debug] 188758#188758: *3 http chunk: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF6FB818, pos 000055CAAF6FB818, size: 260 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF7097E0, pos 000055CAAF7097E0, size: 4 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:1 f:0 000055CAAF6FC170, pos 000055CAAF6FC3FA, size: 251 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write old buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E8, size: 2 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 write new buf t:0 f:0 0000000000000000, pos 000055CA9F6DC2E5, size: 5 file: 0, size: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter: l:1 f:0 s:522 2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter limit 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 writev: 522 of 522 2025/09/02 15:17:47 [debug] 188758#188758: *3 http write filter 0000000000000000 2025/09/02 15:17:47 [debug] 188758#188758: *3 http copy filter: 0 "/upload?" 2025/09/02 15:17:47 [debug] 188758#188758: *3 http finalize request: 0, "/upload?" a:1, c:1 2025/09/02 15:17:47 [debug] 188758#188758: *3 set http keepalive handler 2025/09/02 15:17:47 [debug] 188758#188758: *3 http close request 2025/09/02 15:17:47 [debug] 188758#188758: *3 http log handler 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6FC170 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF7124A0, unused: 3 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF708810, unused: 8 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6FB160, unused: 1170 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F40A0 2025/09/02 15:17:47 [debug] 188758#188758: *3 hc free: 0000000000000000 2025/09/02 15:17:47 [debug] 188758#188758: *3 hc busy: 0000000000000000 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 tcp_nodelay 2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 1 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer add: 6: 65000:94432851 2025/09/02 15:17:47 [debug] 188758#188758: *3 post event 000055CAAF758230 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 2 2025/09/02 15:17:47 [debug] 188758#188758: posted event 000055CAAF758230 2025/09/02 15:17:47 [debug] 188758#188758: *3 delete posted event 000055CAAF758230 2025/09/02 15:17:47 [debug] 188758#188758: *3 http keepalive handler 2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:0, avail:0 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F40A0 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: 65000 2025/09/02 15:17:47 [debug] 188758#188758: epoll: fd:6 ev:2005 d:000071E17D0631E1 2025/09/02 15:17:47 [debug] 188758#188758: *3 http keepalive handler 2025/09/02 15:17:47 [debug] 188758#188758: *3 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: eof:1, avail:-1 2025/09/02 15:17:47 [debug] 188758#188758: *3 recv: fd:6 0 of 1024 2025/09/02 15:17:47 [info] 188758#188758: *3 client 127.0.0.1 closed keepalive connection 2025/09/02 15:17:47 [debug] 188758#188758: *3 close http connection: 6 2025/09/02 15:17:47 [debug] 188758#188758: *3 event timer del: 6: 94432851 2025/09/02 15:17:47 [debug] 188758#188758: *3 reusable connection: 0 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F40A0 2025/09/02 15:17:47 [debug] 188758#188758: *3 free: 000055CAAF6F1840, unused: 120 2025/09/02 15:17:47 [debug] 188758#188758: timer delta: 2 2025/09/02 15:17:47 [debug] 188758#188758: worker cycle 2025/09/02 15:17:47 [debug] 188758#188758: epoll timer: -1 2025/09/02 15:18:08 [debug] 188758#188758: epoll: fd:5 ev:0001 d:000071E17D063010 2025/09/02 15:18:08 [debug] 188758#188758: accept on 0.0.0.0:9001, ready: 0 2025/09/02 15:18:08 [debug] 188758#188758: posix_memalign: 000055CAAF6F1840:512 @16 2025/09/02 15:18:08 [debug] 188758#188758: *5 accept: 127.0.0.1:51764 fd:6 2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer add: 6: 60000:94449230 2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 1 2025/09/02 15:18:08 [debug] 188758#188758: *5 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 15:18:08 [debug] 188758#188758: timer delta: 21377 2025/09/02 15:18:08 [debug] 188758#188758: worker cycle 2025/09/02 15:18:08 [debug] 188758#188758: epoll timer: 60000 2025/09/02 15:18:08 [debug] 188758#188758: epoll: fd:6 ev:0001 d:000071E17D0631E0 2025/09/02 15:18:08 [debug] 188758#188758: *5 http wait request handler 2025/09/02 15:18:08 [debug] 188758#188758: *5 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: eof:0, avail:-1 2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: fd:6 146 of 1024 2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 posix_memalign: 000055CAAF7124A0:4096 @16 2025/09/02 15:18:08 [debug] 188758#188758: *5 http process request line 2025/09/02 15:18:08 [debug] 188758#188758: *5 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http args: "" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http exten: "txt" 2025/09/02 15:18:08 [debug] 188758#188758: *5 posix_memalign: 000055CAAF708810:4096 @16 2025/09/02 15:18:08 [debug] 188758#188758: *5 http process request header line 2025/09/02 15:18:08 [debug] 188758#188758: *5 http header: "Host: localhost:9001" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http header: "User-Agent: curl/8.15.0" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http header: "Accept: */*" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http header done 2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer del: 6: 94449230 2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 rewrite phase: 1 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/media" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/debug/list" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/health" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/list/([a-f0-9]{64})$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http cl:-1 max:104857600 2025/09/02 15:18:08 [debug] 188758#188758: *5 rewrite phase: 3 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script value: "DELETE" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script not equal 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script regex: "^/(.*)$" 2025/09/02 15:18:08 [notice] 188758#188758: *5 "^/(.*)$" matches "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt", client: 127.0.0.1, server: localhost, request: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1", host: "localhost:9001" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/blob/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script regex end 2025/09/02 15:18:08 [notice] 188758#188758: *5 rewritten data: "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt", args: "", client: 127.0.0.1, server: localhost, request: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1", host: "localhost:9001" 2025/09/02 15:18:08 [debug] 188758#188758: *5 post rewrite phase: 4 2025/09/02 15:18:08 [debug] 188758#188758: *5 uri changes: 11 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/media" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/debug/list" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/list/([a-f0-9]{64})$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 test location: ~ "^/blob/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 using configuration "^/blob/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http cl:-1 max:104857600 2025/09/02 15:18:08 [debug] 188758#188758: *5 rewrite phase: 3 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script regex: "^(GET|HEAD)$" 2025/09/02 15:18:08 [notice] 188758#188758: *5 "^(GET|HEAD)$" matches "GET", client: 127.0.0.1, server: localhost, request: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1", host: "localhost:9001" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if: false 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script var: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script value: "HEAD" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script equal 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script equal: no 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script if: false 2025/09/02 15:18:08 [debug] 188758#188758: *5 post rewrite phase: 4 2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 5 2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 6 2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 7 2025/09/02 15:18:08 [debug] 188758#188758: *5 access phase: 8 2025/09/02 15:18:08 [debug] 188758#188758: *5 access phase: 9 2025/09/02 15:18:08 [debug] 188758#188758: *5 access phase: 10 2025/09/02 15:18:08 [debug] 188758#188758: *5 post access phase: 11 2025/09/02 15:18:08 [debug] 188758#188758: *5 generic phase: 12 2025/09/02 15:18:08 [debug] 188758#188758: *5 try files handler 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".jpg" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.jpg" "./blobs/GET.jpg" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".jpeg" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.jpeg" "./blobs/GET.jpeg" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".png" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.png" "./blobs/GET.png" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".webp" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.webp" "./blobs/GET.webp" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".gif" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.gif" "./blobs/GET.gif" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".pdf" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.pdf" "./blobs/GET.pdf" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".mp4" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.mp4" "./blobs/GET.mp4" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".mp3" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.mp3" "./blobs/GET.mp3" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".txt" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.txt" "./blobs/GET.txt" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: "/" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script capture: "GET" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http script copy: ".md" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "/GET.md" "./blobs/GET.md" 2025/09/02 15:18:08 [debug] 188758#188758: *5 trying to use file: "=404" "./blobs=404" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http finalize request: 404, "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 15:18:08 [debug] 188758#188758: *5 http special response: 404, "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http set discard body 2025/09/02 15:18:08 [debug] 188758#188758: *5 HTTP/1.1 404 Not Found Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 19:18:08 GMT Content-Type: text/html Content-Length: 162 Connection: keep-alive 2025/09/02 15:18:08 [debug] 188758#188758: *5 write new buf t:1 f:0 000055CAAF708D48, pos 000055CAAF708D48, size: 164 file: 0, size: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter: l:0 f:0 s:164 2025/09/02 15:18:08 [debug] 188758#188758: *5 http output filter "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http copy filter: "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http postpone filter "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 000055CAAF708F38 2025/09/02 15:18:08 [debug] 188758#188758: *5 write old buf t:1 f:0 000055CAAF708D48, pos 000055CAAF708D48, size: 164 file: 0, size: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 write new buf t:0 f:0 0000000000000000, pos 000055CA9F71B580, size: 100 file: 0, size: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 write new buf t:0 f:0 0000000000000000, pos 000055CA9F71BC80, size: 62 file: 0, size: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter: l:1 f:0 s:326 2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter limit 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 writev: 326 of 326 2025/09/02 15:18:08 [debug] 188758#188758: *5 http write filter 0000000000000000 2025/09/02 15:18:08 [debug] 188758#188758: *5 http copy filter: 0 "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:18:08 [debug] 188758#188758: *5 http finalize request: 0, "/blob/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 15:18:08 [debug] 188758#188758: *5 set http keepalive handler 2025/09/02 15:18:08 [debug] 188758#188758: *5 http close request 2025/09/02 15:18:08 [debug] 188758#188758: *5 http log handler 2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF7124A0, unused: 8 2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF708810, unused: 2012 2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF6F40A0 2025/09/02 15:18:08 [debug] 188758#188758: *5 hc free: 0000000000000000 2025/09/02 15:18:08 [debug] 188758#188758: *5 hc busy: 0000000000000000 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 tcp_nodelay 2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 1 2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer add: 6: 65000:94454230 2025/09/02 15:18:08 [debug] 188758#188758: timer delta: 0 2025/09/02 15:18:08 [debug] 188758#188758: worker cycle 2025/09/02 15:18:08 [debug] 188758#188758: epoll timer: 65000 2025/09/02 15:18:08 [debug] 188758#188758: epoll: fd:6 ev:2001 d:000071E17D0631E0 2025/09/02 15:18:08 [debug] 188758#188758: *5 http keepalive handler 2025/09/02 15:18:08 [debug] 188758#188758: *5 malloc: 000055CAAF6F40A0:1024 2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: eof:1, avail:-1 2025/09/02 15:18:08 [debug] 188758#188758: *5 recv: fd:6 0 of 1024 2025/09/02 15:18:08 [info] 188758#188758: *5 client 127.0.0.1 closed keepalive connection 2025/09/02 15:18:08 [debug] 188758#188758: *5 close http connection: 6 2025/09/02 15:18:08 [debug] 188758#188758: *5 event timer del: 6: 94454230 2025/09/02 15:18:08 [debug] 188758#188758: *5 reusable connection: 0 2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF6F40A0 2025/09/02 15:18:08 [debug] 188758#188758: *5 free: 000055CAAF6F1840, unused: 136 2025/09/02 15:18:08 [debug] 188758#188758: timer delta: 1 2025/09/02 15:18:08 [debug] 188758#188758: worker cycle 2025/09/02 15:18:08 [debug] 188758#188758: epoll timer: -1 2025/09/02 15:20:06 [notice] 188757#188757: signal 15 (SIGTERM) received from 189095, exiting 2025/09/02 15:20:06 [debug] 188757#188757: wake up, sigio 0 2025/09/02 15:20:06 [debug] 188757#188757: child: 0 188758 e:0 t:0 d:0 r:1 j:0 2025/09/02 15:20:06 [debug] 188757#188757: termination cycle: 50 2025/09/02 15:20:06 [debug] 188757#188757: sigsuspend 2025/09/02 15:20:06 [debug] 188758#188758: epoll: fd:7 ev:0001 d:000071E17D0630F8 2025/09/02 15:20:06 [debug] 188758#188758: channel handler 2025/09/02 15:20:06 [debug] 188758#188758: channel: 32 2025/09/02 15:20:06 [debug] 188758#188758: channel command: 4 2025/09/02 15:20:06 [debug] 188758#188758: channel: -2 2025/09/02 15:20:06 [debug] 188758#188758: timer delta: 117993 2025/09/02 15:20:06 [notice] 188758#188758: exiting 2025/09/02 15:20:06 [debug] 188758#188758: flush files 2025/09/02 15:20:06 [debug] 188758#188758: run cleanup: 000055CAAF754200 2025/09/02 15:20:06 [debug] 188758#188758: run cleanup: 000055CAAF740CF8 2025/09/02 15:20:06 [debug] 188758#188758: cleanup resolver 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7568A0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF741680 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7145C0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7134B0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70D480 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70C3C0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70B300 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70A240 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF700180 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF6F7150, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF702FF0, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF70E490, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7155D0, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF7195E0, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF71D5F0, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF721600, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF725610, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF729620, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF72D630, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF731640, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF735650, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF739660, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF73D670, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF742850, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF746860, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF74A870, unused: 0 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF74E880, unused: 1 2025/09/02 15:20:06 [debug] 188758#188758: free: 000055CAAF752890, unused: 9848 2025/09/02 15:20:06 [notice] 188758#188758: exit 2025/09/02 15:20:06 [notice] 188757#188757: signal 17 (SIGCHLD) received from 188758 2025/09/02 15:20:06 [notice] 188757#188757: worker process 188758 exited with code 0 2025/09/02 15:20:06 [debug] 188757#188757: shmtx forced unlock 2025/09/02 15:20:06 [debug] 188757#188757: wake up, sigio 3 2025/09/02 15:20:06 [debug] 188757#188757: reap children 2025/09/02 15:20:06 [debug] 188757#188757: child: 0 188758 e:1 t:1 d:0 r:1 j:0 2025/09/02 15:20:06 [notice] 188757#188757: exit 2025/09/02 15:20:06 [debug] 188757#188757: close listening 0.0.0.0:9001 #5 2025/09/02 15:20:06 [debug] 188757#188757: run cleanup: 000055CAAF740CF8 2025/09/02 15:20:06 [debug] 188757#188757: cleanup resolver 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7568A0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF741680 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7145C0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7134B0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70D480 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70C3C0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70B300 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70A240 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF700180 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF6F7150, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF702FF0, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF70E490, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7155D0, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF7195E0, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF71D5F0, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF721600, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF725610, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF729620, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF72D630, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF731640, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF735650, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF739660, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF73D670, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF742850, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF746860, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF74A870, unused: 0 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF74E880, unused: 1 2025/09/02 15:20:06 [debug] 188757#188757: free: 000055CAAF752890, unused: 9879 2025/09/02 15:20:10 [debug] 189130#189130: bind() 0.0.0.0:9001 #5 2025/09/02 15:20:10 [debug] 189130#189130: counter: 000073685E622080, 1 2025/09/02 15:20:10 [debug] 189131#189131: bind() 0.0.0.0:9001 #5 2025/09/02 15:20:10 [notice] 189131#189131: using the "epoll" event method 2025/09/02 15:20:10 [debug] 189131#189131: counter: 000075ADDD54D080, 1 2025/09/02 15:20:10 [notice] 189131#189131: nginx/1.18.0 (Ubuntu) 2025/09/02 15:20:10 [notice] 189131#189131: OS: Linux 6.12.10-76061203-generic 2025/09/02 15:20:10 [notice] 189131#189131: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2025/09/02 15:20:10 [debug] 189132#189131: write: 6, 00007FFDB872F480, 7, 0 2025/09/02 15:20:10 [debug] 189132#189132: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" 2025/09/02 15:20:10 [notice] 189132#189132: start worker processes 2025/09/02 15:20:10 [debug] 189132#189132: channel 6:7 2025/09/02 15:20:10 [notice] 189132#189132: start worker process 189133 2025/09/02 15:20:10 [debug] 189132#189132: sigsuspend 2025/09/02 15:20:10 [debug] 189133#189133: add cleanup: 00005766C87D1280 2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C876FBD0:8 2025/09/02 15:20:10 [debug] 189133#189133: notify eventfd: 9 2025/09/02 15:20:10 [debug] 189133#189133: testing the EPOLLRDHUP flag: success 2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C8784010:6144 2025/09/02 15:20:10 [debug] 189133#189133: malloc: 000075ADDD345010:237568 2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C87D5180:98304 2025/09/02 15:20:10 [debug] 189133#189133: malloc: 00005766C87ED190:98304 2025/09/02 15:20:10 [debug] 189133#189133: epoll add event: fd:5 op:1 ev:00002001 2025/09/02 15:20:10 [debug] 189133#189133: epoll add event: fd:7 op:1 ev:00002001 2025/09/02 15:20:10 [debug] 189133#189133: setproctitle: "nginx: worker process" 2025/09/02 15:20:10 [debug] 189133#189133: worker cycle 2025/09/02 15:20:10 [debug] 189133#189133: epoll timer: -1 2025/09/02 15:20:15 [debug] 189133#189133: epoll: fd:5 ev:0001 d:000075ADDD345010 2025/09/02 15:20:15 [debug] 189133#189133: accept on 0.0.0.0:9001, ready: 0 2025/09/02 15:20:15 [debug] 189133#189133: posix_memalign: 00005766C876E840:512 @16 2025/09/02 15:20:15 [debug] 189133#189133: *1 accept: 127.0.0.1:37186 fd:6 2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer add: 6: 60000:94576207 2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 1 2025/09/02 15:20:15 [debug] 189133#189133: *1 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 15:20:15 [debug] 189133#189133: timer delta: 5769 2025/09/02 15:20:15 [debug] 189133#189133: worker cycle 2025/09/02 15:20:15 [debug] 189133#189133: epoll timer: 60000 2025/09/02 15:20:15 [debug] 189133#189133: epoll: fd:6 ev:0001 d:000075ADDD3451E0 2025/09/02 15:20:15 [debug] 189133#189133: *1 http wait request handler 2025/09/02 15:20:15 [debug] 189133#189133: *1 malloc: 00005766C87710A0:1024 2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: eof:0, avail:-1 2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: fd:6 146 of 1024 2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 posix_memalign: 00005766C878F4B0:4096 @16 2025/09/02 15:20:15 [debug] 189133#189133: *1 http process request line 2025/09/02 15:20:15 [debug] 189133#189133: *1 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http args: "" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http exten: "txt" 2025/09/02 15:20:15 [debug] 189133#189133: *1 posix_memalign: 00005766C8785820:4096 @16 2025/09/02 15:20:15 [debug] 189133#189133: *1 http process request header line 2025/09/02 15:20:15 [debug] 189133#189133: *1 http header: "Host: localhost:9001" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http header: "User-Agent: curl/8.15.0" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http header: "Accept: */*" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http header done 2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer del: 6: 94576207 2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 rewrite phase: 1 2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: "/media" 2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: "/debug/list" 2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: "/health" 2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: ~ "^/list/([a-f0-9]{64})$" 2025/09/02 15:20:15 [debug] 189133#189133: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:20:15 [debug] 189133#189133: *1 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http cl:-1 max:104857600 2025/09/02 15:20:15 [debug] 189133#189133: *1 rewrite phase: 3 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var: "GET" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script value: "DELETE" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal: no 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if: false 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var: "GET" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script value: "HEAD" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script equal: no 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if: false 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script var: "GET" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script value: "GET" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script not equal 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script not equal: no 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script if: false 2025/09/02 15:20:15 [debug] 189133#189133: *1 post rewrite phase: 4 2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 5 2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 6 2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 7 2025/09/02 15:20:15 [debug] 189133#189133: *1 access phase: 8 2025/09/02 15:20:15 [debug] 189133#189133: *1 access phase: 9 2025/09/02 15:20:15 [debug] 189133#189133: *1 access phase: 10 2025/09/02 15:20:15 [debug] 189133#189133: *1 post access phase: 11 2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 12 2025/09/02 15:20:15 [debug] 189133#189133: *1 try files handler 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script copy: "/" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script capture: "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http script copy: ".txt" 2025/09/02 15:20:15 [debug] 189133#189133: *1 trying to use file: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:15 [debug] 189133#189133: *1 try file uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:15 [debug] 189133#189133: *1 generic phase: 13 2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 14 2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 15 2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 16 2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 17 2025/09/02 15:20:15 [debug] 189133#189133: *1 content phase: 18 2025/09/02 15:20:15 [debug] 189133#189133: *1 http filename: "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:15 [debug] 189133#189133: *1 add cleanup: 00005766C8785C00 2025/09/02 15:20:15 [debug] 189133#189133: *1 http static fd: 10 2025/09/02 15:20:15 [debug] 189133#189133: *1 http set discard body 2025/09/02 15:20:15 [debug] 189133#189133: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 19:20:15 GMT Content-Type: text/plain Content-Length: 296 Last-Modified: Tue, 02 Sep 2025 17:59:11 GMT Connection: keep-alive ETag: "68b7306f-128" Cache-Control: public, max-age=31536000, immutable Accept-Ranges: bytes 2025/09/02 15:20:15 [debug] 189133#189133: *1 write new buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter: l:0 f:0 s:300 2025/09/02 15:20:15 [debug] 189133#189133: *1 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00007FFDB872EFB0 2025/09/02 15:20:15 [debug] 189133#189133: *1 write old buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 296 2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter: l:1 f:0 s:596 2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter limit 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 tcp_nopush 2025/09/02 15:20:15 [debug] 189133#189133: *1 writev: 300 of 300 2025/09/02 15:20:15 [debug] 189133#189133: *1 sendfile: @0 296 2025/09/02 15:20:15 [debug] 189133#189133: *1 sendfile: 296 of 296 @0 2025/09/02 15:20:15 [debug] 189133#189133: *1 http write filter 0000000000000000 2025/09/02 15:20:15 [debug] 189133#189133: *1 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:20:15 [debug] 189133#189133: *1 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 15:20:15 [debug] 189133#189133: *1 set http keepalive handler 2025/09/02 15:20:15 [debug] 189133#189133: *1 http close request 2025/09/02 15:20:15 [debug] 189133#189133: *1 http log handler 2025/09/02 15:20:15 [debug] 189133#189133: *1 run cleanup: 00005766C8785C00 2025/09/02 15:20:15 [debug] 189133#189133: *1 file cleanup: fd:10 2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C878F4B0, unused: 5 2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C8785820, unused: 1932 2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C87710A0 2025/09/02 15:20:15 [debug] 189133#189133: *1 hc free: 0000000000000000 2025/09/02 15:20:15 [debug] 189133#189133: *1 hc busy: 0000000000000000 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 1 2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer add: 6: 65000:94581208 2025/09/02 15:20:15 [debug] 189133#189133: timer delta: 1 2025/09/02 15:20:15 [debug] 189133#189133: worker cycle 2025/09/02 15:20:15 [debug] 189133#189133: epoll timer: 65000 2025/09/02 15:20:15 [debug] 189133#189133: epoll: fd:6 ev:2001 d:000075ADDD3451E0 2025/09/02 15:20:15 [debug] 189133#189133: *1 http keepalive handler 2025/09/02 15:20:15 [debug] 189133#189133: *1 malloc: 00005766C87710A0:1024 2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: eof:1, avail:-1 2025/09/02 15:20:15 [debug] 189133#189133: *1 recv: fd:6 0 of 1024 2025/09/02 15:20:15 [info] 189133#189133: *1 client 127.0.0.1 closed keepalive connection 2025/09/02 15:20:15 [debug] 189133#189133: *1 close http connection: 6 2025/09/02 15:20:15 [debug] 189133#189133: *1 event timer del: 6: 94581208 2025/09/02 15:20:15 [debug] 189133#189133: *1 reusable connection: 0 2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C87710A0 2025/09/02 15:20:15 [debug] 189133#189133: *1 free: 00005766C876E840, unused: 136 2025/09/02 15:20:15 [debug] 189133#189133: timer delta: 1 2025/09/02 15:20:15 [debug] 189133#189133: worker cycle 2025/09/02 15:20:15 [debug] 189133#189133: epoll timer: -1 2025/09/02 15:20:49 [debug] 189133#189133: epoll: fd:5 ev:0001 d:000075ADDD345010 2025/09/02 15:20:49 [debug] 189133#189133: accept on 0.0.0.0:9001, ready: 0 2025/09/02 15:20:49 [debug] 189133#189133: posix_memalign: 00005766C876E840:512 @16 2025/09/02 15:20:49 [debug] 189133#189133: *2 accept: 127.0.0.1:55678 fd:6 2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer add: 6: 60000:94609499 2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 1 2025/09/02 15:20:49 [debug] 189133#189133: *2 epoll add event: fd:6 op:1 ev:80002001 2025/09/02 15:20:49 [debug] 189133#189133: timer delta: 33290 2025/09/02 15:20:49 [debug] 189133#189133: worker cycle 2025/09/02 15:20:49 [debug] 189133#189133: epoll timer: 60000 2025/09/02 15:20:49 [debug] 189133#189133: epoll: fd:6 ev:0001 d:000075ADDD3451E1 2025/09/02 15:20:49 [debug] 189133#189133: *2 http wait request handler 2025/09/02 15:20:49 [debug] 189133#189133: *2 malloc: 00005766C87710A0:1024 2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: eof:0, avail:-1 2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: fd:6 142 of 1024 2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 posix_memalign: 00005766C878F4B0:4096 @16 2025/09/02 15:20:49 [debug] 189133#189133: *2 http process request line 2025/09/02 15:20:49 [debug] 189133#189133: *2 http request line: "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http args: "" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http exten: "" 2025/09/02 15:20:49 [debug] 189133#189133: *2 posix_memalign: 00005766C8785820:4096 @16 2025/09/02 15:20:49 [debug] 189133#189133: *2 http process request header line 2025/09/02 15:20:49 [debug] 189133#189133: *2 http header: "Host: localhost:9001" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http header: "User-Agent: curl/8.15.0" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http header: "Accept: */*" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http header done 2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer del: 6: 94609499 2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 rewrite phase: 1 2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: "/media" 2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: "/debug/list" 2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: "/health" 2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: ~ "^/list/([a-f0-9]{64})$" 2025/09/02 15:20:49 [debug] 189133#189133: *2 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:20:49 [debug] 189133#189133: *2 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http cl:-1 max:104857600 2025/09/02 15:20:49 [debug] 189133#189133: *2 rewrite phase: 3 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var: "GET" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script value: "DELETE" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal: no 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if: false 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var: "GET" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script value: "HEAD" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script equal: no 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if: false 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script var: "GET" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script value: "GET" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script not equal 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script not equal: no 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script if: false 2025/09/02 15:20:49 [debug] 189133#189133: *2 post rewrite phase: 4 2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 5 2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 6 2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 7 2025/09/02 15:20:49 [debug] 189133#189133: *2 access phase: 8 2025/09/02 15:20:49 [debug] 189133#189133: *2 access phase: 9 2025/09/02 15:20:49 [debug] 189133#189133: *2 access phase: 10 2025/09/02 15:20:49 [debug] 189133#189133: *2 post access phase: 11 2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 12 2025/09/02 15:20:49 [debug] 189133#189133: *2 try files handler 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script copy: "/" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script capture: "e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http script copy: ".txt" 2025/09/02 15:20:49 [debug] 189133#189133: *2 trying to use file: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:49 [debug] 189133#189133: *2 try file uri: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:49 [debug] 189133#189133: *2 generic phase: 13 2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 14 2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 15 2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 16 2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 17 2025/09/02 15:20:49 [debug] 189133#189133: *2 content phase: 18 2025/09/02 15:20:49 [debug] 189133#189133: *2 http filename: "./blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt" 2025/09/02 15:20:49 [debug] 189133#189133: *2 add cleanup: 00005766C8785C00 2025/09/02 15:20:49 [debug] 189133#189133: *2 http static fd: 10 2025/09/02 15:20:49 [debug] 189133#189133: *2 http set discard body 2025/09/02 15:20:49 [debug] 189133#189133: *2 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) Date: Tue, 02 Sep 2025 19:20:49 GMT Content-Type: text/plain Content-Length: 296 Last-Modified: Tue, 02 Sep 2025 17:59:11 GMT Connection: keep-alive ETag: "68b7306f-128" Cache-Control: public, max-age=31536000, immutable Accept-Ranges: bytes 2025/09/02 15:20:49 [debug] 189133#189133: *2 write new buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter: l:0 f:0 s:300 2025/09/02 15:20:49 [debug] 189133#189133: *2 http output filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http copy filter: "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http postpone filter "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 00007FFDB872EFB0 2025/09/02 15:20:49 [debug] 189133#189133: *2 write old buf t:1 f:0 00005766C8785DF0, pos 00005766C8785DF0, size: 300 file: 0, size: 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 296 2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter: l:1 f:0 s:596 2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter limit 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 tcp_nopush 2025/09/02 15:20:49 [debug] 189133#189133: *2 writev: 300 of 300 2025/09/02 15:20:49 [debug] 189133#189133: *2 sendfile: @0 296 2025/09/02 15:20:49 [debug] 189133#189133: *2 sendfile: 296 of 296 @0 2025/09/02 15:20:49 [debug] 189133#189133: *2 http write filter 0000000000000000 2025/09/02 15:20:49 [debug] 189133#189133: *2 http copy filter: 0 "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" 2025/09/02 15:20:49 [debug] 189133#189133: *2 http finalize request: 0, "/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt?" a:1, c:1 2025/09/02 15:20:49 [debug] 189133#189133: *2 set http keepalive handler 2025/09/02 15:20:49 [debug] 189133#189133: *2 http close request 2025/09/02 15:20:49 [debug] 189133#189133: *2 http log handler 2025/09/02 15:20:49 [debug] 189133#189133: *2 run cleanup: 00005766C8785C00 2025/09/02 15:20:49 [debug] 189133#189133: *2 file cleanup: fd:10 2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C878F4B0, unused: 5 2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C8785820, unused: 1936 2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C87710A0 2025/09/02 15:20:49 [debug] 189133#189133: *2 hc free: 0000000000000000 2025/09/02 15:20:49 [debug] 189133#189133: *2 hc busy: 0000000000000000 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 1 2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer add: 6: 65000:94614499 2025/09/02 15:20:49 [debug] 189133#189133: timer delta: 0 2025/09/02 15:20:49 [debug] 189133#189133: worker cycle 2025/09/02 15:20:49 [debug] 189133#189133: epoll timer: 65000 2025/09/02 15:20:49 [debug] 189133#189133: epoll: fd:6 ev:2001 d:000075ADDD3451E1 2025/09/02 15:20:49 [debug] 189133#189133: *2 http keepalive handler 2025/09/02 15:20:49 [debug] 189133#189133: *2 malloc: 00005766C87710A0:1024 2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: eof:1, avail:-1 2025/09/02 15:20:49 [debug] 189133#189133: *2 recv: fd:6 0 of 1024 2025/09/02 15:20:49 [info] 189133#189133: *2 client 127.0.0.1 closed keepalive connection 2025/09/02 15:20:49 [debug] 189133#189133: *2 close http connection: 6 2025/09/02 15:20:49 [debug] 189133#189133: *2 event timer del: 6: 94614499 2025/09/02 15:20:49 [debug] 189133#189133: *2 reusable connection: 0 2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C87710A0 2025/09/02 15:20:49 [debug] 189133#189133: *2 free: 00005766C876E840, unused: 136 2025/09/02 15:20:49 [debug] 189133#189133: timer delta: 1 2025/09/02 15:20:49 [debug] 189133#189133: worker cycle 2025/09/02 15:20:49 [debug] 189133#189133: epoll timer: -1