diff --git a/.gitignore b/.gitignore index 6d98ab9..12d5b12 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ blossom/ logs/ nostr_core_lib/ +blobs/ + diff --git a/IMPLEMENTATION.md b/IMPLEMENTATION.md index 99f3721..4c8af50 100644 --- a/IMPLEMENTATION.md +++ b/IMPLEMENTATION.md @@ -1,514 +1,170 @@ -# Ginxsom Blossom Server Implementation Checklist +# Ginxsom Blossom Server Implementation Status -This document outlines the implementation plan for ginxsom, a FastCGI-based Blossom server designed to work with nginx for optimal performance. +This document tracks the implementation status of ginxsom, a high-performance FastCGI-based Blossom server designed to work with nginx. ## Architecture Overview - **nginx**: Handles static file serving (GET /) for maximum performance - **FastCGI Application**: Handles authenticated operations, metadata queries, uploads - **SQLite Database**: Stores blob metadata and server configuration -- **File Storage**: Flat directory structure initially, hierarchical optimization later +- **File Storage**: Flat directory structure in `blobs/` directory --- -## Phase 1: Basic File Serving & Retrieval (BUD-01) +## BUD-01: Blob Retrieval ✅ **COMPLETE** -### 1.1 Infrastructure Setup -- [x] Create basic directory structure - - [x] Create `blobs/` directory for file storage - - [x] Create `db/` directory for SQLite database - - [x] Create `logs/` directory for application logs - - [x] Set up proper permissions (nginx readable, app writable) +### Infrastructure & Database +- [x] Create directory structure (`blobs/`, `db/`, `logs/`) +- [x] SQLite schema with `blobs` table (sha256, size, type, uploaded_at, uploader_pubkey, filename) +- [x] Database initialization scripts and proper indexes -### 1.2 Database Schema -- [x] Design SQLite schema for blob metadata - - [x] `blobs` table: sha256, size, type, uploaded_at, uploader_pubkey, filename - - [x] `server_config` table: key-value pairs for server settings - - [x] Create database initialization script - - [x] Add proper indexes on sha256 hash +### GET / Endpoint +- [x] nginx static file serving with extension support (.txt, .jpg, .png, etc.) +- [x] Extension fallback via `try_files` directive +- [x] Proper MIME type detection and headers +- [x] Cache headers (Cache-Control, immutable) +- [x] 404 handling for missing blobs -### 1.3 nginx Configuration -- [x] Configure nginx for static file serving - - [x] Set up location block for `GET /` pattern with extension support - - [x] Configure try_files directive for multiple extension fallbacks - - [x] Configure proper MIME type detection - - [x] Add proper headers (Cache-Control, ETag, etc.) - - [x] Handle 404s gracefully when blob doesn't exist - - [x] Configure FastCGI pass-through for HEAD and non-GET requests +### HEAD / Endpoint +- [x] FastCGI metadata handler +- [x] Database metadata queries +- [x] Proper HTTP headers (Content-Type, Content-Length) +- [x] SHA-256 extraction from URL paths +- [x] 404 responses for missing blobs -**Future Enhancement Note**: Consider implementing nginx Lua extension for true Blossom compliance with dynamic file discovery. The current approach uses explicit extension lists in `try_files`, which works well for common extensions but may not serve files with unusual extensions. Lua module would allow runtime directory scanning for hash-matching files regardless of extension. - -### 1.4 Basic HEAD Endpoint -- [x] Implement FastCGI handler for `HEAD /` - - [x] Query database for blob metadata (single source of truth) - - [x] Extract SHA-256 from URL (strip extensions) - - [x] Return proper headers (Content-Type, Content-Length, etc.) - - [x] Return 404 if blob doesn't exist in database - - [x] Add server timing headers for debugging - -### 1.5 Testing & Validation -- [x] Create test blobs with known SHA-256 hashes -- [x] Verify nginx serves files correctly with extension support -- [x] Verify HEAD requests return proper metadata -- [x] Test with missing files (404 responses) -- [x] Test HEAD requests with and without extensions -- [ ] Performance test with large files +### Testing Status +- [x] File serving works with all supported extensions +- [x] HEAD requests return correct metadata +- [x] 404 responses for missing files +- [ ] Performance testing with large files --- -## Phase 2: Upload & Authentication (BUD-02) +## BUD-02: File Upload & Authentication ✅ **COMPLETE** -### 2.1 Nostr Authentication Setup -- [x] Integrate nostr_core_lib submodule - - [x] Update Makefile to include nostr_core_lib paths and static library - - [x] Build libnostr_core_x64.a using provided build.sh script - - [x] Add system dependencies: -lsecp256k1 -lssl -lcrypto -lcurl -lz -ldl -lpthread -lm +### Nostr Authentication System +- [x] nostr_core_lib integration and compilation +- [x] secp256k1 context initialization (CRITICAL BUG FIXED) +- [x] Authentication functions: + - [x] `parse_authorization_header()` - Extract JSON from "Nostr base64(event)" + - [x] `validate_blossom_event()` - Validate kind 24242 events + - [x] `authenticate_request()` - Main authentication orchestrator +- [x] Enhanced error handling with specific error types (event_expired, invalid_signature, etc.) +- [x] API refactoring - upgraded from low-level crypto to `nostr_crypto_init()` API -- [x] Implement authentication functions in main.c (BUD-02 section): - - [x] `parse_authorization_header()` - Extract JSON from "Nostr base64(event)" header - - [x] `validate_blossom_event()` - Validate Blossom-specific requirements (kind 24242, content hash, method, expiration) - - [x] `authenticate_request()` - Main orchestrator function - -- [x] Leverage existing nostr_core_lib functions: - - [x] Use `nostr_validate_event()` for structure + signature validation (from nip001.h) - - [x] Use standardized error codes from nostr_common.h (NOSTR_SUCCESS, NOSTR_ERROR_EVENT_INVALID_SIGNATURE, etc.) - - [x] Use `nostr_strerror()` for error message translation - -### 2.2 Upload Endpoint Implementation -- [x] Implement `PUT /upload` endpoint - - [x] Parse Authorization header (Nostr base64 event extraction) - - [x] Stream file upload to temporary location - - [x] Calculate SHA-256 hash during upload - - [x] Validate hash matches authorization if provided - - [x] Move file to permanent location - - [x] Store metadata in database (including uploader_pubkey and filename) - - [x] Return blob descriptor JSON response - -### 2.3 Blob Descriptor Response -- [x] Implement blob descriptor structure - - [x] Required fields: url, sha256, size, type, uploaded - - [x] Handle MIME type detection - - [x] Generate proper blob URLs - - [x] Add optional server-specific fields (uploader_pubkey, filename) - -### 2.4 Error Handling -- [x] Implement proper HTTP status codes - - [x] 400 Bad Request for invalid data - - [x] 401 Unauthorized for auth failures - - [x] 409 Conflict for hash mismatches - - [x] 413 Payload Too Large for size limits - - [x] 500 Internal Server Error for system issues -- [x] Add detailed error messages -- [x] Implement request logging - -### 2.5 List Blobs Endpoint -- [x] Implement `GET /list/` endpoint - - [x] Extract pubkey from URL path - - [x] Query database for blobs uploaded by specified pubkey - - [x] Support `since` and `until` query parameters for date filtering - - [x] Return JSON array of blob descriptors - - [x] Handle empty results gracefully - - [x] Implement optional authorization with kind 24242 event validation - - [x] Validate `t` tag is set to "list" - - [x] Check authorization expiration - - [x] Verify event signature and structure - -### 2.6 Delete Blob Endpoint -- [x] Implement `DELETE /` endpoint - - [x] Extract SHA-256 hash from URL path - - [x] Require authorization with kind 24242 event validation - - [x] Validate `t` tag is set to "delete" - - [x] Verify at least one `x` tag matches the requested hash - - [x] Check authorization expiration - - [x] Verify event signature and structure - - [x] Check blob exists in database - - [x] Verify uploader_pubkey matches authorized pubkey (ownership check) - - [x] Remove blob file from filesystem - - [x] Remove blob metadata from database - - [x] Handle file deletion errors gracefully - - [x] Return appropriate success/error responses - -### 2.7 Testing & Validation -- [x] Test uploads without authentication -- [x] Test uploads with valid nostr auth ✅ **WORKING** (HTTP 200 success) -- [x] Test uploads with invalid auth ✅ **WORKING** (proper error responses with specific error types) -- [x] Test hash mismatch scenarios ✅ **WORKING** (409 Conflict responses) -- [ ] Test file size limits -- [x] Verify blob descriptors are correct -- [x] Verify database metadata storage (uploader_pubkey and filename) - ---- - -## Phase 3: Upload Requirements (BUD-06) - -### 3.1 Upload Policy Configuration -- [ ] Add server configuration options - - [ ] Maximum file size limits - - [ ] Allowed MIME types - - [ ] Authentication requirements - - [ ] Rate limiting settings - - [ ] Storage quota limits - - [ ] Hash-based banning/filtering - -### 3.2 HEAD /upload Endpoint Implementation -- [ ] Implement `HEAD /upload` endpoint for pre-flight upload validation - - [ ] Parse client headers: - - [ ] `X-SHA-256`: blob's SHA-256 hash - - [ ] `X-Content-Length`: blob size in bytes - - [ ] `X-Content-Type`: blob's MIME type - - [ ] Handle optional Authorization header (same as PUT /upload) - - [ ] Perform validation checks without file transfer: - - [ ] Validate SHA-256 format - - [ ] Check file size against limits - - [ ] Validate MIME type restrictions - - [ ] Check authentication if required - - [ ] Check if hash already exists (duplicate detection) - - [ ] Check if hash is banned - - [ ] Return appropriate HTTP status codes: - - [ ] `200 OK` - upload can proceed - - [ ] `400 Bad Request` - invalid headers - - [ ] `401 Unauthorized` - auth required - - [ ] `403 Forbidden` - not permitted (banned hash, etc.) - - [ ] `411 Length Required` - missing content length - - [ ] `413 Content Too Large` - file too large - - [ ] `415 Unsupported Media Type` - invalid MIME type - - [ ] Add `X-Reason` header with human-readable error messages - -### 3.3 Upload Pre-validation Logic -- [ ] Create validation functions that can be shared between HEAD and PUT endpoints - - [ ] `validate_upload_headers()` - check required headers present and valid - - [ ] `check_file_size_limits()` - enforce maximum size restrictions - - [ ] `check_mime_type_allowed()` - validate against allowed types list - - [ ] `check_hash_restrictions()` - check banned hashes, duplicates - - [ ] `check_upload_permissions()` - user-specific upload rights - -### 3.4 DOS Protection Benefits -- [ ] Implement early rejection before file transfer: - - [ ] Authentication happens before any file data sent - - [ ] Size validation prevents large file uploads that would be rejected - - [ ] MIME type checking prevents unwanted file types - - [ ] Hash checking prevents duplicate uploads -- [ ] Update PUT /upload to use same validation functions for consistency - -### 3.5 Client Integration Support -- [ ] Update nginx configuration to properly handle HEAD requests to /upload -- [ ] Ensure FastCGI handles HEAD method for /upload endpoint -- [ ] Add CORS headers for preflight requests - -### 3.6 Testing & Validation -- [ ] Test HEAD /upload with valid headers -- [ ] Test various error scenarios (missing headers, invalid formats) -- [ ] Test authorization requirements -- [ ] Test policy enforcement (size limits, MIME types, banned hashes) -- [ ] Verify error responses match BUD-06 specification -- [ ] Test client workflow: HEAD check → PUT upload -- [ ] Verify DOS protection effectiveness - ---- - -## Phase 4: Advanced Authentication & Administration System - -### 4.1 Flexible Authentication Rules System - -#### 4.1.1 Database Schema Extension -- [ ] Create authentication rules tables - - [ ] `auth_rules` table: rule_type, rule_target, operation, rule_value, enabled, expires_at - - [ ] `auth_cache` table: performance caching for rule evaluation results - - [ ] Add indexes on rule_type, rule_target, operation for performance - -#### 4.1.2 Authentication Rule Types Implementation -- [ ] Basic rule types: - - [ ] `pubkey_whitelist`: Only specific pubkeys allowed - - [ ] `pubkey_blacklist`: Specific pubkeys banned - - [ ] `hash_blacklist`: Specific file hashes cannot be uploaded - - [ ] `mime_type_whitelist`: Only specific content types allowed - - [ ] `mime_type_blacklist`: Specific content types banned -- [ ] Advanced rule types: - - [ ] `rate_limit`: Limit operations per pubkey/IP per time period - - [ ] `size_limit`: Per-pubkey or global size limits - - [ ] `conditional`: Complex JSON-based rules (time-based, size-based, etc.) - -#### 4.1.3 Rule Evaluation Engine -- [ ] Core authentication functions: - - [ ] `evaluate_auth_rules()`: Main rule evaluation with caching - - [ ] `check_rule_cache()`: Performance optimization layer - - [ ] `process_rule_priority()`: Handle rule precedence and conflicts - - [ ] `update_auth_cache()`: Store evaluation results for reuse -- [ ] Integration points: - - [ ] Extend `handle_upload_request()` with rule evaluation - - [ ] Extend `handle_delete_request()` with rule evaluation - - [ ] Extend `handle_list_request()` with rule evaluation (optional) - -#### 4.1.4 Rule Management Interface -- [ ] SQL-based rule management: - - [ ] `add_auth_rule()`: Add new authentication rules - - [ ] `remove_auth_rule()`: Remove rules by ID - - [ ] `list_auth_rules()`: Query existing rules with filters - - [ ] `update_auth_rule()`: Modify existing rule parameters - -### 4.2 Nostr-Native Administrative Interface - -#### 4.2.1 Server Identity Management -- [ ] Server keypair generation and storage: - - [ ] Generate server public/private keypair on first run - - [ ] Store server pubkey in `server_config` table - - [ ] Secure private key storage (encrypted file or environment) - - [ ] Key rotation capabilities for security - -#### 4.2.2 Administrator Management System -- [ ] Administrator database schema: - - [ ] `administrators` table: pubkey, permissions, added_by, expires_at - - [ ] Permission levels: rules, config, users, stats, * (full access) - - [ ] Initial admin setup during server deployment -- [ ] Administrative functions: - - [ ] `check_admin_permissions()`: Verify admin authorization - - [ ] `add_administrator()`: Grant admin privileges - - [ ] `remove_administrator()`: Revoke admin privileges - - [ ] `list_administrators()`: Query admin list with permissions - -#### 4.2.3 Administrative Event Types -- [ ] Event kind definitions: - - [ ] Kind 30242: Administrative commands (rule_add, rule_remove, config_set, etc.) - - [ ] Kind 30243: Administrative queries (stats_get, rule_list, audit_log, etc.) - - [ ] Kind 30244: Administrative responses (command results, query data) -- [ ] Command implementations: - - [ ] Rule management: `rule_add`, `rule_remove`, `rule_update`, `rule_list` - - [ ] System management: `config_set`, `config_get`, `admin_add`, `admin_remove` - - [ ] Query operations: `stats_get`, `blob_list`, `audit_log`, `storage_cleanup` - -#### 4.2.4 Administrative Event Processing -- [ ] HTTP administrative endpoint: - - [ ] `POST /admin` with nostr event authorization - - [ ] JSON command interface with parameter validation - - [ ] Synchronous response with operation results -- [ ] Direct nostr relay integration (future enhancement): - - [ ] Subscribe to administrative events on configured relays - - [ ] Real-time event processing and response - - [ ] Publish response events back to relays - -#### 4.2.5 Administrative Audit Trail -- [ ] Administrative logging system: - - [ ] `admin_log` table: track all administrative actions - - [ ] Event ID references for nostr event traceability - - [ ] Success/failure tracking with detailed error messages - - [ ] Audit query capabilities for compliance - -#### 4.2.6 Security & Permission Framework -- [ ] Multi-level permission system: - - [ ] Granular permissions: rules, config, users, stats - - [ ] Permission inheritance and delegation - - [ ] Time-limited administrative access (expires_at) -- [ ] Authentication security: - - [ ] Strong nostr signature validation - - [ ] Administrator authorization chain verification - - [ ] Command-specific permission checks - - [ ] Rate limiting for administrative operations - -### 4.3 Integration & Testing -- [ ] Authentication system integration: - - [ ] Integrate rule evaluation into existing authentication flow - - [ ] Maintain backward compatibility with nostr-only authentication - - [ ] Performance testing with rule caching -- [ ] Administrative system testing: - - [ ] Test all administrative commands and queries - - [ ] Verify permission enforcement and security - - [ ] Test audit logging and compliance features - - [ ] Load testing for administrative operations - ---- - -## Phase 5: Optional Features ---- - -## Phase 5: Optional Features - -### 4.1 User Server Lists (BUD-03) - Optional -- [ ] Implement server list advertisement -- [ ] Handle kind:10063 events -- [ ] Create server discovery endpoint -- [ ] Test client fallback scenarios - -### 4.2 Blob Mirroring (BUD-04) - Optional -- [ ] Implement `PUT /mirror` endpoint -- [ ] Add URL downloading capability -- [ ] Implement hash verification -- [ ] Handle authorization for mirroring -- [ ] Test inter-server mirroring - -### 4.3 Media Optimization (BUD-05) - Optional -- [ ] Implement `PUT /media` endpoint -- [ ] Add media processing libraries -- [ ] Implement optimization algorithms -- [ ] Handle various media formats -- [ ] Test optimization pipeline - -### 4.4 Payment Integration (BUD-07) - Optional -- [ ] Implement 402 Payment Required responses -- [ ] Add Lightning payment support -- [ ] Add Cashu payment support -- [ ] Implement payment verification -- [ ] Test payment flows - -### 4.5 NIP-94 Metadata (BUD-08) - Optional -- [ ] Add NIP-94 tag generation -- [ ] Extend blob descriptor responses -- [ ] Generate magnet links if supported -- [ ] Test metadata compatibility - -### 4.6 Blob Reporting (BUD-09) - Optional -- [ ] Implement `PUT /report` endpoint -- [ ] Handle NIP-56 report events -- [ ] Add moderation interface -- [ ] Implement content filtering -- [ ] Test reporting workflow - ---- - -## Development Milestones - -### Milestone 1: Basic Functionality (Phase 1 Complete) -- [x] nginx serves files by hash with extension support -- [x] HEAD requests return metadata from database -- [x] Database stores blob information with proper schema - -### Milestone 2: Full Upload Support (Phase 2 Pending) -- [x] Basic upload functionality working (PUT requests accepted) +### PUT /upload Endpoint +- [x] Authorization header parsing and validation +- [x] File upload streaming to temporary location - [x] SHA-256 hash calculation during upload -- [x] File storage to blobs/ directory +- [x] Hash validation against authorization +- [x] File permissions (644) for nginx serving +- [x] Database metadata storage (uploader_pubkey, filename) - [x] Blob descriptor JSON response -- [x] Authenticated uploads working (Nostr kind 24242 event validation) -- [x] Proper error handling for upload scenarios -- [x] Database metadata storage during upload (with uploader_pubkey and filename) -- [x] List blobs endpoint implemented (GET /list/) -- [x] Delete blob endpoint implemented (DELETE /) -### Milestone 3: Policy Compliance (Phase 3 Pending) -- [ ] Upload requirements implemented -- [ ] Server policies configurable -- [ ] Spec compliance verified +### GET /list/ Endpoint +- [x] Extract pubkey from URL path +- [x] Database queries for user's blobs +- [x] Optional authorization with kind 24242 event validation +- [x] Support for `since`/`until` query parameters +- [x] JSON array responses with blob descriptors -### Milestone 4: Advanced Authentication (Phase 4 Complete) -- [ ] Flexible authentication rules system operational -- [ ] Nostr-native administrative interface implemented -- [ ] Rule evaluation engine with caching performance -- [ ] Administrative audit trail and compliance features +### DELETE / Endpoint +- [x] SHA-256 extraction from URL +- [x] Required authorization with kind 24242 validation +- [x] Ownership verification (uploader_pubkey matching) +- [x] File and database cleanup +- [x] Proper error handling for missing files -### Milestone 5: Production Ready (Phase 5 Complete) -- Optional features implemented as needed -- Performance optimized -- Security hardened -- Documentation complete +### Testing Status +- [x] Upload with valid nostr authentication (HTTP 200) +- [x] Upload without authentication (proper error responses) +- [x] Hash mismatch validation (409 Conflict) +- [x] List endpoint returns proper JSON +- [x] Delete endpoint with ownership checks +- [x] File retrieval after upload working +- [ ] File size limit testing --- -## Testing Strategy +## BUD-03: Server List (User Server Lists) ⚪ **FOR CLIENTS, NOT SERVERS** -### Unit Tests -- [ ] Authentication validation functions -- [ ] SHA-256 hash calculation -- [ ] Database operations -- [ ] Configuration parsing +## BUD-04: Blob Mirroring ⚪ **PARTIAL** -### Integration Tests -- [ ] nginx + FastCGI integration -- [ ] End-to-end upload/download flows -- [ ] Error scenario handling -- [ ] Multi-client concurrent access - -### Performance Tests -- [ ] Large file uploads/downloads -- [ ] Concurrent request handling -- [ ] Database query performance -- [ ] Memory usage optimization - -### Compliance Tests -- [ ] Blossom protocol compliance -- [ ] Nostr event validation -- [ ] HTTP specification compliance -- [ ] Security best practices +### Current Status +- [x] nginx endpoint configured (`PUT /mirror`) +- [x] FastCGI routing established +- [ ] URL downloading implementation +- [ ] Hash verification after download +- [ ] Authorization handling for mirroring +- [ ] Inter-server mirroring testing --- -## Future Improvements +## BUD-05: Media Optimization ⚪ **PARTIAL** -### Upload Security & Performance Enhancements - -**Current Issue**: The existing upload flow has a DOS vulnerability where large files are loaded entirely into memory before authentication occurs. This allows unauthenticated attackers to exhaust server memory. - -**Current Flow**: -``` -Client → nginx → FastCGI ginxsom - ├─ reads entire file into memory (malloc + fread) - ├─ validates auth (after file in memory) - └─ saves to blobs/ or errors -``` - -**Proposed Solution - nginx Upload Module**: -``` -Client → nginx upload module → temp file → FastCGI ginxsom - ├─ saves to /tmp/uploads/ ├─ validates auth quickly - └─ passes metadata only ├─ moves file to blobs/ - └─ or deletes temp file -``` - -**Benefits**: -- Eliminates DOS vulnerability - nginx handles large files efficiently -- Fast auth validation - no waiting for full upload -- Leverages nginx strengths - what it's designed for -- Better scalability - memory usage independent of file size - -**Implementation Requirements**: -- nginx upload module configuration -- Temp file cleanup handling -- Modified FastCGI code to process file paths instead of stdin -- Proper error handling for temp file operations - -**Alternative Enhancement - HTTP 100 Continue**: -Could propose new Blossom BUD for two-phase upload: -1. Client sends headers with `Expect: 100-continue` + auth event -2. Server validates early (signature, expiration, pubkey) -3. Server responds `100 Continue` or `401 Unauthorized` -4. Client only sends file data if authorized - -**Priority**: Implement after core BUD compliance is complete. +### Current Status +- [x] nginx endpoint configured (`HEAD/PUT /media`) +- [x] FastCGI routing established +- [ ] Media processing libraries integration +- [ ] Optimization algorithms implementation +- [ ] Multi-format media handling +- [ ] Optimization pipeline testing --- -## Security Considerations +## BUD-06: Upload Requirements ⚪ **NOT IMPLEMENTED** -- [ ] Input validation on all endpoints -- [ ] Rate limiting to prevent abuse -- [ ] Secure file storage permissions -- [ ] Database injection prevention -- [ ] Memory safety in C implementation -- [ ] Proper error message sanitization -- [ ] Log security (no sensitive data) -- [x] **secp256k1 Context Initialization Fixed** - Authentication system now fully functional -- [x] **API Refactoring Complete** - Upgraded from low-level crypto headers to high-level `nostr_crypto_init()` API -- [x] **Enhanced Error Messages** - Specific error types: event_expired, invalid_signature, invalid_pubkey, etc. -- [ ] **Upload DOS vulnerability** - Current implementation vulnerable to memory exhaustion attacks +### HEAD /upload Pre-flight Validation +- [ ] `HEAD /upload` endpoint implementation +- [ ] Client header parsing (X-SHA-256, X-Content-Length, X-Content-Type) +- [ ] Pre-flight validation without file transfer: + - [ ] SHA-256 format validation + - [ ] File size limit checking + - [ ] MIME type restrictions + - [ ] Authentication validation + - [ ] Duplicate detection + - [ ] Banned hash checking +- [ ] Proper HTTP status codes (200, 400, 401, 403, 411, 413, 415) +- [ ] X-Reason headers for error messages + +### Upload Policy Configuration +- [ ] Server configuration system +- [ ] Maximum file size limits +- [ ] Allowed MIME type restrictions +- [ ] Rate limiting implementation +- [ ] DOS protection benefits --- -## Performance Optimizations +## BUD-07: Payment Integration ⚪ **NOT IMPLEMENTED** -- [ ] nginx direct file serving (bypasses application) -- [ ] FastCGI connection pooling -- [ ] Database connection management -- [ ] Efficient hash calculation -- [ ] Memory-mapped file operations -- [ ] Hierarchical file storage (future) -- [ ] CDN integration support +*Optional feature - not currently planned* + +- [ ] 402 Payment Required responses +- [ ] Lightning payment support +- [ ] Cashu payment integration +- [ ] Payment verification flows --- -## Deployment Checklist +## BUD-08: NIP-94 Metadata ⚪ **NOT IMPLEMENTED** + +*Optional feature - not currently planned* + +- [ ] NIP-94 tag generation +- [ ] Extended blob descriptor responses +- [ ] Magnet link generation +- [ ] Metadata compatibility testing + +--- + +## BUD-09: Content Reporting ⚪ **PARTIAL** + +### Current Status +- [x] nginx endpoint configured (`PUT /report`) +- [x] FastCGI routing established +- [ ] NIP-56 report event handling +- [ ] Moderation interface +- [ ] Content filtering implementation +- [ ] Reporting workflow testing -- [ ] nginx configuration template -- [ ] FastCGI service configuration -- [ ] Database initialization scripts -- [ ] Log rotation setup -- [ ] Monitoring and health checks -- [ ] Backup procedures -- [ ] Security hardening guide -- [ ] Documentation and examples diff --git a/Trash/debug_hash_data.log b/Trash/debug_hash_data.log index ffc87d3..27f326f 100644 --- a/Trash/debug_hash_data.log +++ b/Trash/debug_hash_data.log @@ -1,231 +1,232 @@ === HASH DEBUG SESSION === Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30382d32305430393a33333a32362d30343a30300a52616e646f6d20646174613a20323465336130393961313333323063653530396562323334663735663334663733656239393966616133373764346361636231343165616536313933396665370a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431333a35393a31312d30343a30300a52616e646f6d20646174613a20373730353061633932653438633437373436653164393035343164393930373965383131633539666464313039343931313635623664333130656638646137360a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-20T09:33:26-04:00 -Random data: 24e3a099a13320ce509eb234f75f34f73eb999faa377d4cacb141eae61939fe7 +Timestamp: 2025-09-02T13:59:11-04:00 +Random data: 77050ac92e48c47746e1d90541d99079e811c59fdd109491165b6d310ef8da76 Test message: Hello from put_test.sh! This file is used to test the upload functionality of the Ginxsom Blossom server implementation. -Calculated SHA-256: 97ed52416da9b486cc21ff71911ebb10b7298b1b12cdb5735fb8cfd76bb3d18e +Calculated SHA-256: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 === END DEBUG SESSION === === HASH DEBUG SESSION === Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30382d32305430393a33393a32372d30343a30300a52616e646f6d20646174613a20383039303533333161616530366665333533313961366630666266383566636165313966663139346561643962643664363062393237636432303035616130330a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431343a32323a35352d30343a30300a52616e646f6d20646174613a20393532613538346438663366633662356534396231646661626266363864373633383564366435313134326161303731373063373138393765613836316330330a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-08-20T09:39:27-04:00 -Random data: 80905331aae06fe35319a6f0fbf85fcae19ff194ead9bd6d60b927cd2005aa03 +Timestamp: 2025-09-02T14:22:55-04:00 +Random data: 952a584d8f3fc6b5e49b1dfabbf68d76385d6d51142aa07170c71897ea861c03 Test message: Hello from put_test.sh! This file is used to test the upload functionality of the Ginxsom Blossom server implementation. -Calculated SHA-256: 87714d44b5d3a3954de88a1ce6b46eaa0b0d11887879a23e649fce83f0adee62 +Calculated SHA-256: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 === END DEBUG SESSION === === HASH DEBUG SESSION === Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325430393a34343a33312d30343a30300a52616e646f6d20646174613a20376263336438313834326431363263643233393234356664393863316338363563343264383338646465653634343536653962633836366463313462353432610a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a +File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431353a31373a34372d30343a30300a52616e646f6d20646174613a20346538666566656333313034623838343038663063373161373365393762613137363834363734376535353737333334643432626533313438333961396262610a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T09:44:31-04:00 -Random data: 7bc3d81842d162cd239245fd98c1c865c42d838ddee64456e9bc866dc14b542a +Timestamp: 2025-09-02T15:17:47-04:00 +Random data: 4e8fefec3104b88408f0c71a73e97ba176846747e5577334d42be314839a9bba Test message: Hello from put_test.sh! This file is used to test the upload functionality of the Ginxsom Blossom server implementation. -Calculated SHA-256: 2f4958f2e57b6d74120583abbfa7571171e1f5ca21b9b32643184b8af0027cfc +Calculated SHA-256: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 83 -File data to hash: 74657374206461746120666f7220686173682038343731363137316261623136616430323162643839353330353031383966653630373539313734333663643131636339333366303231626263356435623062 -File data as string: test data for hash 84716171bab16ad021bd8953050189fe6075917436cd11cc933f021bbc5d5b0b -Calculated SHA-256: d831a2b32ba89becc86fdb775c6fc09ad874bf126207fd275598f62d630044f4 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431353a33363a33322d30343a30300a52616e646f6d3a2030353262656263326261313936326364643162366163383631626662366530350a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T15:36:32-04:00 +Random: 052bebc2ba1962cdd1b6ac861bfb6e05 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: ef60ec148dbbbb4d78149dc02ae6fde50011f5232e6a3cfbaeca6290acdd9f5c === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 9 -File data to hash: 746573742064617461 -File data as string: test data -Calculated SHA-256: 916f0027a575074ce72a331777c3478d6513f786a591bd892da1a577bf2335f9 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431353a33373a34382d30343a30300a52616e646f6d3a2062306266613766653035316634633361306633323163373632333561653235660a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T15:37:48-04:00 +Random: b0bfa7fe051f4c3a0f321c76235ae25f +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 8f104c1d5146cfe700f9e818db9973eeb05a32b0f7f7be5fa38b9ceafecd0af3 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431353a34373a33332d30343a30300a52616e646f6d3a2030373530313237316633613337323137646637346235313830363436363261370a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T15:47:33-04:00 +Random: 07501271f3a37217df74b518064662a7 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 728bfdc5fc7e2503af458225b4daecb6c512d8a45c90ba9561b3021f6c5f454a === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431353a34393a35372d30343a30300a52616e646f6d3a2031303832356265376530316537633733316664643364383337633535373136300a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T15:49:57-04:00 +Random: 10825be7e01e7c731fdd3d837c557160 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: f3c2bebcb2db26a5e78251f4f9894d1b9fc95a0a9cd2c8500f95ec5ee98e5034 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431363a30303a35322d30343a30300a52616e646f6d3a2037323939626138646631343261356662626334396565653933633961653339320a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T16:00:52-04:00 +Random: 7299ba8df142a5fbbc49eee93c9ae392 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 2b585be19adc5a3b3bfe100c5c6c70839cbe9beaf4ff1ea02a2484fb86c7eb20 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431363a30373a34372d30343a30300a52616e646f6d3a2031323139363461626261373566356538653935373065663264383933663033330a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T16:07:47-04:00 +Random: 121964abba75f5e8e9570ef2d893f033 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 90dacf3b0c30be82a17a19b6fbc575cc374f961ba89e6fb6a3e686aae9d359a3 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431363a30383a31342d30343a30300a52616e646f6d3a2066386361623430353063653662353336666664613165343637366366316566370a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T16:08:14-04:00 +Random: f8cab4050ce6b536ffda1e4676cf1ef7 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: b84b9a4c07c81b39b2ea3e77ef4e83b00034870b915540a87cb259b419316948 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431363a30383a34352d30343a30300a52616e646f6d3a2035326366616239633032303230333230333731313636666432303130643561360a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T16:08:45-04:00 +Random: 52cfab9c02020320371166fd2010d5a6 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 0d309cb86f18a0e641c3fa5c8e6f74298d8519129d23a01696781bd91cdd6a84 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431363a31313a35312d30343a30300a52616e646f6d3a2037323561643439356132343061663661326539366263633462623337663736610a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T16:11:51-04:00 +Random: 725ad495a240af6a2e96bcc4bb37f76a +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 04f46448a6c651e37ff64ab22f807c40315f7c51f67545c60a7163a24c93d679 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete + +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 39 -File data to hash: 546869732069732061207365742066696c6520746f20746573742e20446f6e277420656469742e -File data as string: This is a set file to test. Don't edit. -Calculated SHA-256: 3f49f934e838893bdc516e680ade3cee2a848bbf42c3e7aba0108cf7cedb8540 +Content length: 155 +File data to hash: 5465737420626c6f6220666f722064656c6574696f6e0a54696d657374616d703a20323032352d30392d30325431363a31353a31392d30343a30300a52616e646f6d3a2038633061376561333361346336633265323134323034353865396136666332370a546869732066696c652077696c6c2062652064656c657465642061732070617274206f66207468652044454c45544520746573742e0a +File data as string: Test blob for deletion +Timestamp: 2025-09-02T16:15:19-04:00 +Random: 8c0a7ea33a4c6c2e21420458e9a6fc27 +This file will be deleted as part of the DELETE test. + +Calculated SHA-256: 5419a62dcb85b8e8466f273362ae4d2da8c62eab77c12f3737d92f4cec583e17 === END DEBUG SESSION === === HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34353a32382d30343a30300a52616e646f6d20646174613a20386435393962643333353636323466636237383266383332623866303364396135333937326238343732613162646361633833656165333533653732323632310a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:45:28-04:00 -Random data: 8d599bd3356624fcb782f832b8f03d9a53972b8472a1bdcac83eae353e722621 -Test message: Hello from put_test.sh! +Content length: 34 +File data to hash: 546573742066696c6520666f7220756e617574686f72697a65642064656c6574650a +File data as string: Test file for unauthorized delete -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: 7b3b92e2ffefed8c7444e9c78c432d279d859672e465bfc90fe44a7a2566a156 -=== END DEBUG SESSION === - -=== HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34353a33332d30343a30300a52616e646f6d20646174613a20306434646365343535663861376264666238626431636338653930633235343666636237316630363839633337373435333061646661373138303134633930350a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:45:33-04:00 -Random data: 0d4dce455f8a7bdfb8bd1cc8e90c2546fcb71f0689c3774530adfa718014c905 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: a27df9a425b43ca292eaf4e3779229d1955ea2e25aeddef196232008d4a25c5a -=== END DEBUG SESSION === - -=== HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34353a34322d30343a30300a52616e646f6d20646174613a20643239383630663962333735633266393634646433626362343436366661303138666537306163363333356234656537396365633030306334663764653165390a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:45:42-04:00 -Random data: d29860f9b375c2f964dd3bcb4466fa018fe70ac6335b4ee79cec000c4f7de1e9 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: 61993aa6a0969bca4316461550095adbd2b5e82f691f514454a8f4082179c7c1 -=== END DEBUG SESSION === - -=== HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431323a34363a35302d30343a30300a52616e646f6d20646174613a20346630333037316538646536373133353963633966326434633836383832356335393736303161333232346339323463313661633633643331323232353935650a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T12:46:50-04:00 -Random data: 4f03071e8de671359cc9f2d4c868825c597601a3224c924c16ac63d31222595e -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: 8f68175a71f1a38e70e0dac1b45973510973fd713a37a10e9b4d04b1558a7999 +Calculated SHA-256: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 === END DEBUG SESSION === diff --git a/Trash/debug_validation.log b/Trash/debug_validation.log index 66d78bc..c6361df 100644 --- a/Trash/debug_validation.log +++ b/Trash/debug_validation.log @@ -3,140 +3,264 @@ nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) === END STRUCTURE DEBUG === === CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) +nostr_verify_event_signature result: 0 (Success) === END CRYPTO DEBUG === -=== STRUCTURE VALIDATION DEBUG === -nostr_validate_event_structure result: 0 (Success) -=== END STRUCTURE DEBUG === - -=== CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) -=== END CRYPTO DEBUG === - -=== STRUCTURE VALIDATION DEBUG === -nostr_validate_event_structure result: 0 (Success) -=== END STRUCTURE DEBUG === - -=== CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) -=== END CRYPTO DEBUG === - -=== STRUCTURE VALIDATION DEBUG === -nostr_validate_event_structure result: 0 (Success) -=== END STRUCTURE DEBUG === - -=== CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: -32 (Event has invalid public key) -CRYPTO VALIDATION FAILED! -Failed pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 (length: 64) -=== END CRYPTO DEBUG === +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === + +=== STRUCTURE VALIDATION DEBUG === +nostr_validate_event_structure result: 0 (Success) +=== END STRUCTURE DEBUG === + +=== CRYPTO VALIDATION DEBUG === +nostr_verify_event_signature result: 0 (Success) +=== END CRYPTO DEBUG === + +=== COMPLETE VALIDATION DEBUG === +nostr_validate_event result: 0 (Success) +=== END COMPLETE DEBUG === === STRUCTURE VALIDATION DEBUG === nostr_validate_event_structure result: 0 (Success) diff --git a/Trash/main copy.c b/Trash/main copy.c new file mode 100644 index 0000000..55ef719 --- /dev/null +++ b/Trash/main copy.c @@ -0,0 +1,2674 @@ +/* + * Ginxsom Blossom Server - FastCGI Application + * Handles HEAD requests and other dynamic operations + */ + +#define _GNU_SOURCE +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "ginxsom.h" + +// Detailed debugging macros (matching test_auth_debug.c) +#define LOG_STEP(step, msg, ...) fprintf(stderr, "STEP %s: " msg "\n", step, ##__VA_ARGS__) +#define LOG_SUCCESS(msg, ...) fprintf(stderr, "SUCCESS: " msg "\n", ##__VA_ARGS__) +#define LOG_ERROR(msg, ...) fprintf(stderr, "ERROR: " msg "\n", ##__VA_ARGS__) +#define LOG_INFO(msg, ...) fprintf(stderr, "ℹINFO: " msg "\n", ##__VA_ARGS__) +#define LOG_DIVIDER() fprintf(stderr, "═══════════════════════════════════════════════════════════════════\n") + +#define MAX_SHA256_LEN 65 +#define MAX_PATH_LEN 512 +#define MAX_MIME_LEN 128 + +// Database path +#define DB_PATH "db/ginxsom.db" + +// Function declarations +void send_error_response(int status_code, const char* error_type, const char* message, const char* details); +void log_request(const char* method, const char* uri, const char* auth_status, int status_code); + +// Blob metadata structure +typedef struct { + char sha256[MAX_SHA256_LEN]; + long size; + char type[MAX_MIME_LEN]; + long uploaded_at; + char filename[256]; + int found; +} blob_metadata_t; + +// Insert blob metadata into database +int insert_blob_metadata(const char* sha256, long size, const char* type, + long uploaded_at, const char* uploader_pubkey, + const char* filename) { + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READWRITE, NULL); + if (rc) { + fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(db)); + return 0; + } + + const char* sql = "INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES (?, ?, ?, ?, ?, ?)"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + fprintf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); + sqlite3_close(db); + return 0; + } + + // Bind parameters + sqlite3_bind_text(stmt, 1, sha256, -1, SQLITE_STATIC); + sqlite3_bind_int64(stmt, 2, size); + sqlite3_bind_text(stmt, 3, type, -1, SQLITE_STATIC); + sqlite3_bind_int64(stmt, 4, uploaded_at); + if (uploader_pubkey) { + sqlite3_bind_text(stmt, 5, uploader_pubkey, -1, SQLITE_STATIC); + } else { + sqlite3_bind_null(stmt, 5); + } + if (filename) { + sqlite3_bind_text(stmt, 6, filename, -1, SQLITE_STATIC); + } else { + sqlite3_bind_null(stmt, 6); + } + + rc = sqlite3_step(stmt); + + int success = 0; + if (rc == SQLITE_DONE) { + success = 1; + } else if (rc == SQLITE_CONSTRAINT) { + // This is actually OK - blob already exists with same hash + success = 1; + } else { + success = 0; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return success; +} + +// Get blob metadata from database +int get_blob_metadata(const char* sha256, blob_metadata_t* metadata) { + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + fprintf(stderr, "DEBUG: get_blob_metadata() called with sha256='%s'\r\n", sha256); + fprintf(stderr, "DEBUG: Opening database at path: %s\r\n", DB_PATH); + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + fprintf(stderr, "DEBUG: Database open FAILED: %s\r\n", sqlite3_errmsg(db)); + fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(db)); + return 0; + } + + fprintf(stderr, "DEBUG: Database opened successfully\r\n"); + + const char* sql = "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE sha256 = ?"; + fprintf(stderr, "DEBUG: Preparing SQL: %s\r\n", sql); + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + fprintf(stderr, "DEBUG: SQL prepare FAILED: %s\r\n", sqlite3_errmsg(db)); + fprintf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); + sqlite3_close(db); + return 0; + } + + fprintf(stderr, "DEBUG: SQL prepared successfully\r\n"); + fprintf(stderr, "DEBUG: Binding parameter sha256='%s'\r\n", sha256); + + sqlite3_bind_text(stmt, 1, sha256, -1, SQLITE_STATIC); + + fprintf(stderr, "DEBUG: Executing SQL query...\r\n"); + rc = sqlite3_step(stmt); + fprintf(stderr, "DEBUG: sqlite3_step() returned: %d (SQLITE_ROW=%d, SQLITE_DONE=%d)\r\n", + rc, SQLITE_ROW, SQLITE_DONE); + + if (rc == SQLITE_ROW) { + fprintf(stderr, "DEBUG: Row found! Extracting metadata...\r\n"); + strncpy(metadata->sha256, (char*)sqlite3_column_text(stmt, 0), MAX_SHA256_LEN-1); + metadata->size = sqlite3_column_int64(stmt, 1); + strncpy(metadata->type, (char*)sqlite3_column_text(stmt, 2), MAX_MIME_LEN-1); + metadata->uploaded_at = sqlite3_column_int64(stmt, 3); + const char* filename = (char*)sqlite3_column_text(stmt, 4); + if (filename) { + strncpy(metadata->filename, filename, 255); + } else { + metadata->filename[0] = '\0'; + } + metadata->found = 1; + fprintf(stderr, "DEBUG: Metadata extracted - size=%ld, type='%s'\r\n", + metadata->size, metadata->type); + } else { + fprintf(stderr, "DEBUG: No row found for sha256='%s'\r\n", sha256); + metadata->found = 0; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + fprintf(stderr, "DEBUG: Database closed, returning %d\r\n", metadata->found); + return metadata->found; +} + +// Check if physical file exists (with extension based on MIME type) +int file_exists_with_type(const char* sha256, const char* mime_type) { + char filepath[MAX_PATH_LEN]; + const char* extension = ""; + + // Determine file extension based on MIME type + if (strstr(mime_type, "image/jpeg")) { + extension = ".jpg"; + } else if (strstr(mime_type, "image/webp")) { + extension = ".webp"; + } else if (strstr(mime_type, "image/png")) { + extension = ".png"; + } else if (strstr(mime_type, "image/gif")) { + extension = ".gif"; + } else if (strstr(mime_type, "video/mp4")) { + extension = ".mp4"; + } else if (strstr(mime_type, "video/webm")) { + extension = ".webm"; + } else if (strstr(mime_type, "audio/mpeg")) { + extension = ".mp3"; + } else if (strstr(mime_type, "audio/ogg")) { + extension = ".ogg"; + } else if (strstr(mime_type, "text/plain")) { + extension = ".txt"; + } + + snprintf(filepath, sizeof(filepath), "blobs/%s%s", sha256, extension); + + fprintf(stderr, "DEBUG: file_exists_with_type() checking path: '%s' (MIME: %s)\r\n", filepath, mime_type); + + struct stat st; + int result = stat(filepath, &st); + fprintf(stderr, "DEBUG: stat() returned: %d (0=success, -1=fail)\r\n", result); + + if (result == 0) { + fprintf(stderr, "DEBUG: File exists! Size: %ld bytes\r\n", st.st_size); + return 1; + } else { + fprintf(stderr, "DEBUG: File does not exist or stat failed\r\n"); + return 0; + } +} + +// Handle HEAD request for blob +void handle_head_request(const char* sha256) { + blob_metadata_t metadata = {0}; + + fprintf(stderr, "DEBUG: handle_head_request called with sha256=%s\r\n", sha256); + + // Validate SHA-256 format (64 hex characters) + if (strlen(sha256) != 64) { + fprintf(stderr, "DEBUG: SHA-256 length validation failed: %zu\r\n", strlen(sha256)); + printf("Status: 400 Bad Request\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Invalid SHA-256 hash format\n"); + return; + } + + fprintf(stderr, "DEBUG: SHA-256 length validation passed\r\n"); + + // Check if blob exists in database - this is the single source of truth + if (!get_blob_metadata(sha256, &metadata)) { + fprintf(stderr, "DEBUG: Database lookup failed for sha256=%s\r\n", sha256); + printf("Status: 404 Not Found\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Blob not found\n"); + return; + } + + fprintf(stderr, "DEBUG: Database lookup succeeded - blob exists\r\n"); + + // Return successful HEAD response with metadata from database + printf("Status: 200 OK\r\n"); + printf("Content-Type: %s\r\n", metadata.type); + printf("Content-Length: %ld\r\n", metadata.size); + printf("Cache-Control: public, max-age=31536000, immutable\r\n"); + printf("ETag: \"%s\"\r\n", metadata.sha256); + + // Add timing header for debugging + printf("X-Ginxsom-Server: FastCGI\r\n"); + printf("X-Ginxsom-Timestamp: %ld\r\n", time(NULL)); + + if (strlen(metadata.filename) > 0) { + printf("X-Original-Filename: %s\r\n", metadata.filename); + } + + printf("\r\n"); + // HEAD request - no body content +} + +// Extract SHA-256 from request URI (Blossom compliant - ignores any extension) +const char* extract_sha256_from_uri(const char* uri) { + static char sha256_buffer[MAX_SHA256_LEN]; + + if (!uri || uri[0] != '/') { + return NULL; + } + + const char* start = uri + 1; // Skip leading '/' + + // Extract exactly 64 hex characters, ignoring anything after (extensions, etc.) + int len = 0; + for (int i = 0; i < 64 && start[i] != '\0'; i++) { + char c = start[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'))) { + // If we hit a non-hex character before 64 chars, it's invalid + if (len < 64) { + return NULL; + } + break; + } + sha256_buffer[i] = c; + len = i + 1; + } + + // Must be exactly 64 hex characters + if (len != 64) { + return NULL; + } + + sha256_buffer[64] = '\0'; + return sha256_buffer; +} + +///////////////////////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////// +// BUD 02 - Upload & Authentication +///////////////////////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////// + +// Parse Authorization header and extract JSON event +int parse_authorization_header(const char* auth_header, char* event_json, size_t json_size) { + if (!auth_header || !event_json) { + fprintf(stderr, "DEBUG: parse_authorization_header - invalid parameters: auth_header=%p, event_json=%p\n", + (void*)auth_header, (void*)event_json); + return NOSTR_ERROR_INVALID_INPUT; + } + + fprintf(stderr, "DEBUG: parse_authorization_header called with header: %.50s...\n", auth_header); + + // Check for "Nostr " prefix (case-insensitive) + const char* prefix = "nostr "; + size_t prefix_len = strlen(prefix); + + if (strncasecmp(auth_header, prefix, prefix_len) != 0) { + fprintf(stderr, "DEBUG: Authorization header missing 'Nostr ' prefix (found: %.10s)\n", auth_header); + return NOSTR_ERROR_INVALID_INPUT; + } + + // Extract base64 encoded event after "Nostr " + const char* base64_event = auth_header + prefix_len; + fprintf(stderr, "DEBUG: Extracted base64 event (length=%zu): %.100s...\n", strlen(base64_event), base64_event); + + // Decode base64 to JSON using nostr_core_lib base64 decode + unsigned char decoded_buffer[4096]; + size_t decoded_len = base64_decode(base64_event, decoded_buffer); + + fprintf(stderr, "DEBUG: Base64 decode result - decoded_len=%zu\n", decoded_len); + + if (decoded_len == 0) { + fprintf(stderr, "DEBUG: Failed to decode base64 event - base64_decode returned 0\n"); + return NOSTR_ERROR_INVALID_INPUT; + } + + if (decoded_len >= json_size) { + fprintf(stderr, "DEBUG: Decoded JSON too large for buffer (decoded_len=%zu, json_size=%zu)\n", decoded_len, json_size); + return NOSTR_ERROR_INVALID_INPUT; + } + + // Copy decoded JSON to output buffer + memcpy(event_json, decoded_buffer, decoded_len); + event_json[decoded_len] = '\0'; + + fprintf(stderr, "DEBUG: Successfully decoded JSON (length=%zu): %s\n", decoded_len, event_json); + return NOSTR_SUCCESS; +} + +// Validate Blossom-specific event requirements (kind 24242) +int validate_blossom_event(cJSON* event, const char* expected_hash, const char* method) { + if (!event) { + return NOSTR_ERROR_INVALID_INPUT; + } + + fprintf(stderr, "DEBUG: Validating Blossom event\r\n"); + + // Check event kind (must be 24242 for Blossom uploads) + cJSON* kind_json = cJSON_GetObjectItem(event, "kind"); + if (!kind_json || !cJSON_IsNumber(kind_json)) { + fprintf(stderr, "DEBUG: Event missing or invalid 'kind' field\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + int kind = cJSON_GetNumberValue(kind_json); + if (kind != 24242) { + fprintf(stderr, "DEBUG: Event kind %d is not 24242 (Blossom upload)\r\n", kind); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + // Check that created_at exists (basic validation) + cJSON* created_at_json = cJSON_GetObjectItem(event, "created_at"); + if (!created_at_json || !cJSON_IsNumber(created_at_json)) { + fprintf(stderr, "DEBUG: Event missing or invalid 'created_at' field\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + // Look for expiration in tags + cJSON* tags = cJSON_GetObjectItem(event, "tags"); + if (!tags || !cJSON_IsArray(tags)) { + fprintf(stderr, "DEBUG: Event missing or invalid 'tags' field\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + time_t expiration = 0; + int found_method = 0; + int found_hash = 0; + + // Parse tags for 't' (method), 'x' (hash), and 'expiration' + cJSON* tag = NULL; + cJSON_ArrayForEach(tag, tags) { + if (!cJSON_IsArray(tag)) continue; + + cJSON* tag_name = cJSON_GetArrayItem(tag, 0); + if (!tag_name || !cJSON_IsString(tag_name)) continue; + + const char* tag_name_str = cJSON_GetStringValue(tag_name); + + if (strcmp(tag_name_str, "t") == 0) { + // Method tag + cJSON* method_value = cJSON_GetArrayItem(tag, 1); + if (method_value && cJSON_IsString(method_value)) { + const char* event_method = cJSON_GetStringValue(method_value); + if (strcmp(event_method, method) == 0) { + found_method = 1; + fprintf(stderr, "DEBUG: Found matching method tag: %s\r\n", event_method); + } + } + } else if (strcmp(tag_name_str, "x") == 0) { + // Hash tag + cJSON* hash_value = cJSON_GetArrayItem(tag, 1); + if (hash_value && cJSON_IsString(hash_value)) { + const char* event_hash = cJSON_GetStringValue(hash_value); + if (expected_hash && strcmp(event_hash, expected_hash) == 0) { + found_hash = 1; + fprintf(stderr, "DEBUG: Found matching hash tag: %s\r\n", event_hash); + } + } + } else if (strcmp(tag_name_str, "expiration") == 0) { + // Expiration tag + cJSON* exp_value = cJSON_GetArrayItem(tag, 1); + if (exp_value && cJSON_IsString(exp_value)) { + expiration = (time_t)atol(cJSON_GetStringValue(exp_value)); + fprintf(stderr, "DEBUG: Found expiration tag: %ld\r\n", expiration); + } + } + } + + // Check if method matches (required) + if (!found_method) { + fprintf(stderr, "DEBUG: Event missing or invalid method tag\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + // Check if hash matches (if provided) + if (expected_hash && !found_hash) { + fprintf(stderr, "DEBUG: Event hash doesn't match expected hash\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + // Check expiration + time_t now = time(NULL); + if (expiration > 0 && now > expiration) { + fprintf(stderr, "DEBUG: Event expired (now: %ld, exp: %ld)\r\n", now, expiration); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + + fprintf(stderr, "DEBUG: Blossom event validation passed\r\n"); + return NOSTR_SUCCESS; +} + +// Forward declarations for detailed validation functions +int detailed_structure_validation(cJSON* event); +int detailed_signature_validation(cJSON* event); +void analyze_event_fields(cJSON* event); +void hex_dump(const char* label, const unsigned char* data, size_t len); + +/** + * Detailed structure validation with step-by-step logging + */ +int detailed_structure_validation(cJSON* event) { + LOG_DIVIDER(); + LOG_STEP("STRUCT-1", "Starting detailed structure validation"); + + if (!event || !cJSON_IsObject(event)) { + LOG_ERROR("Event is null or not a JSON object"); + return NOSTR_ERROR_EVENT_INVALID_STRUCTURE; + } + LOG_SUCCESS("Event is valid JSON object"); + + // Check each required field existence + LOG_STEP("STRUCT-2", "Checking required field existence"); + const char* required_fields[] = {"id", "pubkey", "created_at", "kind", "tags", "content", "sig"}; + for (int i = 0; i < 7; i++) { + cJSON* field = cJSON_GetObjectItem(event, required_fields[i]); + if (!field) { + LOG_ERROR("Missing required field: %s", required_fields[i]); + return NOSTR_ERROR_EVENT_INVALID_STRUCTURE; + } + LOG_SUCCESS("Field '%s' exists", required_fields[i]); + } + + // Get all fields for detailed validation + cJSON* id_item = cJSON_GetObjectItem(event, "id"); + cJSON* pubkey_item = cJSON_GetObjectItem(event, "pubkey"); + cJSON* created_at_item = cJSON_GetObjectItem(event, "created_at"); + cJSON* kind_item = cJSON_GetObjectItem(event, "kind"); + cJSON* tags_item = cJSON_GetObjectItem(event, "tags"); + cJSON* content_item = cJSON_GetObjectItem(event, "content"); + cJSON* sig_item = cJSON_GetObjectItem(event, "sig"); + + // Validate field types + LOG_STEP("STRUCT-3", "Validating field types"); + if (!cJSON_IsString(id_item)) { + LOG_ERROR("Field 'id' is not a string (type: %d)", id_item->type); + return NOSTR_ERROR_EVENT_INVALID_ID; + } + LOG_SUCCESS("Field 'id' is string"); + + if (!cJSON_IsString(pubkey_item)) { + LOG_ERROR("Field 'pubkey' is not a string (type: %d)", pubkey_item->type); + return NOSTR_ERROR_EVENT_INVALID_PUBKEY; + } + LOG_SUCCESS("Field 'pubkey' is string"); + + if (!cJSON_IsNumber(created_at_item)) { + LOG_ERROR("Field 'created_at' is not a number (type: %d)", created_at_item->type); + return NOSTR_ERROR_EVENT_INVALID_CREATED_AT; + } + LOG_SUCCESS("Field 'created_at' is number"); + + if (!cJSON_IsNumber(kind_item)) { + LOG_ERROR("Field 'kind' is not a number (type: %d)", kind_item->type); + return NOSTR_ERROR_EVENT_INVALID_KIND; + } + LOG_SUCCESS("Field 'kind' is number"); + + if (!cJSON_IsArray(tags_item)) { + LOG_ERROR("Field 'tags' is not an array (type: %d)", tags_item->type); + return NOSTR_ERROR_EVENT_INVALID_TAGS; + } + LOG_SUCCESS("Field 'tags' is array"); + + if (!cJSON_IsString(content_item)) { + LOG_ERROR("Field 'content' is not a string (type: %d)", content_item->type); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + LOG_SUCCESS("Field 'content' is string"); + + if (!cJSON_IsString(sig_item)) { + LOG_ERROR("Field 'sig' is not a string (type: %d)", sig_item->type); + return NOSTR_ERROR_EVENT_INVALID_SIGNATURE; + } + LOG_SUCCESS("Field 'sig' is string"); + + // Validate hex string lengths + LOG_STEP("STRUCT-4", "Validating hex string lengths"); + const char* id_str = cJSON_GetStringValue(id_item); + const char* pubkey_str = cJSON_GetStringValue(pubkey_item); + const char* sig_str = cJSON_GetStringValue(sig_item); + + LOG_INFO("ID string: '%s' (length: %zu)", id_str, id_str ? strlen(id_str) : 0); + if (!id_str || strlen(id_str) != 64) { + LOG_ERROR("ID string invalid length (expected 64, got %zu)", id_str ? strlen(id_str) : 0); + return NOSTR_ERROR_EVENT_INVALID_ID; + } + LOG_SUCCESS("ID string length is correct (64 chars)"); + + LOG_INFO("Pubkey string: '%s' (length: %zu)", pubkey_str, pubkey_str ? strlen(pubkey_str) : 0); + if (!pubkey_str || strlen(pubkey_str) != 64) { + LOG_ERROR("Pubkey string invalid length (expected 64, got %zu)", pubkey_str ? strlen(pubkey_str) : 0); + return NOSTR_ERROR_EVENT_INVALID_PUBKEY; + } + LOG_SUCCESS("Pubkey string length is correct (64 chars)"); + + LOG_INFO("Signature string: '%s' (length: %zu)", sig_str, sig_str ? strlen(sig_str) : 0); + if (!sig_str || strlen(sig_str) != 128) { + LOG_ERROR("Signature string invalid length (expected 128, got %zu)", sig_str ? strlen(sig_str) : 0); + return NOSTR_ERROR_EVENT_INVALID_SIGNATURE; + } + LOG_SUCCESS("Signature string length is correct (128 chars)"); + + // Validate hex characters + LOG_STEP("STRUCT-5", "Validating hex characters"); + LOG_INFO("Checking ID hex characters..."); + for (int i = 0; i < 64; i++) { + char c = id_str[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'))) { + LOG_ERROR("Invalid hex character in ID at position %d: '%c' (0x%02x)", i, c, (unsigned char)c); + return NOSTR_ERROR_EVENT_INVALID_ID; + } + } + LOG_SUCCESS("ID hex characters are valid (lowercase)"); + + LOG_INFO("Checking pubkey hex characters..."); + for (int i = 0; i < 64; i++) { + char c = pubkey_str[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'))) { + LOG_ERROR("Invalid hex character in pubkey at position %d: '%c' (0x%02x)", i, c, (unsigned char)c); + return NOSTR_ERROR_EVENT_INVALID_PUBKEY; + } + } + LOG_SUCCESS("Pubkey hex characters are valid (lowercase)"); + + LOG_INFO("Checking signature hex characters..."); + for (int i = 0; i < 128; i++) { + char c = sig_str[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'))) { + LOG_ERROR("Invalid hex character in signature at position %d: '%c' (0x%02x)", i, c, (unsigned char)c); + return NOSTR_ERROR_EVENT_INVALID_SIGNATURE; + } + } + LOG_SUCCESS("Signature hex characters are valid (lowercase)"); + + // Validate timestamp + LOG_STEP("STRUCT-6", "Validating timestamp"); + double created_at = cJSON_GetNumberValue(created_at_item); + LOG_INFO("Created_at timestamp: %.0f", created_at); + if (created_at < 0) { + LOG_ERROR("Invalid timestamp (negative): %.0f", created_at); + return NOSTR_ERROR_EVENT_INVALID_CREATED_AT; + } + + // Convert to human readable time + time_t timestamp = (time_t)created_at; + char time_str[100]; + struct tm* tm_info = gmtime(×tamp); + strftime(time_str, sizeof(time_str), "%Y-%m-%d %H:%M:%S UTC", tm_info); + LOG_SUCCESS("Timestamp is valid: %s", time_str); + + // Validate kind + LOG_STEP("STRUCT-7", "Validating kind"); + double kind = cJSON_GetNumberValue(kind_item); + LOG_INFO("Event kind: %.0f", kind); + if (kind < 0 || kind > 65535 || kind != (int)kind) { + LOG_ERROR("Invalid kind value: %.0f (must be integer 0-65535)", kind); + return NOSTR_ERROR_EVENT_INVALID_KIND; + } + LOG_SUCCESS("Kind is valid: %d", (int)kind); + + // Validate tags array structure + LOG_STEP("STRUCT-8", "Validating tags array structure"); + int tag_count = cJSON_GetArraySize(tags_item); + LOG_INFO("Tags array has %d elements", tag_count); + + cJSON* tag_item; + int tag_index = 0; + cJSON_ArrayForEach(tag_item, tags_item) { + if (!cJSON_IsArray(tag_item)) { + LOG_ERROR("Tag at index %d is not an array (type: %d)", tag_index, tag_item->type); + return NOSTR_ERROR_EVENT_INVALID_TAGS; + } + + int tag_element_count = cJSON_GetArraySize(tag_item); + LOG_INFO("Tag[%d] has %d elements", tag_index, tag_element_count); + + cJSON* tag_element; + int element_index = 0; + cJSON_ArrayForEach(tag_element, tag_item) { + if (!cJSON_IsString(tag_element)) { + LOG_ERROR("Tag[%d][%d] is not a string (type: %d)", tag_index, element_index, tag_element->type); + return NOSTR_ERROR_EVENT_INVALID_TAGS; + } + const char* tag_value = cJSON_GetStringValue(tag_element); + LOG_INFO("Tag[%d][%d]: '%s'", tag_index, element_index, tag_value); + element_index++; + } + tag_index++; + } + LOG_SUCCESS("Tags array structure is valid"); + + // Validate content + LOG_STEP("STRUCT-9", "Validating content"); + const char* content_str = cJSON_GetStringValue(content_item); + LOG_INFO("Content: '%s' (length: %zu)", content_str, content_str ? strlen(content_str) : 0); + LOG_SUCCESS("Content is valid string"); + + LOG_SUCCESS("Structure validation completed successfully"); + return NOSTR_SUCCESS; +} + +/** + * Detailed signature validation with step-by-step logging + */ +int detailed_signature_validation(cJSON* event) { + LOG_DIVIDER(); + LOG_STEP("CRYPTO-1", "Starting detailed signature validation"); + + if (!event) { + LOG_ERROR("Event is null"); + return NOSTR_ERROR_INVALID_INPUT; + } + + // Get event fields + cJSON* id_item = cJSON_GetObjectItem(event, "id"); + cJSON* pubkey_item = cJSON_GetObjectItem(event, "pubkey"); + cJSON* created_at_item = cJSON_GetObjectItem(event, "created_at"); + cJSON* kind_item = cJSON_GetObjectItem(event, "kind"); + cJSON* tags_item = cJSON_GetObjectItem(event, "tags"); + cJSON* content_item = cJSON_GetObjectItem(event, "content"); + cJSON* sig_item = cJSON_GetObjectItem(event, "sig"); + + if (!id_item || !pubkey_item || !created_at_item || !kind_item || + !tags_item || !content_item || !sig_item) { + LOG_ERROR("Missing required fields for signature validation"); + return NOSTR_ERROR_EVENT_INVALID_STRUCTURE; + } + + // Create serialization array + LOG_STEP("CRYPTO-2", "Creating serialization array"); + cJSON* serialize_array = cJSON_CreateArray(); + if (!serialize_array) { + LOG_ERROR("Failed to create serialization array"); + return NOSTR_ERROR_MEMORY_FAILED; + } + + cJSON_AddItemToArray(serialize_array, cJSON_CreateNumber(0)); + cJSON_AddItemToArray(serialize_array, cJSON_Duplicate(pubkey_item, 1)); + cJSON_AddItemToArray(serialize_array, cJSON_Duplicate(created_at_item, 1)); + cJSON_AddItemToArray(serialize_array, cJSON_Duplicate(kind_item, 1)); + cJSON_AddItemToArray(serialize_array, cJSON_Duplicate(tags_item, 1)); + cJSON_AddItemToArray(serialize_array, cJSON_Duplicate(content_item, 1)); + + LOG_SUCCESS("Serialization array created"); + + // Convert to JSON string + LOG_STEP("CRYPTO-3", "Converting to JSON string"); + char* serialize_string = cJSON_PrintUnformatted(serialize_array); + cJSON_Delete(serialize_array); + + if (!serialize_string) { + LOG_ERROR("Failed to serialize array to JSON string"); + return NOSTR_ERROR_MEMORY_FAILED; + } + + LOG_SUCCESS("JSON serialization string created"); + LOG_INFO("Serialization string (length %zu): %s", strlen(serialize_string), serialize_string); + + // Hash the serialized event + LOG_STEP("CRYPTO-4", "Computing SHA256 hash"); + unsigned char event_hash[32]; + if (nostr_sha256((const unsigned char*)serialize_string, strlen(serialize_string), event_hash) != 0) { + LOG_ERROR("SHA256 hashing failed"); + free(serialize_string); + return NOSTR_ERROR_CRYPTO_FAILED; + } + + LOG_SUCCESS("SHA256 hash computed"); + hex_dump("Event hash", event_hash, 32); + + // Convert hash to hex for event ID verification + LOG_STEP("CRYPTO-5", "Verifying event ID"); + char calculated_id[65]; + nostr_bytes_to_hex(event_hash, 32, calculated_id); + + const char* provided_id = cJSON_GetStringValue(id_item); + LOG_INFO("Calculated ID: %s", calculated_id); + LOG_INFO("Provided ID: %s", provided_id); + + if (!provided_id || strcmp(calculated_id, provided_id) != 0) { + LOG_ERROR("Event ID mismatch!"); + LOG_ERROR(" Expected: %s", calculated_id); + LOG_ERROR(" Got: %s", provided_id ? provided_id : "NULL"); + free(serialize_string); + return NOSTR_ERROR_EVENT_INVALID_ID; + } + LOG_SUCCESS("Event ID verification passed"); + + // Prepare signature verification + LOG_STEP("CRYPTO-6", "Preparing signature verification"); + const char* pubkey_str = cJSON_GetStringValue(pubkey_item); + const char* sig_str = cJSON_GetStringValue(sig_item); + + if (!pubkey_str || !sig_str) { + LOG_ERROR("Missing pubkey or signature strings"); + free(serialize_string); + return NOSTR_ERROR_EVENT_INVALID_STRUCTURE; + } + + // Convert hex strings to bytes + LOG_STEP("CRYPTO-7", "Converting hex strings to bytes"); + unsigned char pubkey_bytes[32]; + unsigned char sig_bytes[64]; + + if (nostr_hex_to_bytes(pubkey_str, pubkey_bytes, 32) != 0) { + LOG_ERROR("Failed to convert pubkey hex to bytes"); + free(serialize_string); + return NOSTR_ERROR_CRYPTO_FAILED; + } + LOG_SUCCESS("Pubkey hex converted to bytes"); + hex_dump("Pubkey bytes", pubkey_bytes, 32); + + if (nostr_hex_to_bytes(sig_str, sig_bytes, 64) != 0) { + LOG_ERROR("Failed to convert signature hex to bytes"); + free(serialize_string); + return NOSTR_ERROR_CRYPTO_FAILED; + } + LOG_SUCCESS("Signature hex converted to bytes"); + hex_dump("Signature bytes", sig_bytes, 64); + + // Verify signature using nostr_core_lib function (avoiding direct secp256k1 calls) + LOG_STEP("CRYPTO-8", "Verifying signature using nostr_verify_event_signature()"); + + // Create a temporary event structure for verification + cJSON* temp_event = cJSON_CreateObject(); + if (!temp_event) { + LOG_ERROR("Failed to create temporary event for verification"); + free(serialize_string); + return NOSTR_ERROR_MEMORY_FAILED; + } + + // Copy all required fields to temp event + cJSON_AddItemToObject(temp_event, "id", cJSON_Duplicate(id_item, 1)); + cJSON_AddItemToObject(temp_event, "pubkey", cJSON_Duplicate(pubkey_item, 1)); + cJSON_AddItemToObject(temp_event, "created_at", cJSON_Duplicate(created_at_item, 1)); + cJSON_AddItemToObject(temp_event, "kind", cJSON_Duplicate(kind_item, 1)); + cJSON_AddItemToObject(temp_event, "tags", cJSON_Duplicate(tags_item, 1)); + cJSON_AddItemToObject(temp_event, "content", cJSON_Duplicate(content_item, 1)); + cJSON_AddItemToObject(temp_event, "sig", cJSON_Duplicate(sig_item, 1)); + + LOG_INFO("Calling nostr_verify_event_signature() for detailed crypto validation"); + int crypto_verify_result = nostr_verify_event_signature(temp_event); + LOG_INFO("nostr_verify_event_signature returned: %d (%s)", + crypto_verify_result, nostr_strerror(crypto_verify_result)); + + cJSON_Delete(temp_event); + + if (crypto_verify_result != NOSTR_SUCCESS) { + LOG_ERROR("Signature verification FAILED!"); + LOG_ERROR("nostr_verify_event_signature returned error: %d (%s)", + crypto_verify_result, nostr_strerror(crypto_verify_result)); + free(serialize_string); + return crypto_verify_result; + } + + LOG_SUCCESS("Signature verification PASSED using nostr_core_lib!"); + free(serialize_string); + return NOSTR_SUCCESS; +} + +/** + * Analyze event fields in detail + */ +void analyze_event_fields(cJSON* event) { + LOG_DIVIDER(); + LOG_STEP("ANALYZE-1", "Analyzing event field details"); + + cJSON* field; + cJSON_ArrayForEach(field, event) { + if (field->string) { + LOG_INFO("Field '%s':", field->string); + if (cJSON_IsString(field)) { + const char* value = cJSON_GetStringValue(field); + LOG_INFO(" Type: String"); + LOG_INFO(" Value: '%s'", value); + LOG_INFO(" Length: %zu", value ? strlen(value) : 0); + } else if (cJSON_IsNumber(field)) { + double value = cJSON_GetNumberValue(field); + LOG_INFO(" Type: Number"); + LOG_INFO(" Value: %.0f", value); + } else if (cJSON_IsArray(field)) { + int size = cJSON_GetArraySize(field); + LOG_INFO(" Type: Array"); + LOG_INFO(" Size: %d", size); + } else { + LOG_INFO(" Type: Other (%d)", field->type); + } + } + } +} + +/** + * Print hex dump of binary data + */ +void hex_dump(const char* label, const unsigned char* data, size_t len) { + LOG_INFO("%s (%zu bytes):", label, len); + for (size_t i = 0; i < len; i += 16) { + fprintf(stderr, " %04zx: ", i); + for (size_t j = 0; j < 16; j++) { + if (i + j < len) { + fprintf(stderr, "%02x ", data[i + j]); + } else { + fprintf(stderr, " "); + } + } + fprintf(stderr, " |"); + for (size_t j = 0; j < 16 && i + j < len; j++) { + unsigned char c = data[i + j]; + fprintf(stderr, "%c", (c >= 32 && c <= 126) ? c : '.'); + } + fprintf(stderr, "|\n"); + } +} + +// Main authentication function with comprehensive step-by-step logging +int authenticate_request(const char* auth_header, const char* method, const char* file_hash) { + LOG_DIVIDER(); + LOG_STEP("SERVER-1", "Starting server-style authentication (mirroring test_auth_debug.c)"); + + if (!auth_header) { + LOG_ERROR("No authorization header provided"); + return NOSTR_ERROR_INVALID_INPUT; + } + + LOG_INFO("Server-style auth called with method: %s, hash: %s", + method ? method : "null", file_hash ? file_hash : "null"); + + // Parse authorization header (same as server) + char event_json[4096]; + LOG_STEP("SERVER-2", "Calling parse_authorization_header"); + int parse_result = parse_authorization_header(auth_header, event_json, sizeof(event_json)); + if (parse_result != NOSTR_SUCCESS) { + LOG_ERROR("Authorization header parsing failed: %d (%s)", parse_result, nostr_strerror(parse_result)); + return parse_result; + } + LOG_SUCCESS("parse_authorization_header succeeded"); + + // Parse JSON event (same as server) + LOG_STEP("SERVER-3", "Calling cJSON_Parse on JSON string"); + LOG_INFO("JSON to parse: %s", event_json); + cJSON* event = cJSON_Parse(event_json); + if (!event) { + LOG_ERROR("Failed to parse JSON event with cJSON_Parse"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; + } + LOG_SUCCESS("cJSON_Parse succeeded, event parsed"); + + // Print complete parsed JSON like server does + char* parsed_json_str = cJSON_Print(event); + LOG_INFO("Parsed JSON: %s", parsed_json_str ? parsed_json_str : "NULL"); + if (parsed_json_str) free(parsed_json_str); + + // Debug: Print event fields before validation (same as server) + cJSON* id_json = cJSON_GetObjectItem(event, "id"); + cJSON* pubkey_json = cJSON_GetObjectItem(event, "pubkey"); + cJSON* sig_json = cJSON_GetObjectItem(event, "sig"); + cJSON* kind_json = cJSON_GetObjectItem(event, "kind"); + cJSON* created_at_json = cJSON_GetObjectItem(event, "created_at"); + + LOG_STEP("SERVER-4", "Event fields before validation"); + LOG_INFO(" id: %s", id_json && cJSON_IsString(id_json) ? cJSON_GetStringValue(id_json) : "MISSING/INVALID"); + LOG_INFO(" pubkey: %s", pubkey_json && cJSON_IsString(pubkey_json) ? cJSON_GetStringValue(pubkey_json) : "MISSING/INVALID"); + LOG_INFO(" sig: %s", sig_json && cJSON_IsString(sig_json) ? cJSON_GetStringValue(sig_json) : "MISSING/INVALID"); + LOG_INFO(" kind: %d", kind_json && cJSON_IsNumber(kind_json) ? (int)cJSON_GetNumberValue(kind_json) : -999); + LOG_INFO(" created_at: %ld", created_at_json && cJSON_IsNumber(created_at_json) ? (long)cJSON_GetNumberValue(created_at_json) : -999); + + // Detailed pubkey analysis (same as server) + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* pubkey_str = cJSON_GetStringValue(pubkey_json); + LOG_STEP("SERVER-5", "Detailed pubkey analysis"); + LOG_INFO(" Pubkey: %s", pubkey_str ? pubkey_str : "NULL"); + LOG_INFO(" Length: %zu", pubkey_str ? strlen(pubkey_str) : 0); + if (pubkey_str && strlen(pubkey_str) == 64) { + LOG_INFO(" Character analysis (first 10): "); + for (int i = 0; i < 10; i++) { + char c = pubkey_str[i]; + fprintf(stderr, "%c(0x%02x) ", c, (unsigned char)c); + } + fprintf(stderr, "\n"); + } + } + + // Pre-validation pubkey analysis (same as server) + LOG_STEP("SERVER-6", "Pre-validation pubkey analysis"); + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* pubkey_str = cJSON_GetStringValue(pubkey_json); + LOG_INFO(" Pubkey: %s", pubkey_str ? pubkey_str : "NULL"); + LOG_INFO(" Length: %zu", pubkey_str ? strlen(pubkey_str) : 0); + if (pubkey_str && strlen(pubkey_str) == 64) { + LOG_INFO(" Character analysis (first 10): "); + for (int i = 0; i < 10; i++) { + char c = pubkey_str[i]; + fprintf(stderr, "%c(%d) ", c, (int)c); + } + fprintf(stderr, "\n"); + LOG_INFO(" Character validation test: "); + int valid_chars = 1; + for (int i = 0; i < 64; i++) { + char c = pubkey_str[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f'))) { + fprintf(stderr, "INVALID at pos %d: %c(%d) ", i, c, (int)c); + valid_chars = 0; + } + } + if (valid_chars) { + fprintf(stderr, "ALL VALID (lowercase hex)\n"); + } else { + fprintf(stderr, "\n"); + } + } + } + + // Detailed validation analysis (same as server) + LOG_STEP("SERVER-7", "Starting detailed validation analysis"); + + // Test structure validation first (same as server) + LOG_INFO("Testing structure validation..."); + int structure_result = nostr_validate_event_structure(event); + LOG_INFO("nostr_validate_event_structure returned: %d (%s)", + structure_result, nostr_strerror(structure_result)); + + // EMERGENCY DEBUG: Write structure validation result to file + FILE* debug_file = fopen("debug_validation.log", "a"); + if (debug_file) { + fprintf(debug_file, "=== STRUCTURE VALIDATION DEBUG ===\n"); + fprintf(debug_file, "nostr_validate_event_structure result: %d (%s)\n", + structure_result, nostr_strerror(structure_result)); + if (structure_result != NOSTR_SUCCESS) { + fprintf(debug_file, "STRUCTURE VALIDATION FAILED!\n"); + // Log the event JSON for debugging + char* event_str = cJSON_Print(event); + if (event_str) { + fprintf(debug_file, "Event JSON: %s\n", event_str); + free(event_str); + } + } + fprintf(debug_file, "=== END STRUCTURE DEBUG ===\n\n"); + fclose(debug_file); + } + + if (structure_result != NOSTR_SUCCESS) { + LOG_ERROR("STRUCTURE validation failed!"); + cJSON_Delete(event); + return structure_result; + } + LOG_SUCCESS("Structure validation PASSED"); + + // Test crypto validation separately (same as server) + LOG_INFO("Testing cryptographic verification..."); + int crypto_result = nostr_verify_event_signature(event); + LOG_INFO("nostr_verify_event_signature returned: %d (%s)", + crypto_result, nostr_strerror(crypto_result)); + + // EMERGENCY DEBUG: Write crypto validation result to file + FILE* debug_file2 = fopen("debug_validation.log", "a"); + if (debug_file2) { + fprintf(debug_file2, "=== CRYPTO VALIDATION DEBUG ===\n"); + fprintf(debug_file2, "nostr_verify_event_signature result: %d (%s)\n", + crypto_result, nostr_strerror(crypto_result)); + if (crypto_result != NOSTR_SUCCESS) { + fprintf(debug_file2, "CRYPTO VALIDATION FAILED!\n"); + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* pubkey_str = cJSON_GetStringValue(pubkey_json); + fprintf(debug_file2, "Failed pubkey: %s (length: %zu)\n", + pubkey_str ? pubkey_str : "NULL", pubkey_str ? strlen(pubkey_str) : 0); + } + } + fprintf(debug_file2, "=== END CRYPTO DEBUG ===\n\n"); + fclose(debug_file2); + } + + if (crypto_result != NOSTR_SUCCESS) { + LOG_ERROR("CRYPTO verification failed!"); + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* pubkey_str = cJSON_GetStringValue(pubkey_json); + LOG_ERROR("Failed pubkey: %s (length: %zu)", + pubkey_str ? pubkey_str : "NULL", pubkey_str ? strlen(pubkey_str) : 0); + } + cJSON_Delete(event); + return crypto_result; + } + LOG_SUCCESS("Crypto verification PASSED"); + + // Finally test complete validation (same as server) + LOG_INFO("Testing complete validation..."); + int validation_result = nostr_validate_event(event); + LOG_INFO("nostr_validate_event returned: %d (%s)", + validation_result, nostr_strerror(validation_result)); + + // EMERGENCY DEBUG: Write complete validation result to file + FILE* debug_file3 = fopen("debug_validation.log", "a"); + if (debug_file3) { + fprintf(debug_file3, "=== COMPLETE VALIDATION DEBUG ===\n"); + fprintf(debug_file3, "nostr_validate_event result: %d (%s)\n", + validation_result, nostr_strerror(validation_result)); + if (validation_result != NOSTR_SUCCESS) { + fprintf(debug_file3, "COMPLETE VALIDATION FAILED!\n"); + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* pubkey_str = cJSON_GetStringValue(pubkey_json); + fprintf(debug_file3, "Pubkey length: %zu, value: %s\n", + pubkey_str ? strlen(pubkey_str) : 0, pubkey_str ? pubkey_str : "NULL"); + } + } + fprintf(debug_file3, "=== END COMPLETE DEBUG ===\n\n"); + fclose(debug_file3); + } + + if (validation_result != NOSTR_SUCCESS) { + LOG_ERROR("COMPLETE validation failed: %d (%s)", + validation_result, nostr_strerror(validation_result)); + + // Additional debug: Check specific validation issues (same as server) + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* pubkey_str = cJSON_GetStringValue(pubkey_json); + LOG_ERROR("Pubkey length: %zu, value: %s", + pubkey_str ? strlen(pubkey_str) : 0, pubkey_str ? pubkey_str : "NULL"); + } + + cJSON_Delete(event); + return validation_result; + } + LOG_SUCCESS("Complete validation PASSED"); + + // Run our detailed validations for additional debugging + LOG_STEP("SERVER-8", "Running detailed structure validation"); + int detailed_struct_result = detailed_structure_validation(event); + if (detailed_struct_result != NOSTR_SUCCESS) { + LOG_ERROR("Detailed structure validation failed: %d (%s)", detailed_struct_result, nostr_strerror(detailed_struct_result)); + cJSON_Delete(event); + return detailed_struct_result; + } + LOG_SUCCESS("Detailed structure validation PASSED"); + + LOG_STEP("SERVER-9", "Running detailed signature validation"); + int detailed_crypto_result = detailed_signature_validation(event); + if (detailed_crypto_result != NOSTR_SUCCESS) { + LOG_ERROR("Detailed signature validation failed: %d (%s)", detailed_crypto_result, nostr_strerror(detailed_crypto_result)); + cJSON_Delete(event); + return detailed_crypto_result; + } + LOG_SUCCESS("Detailed signature validation PASSED"); + + // Analyze event fields + analyze_event_fields(event); + + // Validate Blossom-specific requirements + LOG_STEP("SERVER-10", "Validating Blossom-specific requirements"); + int blossom_result = validate_blossom_event(event, file_hash, method); + if (blossom_result != NOSTR_SUCCESS) { + LOG_ERROR("Blossom event validation failed: %d (%s)", blossom_result, nostr_strerror(blossom_result)); + cJSON_Delete(event); + return blossom_result; + } + LOG_SUCCESS("Blossom event validation PASSED"); + + cJSON_Delete(event); + LOG_SUCCESS("Server-style authentication successful, returning NOSTR_SUCCESS"); + return NOSTR_SUCCESS; +} + +///////////////////////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////// +// AUTHENTICATION RULES SYSTEM (4.1.2) +///////////////////////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////// + +// Authentication rule result structure +typedef struct { + int allowed; // 0 = denied, 1 = allowed + char reason[256]; // Human-readable reason + int rule_id; // Rule ID that made the decision (0 if no rule) + int priority; // Priority of the rule that matched +} auth_rule_result_t; + +// Check if authentication rules system is enabled +int auth_rules_enabled(void) { + sqlite3* db; + sqlite3_stmt* stmt; + int rc, enabled = 0; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + fprintf(stderr, "DEBUG: Database open failed in auth_rules_enabled: %s\r\n", sqlite3_errmsg(db)); + return 0; // Disable rules if can't check database + } + + const char* sql = "SELECT value FROM server_config WHERE key = 'auth_rules_enabled'"; + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc == SQLITE_OK) { + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + const char* value = (const char*)sqlite3_column_text(stmt, 0); + enabled = (value && strcmp(value, "true") == 0) ? 1 : 0; + } + sqlite3_finalize(stmt); + } + sqlite3_close(db); + + return enabled; +} + +// Check pubkey whitelist rule +int check_pubkey_whitelist(const char* pubkey, const char* operation, auth_rule_result_t* result) { + if (!pubkey || !operation || !result) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + const char* sql = "SELECT id, priority, description FROM auth_rules " + "WHERE rule_type = 'pubkey_whitelist' AND rule_target = ? " + "AND (operation = ? OR operation = '*') AND enabled = 1 " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now')) " + "ORDER BY priority ASC, created_at ASC LIMIT 1"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, pubkey, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 2, operation, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + result->allowed = 1; + result->rule_id = sqlite3_column_int(stmt, 0); + result->priority = sqlite3_column_int(stmt, 1); + const char* description = (const char*)sqlite3_column_text(stmt, 2); + snprintf(result->reason, sizeof(result->reason), + "Allowed by whitelist rule: %s", description ? description : "pubkey whitelisted"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 1; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +// Check pubkey blacklist rule +int check_pubkey_blacklist(const char* pubkey, const char* operation, auth_rule_result_t* result) { + if (!pubkey || !operation || !result) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + const char* sql = "SELECT id, priority, description FROM auth_rules " + "WHERE rule_type = 'pubkey_blacklist' AND rule_target = ? " + "AND (operation = ? OR operation = '*') AND enabled = 1 " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now')) " + "ORDER BY priority ASC, created_at ASC LIMIT 1"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, pubkey, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 2, operation, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + result->allowed = 0; + result->rule_id = sqlite3_column_int(stmt, 0); + result->priority = sqlite3_column_int(stmt, 1); + const char* description = (const char*)sqlite3_column_text(stmt, 2); + snprintf(result->reason, sizeof(result->reason), + "Denied by blacklist rule: %s", description ? description : "pubkey blacklisted"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 1; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +// Check hash blacklist rule +int check_hash_blacklist(const char* hash, const char* operation, auth_rule_result_t* result) { + if (!hash || !operation || !result) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + const char* sql = "SELECT id, priority, description FROM auth_rules " + "WHERE rule_type = 'hash_blacklist' AND rule_target = ? " + "AND (operation = ? OR operation = '*') AND enabled = 1 " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now')) " + "ORDER BY priority ASC, created_at ASC LIMIT 1"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, hash, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 2, operation, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + result->allowed = 0; + result->rule_id = sqlite3_column_int(stmt, 0); + result->priority = sqlite3_column_int(stmt, 1); + const char* description = (const char*)sqlite3_column_text(stmt, 2); + snprintf(result->reason, sizeof(result->reason), + "Denied by hash blacklist rule: %s", description ? description : "hash blacklisted"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 1; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +// Check MIME type whitelist rule +int check_mime_type_whitelist(const char* mime_type, const char* operation, auth_rule_result_t* result) { + if (!mime_type || !operation || !result) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + // Check for exact match or wildcard patterns (e.g., "image/*") + const char* sql = "SELECT id, priority, description FROM auth_rules " + "WHERE rule_type = 'mime_type_whitelist' " + "AND (rule_target = ? OR (rule_target LIKE '%/*' AND ? LIKE REPLACE(rule_target, '*', '%'))) " + "AND (operation = ? OR operation = '*') AND enabled = 1 " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now')) " + "ORDER BY priority ASC, created_at ASC LIMIT 1"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, mime_type, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 2, mime_type, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 3, operation, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + result->allowed = 1; + result->rule_id = sqlite3_column_int(stmt, 0); + result->priority = sqlite3_column_int(stmt, 1); + const char* description = (const char*)sqlite3_column_text(stmt, 2); + snprintf(result->reason, sizeof(result->reason), + "Allowed by MIME type whitelist: %s", description ? description : "MIME type whitelisted"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 1; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +// Check MIME type blacklist rule +int check_mime_type_blacklist(const char* mime_type, const char* operation, auth_rule_result_t* result) { + if (!mime_type || !operation || !result) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + // Check for exact match or wildcard patterns (e.g., "application/*") + const char* sql = "SELECT id, priority, description FROM auth_rules " + "WHERE rule_type = 'mime_type_blacklist' " + "AND (rule_target = ? OR (rule_target LIKE '%/*' AND ? LIKE REPLACE(rule_target, '*', '%'))) " + "AND (operation = ? OR operation = '*') AND enabled = 1 " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now')) " + "ORDER BY priority ASC, created_at ASC LIMIT 1"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, mime_type, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 2, mime_type, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 3, operation, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + result->allowed = 0; + result->rule_id = sqlite3_column_int(stmt, 0); + result->priority = sqlite3_column_int(stmt, 1); + const char* description = (const char*)sqlite3_column_text(stmt, 2); + snprintf(result->reason, sizeof(result->reason), + "Denied by MIME type blacklist: %s", description ? description : "MIME type blacklisted"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 1; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +// Check file size limit rule +int check_size_limit(long file_size, const char* pubkey, const char* operation, auth_rule_result_t* result) { + if (!result || file_size < 0) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + // Check for pubkey-specific or global size limits + const char* sql = "SELECT id, priority, rule_value, description FROM auth_rules " + "WHERE rule_type = 'size_limit' " + "AND (rule_target = ? OR rule_target = '*') " + "AND (operation = ? OR operation = '*') AND enabled = 1 " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now')) " + "ORDER BY CASE WHEN rule_target = ? THEN 0 ELSE 1 END, priority ASC, created_at ASC LIMIT 1"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, pubkey ? pubkey : "*", -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 2, operation, -1, SQLITE_STATIC); + sqlite3_bind_text(stmt, 3, pubkey ? pubkey : "*", -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + const char* size_limit_str = (const char*)sqlite3_column_text(stmt, 2); + long size_limit = size_limit_str ? atol(size_limit_str) : 0; + + if (size_limit > 0 && file_size > size_limit) { + result->allowed = 0; + result->rule_id = sqlite3_column_int(stmt, 0); + result->priority = sqlite3_column_int(stmt, 1); + const char* description = (const char*)sqlite3_column_text(stmt, 3); + snprintf(result->reason, sizeof(result->reason), + "File size %ld exceeds limit %ld: %s", + file_size, size_limit, description ? description : "size limit exceeded"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 1; + } + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +///////////////////////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////// +// RULE EVALUATION ENGINE (4.1.3) +///////////////////////////////////////////////////////////////////////////////////////// +///////////////////////////////////////////////////////////////////////////////////////// + +// Cache key generation for authentication decisions +void generate_auth_cache_key(const char* pubkey, const char* operation, const char* hash, + const char* mime_type, long file_size, char* cache_key, size_t key_size) { + char temp_buffer[1024]; + snprintf(temp_buffer, sizeof(temp_buffer), "%s|%s|%s|%s|%ld", + pubkey ? pubkey : "", operation ? operation : "", + hash ? hash : "", mime_type ? mime_type : "", file_size); + + // Generate SHA-256 hash of the key components for consistent cache keys + unsigned char hash_bytes[32]; + if (nostr_sha256((unsigned char*)temp_buffer, strlen(temp_buffer), hash_bytes) == NOSTR_SUCCESS) { + nostr_bytes_to_hex(hash_bytes, 32, cache_key); + cache_key[64] = '\0'; // Ensure null termination + } else { + // Fallback if hashing fails + strncpy(cache_key, temp_buffer, key_size - 1); + cache_key[key_size - 1] = '\0'; + } +} + +// Check authentication cache for previous decisions +int check_auth_cache(const char* cache_key, auth_rule_result_t* result) { + if (!cache_key || !result) { + return 0; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + return 0; + } + + const char* sql = "SELECT allowed, rule_id, rule_reason FROM auth_cache " + "WHERE cache_key = ? AND expires_at > strftime('%s', 'now')"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + sqlite3_close(db); + return 0; + } + + sqlite3_bind_text(stmt, 1, cache_key, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + result->allowed = sqlite3_column_int(stmt, 0); + result->rule_id = sqlite3_column_int(stmt, 1); + result->priority = 0; // Not stored in cache + const char* reason = (const char*)sqlite3_column_text(stmt, 2); + if (reason) { + strncpy(result->reason, reason, sizeof(result->reason) - 1); + result->reason[sizeof(result->reason) - 1] = '\0'; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + fprintf(stderr, "DEBUG: Cache hit for key: %.16s... (allowed=%d)\r\n", cache_key, result->allowed); + return 1; + } + + sqlite3_finalize(stmt); + sqlite3_close(db); + return 0; +} + +// Store authentication decision in cache +void store_auth_cache(const char* cache_key, const auth_rule_result_t* result) { + if (!cache_key || !result) { + return; + } + + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READWRITE, NULL); + if (rc) { + fprintf(stderr, "DEBUG: Failed to open database for caching: %s\r\n", sqlite3_errmsg(db)); + return; + } + + // Get cache TTL from server config (default 5 minutes) + int cache_ttl = 300; + const char* ttl_sql = "SELECT value FROM server_config WHERE key = 'auth_cache_ttl'"; + rc = sqlite3_prepare_v2(db, ttl_sql, -1, &stmt, NULL); + if (rc == SQLITE_OK) { + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + const char* ttl_value = (const char*)sqlite3_column_text(stmt, 0); + if (ttl_value) { + cache_ttl = atoi(ttl_value); + } + } + sqlite3_finalize(stmt); + } + + // Insert or replace cache entry + const char* insert_sql = "INSERT OR REPLACE INTO auth_cache " + "(cache_key, allowed, rule_id, rule_reason, expires_at) " + "VALUES (?, ?, ?, ?, strftime('%s', 'now') + ?)"; + + rc = sqlite3_prepare_v2(db, insert_sql, -1, &stmt, NULL); + if (rc == SQLITE_OK) { + sqlite3_bind_text(stmt, 1, cache_key, -1, SQLITE_STATIC); + sqlite3_bind_int(stmt, 2, result->allowed); + sqlite3_bind_int(stmt, 3, result->rule_id); + sqlite3_bind_text(stmt, 4, result->reason, -1, SQLITE_STATIC); + sqlite3_bind_int(stmt, 5, cache_ttl); + + rc = sqlite3_step(stmt); + if (rc == SQLITE_DONE) { + fprintf(stderr, "DEBUG: Cached auth decision for key: %.16s... (TTL=%d)\r\n", cache_key, cache_ttl); + } else { + fprintf(stderr, "DEBUG: Failed to cache auth decision: %s\r\n", sqlite3_errmsg(db)); + } + sqlite3_finalize(stmt); + } + + sqlite3_close(db); +} + +// Main rule evaluation function +int evaluate_auth_rules(const char* pubkey, const char* operation, const char* hash, + const char* mime_type, long file_size, auth_rule_result_t* result) { + if (!result) { + return 0; + } + + // Initialize result structure + memset(result, 0, sizeof(auth_rule_result_t)); + result->allowed = 1; // Default allow if no rules apply + strcpy(result->reason, "No rules matched - default allow"); + + fprintf(stderr, "DEBUG: evaluate_auth_rules called - pubkey=%s, op=%s, hash=%s, mime=%s, size=%ld\r\n", + pubkey ? pubkey : "NULL", operation ? operation : "NULL", + hash ? hash : "NULL", mime_type ? mime_type : "NULL", file_size); + + // Check if authentication rules system is enabled + if (!auth_rules_enabled()) { + fprintf(stderr, "DEBUG: Authentication rules system is disabled\r\n"); + strcpy(result->reason, "Authentication rules system disabled - default allow"); + return 1; + } + + // Generate cache key for this request + char cache_key[128]; + generate_auth_cache_key(pubkey, operation, hash, mime_type, file_size, cache_key, sizeof(cache_key)); + + // Check cache first for performance + if (check_auth_cache(cache_key, result)) { + fprintf(stderr, "DEBUG: Using cached authentication decision\r\n"); + return 1; + } + + fprintf(stderr, "DEBUG: No cache hit - evaluating rules in priority order\r\n"); + + // Evaluate rules in priority order (lower priority number = higher precedence) + auth_rule_result_t rule_result; + int highest_priority = 9999; + int rule_matched = 0; + + // 1. Check pubkey blacklist first (highest security priority) + if (pubkey && check_pubkey_blacklist(pubkey, operation, &rule_result)) { + if (rule_result.priority < highest_priority) { + *result = rule_result; + highest_priority = rule_result.priority; + rule_matched = 1; + fprintf(stderr, "DEBUG: Pubkey blacklist rule matched (priority %d)\r\n", rule_result.priority); + } + } + + // 2. Check hash blacklist + if (hash && check_hash_blacklist(hash, operation, &rule_result)) { + if (rule_result.priority < highest_priority) { + *result = rule_result; + highest_priority = rule_result.priority; + rule_matched = 1; + fprintf(stderr, "DEBUG: Hash blacklist rule matched (priority %d)\r\n", rule_result.priority); + } + } + + // 3. Check MIME type blacklist + if (mime_type && check_mime_type_blacklist(mime_type, operation, &rule_result)) { + if (rule_result.priority < highest_priority) { + *result = rule_result; + highest_priority = rule_result.priority; + rule_matched = 1; + fprintf(stderr, "DEBUG: MIME type blacklist rule matched (priority %d)\r\n", rule_result.priority); + } + } + + // 4. Check file size limits + if (file_size > 0 && check_size_limit(file_size, pubkey, operation, &rule_result)) { + if (rule_result.priority < highest_priority) { + *result = rule_result; + highest_priority = rule_result.priority; + rule_matched = 1; + fprintf(stderr, "DEBUG: Size limit rule matched (priority %d)\r\n", rule_result.priority); + } + } + + // 5. Check pubkey whitelist (only matters if not already denied) + if (pubkey && result->allowed && check_pubkey_whitelist(pubkey, operation, &rule_result)) { + if (rule_result.priority < highest_priority) { + *result = rule_result; + highest_priority = rule_result.priority; + rule_matched = 1; + fprintf(stderr, "DEBUG: Pubkey whitelist rule matched (priority %d)\r\n", rule_result.priority); + } + } + + // 6. Check MIME type whitelist (only if not already denied) + if (mime_type && result->allowed && check_mime_type_whitelist(mime_type, operation, &rule_result)) { + if (rule_result.priority < highest_priority) { + *result = rule_result; + highest_priority = rule_result.priority; + rule_matched = 1; + fprintf(stderr, "DEBUG: MIME type whitelist rule matched (priority %d)\r\n", rule_result.priority); + } + } + + // Special case: If we have whitelist rules but no whitelist matched, deny by default + if (result->allowed && pubkey) { + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc == SQLITE_OK) { + // Check if any pubkey whitelist rules exist for this operation + const char* sql = "SELECT COUNT(*) FROM auth_rules " + "WHERE rule_type = 'pubkey_whitelist' AND enabled = 1 " + "AND (operation = ? OR operation = '*') " + "AND (expires_at IS NULL OR expires_at > strftime('%s', 'now'))"; + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc == SQLITE_OK) { + sqlite3_bind_text(stmt, 1, operation, -1, SQLITE_STATIC); + rc = sqlite3_step(stmt); + if (rc == SQLITE_ROW) { + int whitelist_count = sqlite3_column_int(stmt, 0); + if (whitelist_count > 0) { + // Whitelist exists but didn't match - deny + result->allowed = 0; + result->rule_id = 0; + result->priority = 0; + snprintf(result->reason, sizeof(result->reason), + "Denied - pubkey not in whitelist (found %d whitelist rules)", whitelist_count); + rule_matched = 1; + fprintf(stderr, "DEBUG: Denied due to whitelist policy - pubkey not whitelisted\r\n"); + } + } + sqlite3_finalize(stmt); + } + sqlite3_close(db); + } + } + + // Cache the decision for future requests + store_auth_cache(cache_key, result); + + fprintf(stderr, "DEBUG: Rule evaluation complete - allowed=%d, rule_id=%d, reason=%s\r\n", + result->allowed, result->rule_id, result->reason); + + return rule_matched; +} + +// Enhanced authentication function that integrates rule evaluation +int authenticate_request_with_rules(const char* auth_header, const char* method, const char* file_hash, + const char* mime_type, long file_size) { + fprintf(stderr, "DEBUG: authenticate_request_with_rules called - method: %s, file_hash: %s, mime_type: %s, file_size: %ld\r\n", + method ? method : "NULL", file_hash ? file_hash : "NULL", mime_type ? mime_type : "NULL", file_size); + + // Step 1: Basic nostr authentication (if header provided) + const char* pubkey = NULL; + static char pubkey_buffer[256]; + + if (auth_header) { + fprintf(stderr, "DEBUG: Authorization header provided, starting basic nostr authentication\r\n"); + // Parse and validate nostr event first + int auth_result = authenticate_request(auth_header, method, file_hash); + if (auth_result != NOSTR_SUCCESS) { + fprintf(stderr, "DEBUG: Basic nostr authentication failed: %d (%s)\r\n", auth_result, nostr_strerror(auth_result)); + return auth_result; + } + fprintf(stderr, "DEBUG: Basic nostr authentication PASSED\r\n"); + + // Extract pubkey from validated event + char event_json[4096]; + int parse_result = parse_authorization_header(auth_header, event_json, sizeof(event_json)); + if (parse_result == NOSTR_SUCCESS) { + cJSON* event = cJSON_Parse(event_json); + if (event) { + cJSON* pubkey_json = cJSON_GetObjectItem(event, "pubkey"); + if (pubkey_json && cJSON_IsString(pubkey_json)) { + const char* temp_pubkey = cJSON_GetStringValue(pubkey_json); + if (temp_pubkey) { + strncpy(pubkey_buffer, temp_pubkey, sizeof(pubkey_buffer)-1); + pubkey_buffer[sizeof(pubkey_buffer)-1] = '\0'; + pubkey = pubkey_buffer; + } + } + cJSON_Delete(event); + } + } + fprintf(stderr, "DEBUG: Extracted pubkey from auth: %s\r\n", pubkey ? pubkey : "NULL"); + } else { + fprintf(stderr, "DEBUG: No authorization header - evaluating rules for anonymous request\r\n"); + } + + // Step 2: Evaluate authentication rules + auth_rule_result_t rule_result; + int rule_evaluated = evaluate_auth_rules(pubkey, method, file_hash, mime_type, file_size, &rule_result); + + if (rule_evaluated && !rule_result.allowed) { + fprintf(stderr, "DEBUG: Request denied by authentication rules: %s\r\n", rule_result.reason); + return NOSTR_ERROR_INVALID_INPUT; // Authentication denied by rules + } + + fprintf(stderr, "DEBUG: Request allowed - nostr auth + rules passed\r\n"); + return NOSTR_SUCCESS; +} + +// Enhanced error response helper functions +void send_error_response(int status_code, const char* error_type, const char* message, const char* details) { + const char* status_text; + switch (status_code) { + case 400: status_text = "Bad Request"; break; + case 401: status_text = "Unauthorized"; break; + case 409: status_text = "Conflict"; break; + case 413: status_text = "Payload Too Large"; break; + case 500: status_text = "Internal Server Error"; break; + default: status_text = "Error"; break; + } + + printf("Status: %d %s\r\n", status_code, status_text); + printf("Content-Type: application/json\r\n\r\n"); + printf("{\n"); + printf(" \"error\": \"%s\",\n", error_type); + printf(" \"message\": \"%s\"", message); + if (details) { + printf(",\n \"details\": \"%s\"", details); + } + printf("\n}\n"); +} + +void log_request(const char* method, const char* uri, const char* auth_status, int status_code) { + time_t now = time(NULL); + struct tm* tm_info = localtime(&now); + char timestamp[64]; + strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S", tm_info); + + // For now, log to stdout - later can be configured to log files + fprintf(stderr, "LOG: [%s] %s %s - Auth: %s - Status: %d\r\n", + timestamp, method ? method : "NULL", uri ? uri : "NULL", + auth_status ? auth_status : "none", status_code); +} + +// Handle GET /list/ requests +void handle_list_request(const char* pubkey) { + fprintf(stderr, "DEBUG: handle_list_request called with pubkey=%s\r\n", pubkey ? pubkey : "NULL"); + + // Log the incoming request + log_request("GET", "/list", "pending", 0); + + // Validate pubkey format (64 hex characters) + if (!pubkey || strlen(pubkey) != 64) { + send_error_response(400, "invalid_pubkey", "Invalid pubkey format", "Pubkey must be 64 hex characters"); + log_request("GET", "/list", "none", 400); + return; + } + + // Validate hex characters + for (int i = 0; i < 64; i++) { + char c = pubkey[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'))) { + send_error_response(400, "invalid_pubkey", "Invalid pubkey format", "Pubkey must contain only hex characters"); + log_request("GET", "/list", "none", 400); + return; + } + } + + // Get query parameters for since/until filtering + const char* query_string = getenv("QUERY_STRING"); + long since_timestamp = 0; + long until_timestamp = 0; + + if (query_string) { + fprintf(stderr, "DEBUG: Query string: %s\r\n", query_string); + + // Parse since parameter + const char* since_param = strstr(query_string, "since="); + if (since_param) { + since_timestamp = atol(since_param + 6); + fprintf(stderr, "DEBUG: Since timestamp: %ld\r\n", since_timestamp); + } + + // Parse until parameter + const char* until_param = strstr(query_string, "until="); + if (until_param) { + until_timestamp = atol(until_param + 6); + fprintf(stderr, "DEBUG: Until timestamp: %ld\r\n", until_timestamp); + } + } + + // Check for optional authorization + const char* auth_header = getenv("HTTP_AUTHORIZATION"); + const char* auth_status = "none"; + + if (auth_header) { + fprintf(stderr, "DEBUG: Authorization header provided for list request\r\n"); + int auth_result = authenticate_request_with_rules(auth_header, "list", NULL, NULL, 0); + if (auth_result != NOSTR_SUCCESS) { + send_error_response(401, "authentication_failed", "Invalid or expired authentication", + "The provided Nostr event is invalid, expired, or does not authorize this operation"); + log_request("GET", "/list", "failed", 401); + return; + } + auth_status = "authenticated"; + } + + // Query database for blobs uploaded by this pubkey + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); + if (rc) { + fprintf(stderr, "DEBUG: Database open failed: %s\r\n", sqlite3_errmsg(db)); + send_error_response(500, "database_error", "Failed to access database", "Internal server error"); + log_request("GET", "/list", auth_status, 500); + return; + } + + // Build SQL query with optional timestamp filtering + char sql[1024]; + if (since_timestamp > 0 && until_timestamp > 0) { + snprintf(sql, sizeof(sql), + "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? AND uploaded_at >= ? AND uploaded_at <= ? ORDER BY uploaded_at DESC"); + } else if (since_timestamp > 0) { + snprintf(sql, sizeof(sql), + "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? AND uploaded_at >= ? ORDER BY uploaded_at DESC"); + } else if (until_timestamp > 0) { + snprintf(sql, sizeof(sql), + "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? AND uploaded_at <= ? ORDER BY uploaded_at DESC"); + } else { + snprintf(sql, sizeof(sql), + "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? ORDER BY uploaded_at DESC"); + } + + fprintf(stderr, "DEBUG: SQL query: %s\r\n", sql); + + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + fprintf(stderr, "DEBUG: SQL prepare failed: %s\r\n", sqlite3_errmsg(db)); + sqlite3_close(db); + send_error_response(500, "database_error", "Failed to prepare query", "Internal server error"); + log_request("GET", "/list", auth_status, 500); + return; + } + + // Bind parameters + sqlite3_bind_text(stmt, 1, pubkey, -1, SQLITE_STATIC); + int param_index = 2; + + if (since_timestamp > 0) { + sqlite3_bind_int64(stmt, param_index++, since_timestamp); + } + if (until_timestamp > 0) { + sqlite3_bind_int64(stmt, param_index++, until_timestamp); + } + + // Start JSON response + printf("Status: 200 OK\r\n"); + printf("Content-Type: application/json\r\n\r\n"); + printf("[\n"); + + int first_item = 1; + while ((rc = sqlite3_step(stmt)) == SQLITE_ROW) { + if (!first_item) { + printf(",\n"); + } + first_item = 0; + + const char* sha256 = (const char*)sqlite3_column_text(stmt, 0); + long size = sqlite3_column_int64(stmt, 1); + const char* type = (const char*)sqlite3_column_text(stmt, 2); + long uploaded_at = sqlite3_column_int64(stmt, 3); + const char* filename = (const char*)sqlite3_column_text(stmt, 4); + + // Determine file extension from MIME type + const char* extension = ""; + if (strstr(type, "image/jpeg")) { + extension = ".jpg"; + } else if (strstr(type, "image/webp")) { + extension = ".webp"; + } else if (strstr(type, "image/png")) { + extension = ".png"; + } else if (strstr(type, "image/gif")) { + extension = ".gif"; + } else if (strstr(type, "video/mp4")) { + extension = ".mp4"; + } else if (strstr(type, "video/webm")) { + extension = ".webm"; + } else if (strstr(type, "audio/mpeg")) { + extension = ".mp3"; + } else if (strstr(type, "audio/ogg")) { + extension = ".ogg"; + } else if (strstr(type, "text/plain")) { + extension = ".txt"; + } else { + extension = ".bin"; + } + + // Output blob descriptor JSON + printf(" {\n"); + printf(" \"url\": \"http://localhost:9001/%s%s\",\n", sha256, extension); + printf(" \"sha256\": \"%s\",\n", sha256); + printf(" \"size\": %ld,\n", size); + printf(" \"type\": \"%s\",\n", type); + printf(" \"uploaded\": %ld", uploaded_at); + + // Add optional filename if available + if (filename && strlen(filename) > 0) { + printf(",\n \"filename\": \"%s\"", filename); + } + + printf("\n }"); + } + + printf("\n]\n"); + + sqlite3_finalize(stmt); + sqlite3_close(db); + + fprintf(stderr, "DEBUG: List request completed successfully\r\n"); + log_request("GET", "/list", auth_status, 200); +} + +// Handle DELETE / requests +void handle_delete_request(const char* sha256) { + fprintf(stderr, "DEBUG: handle_delete_request called with sha256=%s\r\n", sha256 ? sha256 : "NULL"); + + // Log the incoming request + log_request("DELETE", "/delete", "pending", 0); + + // Validate SHA-256 format (64 hex characters) + if (!sha256 || strlen(sha256) != 64) { + send_error_response(400, "invalid_hash", "Invalid SHA-256 hash format", "Hash must be 64 hex characters"); + log_request("DELETE", "/delete", "none", 400); + return; + } + + // Validate hex characters + for (int i = 0; i < 64; i++) { + char c = sha256[i]; + if (!((c >= '0' && c <= '9') || (c >= 'a' && c <= 'f') || (c >= 'A' && c <= 'F'))) { + send_error_response(400, "invalid_hash", "Invalid SHA-256 hash format", "Hash must contain only hex characters"); + log_request("DELETE", "/delete", "none", 400); + return; + } + } + + // Require authorization for delete operations + const char* auth_header = getenv("HTTP_AUTHORIZATION"); + if (!auth_header) { + send_error_response(401, "authorization_required", "Authorization required for delete operations", + "Delete operations require a valid Nostr authorization event"); + log_request("DELETE", "/delete", "missing_auth", 401); + return; + } + + // Authenticate the request with enhanced rules system + int auth_result = authenticate_request_with_rules(auth_header, "delete", sha256, NULL, 0); + if (auth_result != NOSTR_SUCCESS) { + send_error_response(401, "authentication_failed", "Invalid or expired authentication", + "The provided Nostr event is invalid, expired, or does not authorize this operation"); + log_request("DELETE", "/delete", "failed", 401); + return; + } + + // Extract pubkey from authorization for ownership check + char event_json[4096]; + int parse_result = parse_authorization_header(auth_header, event_json, sizeof(event_json)); + if (parse_result != NOSTR_SUCCESS) { + send_error_response(401, "authentication_failed", "Failed to parse authorization", + "The provided authorization could not be parsed"); + log_request("DELETE", "/delete", "parse_failed", 401); + return; + } + + cJSON* event = cJSON_Parse(event_json); + if (!event) { + send_error_response(401, "authentication_failed", "Invalid JSON in authorization", + "The provided authorization contains invalid JSON"); + log_request("DELETE", "/delete", "invalid_json", 401); + return; + } + + cJSON* pubkey_json = cJSON_GetObjectItem(event, "pubkey"); + if (!pubkey_json || !cJSON_IsString(pubkey_json)) { + cJSON_Delete(event); + send_error_response(401, "authentication_failed", "Missing pubkey in authorization", + "The provided authorization does not contain a valid pubkey"); + log_request("DELETE", "/delete", "missing_pubkey", 401); + return; + } + + const char* auth_pubkey = cJSON_GetStringValue(pubkey_json); + fprintf(stderr, "DEBUG-DELETE: Extracted auth_pubkey from DELETE request: '%s' (length: %zu)\r\n", + auth_pubkey ? auth_pubkey : "NULL", auth_pubkey ? strlen(auth_pubkey) : 0); + cJSON_Delete(event); + + // Check if blob exists in database + sqlite3* db; + sqlite3_stmt* stmt; + int rc; + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READWRITE, NULL); + if (rc) { + fprintf(stderr, "DEBUG: Database open failed: %s\r\n", sqlite3_errmsg(db)); + send_error_response(500, "database_error", "Failed to access database", "Internal server error"); + log_request("DELETE", "/delete", "authenticated", 500); + return; + } + + // Query blob metadata and check ownership + const char* sql = "SELECT uploader_pubkey, type FROM blobs WHERE sha256 = ?"; + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + fprintf(stderr, "DEBUG: SQL prepare failed: %s\r\n", sqlite3_errmsg(db)); + sqlite3_close(db); + send_error_response(500, "database_error", "Failed to prepare query", "Internal server error"); + log_request("DELETE", "/delete", "authenticated", 500); + return; + } + + sqlite3_bind_text(stmt, 1, sha256, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + if (rc != SQLITE_ROW) { + sqlite3_finalize(stmt); + sqlite3_close(db); + send_error_response(404, "blob_not_found", "Blob not found", "The specified blob does not exist"); + log_request("DELETE", "/delete", "authenticated", 404); + return; + } + + // Get blob metadata + const char* uploader_pubkey = (const char*)sqlite3_column_text(stmt, 0); + const char* blob_type = (const char*)sqlite3_column_text(stmt, 1); + + fprintf(stderr, "DEBUG-DELETE: Database query results:\r\n"); + fprintf(stderr, "DEBUG-DELETE: Raw uploader_pubkey from DB: '%s'\r\n", uploader_pubkey ? uploader_pubkey : "NULL"); + fprintf(stderr, "DEBUG-DELETE: Raw blob_type from DB: '%s'\r\n", blob_type ? blob_type : "NULL"); + + // Create copies of the strings since they may be invalidated after finalize + char uploader_pubkey_copy[256] = {0}; + char blob_type_copy[128] = {0}; + + if (uploader_pubkey) { + strncpy(uploader_pubkey_copy, uploader_pubkey, sizeof(uploader_pubkey_copy) - 1); + } + if (blob_type) { + strncpy(blob_type_copy, blob_type, sizeof(blob_type_copy) - 1); + } + + sqlite3_finalize(stmt); + + fprintf(stderr, "DEBUG-DELETE: After copying strings:\r\n"); + fprintf(stderr, "DEBUG-DELETE: uploader_pubkey_copy: '%s' (length: %zu)\r\n", + uploader_pubkey_copy[0] ? uploader_pubkey_copy : "EMPTY", strlen(uploader_pubkey_copy)); + fprintf(stderr, "DEBUG-DELETE: blob_type_copy: '%s'\r\n", blob_type_copy[0] ? blob_type_copy : "EMPTY"); + + // Check ownership - only the uploader can delete + fprintf(stderr, "DEBUG-DELETE: Ownership verification:\r\n"); + fprintf(stderr, "DEBUG-DELETE: Comparing uploader_pubkey_copy='%s'\r\n", uploader_pubkey_copy); + fprintf(stderr, "DEBUG-DELETE: Against auth_pubkey='%s'\r\n", auth_pubkey ? auth_pubkey : "NULL"); + fprintf(stderr, "DEBUG-DELETE: uploader_pubkey_copy[0]=%d\r\n", (int)uploader_pubkey_copy[0]); + fprintf(stderr, "DEBUG-DELETE: strcmp result would be: %d\r\n", + uploader_pubkey_copy[0] ? strcmp(uploader_pubkey_copy, auth_pubkey) : -999); + + if (!uploader_pubkey_copy[0] || strcmp(uploader_pubkey_copy, auth_pubkey) != 0) { + fprintf(stderr, "DEBUG-DELETE: OWNERSHIP CHECK FAILED!\r\n"); + fprintf(stderr, "DEBUG-DELETE: Reason: %s\r\n", + !uploader_pubkey_copy[0] ? "uploader_pubkey_copy is empty" : "pubkeys don't match"); + sqlite3_close(db); + send_error_response(403, "access_denied", "Access denied", "You can only delete blobs that you uploaded"); + log_request("DELETE", "/delete", "ownership_denied", 403); + return; + } else { + fprintf(stderr, "DEBUG-DELETE: OWNERSHIP CHECK PASSED!\r\n"); + } + + fprintf(stderr, "DEBUG: Ownership check passed, proceeding with deletion\r\n"); + + // Delete from database first + const char* delete_sql = "DELETE FROM blobs WHERE sha256 = ?"; + rc = sqlite3_prepare_v2(db, delete_sql, -1, &stmt, NULL); + if (rc != SQLITE_OK) { + fprintf(stderr, "DEBUG: Delete SQL prepare failed: %s\r\n", sqlite3_errmsg(db)); + sqlite3_close(db); + send_error_response(500, "database_error", "Failed to prepare delete", "Internal server error"); + log_request("DELETE", "/delete", "authenticated", 500); + return; + } + + sqlite3_bind_text(stmt, 1, sha256, -1, SQLITE_STATIC); + + rc = sqlite3_step(stmt); + sqlite3_finalize(stmt); + sqlite3_close(db); + + if (rc != SQLITE_DONE) { + fprintf(stderr, "DEBUG: Database delete failed: %d\r\n", rc); + send_error_response(500, "database_error", "Failed to delete blob metadata", "Internal server error"); + log_request("DELETE", "/delete", "authenticated", 500); + return; + } + + fprintf(stderr, "DEBUG: Blob metadata deleted from database\r\n"); + + // Determine file extension from MIME type and delete physical file + const char* extension = ""; + if (strstr(blob_type_copy, "image/jpeg")) { + extension = ".jpg"; + } else if (strstr(blob_type_copy, "image/webp")) { + extension = ".webp"; + } else if (strstr(blob_type_copy, "image/png")) { + extension = ".png"; + } else if (strstr(blob_type_copy, "image/gif")) { + extension = ".gif"; + } else if (strstr(blob_type_copy, "video/mp4")) { + extension = ".mp4"; + } else if (strstr(blob_type_copy, "video/webm")) { + extension = ".webm"; + } else if (strstr(blob_type_copy, "audio/mpeg")) { + extension = ".mp3"; + } else if (strstr(blob_type_copy, "audio/ogg")) { + extension = ".ogg"; + } else if (strstr(blob_type_copy, "text/plain")) { + extension = ".txt"; + } else { + extension = ".bin"; + } + + char filepath[MAX_PATH_LEN]; + snprintf(filepath, sizeof(filepath), "blobs/%s%s", sha256, extension); + + fprintf(stderr, "DEBUG: Attempting to delete file: %s\r\n", filepath); + + if (unlink(filepath) != 0) { + fprintf(stderr, "DEBUG: Failed to delete physical file: %s\r\n", filepath); + // File deletion failed, but database is already updated + // Log warning but don't fail the request + fprintf(stderr, "WARNING: Physical file deletion failed, but metadata was removed\r\n"); + } else { + fprintf(stderr, "DEBUG: Physical file deleted successfully\r\n"); + } + + // Return success response + printf("Status: 200 OK\r\n"); + printf("Content-Type: application/json\r\n\r\n"); + printf("{\n"); + printf(" \"message\": \"Blob deleted successfully\",\n"); + printf(" \"sha256\": \"%s\"\n", sha256); + printf("}\n"); + + fprintf(stderr, "DEBUG: Delete operation completed successfully\r\n"); + log_request("DELETE", "/delete", "authenticated", 200); +} + +// Handle PUT /upload requests +void handle_upload_request(void) { + + // Log the incoming request + log_request("PUT", "/upload", "pending", 0); + + // Get HTTP headers + const char* content_type = getenv("CONTENT_TYPE"); + const char* content_length_str = getenv("CONTENT_LENGTH"); + + fprintf(stderr, "DEBUG: content_type=%s\r\n", content_type ? content_type : "NULL"); + fprintf(stderr, "DEBUG: content_length=%s\r\n", content_length_str ? content_length_str : "NULL"); + + // Validate required headers + if (!content_type) { + send_error_response(400, "missing_header", "Content-Type header required", "The Content-Type header must be specified for file uploads"); + log_request("PUT", "/upload", "none", 400); + return; + } + + if (!content_length_str) { + send_error_response(400, "missing_header", "Content-Length header required", "The Content-Length header must be specified for file uploads"); + log_request("PUT", "/upload", "none", 400); + return; + } + + long content_length = atol(content_length_str); + if (content_length <= 0 || content_length > 100 * 1024 * 1024) { // 100MB limit + send_error_response(413, "payload_too_large", "File size must be between 1 byte and 100MB", "Maximum allowed file size is 100MB"); + log_request("PUT", "/upload", "none", 413); + return; + } + + // Get Authorization header for authentication + const char* auth_header = getenv("HTTP_AUTHORIZATION"); + fprintf(stderr, "DEBUG: Raw Authorization header: %s\r\n", auth_header ? auth_header : "NULL"); + + // Store uploader pubkey for metadata (will be extracted during auth if provided) + const char* uploader_pubkey = NULL; + if (auth_header) { + log_request("PUT", "/upload", "auth_provided", 0); + } else { + log_request("PUT", "/upload", "anonymous", 0); + } + + // Read file data from stdin + unsigned char* file_data = malloc(content_length); + if (!file_data) { + printf("Status: 500 Internal Server Error\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Memory allocation failed\n"); + return; + } + + size_t bytes_read = fread(file_data, 1, content_length, stdin); + if (bytes_read != (size_t)content_length) { + fprintf(stderr, "DEBUG: Expected %ld bytes, read %zu bytes\r\n", content_length, bytes_read); + free(file_data); + printf("Status: 400 Bad Request\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Failed to read complete file data\n"); + return; + } + + // Calculate SHA-256 hash using nostr_core function + unsigned char hash[32]; + + + // EMERGENCY DEBUG: Write to direct file + FILE* debug_file = fopen("debug_hash_data.log", "a"); + if (debug_file) { + fprintf(debug_file, "=== HASH DEBUG SESSION ===\n"); + fprintf(debug_file, "Content length: %ld\n", content_length); + fprintf(debug_file, "File data to hash: "); + for (int i = 0; i < content_length; i++) { + fprintf(debug_file, "%02x", (unsigned char)file_data[i]); + } + fprintf(debug_file, "\n"); + fprintf(debug_file, "File data as string: %.*s\n", (int)content_length, file_data); + fclose(debug_file); + } + + if (nostr_sha256(file_data, content_length, hash) != NOSTR_SUCCESS) { + free(file_data); + printf("Status: 500 Internal Server Error\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Hash calculation failed\n"); + return; + } + + // Convert hash to hex string + char sha256_hex[65]; + nostr_bytes_to_hex(hash, 32, sha256_hex); + fprintf(stderr, "DEBUG-LAAN: Calculated SHA-256: %s\r\n", sha256_hex); + fflush(stderr); + + // EMERGENCY DEBUG: Write calculated hash to direct file + FILE* debug_file2 = fopen("debug_hash_data.log", "a"); + if (debug_file2) { + fprintf(debug_file2, "Calculated SHA-256: %s\n", sha256_hex); + fprintf(debug_file2, "=== END DEBUG SESSION ===\n\n"); + fclose(debug_file2); + } + + // TEMPORARY FIX: Bypass rules system and use simple authentication + fprintf(stderr, "AUTH: About to perform authentication - auth_header present: %s\r\n", auth_header ? "YES" : "NO"); + int auth_result = NOSTR_SUCCESS; + if (auth_header) { + fprintf(stderr, "AUTH: Calling authenticate_request with hash: %s\r\n", sha256_hex); + auth_result = authenticate_request(auth_header, "upload", sha256_hex); + fprintf(stderr, "AUTH: authenticate_request returned: %d\r\n", auth_result); + if (auth_result != NOSTR_SUCCESS) { + free(file_data); + + // Provide specific error messages based on the authentication failure type + const char* error_type = "authentication_failed"; + const char* message = "Authentication failed"; + const char* details = "The request failed nostr authentication"; + + switch (auth_result) { + case NOSTR_ERROR_EVENT_INVALID_CONTENT: + error_type = "event_expired"; + message = "Authentication event expired"; + details = "The provided nostr event has expired and is no longer valid"; + break; + case NOSTR_ERROR_EVENT_INVALID_SIGNATURE: + error_type = "invalid_signature"; + message = "Invalid cryptographic signature"; + details = "The event signature verification failed"; + break; + case NOSTR_ERROR_EVENT_INVALID_PUBKEY: + error_type = "invalid_pubkey"; + message = "Invalid public key"; + details = "The event contains an invalid or malformed public key"; + break; + case NOSTR_ERROR_EVENT_INVALID_ID: + error_type = "invalid_event_id"; + message = "Invalid event ID"; + details = "The event ID does not match the calculated hash"; + break; + case NOSTR_ERROR_INVALID_INPUT: + error_type = "invalid_format"; + message = "Invalid authorization format"; + details = "The authorization header format is invalid or malformed"; + break; + default: + error_type = "authentication_failed"; + message = "Authentication failed"; + // Use C-style string formatting for error details + static char error_details_buffer[256]; + snprintf(error_details_buffer, sizeof(error_details_buffer), + "The request failed nostr authentication (error code: %d - %s)", + auth_result, nostr_strerror(auth_result)); + details = error_details_buffer; + break; + } + + send_error_response(401, error_type, message, details); + log_request("PUT", "/upload", "auth_failed", 401); + return; + } + } + + // Extract uploader pubkey from authorization if provided + if (auth_header) { + char event_json[4096]; + int parse_result = parse_authorization_header(auth_header, event_json, sizeof(event_json)); + if (parse_result == NOSTR_SUCCESS) { + cJSON* event = cJSON_Parse(event_json); + if (event) { + cJSON* pubkey_json = cJSON_GetObjectItem(event, "pubkey"); + if (pubkey_json && cJSON_IsString(pubkey_json)) { + static char pubkey_buffer[256]; + const char* temp_pubkey = cJSON_GetStringValue(pubkey_json); + if (temp_pubkey) { + strncpy(pubkey_buffer, temp_pubkey, sizeof(pubkey_buffer)-1); + pubkey_buffer[sizeof(pubkey_buffer)-1] = '\0'; + uploader_pubkey = pubkey_buffer; + } + } + cJSON_Delete(event); + } + } + } + + fprintf(stderr, "DEBUG: Authentication passed, uploader_pubkey: %s\r\n", uploader_pubkey ? uploader_pubkey : "anonymous"); + + // Determine file extension from Content-Type + const char* extension = ""; + if (strstr(content_type, "image/jpeg")) { + extension = ".jpg"; + } else if (strstr(content_type, "image/webp")) { + extension = ".webp"; + } else if (strstr(content_type, "image/png")) { + extension = ".png"; + } else if (strstr(content_type, "image/gif")) { + extension = ".gif"; + } else if (strstr(content_type, "video/mp4")) { + extension = ".mp4"; + } else if (strstr(content_type, "video/webm")) { + extension = ".webm"; + } else if (strstr(content_type, "audio/mpeg")) { + extension = ".mp3"; + } else if (strstr(content_type, "audio/ogg")) { + extension = ".ogg"; + } else if (strstr(content_type, "text/plain")) { + extension = ".txt"; + } else { + // Default to binary extension for unknown types + extension = ".bin"; + } + + // Save file to blobs directory with SHA-256 + extension + char filepath[MAX_PATH_LEN]; + snprintf(filepath, sizeof(filepath), "blobs/%s%s", sha256_hex, extension); + + fprintf(stderr, "DEBUG: Saving file to: %s\r\n", filepath); + + FILE* outfile = fopen(filepath, "wb"); + if (!outfile) { + free(file_data); + printf("Status: 500 Internal Server Error\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Failed to create file\n"); + return; + } + + size_t bytes_written = fwrite(file_data, 1, content_length, outfile); + fclose(outfile); + + // Set file permissions to 644 (owner read/write, group/others read) - standard for web files + if (chmod(filepath, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) != 0) { + fprintf(stderr, "WARNING: Failed to set file permissions for %s\r\n", filepath); + // Continue anyway - this is not a fatal error + } else { + fprintf(stderr, "DEBUG: File permissions set to 644 for %s\r\n", filepath); + } + free(file_data); + + if (bytes_written != (size_t)content_length) { + // Clean up partial file + unlink(filepath); + printf("Status: 500 Internal Server Error\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Failed to write complete file\n"); + return; + } + + fprintf(stderr, "DEBUG: Successfully saved %zu bytes to %s\r\n", bytes_written, filepath); + + // Extract filename from Content-Disposition header if present + const char* filename = NULL; + const char* content_disposition = getenv("HTTP_CONTENT_DISPOSITION"); + fprintf(stderr, "DEBUG: Content-Disposition header: %s\r\n", content_disposition ? content_disposition : "NULL"); + + if (content_disposition) { + fprintf(stderr, "DEBUG: Looking for filename= in Content-Disposition header\r\n"); + // Look for filename= in Content-Disposition header + const char* filename_start = strstr(content_disposition, "filename="); + if (filename_start) { + fprintf(stderr, "DEBUG: Found filename= at position %ld\r\n", filename_start - content_disposition); + filename_start += 9; // Skip "filename=" + fprintf(stderr, "DEBUG: Filename value starts with: %.20s\r\n", filename_start); + + // Handle quoted filenames + if (*filename_start == '"') { + fprintf(stderr, "DEBUG: Processing quoted filename\r\n"); + filename_start++; // Skip opening quote + // Find closing quote + const char* filename_end = strchr(filename_start, '"'); + if (filename_end) { + // Extract filename between quotes + static char filename_buffer[256]; + size_t filename_len = filename_end - filename_start; + fprintf(stderr, "DEBUG: Quoted filename length: %zu\r\n", filename_len); + if (filename_len < sizeof(filename_buffer)) { + strncpy(filename_buffer, filename_start, filename_len); + filename_buffer[filename_len] = '\0'; + filename = filename_buffer; + fprintf(stderr, "DEBUG: Extracted quoted filename: '%s'\r\n", filename); + } else { + fprintf(stderr, "DEBUG: Quoted filename too long, skipping\r\n"); + } + } else { + fprintf(stderr, "DEBUG: No closing quote found for filename\r\n"); + } + } else { + fprintf(stderr, "DEBUG: Processing unquoted filename\r\n"); + // Unquoted filename - extract until space or end + const char* filename_end = filename_start; + while (*filename_end && *filename_end != ' ' && *filename_end != ';') { + filename_end++; + } + static char filename_buffer[256]; + size_t filename_len = filename_end - filename_start; + fprintf(stderr, "DEBUG: Unquoted filename length: %zu\r\n", filename_len); + if (filename_len < sizeof(filename_buffer)) { + strncpy(filename_buffer, filename_start, filename_len); + filename_buffer[filename_len] = '\0'; + filename = filename_buffer; + fprintf(stderr, "DEBUG: Extracted unquoted filename: '%s'\r\n", filename); + } else { + fprintf(stderr, "DEBUG: Unquoted filename too long, skipping\r\n"); + } + } + } else { + fprintf(stderr, "DEBUG: No filename= found in Content-Disposition header\r\n"); + } + } else { + fprintf(stderr, "DEBUG: No Content-Disposition header provided\r\n"); + } + + fprintf(stderr, "DEBUG: Final filename after extraction: %s\r\n", filename ? filename : "NULL"); + + // Store blob metadata in database + time_t uploaded_time = time(NULL); + if (!insert_blob_metadata(sha256_hex, content_length, content_type, uploaded_time, uploader_pubkey, filename)) { + // Database insertion failed - clean up the physical file to maintain consistency + fprintf(stderr, "DEBUG: Database insertion failed, removing physical file\r\n"); + unlink(filepath); + printf("Status: 500 Internal Server Error\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Failed to store blob metadata\n"); + return; + } + + fprintf(stderr, "DEBUG: Blob metadata successfully stored in database\r\n"); + + // Return success response with blob descriptor + printf("Status: 200 OK\r\n"); + printf("Content-Type: application/json\r\n\r\n"); + printf("{\n"); + printf(" \"sha256\": \"%s\",\n", sha256_hex); + printf(" \"size\": %ld,\n", content_length); + printf(" \"type\": \"%s\",\n", content_type); + printf(" \"uploaded\": %ld,\n", uploaded_time); + printf(" \"url\": \"http://localhost:9001/%s%s\"\n", sha256_hex, extension); + printf("}\n"); + + fprintf(stderr, "DEBUG: Upload completed successfully with database storage\r\n"); +} + +int main(void) { + fprintf(stderr, "STARTUP: FastCGI application starting up\r\n"); + fflush(stderr); + + // CRITICAL: Initialize nostr crypto system for cryptographic operations + fprintf(stderr, "STARTUP: Initializing nostr crypto system...\r\n"); + if (nostr_crypto_init() != 0) { + fprintf(stderr, "FATAL ERROR: Failed to initialize nostr crypto system\r\n"); + return 1; + } + fprintf(stderr, "STARTUP: nostr crypto system initialized successfully\r\n"); + fflush(stderr); + while (FCGI_Accept() >= 0) { + // DEBUG: Log every request received + + const char* request_method = getenv("REQUEST_METHOD"); + const char* request_uri = getenv("REQUEST_URI"); + + + if (!request_method || !request_uri) { + printf("Status: 400 Bad Request\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Invalid request\n"); + continue; + } + + // Handle HEAD requests for blob metadata + if (strcmp(request_method, "HEAD") == 0) { + const char* sha256 = extract_sha256_from_uri(request_uri); + fprintf(stderr, "DEBUG: Extracted SHA256=%s\r\n", sha256 ? sha256 : "NULL"); + if (sha256) { + handle_head_request(sha256); + log_request("HEAD", request_uri, "none", 200); // Assuming success - could be enhanced to track actual status + } else { + printf("Status: 400 Bad Request\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Invalid SHA-256 hash in URI\n"); + log_request("HEAD", request_uri, "none", 400); + } + } else if (strcmp(request_method, "PUT") == 0 && strcmp(request_uri, "/upload") == 0) { + // Handle PUT /upload requests with authentication + handle_upload_request(); + } else if (strcmp(request_method, "GET") == 0 && strncmp(request_uri, "/list/", 6) == 0) { + // Handle GET /list/ requests + const char* pubkey = request_uri + 6; // Skip "/list/" + + // Extract pubkey from URI (remove query string if present) + static char pubkey_buffer[65]; + const char* query_start = strchr(pubkey, '?'); + size_t pubkey_len; + + if (query_start) { + pubkey_len = query_start - pubkey; + } else { + pubkey_len = strlen(pubkey); + } + + if (pubkey_len == 64) { // Valid pubkey length + strncpy(pubkey_buffer, pubkey, 64); + pubkey_buffer[64] = '\0'; + handle_list_request(pubkey_buffer); + } else { + send_error_response(400, "invalid_pubkey", "Invalid pubkey format", "Pubkey must be 64 hex characters"); + log_request("GET", request_uri, "none", 400); + } + } else if (strcmp(request_method, "DELETE") == 0) { + // Handle DELETE / requests + const char* sha256 = extract_sha256_from_uri(request_uri); + fprintf(stderr, "DEBUG: DELETE request - extracted SHA256=%s\r\n", sha256 ? sha256 : "NULL"); + if (sha256) { + handle_delete_request(sha256); + } else { + send_error_response(400, "invalid_hash", "Invalid SHA-256 hash in URI", "URI must contain a valid 64-character hex hash"); + log_request("DELETE", request_uri, "none", 400); + } + } else { + // Other methods not implemented yet + printf("Status: 501 Not Implemented\r\n"); + printf("Content-Type: text/plain\r\n\r\n"); + printf("Method %s not implemented\n", request_method); + log_request(request_method, request_uri, "none", 501); + } + } + + return 0; +} diff --git a/blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt b/blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt deleted file mode 100644 index 460e87e..0000000 --- a/blobs/115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T15:17:47-04:00 -Random data: 4e8fefec3104b88408f0c71a73e97ba176846747e5577334d42be314839a9bba -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt b/blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt deleted file mode 100644 index fa2724e..0000000 --- a/blobs/52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T14:22:55-04:00 -Random data: 952a584d8f3fc6b5e49b1dfabbf68d76385d6d51142aa07170c71897ea861c03 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt b/blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt deleted file mode 100644 index 753c7cd..0000000 --- a/blobs/e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt +++ /dev/null @@ -1,7 +0,0 @@ -Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T13:59:11-04:00 -Random data: 77050ac92e48c47746e1d90541d99079e811c59fdd109491165b6d310ef8da76 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. diff --git a/build/ginxsom-fcgi b/build/ginxsom-fcgi index e19c834..7c41f6d 100755 Binary files a/build/ginxsom-fcgi and b/build/ginxsom-fcgi differ diff --git a/build/main.o b/build/main.o index 5b67c39..f1d5904 100644 Binary files a/build/main.o and b/build/main.o differ diff --git a/db/ginxsom.db b/db/ginxsom.db index 09f3247..79f0664 100644 Binary files a/db/ginxsom.db and b/db/ginxsom.db differ diff --git a/debug_hash_data.log b/debug_hash_data.log deleted file mode 100644 index 482f769..0000000 --- a/debug_hash_data.log +++ /dev/null @@ -1,42 +0,0 @@ -=== HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431333a35393a31312d30343a30300a52616e646f6d20646174613a20373730353061633932653438633437373436653164393035343164393930373965383131633539666464313039343931313635623664333130656638646137360a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T13:59:11-04:00 -Random data: 77050ac92e48c47746e1d90541d99079e811c59fdd109491165b6d310ef8da76 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 -=== END DEBUG SESSION === - -=== HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431343a32323a35352d30343a30300a52616e646f6d20646174613a20393532613538346438663366633662356534396231646661626266363864373633383564366435313134326161303731373063373138393765613836316330330a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T14:22:55-04:00 -Random data: 952a584d8f3fc6b5e49b1dfabbf68d76385d6d51142aa07170c71897ea861c03 -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: 52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1 -=== END DEBUG SESSION === - -=== HASH DEBUG SESSION === -Content length: 296 -File data to hash: 5465737420626c6f6220636f6e74656e7420666f722047696e78736f6d20426c6f73736f6d207365727665720a54696d657374616d703a20323032352d30392d30325431353a31373a34372d30343a30300a52616e646f6d20646174613a20346538666566656333313034623838343038663063373161373365393762613137363834363734376535353737333334643432626533313438333961396262610a54657374206d6573736167653a2048656c6c6f2066726f6d207075745f746573742e7368210a0a546869732066696c65206973207573656420746f2074657374207468652075706c6f61642066756e6374696f6e616c6974790a6f66207468652047696e78736f6d20426c6f73736f6d2073657276657220696d706c656d656e746174696f6e2e0a -File data as string: Test blob content for Ginxsom Blossom server -Timestamp: 2025-09-02T15:17:47-04:00 -Random data: 4e8fefec3104b88408f0c71a73e97ba176846747e5577334d42be314839a9bba -Test message: Hello from put_test.sh! - -This file is used to test the upload functionality -of the Ginxsom Blossom server implementation. - -Calculated SHA-256: 115c440bf5b69015f8b844d325ae33458a555b463d5d53e4dfe2d24cd740c5bc -=== END DEBUG SESSION === - diff --git a/debug_validation.log b/debug_validation.log deleted file mode 100644 index 0701cb8..0000000 --- a/debug_validation.log +++ /dev/null @@ -1,36 +0,0 @@ -=== STRUCTURE VALIDATION DEBUG === -nostr_validate_event_structure result: 0 (Success) -=== END STRUCTURE DEBUG === - -=== CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: 0 (Success) -=== END CRYPTO DEBUG === - -=== COMPLETE VALIDATION DEBUG === -nostr_validate_event result: 0 (Success) -=== END COMPLETE DEBUG === - -=== STRUCTURE VALIDATION DEBUG === -nostr_validate_event_structure result: 0 (Success) -=== END STRUCTURE DEBUG === - -=== CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: 0 (Success) -=== END CRYPTO DEBUG === - -=== COMPLETE VALIDATION DEBUG === -nostr_validate_event result: 0 (Success) -=== END COMPLETE DEBUG === - -=== STRUCTURE VALIDATION DEBUG === -nostr_validate_event_structure result: 0 (Success) -=== END STRUCTURE DEBUG === - -=== CRYPTO VALIDATION DEBUG === -nostr_verify_event_signature result: 0 (Success) -=== END CRYPTO DEBUG === - -=== COMPLETE VALIDATION DEBUG === -nostr_validate_event result: 0 (Success) -=== END COMPLETE DEBUG === - diff --git a/logs/access.log b/logs/access.log index d20e93e..0d6d57b 100755 --- a/logs/access.log +++ b/logs/access.log @@ -1,28 +1,103 @@ -127.0.0.1 - - [02/Sep/2025:11:22:13 -0400] "PUT /upload HTTP/1.1" 401 150 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:11:29:38 -0400] "PUT /upload HTTP/1.1" 401 150 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:11:32:15 -0400] "PUT /upload HTTP/1.1" 401 150 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:11:35:33 -0400] "PUT /upload HTTP/1.1" 401 150 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:11:40:11 -0400] "PUT /upload HTTP/1.1" 401 150 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:11:43:51 -0400] "PUT /upload HTTP/1.1" 401 163 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:11:48:32 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:01:40 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:45:18 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:45:29 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:45:34 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:45:42 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:46:50 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:12:49:20 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 1520 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:13:59:11 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:13:59:38 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:03:38 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:05:11 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:22:56 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:23:24 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:24:38 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 635 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:25:06 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:14:25:10 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:15:17:32 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 635 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:15:17:47 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:15:18:08 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:15:20:15 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4.txt HTTP/1.1" 200 296 "-" "curl/8.15.0" -127.0.0.1 - - [02/Sep/2025:15:20:49 -0400] "GET /e6bdc6b5336072dc05e1a6eea68c75110cbd6c1994f5dbfe75c5880a8b43dcf4 HTTP/1.1" 200 296 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "GET /2b585be19adc5a3b3bfe100c5c6c70839cbe9beaf4ff1ea02a2484fb86c7eb20.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "DELETE /2b585be19adc5a3b3bfe100c5c6c70839cbe9beaf4ff1ea02a2484fb86c7eb20 HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "GET /2b585be19adc5a3b3bfe100c5c6c70839cbe9beaf4ff1ea02a2484fb86c7eb20.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "HEAD /2b585be19adc5a3b3bfe100c5c6c70839cbe9beaf4ff1ea02a2484fb86c7eb20 HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:00:53 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:48 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:48 -0400] "GET /90dacf3b0c30be82a17a19b6fbc575cc374f961ba89e6fb6a3e686aae9d359a3.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:48 -0400] "DELETE /90dacf3b0c30be82a17a19b6fbc575cc374f961ba89e6fb6a3e686aae9d359a3 HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:48 -0400] "GET /90dacf3b0c30be82a17a19b6fbc575cc374f961ba89e6fb6a3e686aae9d359a3.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:48 -0400] "HEAD /90dacf3b0c30be82a17a19b6fbc575cc374f961ba89e6fb6a3e686aae9d359a3 HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:49 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:07:49 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "GET /b84b9a4c07c81b39b2ea3e77ef4e83b00034870b915540a87cb259b419316948.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "DELETE /b84b9a4c07c81b39b2ea3e77ef4e83b00034870b915540a87cb259b419316948 HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "GET /b84b9a4c07c81b39b2ea3e77ef4e83b00034870b915540a87cb259b419316948.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "HEAD /b84b9a4c07c81b39b2ea3e77ef4e83b00034870b915540a87cb259b419316948 HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:15 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:45 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:45 -0400] "GET /0d309cb86f18a0e641c3fa5c8e6f74298d8519129d23a01696781bd91cdd6a84.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:45 -0400] "DELETE /0d309cb86f18a0e641c3fa5c8e6f74298d8519129d23a01696781bd91cdd6a84 HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:45 -0400] "GET /0d309cb86f18a0e641c3fa5c8e6f74298d8519129d23a01696781bd91cdd6a84.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:45 -0400] "HEAD /0d309cb86f18a0e641c3fa5c8e6f74298d8519129d23a01696781bd91cdd6a84 HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:46 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:08:46 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:51 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:51 -0400] "GET /04f46448a6c651e37ff64ab22f807c40315f7c51f67545c60a7163a24c93d679.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:52 -0400] "DELETE /04f46448a6c651e37ff64ab22f807c40315f7c51f67545c60a7163a24c93d679 HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:52 -0400] "GET /04f46448a6c651e37ff64ab22f807c40315f7c51f67545c60a7163a24c93d679.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:52 -0400] "HEAD /04f46448a6c651e37ff64ab22f807c40315f7c51f67545c60a7163a24c93d679 HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:52 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:11:52 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "GET /5419a62dcb85b8e8466f273362ae4d2da8c62eab77c12f3737d92f4cec583e17.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "DELETE /5419a62dcb85b8e8466f273362ae4d2da8c62eab77c12f3737d92f4cec583e17 HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "GET /5419a62dcb85b8e8466f273362ae4d2da8c62eab77c12f3737d92f4cec583e17.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "HEAD /5419a62dcb85b8e8466f273362ae4d2da8c62eab77c12f3737d92f4cec583e17 HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:15:20 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:45:20 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:45:46 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:47:31 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:47:53 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 4807 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:49:14 -0400] "GET /list/79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 HTTP/1.1" 200 4807 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:49:19 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "GET /b88fbd5b2524f46e1395ec8a016f283572753a422db9c436c393e7b8e71a99cd.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "DELETE /b88fbd5b2524f46e1395ec8a016f283572753a422db9c436c393e7b8e71a99cd HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "GET /b88fbd5b2524f46e1395ec8a016f283572753a422db9c436c393e7b8e71a99cd.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "HEAD /b88fbd5b2524f46e1395ec8a016f283572753a422db9c436c393e7b8e71a99cd HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:50:01 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "GET /f06b28d395f4abe4a74447059526afd860e704fc570f6643753f973691d2d3ca.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "DELETE /f06b28d395f4abe4a74447059526afd860e704fc570f6643753f973691d2d3ca HTTP/1.1" 403 132 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "GET /f06b28d395f4abe4a74447059526afd860e704fc570f6643753f973691d2d3ca.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "HEAD /f06b28d395f4abe4a74447059526afd860e704fc570f6643753f973691d2d3ca HTTP/1.1" 200 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:52:15 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:02 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:02 -0400] "GET /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:02 -0400] "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1" 200 136 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:02 -0400] "GET /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:02 -0400] "HEAD /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1" 404 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:03 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:56:03 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:34 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:34 -0400] "GET /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:35 -0400] "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1" 200 136 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:35 -0400] "GET /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:35 -0400] "HEAD /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1" 404 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:35 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:16:58:35 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:58 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:58 -0400] "GET /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:59 -0400] "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1" 200 136 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:59 -0400] "GET /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:59 -0400] "HEAD /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1" 404 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:59 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:00:59 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:03 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:03 -0400] "GET /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:04 -0400] "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1" 200 136 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:04 -0400] "GET /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:04 -0400] "HEAD /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1" 404 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:04 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:13:04 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:18:33 -0400] "PUT /e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5 HTTP/1.1" 405 166 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:18 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:18 -0400] "GET /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:18 -0400] "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1" 200 136 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:18 -0400] "GET /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:18 -0400] "HEAD /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1" 404 0 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:19 -0400] "PUT /upload HTTP/1.1" 200 261 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:20:19 -0400] "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" 401 188 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:21:41 -0400] "PUT /upload HTTP/1.1" 200 262 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:21:41 -0400] "GET /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt HTTP/1.1" 200 155 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:21:41 -0400] "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1" 200 136 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:21:41 -0400] "GET /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt HTTP/1.1" 404 162 "-" "curl/8.15.0" +127.0.0.1 - - [02/Sep/2025:17:21:41 -0400] "HEAD /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1" 404 0 "-" "curl/8.15.0" diff --git a/logs/error.log b/logs/error.log old mode 100755 new mode 100644 index 4cf5e64..5d0d09c --- a/logs/error.log +++ b/logs/error.log @@ -1,13672 +1,12960 @@ -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 +2025/09/02 16:55:56 [debug] 196547#196547: bind() 0.0.0.0:9001 #5 +2025/09/02 16:55:56 [debug] 196547#196547: counter: 00007E6682CE5080, 1 +2025/09/02 16:55:56 [debug] 196548#196548: bind() 0.0.0.0:9001 #5 +2025/09/02 16:55:56 [notice] 196548#196548: using the "epoll" event method +2025/09/02 16:55:56 [debug] 196548#196548: counter: 000079BCB191E080, 1 +2025/09/02 16:55:56 [notice] 196548#196548: nginx/1.18.0 (Ubuntu) +2025/09/02 16:55:56 [notice] 196548#196548: OS: Linux 6.12.10-76061203-generic +2025/09/02 16:55:56 [notice] 196548#196548: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 16:55:56 [debug] 196549#196548: write: 6, 00007FFF7EF4AB40, 7, 0 +2025/09/02 16:55:56 [debug] 196549#196549: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 16:55:56 [notice] 196549#196549: start worker processes +2025/09/02 16:55:56 [debug] 196549#196549: channel 6:7 +2025/09/02 16:55:56 [notice] 196549#196549: start worker process 196550 +2025/09/02 16:55:56 [debug] 196549#196549: sigsuspend +2025/09/02 16:55:56 [debug] 196550#196550: add cleanup: 0000581259917260 +2025/09/02 16:55:56 [debug] 196550#196550: malloc: 00005812598B5BD0:8 +2025/09/02 16:55:56 [debug] 196550#196550: notify eventfd: 9 +2025/09/02 16:55:56 [debug] 196550#196550: testing the EPOLLRDHUP flag: success +2025/09/02 16:55:56 [debug] 196550#196550: malloc: 00005812598C9FF0:6144 +2025/09/02 16:55:56 [debug] 196550#196550: malloc: 000079BCB1716010:237568 +2025/09/02 16:55:56 [debug] 196550#196550: malloc: 000058125991B160:98304 +2025/09/02 16:55:56 [debug] 196550#196550: malloc: 0000581259933170:98304 +2025/09/02 16:55:56 [debug] 196550#196550: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 16:55:56 [debug] 196550#196550: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 16:55:56 [debug] 196550#196550: setproctitle: "nginx: worker process" +2025/09/02 16:55:56 [debug] 196550#196550: worker cycle +2025/09/02 16:55:56 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:56:02 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:56:02 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *1 accept: 127.0.0.1:55282 fd:6 +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer add: 6: 60000:100322889 +2025/09/02 16:56:02 [debug] 196550#196550: *1 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 6164 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http wait request handler +2025/09/02 16:56:02 [debug] 196550#196550: *1 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: fd:6 925 of 1024 +2025/09/02 16:56:02 [debug] 196550#196550: *1 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http process request line +2025/09/02 16:56:02 [debug] 196550#196550: *1 http request line: "PUT /upload HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http uri: "/upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http args: "" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http exten: "" +2025/09/02 16:56:02 [debug] 196550#196550: *1 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http process request header line +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header: "Host: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header: "Accept: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjNzUwYTg2OTgzOGJlOWU1NmY3Mjg2YzA2YjkwM2ViNjZhMmM5ZjAzNjViNGIwMzAxY2U0YTkwODFhNTFmMTNkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY1NjIsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlYTFiNjU0YTEzNWY3ODFlMjY5ZTBjMjBjYWY4MDBjM2Q5OTdkMmFjOTdhNzUzMTdjNDYwNDU0MzZjNGUwMzVjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDE2MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjExNGQwMWFhZGM1NjBmMTI5MWYxYjRjMzA1Zjk0Mzk2NzYwZmViYTk4MDJkYzJmMmQ0ODA0NWI1NjZjODI3MjUyNzdiMzJjOTA1MjY2YTYwNjQxNzQ1Nzc5ZjE0NWY0ZGM2YTQ0NjNlN2Y0M2Y1ZDVmODc5NmUwNDIwNWUwZGQ0In0=" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header: "Content-Type: text/plain" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header: "Content-Length: 155" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http header done +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer del: 6: 100322889 +2025/09/02 16:56:02 [debug] 196550#196550: *1 generic phase: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 rewrite phase: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *1 test location: "/report" +2025/09/02 16:56:02 [debug] 196550#196550: *1 test location: "/upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 using configuration "=/upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http cl:155 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *1 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "PUT" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script regex: "^(PUT|HEAD)$" +2025/09/02 16:56:02 [notice] 196550#196550: *1 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *1 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *1 generic phase: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *1 generic phase: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *1 generic phase: 7 +2025/09/02 16:56:02 [debug] 196550#196550: *1 access phase: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 access phase: 9 +2025/09/02 16:56:02 [debug] 196550#196550: *1 access phase: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *1 post access phase: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *1 generic phase: 12 +2025/09/02 16:56:02 [debug] 196550#196550: *1 generic phase: 13 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http client request body preread 155 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http request body content length filter +2025/09/02 16:56:02 [debug] 196550#196550: *1 http body new buf t:1 f:0 00005812598B73A2, pos 00005812598B73A2, size: 155 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http init upstream, client timer: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "QUERY_STRING" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "QUERY_STRING: " +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "REQUEST_METHOD" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "PUT" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "CONTENT_TYPE" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "text/plain" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "CONTENT_LENGTH" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "155" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "CONTENT_LENGTH: 155" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SCRIPT_NAME" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "/upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "REQUEST_URI" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "/upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "DOCUMENT_URI" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "/upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "DOCUMENT_ROOT" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "REQUEST_SCHEME" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "http" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "GATEWAY_INTERFACE" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "CGI/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "nginx/" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "1.18.0" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "REMOTE_ADDR" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "REMOTE_PORT" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "55282" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "REMOTE_PORT: 55282" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SERVER_ADDR" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SERVER_PORT" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SERVER_NAME" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "localhost" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "REDIRECT_STATUS" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "200" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script var: "./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http script copy: "/ginxsom.fcgi" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJjNzUwYTg2OTgzOGJlOWU1NmY3Mjg2YzA2YjkwM2ViNjZhMmM5ZjAzNjViNGIwMzAxY2U0YTkwODFhNTFmMTNkIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY1NjIsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJlYTFiNjU0YTEzNWY3ODFlMjY5ZTBjMjBjYWY4MDBjM2Q5OTdkMmFjOTdhNzUzMTdjNDYwNDU0MzZjNGUwMzVjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDE2MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjExNGQwMWFhZGM1NjBmMTI5MWYxYjRjMzA1Zjk0Mzk2NzYwZmViYTk4MDJkYzJmMmQ0ODA0NWI1NjZjODI3MjUyNzdiMzJjOTA1MjY2YTYwNjQxNzQ1Nzc5ZjE0NWY0ZGM2YTQ0NjNlN2Y0M2Y1ZDVmODc5NmUwNDIwNWUwZGQ0In0=" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 16:56:02 [debug] 196550#196550: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 155" +2025/09/02 16:56:02 [debug] 196550#196550: *1 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http cleanup add: 00005812598CC7E8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 get rr peer, try: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 stream socket 10 +2025/09/02 16:56:02 [debug] 196550#196550: *1 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:56:02 [debug] 196550#196550: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 +2025/09/02 16:56:02 [debug] 196550#196550: *1 connected +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream connect: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream send request +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream send request body +2025/09/02 16:56:02 [debug] 196550#196550: *1 chain writer buf fl:0 s:1224 +2025/09/02 16:56:02 [debug] 196550#196550: *1 chain writer buf fl:0 s:155 +2025/09/02 16:56:02 [debug] 196550#196550: *1 chain writer buf fl:0 s:13 +2025/09/02 16:56:02 [debug] 196550#196550: *1 chain writer in: 00005812598BE278 +2025/09/02 16:56:02 [debug] 196550#196550: *1 writev: 1392 of 1392 +2025/09/02 16:56:02 [debug] 196550#196550: *1 chain writer out: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer add: 10: 60000:100322890 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http request count:2 blk:0 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http run request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream check client, write event:1, "/upload" +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *1 malloc: 00005812598BF150:4096 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: fd:10 2712 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 8E +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 02 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 142 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "LOG: [2025-09-02 16:56:02] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 16:56:02] PUT /upload - Auth: auth_provided - Status: 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 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "hod: upload, hash: ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846562,"tags":[["t","upload"],["x","ea1b654a135f781e269e0c20caf800c3d99" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "7d2ac97a75317c46045436c4e035c"],["expiration","1756850162"]],"content":"","sig":"114d01aadc560f1291f1b4c305f94396760feba9802dc2f2d48045b566c82725277b32c905266a60641745779f145f4dc6a4463e7f43f5d5f8796e04205e0dd4"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846562, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: " ["x", "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c"], ["expiration", "1756850162"]], + "content": "", + "sig": "114d01aadc560f1291f1b4c305f94396760feba9802dc2f2d48045b566c82725277b32c905266a60641745779f145f4dc6a4463e7f43f5d5f8796e04205e0dd4" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 114d01aadc560f" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "1291f1b4c305f94396760feba9802dc2f2d48045b566c82725277b32c905266a60641745779f145f4dc6a4463e7f43f5d5f8796e04205e0dd4 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846562 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:0, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: fd:10 4096 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: avail:512 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: 'c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d' (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: '114d01aadc560f1291f1b4c305f94396760feba9802dc2f2d4804" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "5b566c82725277b32c905266a60641745779f145f4dc6a4463e7f43f5d5f8796e04205e0dd4' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756846562 +SUCCESS: Timestamp is valid: 2025-09-02 20:56:02 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' +ℹINFO: Tag[1][1]: 'ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850162' +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 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 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( c7 50 a8 69 83 8b e9 e5 6f 72 86 c0 6b 90 3e b6 |.P.i....or..k.>.| + 6a 2c 9f 03 65 b" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:0, avail:512 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: fd:10 2560 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "4 b0 30 1c e4 a9 08 1a 51 f1 3d |j,..e..0.....Q.=| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d +ℹINFO: Provided ID: c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d +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 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 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "b 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 ( 11 4d 01 aa dc 56 0f 12 91 f1 b4 c3 05 f9 43 96 |.M...V........C.| + 76 0f eb a9 80 2d c2 f2 d4 80 45 b5 66 c8 27 25 |v....-....E.f.'%| + 27 7b 32 c9 05 26 6a 60 64 17 45 77 9f 14 5f 4d |'{2..&j`d.Ew.._M| + c6 a4 46 3e 7f 43 f5 d5 f8 79 6e 04 20 5e 0d d4 |..F>.C...yn. ^..| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: 'c750a869838be9e56f7286c06b903eb66a2c9f0365b4b0301ce4a9081a51f13d' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846562 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '114d01aadc560f1291f1b4c305f94396760feba9802dc2f2d48045b566c82725277b32c905266a60641745779f145f4dc6a4463e7f43f5d5f8796e04205e0dd4' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:0, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59997 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream request: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: fd:10 384 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 1C +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 04 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 28 +2025/09/02 16:56:02 [error] 196550#196550: *1 FastCGI sent in stderr: "ticate_request returned: 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 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 06 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 2D +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 03 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 301 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi parser: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi header: "Status: 200 OK" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi parser: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi header: "Content-Type: application/json" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi parser: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi header done +2025/09/02 16:56:02 [debug] 196550#196550: *1 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) -Date: Tue, 02 Sep 2025 15:19:53 GMT +Date: Tue, 02 Sep 2025 20:56:02 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 16:56:02 [debug] 196550#196550: *1 write new buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http write filter: l:0 f:0 s:260 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http cacheable: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream process upstream +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe read upstream: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe preread: 278 +2025/09/02 16:56:02 [debug] 196550#196550: *1 readv: eof:1, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 readv: 1, last:3712 +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe recv chain: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 278 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe length: -1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 input buf #0 00005812598BF1BA +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 06 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi closed stdout +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 03 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 08 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi record length: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http fastcgi sent end request +2025/09/02 16:56:02 [debug] 196550#196550: *1 input buf 00005812598BF1BA 251 +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe write downstream: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe write downstream flush in +2025/09/02 16:56:02 [debug] 196550#196550: *1 http output filter "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http copy filter: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http postpone filter "/upload?" 00005812598BE248 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http chunk: 251 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write new buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 251 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http write filter: l:0 f:0 s:517 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http copy filter: 0 "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 pipe write downstream done +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer: 10, old: 100322890, new: 100322896 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream exit: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *1 finalize http upstream request: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 finalize http fastcgi request +2025/09/02 16:56:02 [debug] 196550#196550: *1 free rr peer 1 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 close http upstream connection: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 000058125989DF20, unused: 48 +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer del: 10: 100322890 +2025/09/02 16:56:02 [debug] 196550#196550: *1 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http upstream temp fd: -1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http output filter "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http copy filter: "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http postpone filter "/upload?" 00007FFF7EF4A780 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http chunk: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write old buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 251 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http write filter: l:1 f:0 s:522 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http write filter limit 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 writev: 522 of 522 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http write filter 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http copy filter: 0 "/upload?" +2025/09/02 16:56:02 [debug] 196550#196550: *1 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 set http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *1 http close request +2025/09/02 16:56:02 [debug] 196550#196550: *1 http log handler +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598BF150 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598D5490, unused: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598CB800, unused: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598BE140, unused: 1770 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 hc free: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *1 hc busy: 0000000000000000 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 tcp_nodelay +2025/09/02 16:56:02 [debug] 196550#196550: *1 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer add: 6: 65000:100327896 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 3 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *1 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *1 recv: fd:6 0 of 1024 +2025/09/02 16:56:02 [info] 196550#196550: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 16:56:02 [debug] 196550#196550: *1 close http connection: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *1 event timer del: 6: 100327896 +2025/09/02 16:56:02 [debug] 196550#196550: *1 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *1 free: 00005812598B4840, unused: 120 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:56:02 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:56:02 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *3 accept: 127.0.0.1:55290 fd:6 +2025/09/02 16:56:02 [debug] 196550#196550: *3 event timer add: 6: 60000:100322906 +2025/09/02 16:56:02 [debug] 196550#196550: *3 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 9 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http wait request handler +2025/09/02 16:56:02 [debug] 196550#196550: *3 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *3 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 recv: fd:6 146 of 1024 +2025/09/02 16:56:02 [debug] 196550#196550: *3 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http process request line +2025/09/02 16:56:02 [debug] 196550#196550: *3 http request line: "GET /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http uri: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http args: "" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http exten: "txt" +2025/09/02 16:56:02 [debug] 196550#196550: *3 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http process request header line +2025/09/02 16:56:02 [debug] 196550#196550: *3 http header: "Host: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http header: "Accept: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http header done +2025/09/02 16:56:02 [debug] 196550#196550: *3 event timer del: 6: 100322906 +2025/09/02 16:56:02 [debug] 196550#196550: *3 generic phase: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 rewrite phase: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *3 test location: "/debug/list" +2025/09/02 16:56:02 [debug] 196550#196550: *3 test location: "/health" +2025/09/02 16:56:02 [debug] 196550#196550: *3 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:56:02 [debug] 196550#196550: *3 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *3 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http cl:-1 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *3 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script var: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script value: "DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script var: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script value: "HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script var: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script value: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script not equal +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script not equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *3 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *3 generic phase: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *3 generic phase: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *3 generic phase: 7 +2025/09/02 16:56:02 [debug] 196550#196550: *3 access phase: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *3 access phase: 9 +2025/09/02 16:56:02 [debug] 196550#196550: *3 access phase: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *3 post access phase: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *3 generic phase: 12 +2025/09/02 16:56:02 [debug] 196550#196550: *3 try files handler +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script copy: "/" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http script copy: ".txt" +2025/09/02 16:56:02 [debug] 196550#196550: *3 trying to use file: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" "./blobs/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *3 try file uri: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *3 generic phase: 13 +2025/09/02 16:56:02 [debug] 196550#196550: *3 content phase: 14 +2025/09/02 16:56:02 [debug] 196550#196550: *3 content phase: 15 +2025/09/02 16:56:02 [debug] 196550#196550: *3 content phase: 16 +2025/09/02 16:56:02 [debug] 196550#196550: *3 content phase: 17 +2025/09/02 16:56:02 [debug] 196550#196550: *3 content phase: 18 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http filename: "./blobs/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *3 add cleanup: 00005812598CBBE0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http static fd: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http set discard body +2025/09/02 16:56:02 [debug] 196550#196550: *3 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:56:02 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 20:56:02 GMT +Connection: keep-alive +ETag: "68b759e2-9b" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 16:56:02 [debug] 196550#196550: *3 write new buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http write filter: l:0 f:0 s:299 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http output filter "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http copy filter: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http postpone filter "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" 00007FFF7EF4A670 +2025/09/02 16:56:02 [debug] 196550#196550: *3 write old buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http write filter: l:1 f:0 s:454 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http write filter limit 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 tcp_nopush +2025/09/02 16:56:02 [debug] 196550#196550: *3 writev: 299 of 299 +2025/09/02 16:56:02 [debug] 196550#196550: *3 sendfile: @0 155 +2025/09/02 16:56:02 [debug] 196550#196550: *3 sendfile: 155 of 155 @0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http write filter 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http copy filter: 0 "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" +2025/09/02 16:56:02 [debug] 196550#196550: *3 http finalize request: 0, "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" a:1, c:1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 set http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *3 http close request +2025/09/02 16:56:02 [debug] 196550#196550: *3 http log handler +2025/09/02 16:56:02 [debug] 196550#196550: *3 run cleanup: 00005812598CBBE0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 file cleanup: fd:10 +2025/09/02 16:56:02 [debug] 196550#196550: *3 free: 00005812598D5490, unused: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *3 free: 00005812598CB800, unused: 1932 +2025/09/02 16:56:02 [debug] 196550#196550: *3 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 hc free: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *3 hc busy: 0000000000000000 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 event timer add: 6: 65000:100327906 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:2001 d:000079BCB17161E1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *3 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *3 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *3 recv: fd:6 0 of 1024 +2025/09/02 16:56:02 [info] 196550#196550: *3 client 127.0.0.1 closed keepalive connection +2025/09/02 16:56:02 [debug] 196550#196550: *3 close http connection: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *3 event timer del: 6: 100327906 +2025/09/02 16:56:02 [debug] 196550#196550: *3 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *3 free: 00005812598B4840, unused: 136 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:56:02 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:56:02 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *4 accept: 127.0.0.1:55296 fd:6 +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer add: 6: 60000:100323218 +2025/09/02 16:56:02 [debug] 196550#196550: *4 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 311 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http wait request handler +2025/09/02 16:56:02 [debug] 196550#196550: *4 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:6 784 of 1024 +2025/09/02 16:56:02 [debug] 196550#196550: *4 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http process request line +2025/09/02 16:56:02 [debug] 196550#196550: *4 http request line: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http uri: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http args: "" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http exten: "" +2025/09/02 16:56:02 [debug] 196550#196550: *4 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http process request header line +2025/09/02 16:56:02 [debug] 196550#196550: *4 http header: "Host: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http header: "Accept: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI2MWQ1YmJhNTBkZDZlYTRiNzNiZThhNTEzMjViMGU2ZjRiZjZmYjE1NTdjZWQ5OWM2MThhM2FiNThkM2JjOWFhIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY1NjIsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCJlYTFiNjU0YTEzNWY3ODFlMjY5ZTBjMjBjYWY4MDBjM2Q5OTdkMmFjOTdhNzUzMTdjNDYwNDU0MzZjNGUwMzVjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDE2MiJdXSwiY29udGVudCI6IiIsInNpZyI6ImFlYzE3MWM4NGMxNWM0ZGQ1YTEzNzZkYTM0MzJhNmU3ODhmM2Q3NjdmOWQ4ZDhmOWI1ODNjYmI1MzllOWI0NmQ3ODk0NTE1MDhiZDEwYjFkNDI5MGIwMWE0Yjg3MmE2NzY1NzI4M2Y1Yjc0ZjAxZjQ1ODIyYmEwYTZjZDAzM2Q4In0=" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http header done +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer del: 6: 100323218 +2025/09/02 16:56:02 [debug] 196550#196550: *4 generic phase: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 rewrite phase: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: "/debug/list" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: "/health" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http cl:-1 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *4 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script value: "DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script regex: "^/(.*)$" +2025/09/02 16:56:02 [notice] 196550#196550: *4 "^/(.*)$" matches "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c", client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "/fcgi-delete/" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script regex end +2025/09/02 16:56:02 [notice] 196550#196550: *4 rewritten data: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *4 uri changes: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: "/debug/list" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: "/health" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http cl:-1 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *4 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *4 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *4 generic phase: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *4 generic phase: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *4 generic phase: 7 +2025/09/02 16:56:02 [debug] 196550#196550: *4 access phase: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 access phase: 9 +2025/09/02 16:56:02 [debug] 196550#196550: *4 access phase: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *4 post access phase: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *4 generic phase: 12 +2025/09/02 16:56:02 [debug] 196550#196550: *4 generic phase: 13 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http init upstream, client timer: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "QUERY_STRING" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "QUERY_STRING: " +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "REQUEST_METHOD" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "CONTENT_TYPE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "CONTENT_TYPE: " +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "CONTENT_LENGTH" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SCRIPT_NAME" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SCRIPT_NAME: /fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "REQUEST_URI" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "/" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "REQUEST_URI: /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "DOCUMENT_URI" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "/" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "DOCUMENT_URI: /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "DOCUMENT_ROOT" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "REQUEST_SCHEME" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "http" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "GATEWAY_INTERFACE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "CGI/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "nginx/" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "1.18.0" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "REMOTE_ADDR" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "REMOTE_PORT" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "55296" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "REMOTE_PORT: 55296" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SERVER_ADDR" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SERVER_PORT" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SERVER_NAME" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "localhost" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "REDIRECT_STATUS" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "200" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script var: "./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http script copy: "/ginxsom.fcgi" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *4 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI2MWQ1YmJhNTBkZDZlYTRiNzNiZThhNTEzMjViMGU2ZjRiZjZmYjE1NTdjZWQ5OWM2MThhM2FiNThkM2JjOWFhIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY1NjIsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCJlYTFiNjU0YTEzNWY3ODFlMjY5ZTBjMjBjYWY4MDBjM2Q5OTdkMmFjOTdhNzUzMTdjNDYwNDU0MzZjNGUwMzVjIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDE2MiJdXSwiY29udGVudCI6IiIsInNpZyI6ImFlYzE3MWM4NGMxNWM0ZGQ1YTEzNzZkYTM0MzJhNmU3ODhmM2Q3NjdmOWQ4ZDhmOWI1ODNjYmI1MzllOWI0NmQ3ODk0NTE1MDhiZDEwYjFkNDI5MGIwMWE0Yjg3MmE2NzY1NzI4M2Y1Yjc0ZjAxZjQ1ODIyYmEwYTZjZDAzM2Q4In0=" +2025/09/02 16:56:02 [debug] 196550#196550: *4 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http cleanup add: 00005812598CC7D8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 get rr peer, try: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 stream socket 10 +2025/09/02 16:56:02 [debug] 196550#196550: *4 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:56:02 [debug] 196550#196550: *4 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #5 +2025/09/02 16:56:02 [debug] 196550#196550: *4 connected +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream connect: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream send request +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream send request body +2025/09/02 16:56:02 [debug] 196550#196550: *4 chain writer buf fl:0 s:1352 +2025/09/02 16:56:02 [debug] 196550#196550: *4 chain writer in: 00005812598CC7F0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 writev: 1352 of 1352 +2025/09/02 16:56:02 [debug] 196550#196550: *4 chain writer out: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer add: 10: 60000:100323219 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http finalize request: -4, "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" a:1, c:2 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http request count:2 blk:0 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http run request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream check client, write event:1, "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *4 malloc: 00005812598BF150:4096 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:10 2560 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "LOG: [2025-09-02 16:56:02] DELETE /delete - Auth: pending - Status: 0 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with method: delete, hash: ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c +STEP SERVER-2: Calling" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846562,"tags":[["t","delete"],["x","ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c"],["expiration","1756850162"]],"content":"","sig":"aec171c84c15c4dd5a1376da34" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "32a6e788f3d767f9d8d8f9b583cbb539e9b46d789451508bd10b1d4290b01a4b872a67657283f5b74f01f45822ba0a6cd033d8"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846562, + "tags": [["t", "delete"], ["x", "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c"], ["expiration", "1756850162"]]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: " "content": "", + "sig": "aec171c84c15c4dd5a1376da3432a6e788f3d767f9d8d8f9b583cbb539e9b46d789451508bd10b1d4290b01a4b872a67657283f5b74f01f45822ba0a6cd033d8" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: aec171c84c15c4dd5a1376da3432a6e788f3d767f9d8d8f9b583cbb539e9b46d789451508bd10b1d4290b01a4b872a67657283f5b74f01f45822ba0a6" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "cd033d8 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846562 +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: Length: ℹINFO: Character an" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:10 4096 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: avail:512 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "alysis (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 returned: 0 (Success) +SUCCESS: Crypto verification PASSED +ℹINFO: Testing co" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "mplete validation... +ℹ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 existence +S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "UCCESS: 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' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: " hex string lengths +ℹINFO: ID string: '61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa' (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: 'aec171c84c15c4dd5a1376da3432a6e788f3d767f9d8d8f9b583cbb539e9b46d789451508bd10b1d4290b01a4b872a67657283f5b74f01f45822ba0a6cd033d8' (length: SUCCESS: Signature st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "ring 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) +STEP STRUCT-6: Validating timestamp +ℹINFO: Created_at timestamp: 1756846562 +SUCCESS: Timestamp is valid: 2025-09-02 20:56:02 UTC +STEP STRUCT" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "-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]: 'delete' +ℹINFO: Tag[1] has 2 elements +ℹINFO: Tag[1][0]: 'x' +ℹINFO: Tag[1][1]: 'ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c' +ℹINFO: Tag[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850162' +SUCCESS: Tags array st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "ructure 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 validation +═══════════════════════════════════════════════════════════════════ +STEP CRYPTO-1: Starting detailed sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "nature 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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 61 d5 bb a5 0d d6 ea 4b 73 be 8a 51 32 5b 0e 6f |a......Ks..Q2[.o| + 4b f6 fb 15 57 ce d9 9c 61 8a 3a b5 8d 3b c9 aa |K...W...a.:..;..| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated I" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:512 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:10 2048 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "D: 61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa +ℹINFO: Provided ID: 61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa +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: Sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "nature hex converted to bytes +ℹINFO: Signature bytes ( ae c1 71 c8 4c 15 c4 dd 5a 13 76 da 34 32 a6 e7 |..q.L...Z.v.42..| + 88 f3 d7 67 f9 d8 d8 f9 b5 83 cb b5 39 e9 b4 6d |...g........9..m| + 78 94 51 50 8b d1 0b 1d 42 90 b0 1a 4b 87 2a 67 |x.QP....B...K.*g| + 65 72 83 f5 b7 4f 01 f4 58 22 ba 0a 6c d0 33 d8 |er...O..X"..l.3.| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹINFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹINFO: nostr_ve" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "rify_event_signature returned: 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': +ℹINFO: Typ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "e: String +ℹINFO: Value: '61d5bba50dd6ea4b73be8a51325b0e6f4bf6fb1557ced99c618a3ab58d3bc9aa' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846562 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +ℹINFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:10 1024 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: 'aec171c84c15c4dd5a1376da3432a6e788f3d767f9d8d8f9b583cbb539e9b46d789451508bd10b1d4290b01a4b872a67657283f5b74f01f45822ba0a6cd033d8' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +DELETE DEBUG: auth_pubkey extracted from request: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: F8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 504 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: "LETE DEBUG: database query results - uploader_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type: 'text/plain' +DELETE DEBUG: copied strings - uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type_copy: 'text/plain' +DELETE DEBUG: ownership check - auth_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DELETE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:0, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 59997 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C9 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream request: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:10 424 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: C3 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 05 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 195 +2025/09/02 16:56:02 [error] 196550#196550: *4 FastCGI sent in stderr: " DEBUG: uploader_pubkey_copy[0]: 55, strcmp result: 0 +DELETE DEBUG: ownership check PASSED - proceeding with delete +LOG: [2025-09-02 16:56:02] DELETE /delete - Auth: authenticated - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 06 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: AF +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 175 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi parser: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi header: "Status: 200 OK" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi parser: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi header: "Content-Type: application/json" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi parser: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi header done +2025/09/02 16:56:02 [debug] 196550#196550: *4 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:56:02 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 16:56:02 [debug] 196550#196550: *4 write new buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http write filter: l:0 f:0 s:260 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http cacheable: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream process upstream +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe read upstream: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe preread: 150 +2025/09/02 16:56:02 [debug] 196550#196550: *4 readv: eof:1, avail:0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 readv: 1, last:3672 +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe recv chain: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 150 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe length: -1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 input buf #0 00005812598BF262 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 06 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi closed stdout +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 03 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 08 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi record length: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http fastcgi sent end request +2025/09/02 16:56:02 [debug] 196550#196550: *4 input buf 00005812598BF262 125 +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe write downstream: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe write downstream flush in +2025/09/02 16:56:02 [debug] 196550#196550: *4 http output filter "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http copy filter: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http postpone filter "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" 00005812598BE690 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http chunk: 125 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write old buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write new buf t:1 f:0 00005812598BE7E8, pos 00005812598BE7E8, size: 4 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 125 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http write filter: l:0 f:0 s:391 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http copy filter: 0 "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 pipe write downstream done +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer: 10, old: 100323219, new: 100323225 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream exit: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *4 finalize http upstream request: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 finalize http fastcgi request +2025/09/02 16:56:02 [debug] 196550#196550: *4 free rr peer 1 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 close http upstream connection: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 000058125989DF20, unused: 48 +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer del: 10: 100323219 +2025/09/02 16:56:02 [debug] 196550#196550: *4 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http upstream temp fd: -1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http output filter "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http copy filter: "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http postpone filter "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" 00007FFF7EF4A780 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http chunk: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write old buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write old buf t:1 f:0 00005812598BE7E8, pos 00005812598BE7E8, size: 4 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 125 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http write filter: l:1 f:0 s:396 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http write filter limit 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 writev: 396 of 396 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http write filter 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http copy filter: 0 "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *4 http finalize request: 0, "/fcgi-delete/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" a:1, c:1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 set http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *4 http close request +2025/09/02 16:56:02 [debug] 196550#196550: *4 http log handler +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598BF150 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598D5490, unused: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598CB800, unused: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598BE140, unused: 1845 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 hc free: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *4 hc busy: 0000000000000000 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 tcp_nodelay +2025/09/02 16:56:02 [debug] 196550#196550: *4 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer add: 6: 65000:100328225 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 3 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *4 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *4 recv: fd:6 0 of 1024 +2025/09/02 16:56:02 [info] 196550#196550: *4 client 127.0.0.1 closed keepalive connection +2025/09/02 16:56:02 [debug] 196550#196550: *4 close http connection: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *4 event timer del: 6: 100328225 +2025/09/02 16:56:02 [debug] 196550#196550: *4 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *4 free: 00005812598B4840, unused: 120 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:56:02 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:56:02 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *6 accept: 127.0.0.1:55308 fd:6 +2025/09/02 16:56:02 [debug] 196550#196550: *6 event timer add: 6: 60000:100323232 +2025/09/02 16:56:02 [debug] 196550#196550: *6 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 6 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http wait request handler +2025/09/02 16:56:02 [debug] 196550#196550: *6 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *6 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 recv: fd:6 146 of 1024 +2025/09/02 16:56:02 [debug] 196550#196550: *6 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http process request line +2025/09/02 16:56:02 [debug] 196550#196550: *6 http request line: "GET /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http uri: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http args: "" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http exten: "txt" +2025/09/02 16:56:02 [debug] 196550#196550: *6 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http process request header line +2025/09/02 16:56:02 [debug] 196550#196550: *6 http header: "Host: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http header: "Accept: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http header done +2025/09/02 16:56:02 [debug] 196550#196550: *6 event timer del: 6: 100323232 +2025/09/02 16:56:02 [debug] 196550#196550: *6 generic phase: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 rewrite phase: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *6 test location: "/debug/list" +2025/09/02 16:56:02 [debug] 196550#196550: *6 test location: "/health" +2025/09/02 16:56:02 [debug] 196550#196550: *6 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:56:02 [debug] 196550#196550: *6 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *6 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http cl:-1 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *6 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script var: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script value: "DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script var: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script value: "HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script var: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script value: "GET" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script not equal +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script not equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *6 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *6 generic phase: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *6 generic phase: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *6 generic phase: 7 +2025/09/02 16:56:02 [debug] 196550#196550: *6 access phase: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *6 access phase: 9 +2025/09/02 16:56:02 [debug] 196550#196550: *6 access phase: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *6 post access phase: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *6 generic phase: 12 +2025/09/02 16:56:02 [debug] 196550#196550: *6 try files handler +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script copy: "/" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http script copy: ".txt" +2025/09/02 16:56:02 [debug] 196550#196550: *6 trying to use file: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" "./blobs/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *6 try file uri: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *6 generic phase: 13 +2025/09/02 16:56:02 [debug] 196550#196550: *6 content phase: 14 +2025/09/02 16:56:02 [debug] 196550#196550: *6 content phase: 15 +2025/09/02 16:56:02 [debug] 196550#196550: *6 content phase: 16 +2025/09/02 16:56:02 [debug] 196550#196550: *6 content phase: 17 +2025/09/02 16:56:02 [debug] 196550#196550: *6 content phase: 18 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http filename: "./blobs/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt" +2025/09/02 16:56:02 [debug] 196550#196550: *6 add cleanup: 00005812598CBBE0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http static fd: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http set discard body +2025/09/02 16:56:02 [debug] 196550#196550: *6 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:56:02 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 20:56:02 GMT +Connection: keep-alive +ETag: "68b759e2-9b" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 16:56:02 [debug] 196550#196550: *6 write new buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http write filter: l:0 f:0 s:299 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http output filter "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http copy filter: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http postpone filter "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" 00007FFF7EF4A670 +2025/09/02 16:56:02 [debug] 196550#196550: *6 write old buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http write filter: l:1 f:0 s:454 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http write filter limit 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 tcp_nopush +2025/09/02 16:56:02 [debug] 196550#196550: *6 writev: 299 of 299 +2025/09/02 16:56:02 [debug] 196550#196550: *6 sendfile: @0 155 +2025/09/02 16:56:02 [debug] 196550#196550: *6 sendfile: 155 of 155 @0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http write filter 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http copy filter: 0 "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" +2025/09/02 16:56:02 [debug] 196550#196550: *6 http finalize request: 0, "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c.txt?" a:1, c:1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 set http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *6 http close request +2025/09/02 16:56:02 [debug] 196550#196550: *6 http log handler +2025/09/02 16:56:02 [debug] 196550#196550: *6 run cleanup: 00005812598CBBE0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 file cleanup: fd:10 +2025/09/02 16:56:02 [debug] 196550#196550: *6 free: 00005812598D5490, unused: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *6 free: 00005812598CB800, unused: 1932 +2025/09/02 16:56:02 [debug] 196550#196550: *6 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 hc free: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *6 hc busy: 0000000000000000 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 event timer add: 6: 65000:100328232 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:2001 d:000079BCB17161E1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *6 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *6 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *6 recv: fd:6 0 of 1024 +2025/09/02 16:56:02 [info] 196550#196550: *6 client 127.0.0.1 closed keepalive connection +2025/09/02 16:56:02 [debug] 196550#196550: *6 close http connection: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *6 event timer del: 6: 100328232 +2025/09/02 16:56:02 [debug] 196550#196550: *6 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *6 free: 00005812598B4840, unused: 136 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:56:02 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:56:02 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *7 accept: 127.0.0.1:55310 fd:6 +2025/09/02 16:56:02 [debug] 196550#196550: *7 event timer add: 6: 60000:100323237 +2025/09/02 16:56:02 [debug] 196550#196550: *7 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 4 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http wait request handler +2025/09/02 16:56:02 [debug] 196550#196550: *7 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *7 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 recv: fd:6 143 of 1024 +2025/09/02 16:56:02 [debug] 196550#196550: *7 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http process request line +2025/09/02 16:56:02 [debug] 196550#196550: *7 http request line: "HEAD /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http uri: "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http args: "" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http exten: "" +2025/09/02 16:56:02 [debug] 196550#196550: *7 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http process request header line +2025/09/02 16:56:02 [debug] 196550#196550: *7 http header: "Host: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http header: "Accept: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http header done +2025/09/02 16:56:02 [debug] 196550#196550: *7 event timer del: 6: 100323237 +2025/09/02 16:56:02 [debug] 196550#196550: *7 generic phase: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 rewrite phase: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: "/debug/list" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: "/health" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http cl:-1 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *7 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script value: "DELETE" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script equal: no +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script if: false +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script value: "HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script equal +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script if +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script regex: "^/(.*)$" +2025/09/02 16:56:02 [notice] 196550#196550: *7 "^/(.*)$" matches "/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c", client: 127.0.0.1, server: localhost, request: "HEAD /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "/fcgi-head/" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script regex end +2025/09/02 16:56:02 [notice] 196550#196550: *7 rewritten data: "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c", args: "", client: 127.0.0.1, server: localhost, request: "HEAD /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *7 uri changes: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: "/media" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: "/debug/list" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: "/health" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 using configuration "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http cl:-1 max:104857600 +2025/09/02 16:56:02 [debug] 196550#196550: *7 rewrite phase: 3 +2025/09/02 16:56:02 [debug] 196550#196550: *7 post rewrite phase: 4 +2025/09/02 16:56:02 [debug] 196550#196550: *7 generic phase: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *7 generic phase: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *7 generic phase: 7 +2025/09/02 16:56:02 [debug] 196550#196550: *7 access phase: 8 +2025/09/02 16:56:02 [debug] 196550#196550: *7 access phase: 9 +2025/09/02 16:56:02 [debug] 196550#196550: *7 access phase: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *7 post access phase: 11 +2025/09/02 16:56:02 [debug] 196550#196550: *7 generic phase: 12 +2025/09/02 16:56:02 [debug] 196550#196550: *7 generic phase: 13 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http init upstream, client timer: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "REQUEST_METHOD" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "REQUEST_METHOD: HEAD" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "REQUEST_URI" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "/" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script capture: "ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "REQUEST_URI: /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "./blobs" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "SCRIPT_FILENAME: ./blobs/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "QUERY_STRING" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "QUERY_STRING: " +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "CONTENT_TYPE" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "CONTENT_TYPE: " +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "CONTENT_LENGTH" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "nginx/" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "1.18.0" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "REMOTE_ADDR" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "REMOTE_PORT" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "55310" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "REMOTE_PORT: 55310" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "SERVER_ADDR" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "SERVER_PORT" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script copy: "SERVER_NAME" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http script var: "localhost" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:56:02 [debug] 196550#196550: *7 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http cleanup add: 00005812598CC4C8 +2025/09/02 16:56:02 [debug] 196550#196550: *7 get rr peer, try: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 stream socket 10 +2025/09/02 16:56:02 [debug] 196550#196550: *7 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:56:02 [debug] 196550#196550: *7 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #8 +2025/09/02 16:56:02 [debug] 196550#196550: *7 connected +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream connect: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream send request +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream send request body +2025/09/02 16:56:02 [debug] 196550#196550: *7 chain writer buf fl:0 s:512 +2025/09/02 16:56:02 [debug] 196550#196550: *7 chain writer in: 00005812598CC508 +2025/09/02 16:56:02 [debug] 196550#196550: *7 writev: 512 of 512 +2025/09/02 16:56:02 [debug] 196550#196550: *7 chain writer out: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *7 event timer add: 10: 60000:100323238 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http finalize request: -4, "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" a:1, c:2 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http request count:2 blk:0 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http run request: "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream check client, write event:1, "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c" +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream request: "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream request: "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream dummy handler +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream request: "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http upstream process header +2025/09/02 16:56:02 [debug] 196550#196550: *7 malloc: 00005812598BE140:4096 +2025/09/02 16:56:02 [debug] 196550#196550: *7 recv: eof:0, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 recv: fd:10 248 of 4096 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 7E +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 02 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record length: 126 +2025/09/02 16:56:02 [error] 196550#196550: *7 FastCGI sent in stderr: "LOG: [2025-09-02 16:56:02] HEAD /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "HEAD /ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 07 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record length: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 06 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 01 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 42 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 06 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record byte: 00 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi record length: 66 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi parser: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi header: "Status: 404 Not Found" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi parser: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi header: "Content-Type: text/plain" +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi parser: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http fastcgi header done +2025/09/02 16:56:02 [debug] 196550#196550: *7 posix_memalign: 00005812598BF150:4096 @16 +2025/09/02 16:56:02 [debug] 196550#196550: *7 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:56:02 GMT +Content-Type: text/plain +Connection: keep-alive + +2025/09/02 16:56:02 [debug] 196550#196550: *7 write new buf t:1 f:0 00005812598BF170, pos 00005812598BF170, size: 144 file: 0, size: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http write filter: l:1 f:0 s:144 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http write filter limit 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 writev: 144 of 144 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http write filter 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *7 finalize http upstream request: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 finalize http fastcgi request +2025/09/02 16:56:02 [debug] 196550#196550: *7 free rr peer 1 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 close http upstream connection: 10 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 000058125989DF20, unused: 48 +2025/09/02 16:56:02 [debug] 196550#196550: *7 event timer del: 10: 100323238 +2025/09/02 16:56:02 [debug] 196550#196550: *7 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http finalize request: 0, "/fcgi-head/ea1b654a135f781e269e0c20caf800c3d997d2ac97a75317c46045436c4e035c?" a:1, c:1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 set http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *7 http close request +2025/09/02 16:56:02 [debug] 196550#196550: *7 http log handler +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598BE140 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598D5490, unused: 5 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598CB800, unused: 104 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598BF150, unused: 3735 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 hc free: 0000000000000000 +2025/09/02 16:56:02 [debug] 196550#196550: *7 hc busy: 0000000000000000 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 tcp_nodelay +2025/09/02 16:56:02 [debug] 196550#196550: *7 reusable connection: 1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 event timer add: 6: 65000:100328238 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:56:02 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 http keepalive handler +2025/09/02 16:56:02 [debug] 196550#196550: *7 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:02 [debug] 196550#196550: *7 recv: eof:1, avail:-1 +2025/09/02 16:56:02 [debug] 196550#196550: *7 recv: fd:6 0 of 1024 +2025/09/02 16:56:02 [info] 196550#196550: *7 client 127.0.0.1 closed keepalive connection +2025/09/02 16:56:02 [debug] 196550#196550: *7 close http connection: 6 +2025/09/02 16:56:02 [debug] 196550#196550: *7 event timer del: 6: 100328238 +2025/09/02 16:56:02 [debug] 196550#196550: *7 reusable connection: 0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598B70A0 +2025/09/02 16:56:02 [debug] 196550#196550: *7 free: 00005812598B4840, unused: 120 +2025/09/02 16:56:02 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:02 [debug] 196550#196550: worker cycle +2025/09/02 16:56:02 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:56:03 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:56:03 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:56:03 [debug] 196550#196550: *9 accept: 127.0.0.1:55322 fd:6 +2025/09/02 16:56:03 [debug] 196550#196550: *9 event timer add: 6: 60000:100323497 +2025/09/02 16:56:03 [debug] 196550#196550: *9 reusable connection: 1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:56:03 [debug] 196550#196550: timer delta: 258 +2025/09/02 16:56:03 [debug] 196550#196550: worker cycle +2025/09/02 16:56:03 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http wait request handler +2025/09/02 16:56:03 [debug] 196550#196550: *9 malloc: 00005812598B70A0:1024 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: eof:0, avail:-1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: fd:6 803 of 1024 +2025/09/02 16:56:03 [debug] 196550#196550: *9 reusable connection: 0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http process request line +2025/09/02 16:56:03 [debug] 196550#196550: *9 http request line: "PUT /upload HTTP/1.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http uri: "/upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http args: "" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http exten: "" +2025/09/02 16:56:03 [debug] 196550#196550: *9 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http process request header line +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header: "Host: localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header: "Accept: */*" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIyY2I2OTY5YWZlZmQwYTQ2OTEwYjc3NTFhNGVlZjVhODgyMDQ4YTc2YTYzMDYzYjVlYzgzMmE4N2QzOWFmZTFiIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY1NjMsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDE2MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjA0MGY2ODE2MDIyYzIyOTQwZjc4NzEzMGVmYWZmMDcwNDUzMjI5ZTcxYmZiYzM5MTdlOGQwZGE5YTIzYzYxYTFiOWM0NTE2ZTQzYWY0ODhkYmIyOTBmNTk3YTAyZDZjYTJlNDMzN2Y2MDA0ZWFmODBiYjRjOWU2MDZlMGQyODI0In0=" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header: "Content-Type: text/plain" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header: "Content-Length: 34" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http header done +2025/09/02 16:56:03 [debug] 196550#196550: *9 event timer del: 6: 100323497 +2025/09/02 16:56:03 [debug] 196550#196550: *9 generic phase: 0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 rewrite phase: 1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 test location: "/media" +2025/09/02 16:56:03 [debug] 196550#196550: *9 test location: "/report" +2025/09/02 16:56:03 [debug] 196550#196550: *9 test location: "/upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 using configuration "=/upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http cl:34 max:104857600 +2025/09/02 16:56:03 [debug] 196550#196550: *9 rewrite phase: 3 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "PUT" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script regex: "^(PUT|HEAD)$" +2025/09/02 16:56:03 [notice] 196550#196550: *9 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script if +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script if: false +2025/09/02 16:56:03 [debug] 196550#196550: *9 post rewrite phase: 4 +2025/09/02 16:56:03 [debug] 196550#196550: *9 generic phase: 5 +2025/09/02 16:56:03 [debug] 196550#196550: *9 generic phase: 6 +2025/09/02 16:56:03 [debug] 196550#196550: *9 generic phase: 7 +2025/09/02 16:56:03 [debug] 196550#196550: *9 access phase: 8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 access phase: 9 +2025/09/02 16:56:03 [debug] 196550#196550: *9 access phase: 10 +2025/09/02 16:56:03 [debug] 196550#196550: *9 post access phase: 11 +2025/09/02 16:56:03 [debug] 196550#196550: *9 generic phase: 12 +2025/09/02 16:56:03 [debug] 196550#196550: *9 generic phase: 13 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http client request body preread 34 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http request body content length filter +2025/09/02 16:56:03 [debug] 196550#196550: *9 http body new buf t:1 f:0 00005812598B73A1, pos 00005812598B73A1, size: 34 file: 0, size: 0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http init upstream, client timer: 0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "QUERY_STRING" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "QUERY_STRING: " +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "REQUEST_METHOD" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "PUT" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "CONTENT_TYPE" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "text/plain" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "CONTENT_LENGTH" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "34" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "CONTENT_LENGTH: 34" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SCRIPT_NAME" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "/upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "REQUEST_URI" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "/upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "DOCUMENT_URI" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "/upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "DOCUMENT_ROOT" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "./blobs" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "HTTP/1.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "REQUEST_SCHEME" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "http" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "GATEWAY_INTERFACE" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "CGI/1.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "nginx/" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "1.18.0" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "REMOTE_ADDR" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "127.0.0.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "REMOTE_PORT" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "55322" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "REMOTE_PORT: 55322" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SERVER_ADDR" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "127.0.0.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SERVER_PORT" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SERVER_NAME" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "localhost" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "REDIRECT_STATUS" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "200" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script var: "./blobs" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http script copy: "/ginxsom.fcgi" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIyY2I2OTY5YWZlZmQwYTQ2OTEwYjc3NTFhNGVlZjVhODgyMDQ4YTc2YTYzMDYzYjVlYzgzMmE4N2QzOWFmZTFiIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY1NjMsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDE2MiJdXSwiY29udGVudCI6IiIsInNpZyI6IjA0MGY2ODE2MDIyYzIyOTQwZjc4NzEzMGVmYWZmMDcwNDUzMjI5ZTcxYmZiYzM5MTdlOGQwZGE5YTIzYzYxYTFiOWM0NTE2ZTQzYWY0ODhkYmIyOTBmNTk3YTAyZDZjYTJlNDMzN2Y2MDA0ZWFmODBiYjRjOWU2MDZlMGQyODI0In0=" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 16:56:03 [debug] 196550#196550: *9 fastcgi param: "HTTP_CONTENT_LENGTH: 34" +2025/09/02 16:56:03 [debug] 196550#196550: *9 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http cleanup add: 00005812598CC7E8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 get rr peer, try: 1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 stream socket 10 +2025/09/02 16:56:03 [debug] 196550#196550: *9 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:56:03 [debug] 196550#196550: *9 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #10 +2025/09/02 16:56:03 [debug] 196550#196550: *9 connected +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream connect: 0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream send request +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream send request body +2025/09/02 16:56:03 [debug] 196550#196550: *9 chain writer buf fl:0 s:1224 +2025/09/02 16:56:03 [debug] 196550#196550: *9 chain writer buf fl:0 s:34 +2025/09/02 16:56:03 [debug] 196550#196550: *9 chain writer buf fl:0 s:14 +2025/09/02 16:56:03 [debug] 196550#196550: *9 chain writer in: 00005812598BE278 +2025/09/02 16:56:03 [debug] 196550#196550: *9 writev: 1272 of 1272 +2025/09/02 16:56:03 [debug] 196550#196550: *9 chain writer out: 0000000000000000 +2025/09/02 16:56:03 [debug] 196550#196550: *9 event timer add: 10: 60000:100323497 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http request count:2 blk:0 +2025/09/02 16:56:03 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:03 [debug] 196550#196550: worker cycle +2025/09/02 16:56:03 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http run request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream check client, write event:1, "/upload" +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream dummy handler +2025/09/02 16:56:03 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:03 [debug] 196550#196550: worker cycle +2025/09/02 16:56:03 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream process header +2025/09/02 16:56:03 [debug] 196550#196550: *9 malloc: 00005812598BF150:4096 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: eof:0, avail:-1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: fd:10 2712 of 4096 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 8E +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 02 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 142 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "LOG: [2025-09-02 16:56:03] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 16:56:03] PUT /upload - Auth: auth_provided - Status: 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 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "hod: upload, hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"2cb6969afefd0a46910b7751a4eef5a882048a76a63063b5ec832a87d39afe1b","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846563,"tags":[["t","upload"],["x","69d582a822ece2d06346f19c1d3c95ca998" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "6b380c855b9ae4e2bb3c7972b8939"],["expiration","1756850162"]],"content":"","sig":"040f6816022c22940f787130efaff070453229e71bfbc3917e8d0da9a23c61a1b9c4516e43af488dbb290f597a02d6ca2e4337f6004eaf80bb4c9e606e0d2824"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "2cb6969afefd0a46910b7751a4eef5a882048a76a63063b5ec832a87d39afe1b", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846563, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: " ["x", "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939"], ["expiration", "1756850162"]], + "content": "", + "sig": "040f6816022c22940f787130efaff070453229e71bfbc3917e8d0da9a23c61a1b9c4516e43af488dbb290f597a02d6ca2e4337f6004eaf80bb4c9e606e0d2824" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 2cb6969afefd0a46910b7751a4eef5a882048a76a63063b5ec832a87d39afe1b +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 040f6816022c22" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "940f787130efaff070453229e71bfbc3917e8d0da9a23c61a1b9c4516e43af488dbb290f597a02d6ca2e4337f6004eaf80bb4c9e606e0d2824 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846563 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: eof:0, avail:0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream dummy handler +2025/09/02 16:56:03 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:56:03 [debug] 196550#196550: worker cycle +2025/09/02 16:56:03 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream process header +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: eof:0, avail:-1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: fd:10 4096 of 4096 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: avail:0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '2cb6969afefd0a46910b7751a4eef5a882048a76a63063b5ec832a87d39afe1b' (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: '040f6816022c22940f787130efaff070453229e71bfbc3917e8d0" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "da9a23c61a1b9c4516e43af488dbb290f597a02d6ca2e4337f6004eaf80bb4c9e606e0d2824' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756846563 +SUCCESS: Timestamp is valid: 2025-09-02 20:56:03 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' +ℹINFO: Tag[1][1]: '69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850162' +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 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 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 2c b6 96 9a fe fd 0a 46 91 0b 77 51 a4 ee f5 a8 |,......F..wQ....| + 82 04 8a 76 a6 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 16:56:03 [debug] 196550#196550: *9 recv: eof:0, avail:0 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream dummy handler +2025/09/02 16:56:03 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:56:03 [debug] 196550#196550: worker cycle +2025/09/02 16:56:03 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:56:03 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream request: "/upload?" +2025/09/02 16:56:03 [debug] 196550#196550: *9 http upstream process header +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: eof:0, avail:-1 +2025/09/02 16:56:03 [debug] 196550#196550: *9 recv: fd:10 2560 of 4096 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "0 63 b5 ec 83 2a 87 d3 9a fe 1b |...v.0c...*.....| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 2cb6969afefd0a46910b7751a4eef5a882048a76a63063b5ec832a87d39afe1b +ℹINFO: Provided ID: 2cb6969afefd0a46910b7751a4eef5a882048a76a63063b5ec832a87d39afe1b +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 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 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 07 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 01 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: F8 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record byte: 00 +2025/09/02 16:56:03 [debug] 196550#196550: *9 http fastcgi record length: 504 +2025/09/02 16:56:03 [error] 196550#196550: *9 FastCGI sent in stderr: "b 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 ( 04 0f 68 16 02 2c 22 94 0f 78 71 30 ef af f0 70 |..h..,"..xq0...p| + 45 32 29 e7 1b fb c3 91 7e 8d 0d a9 a2 3c 61 a1 |E2).....~.....| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹINFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹINFO: nostr_ve" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *16 FastCGI sent in stderr: "rify_event_signature returned: 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': +ℹINFO: Typ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *16 FastCGI sent in stderr: "e: String +ℹINFO: Value: '7822508eed16b1fcf566afffbc12e9a1de0a2b72355c4f555e4438754a2ca62c' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846715 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +ℹINFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream request: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59996 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream request: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: fd:10 1024 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *16 FastCGI sent in stderr: "ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '6b5b1aab296906504b986edb9913bed092051f4d3060bb57287d5d66a4764ffb66039d67e720cfadfc626b449f2b59bf6c061163e3745bb56766571b2aad3e8b' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +DELETE DEBUG: auth_pubkey extracted from request: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *16 FastCGI sent in stderr: "LETE DEBUG: database query results - uploader_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type: 'text/plain' +DELETE DEBUG: copied strings - uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type_copy: 'text/plain' +DELETE DEBUG: ownership check - auth_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DELETE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream request: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59996 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream request: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59995 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream request: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: fd:10 424 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: C3 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 05 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 195 +2025/09/02 16:58:35 [error] 196550#196550: *16 FastCGI sent in stderr: " DEBUG: uploader_pubkey_copy[0]: 55, strcmp result: 0 +DELETE DEBUG: ownership check PASSED - proceeding with delete +LOG: [2025-09-02 16:58:35] DELETE /delete - Auth: authenticated - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: AF +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 175 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi header: "Status: 200 OK" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi header: "Content-Type: application/json" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi parser: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi header done +2025/09/02 16:58:35 [debug] 196550#196550: *16 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:58:35 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 16:58:35 [debug] 196550#196550: *16 write new buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http write filter: l:0 f:0 s:260 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http cacheable: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream process upstream +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe read upstream: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe preread: 150 +2025/09/02 16:58:35 [debug] 196550#196550: *16 readv: eof:1, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 readv: 1, last:3672 +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe recv chain: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 150 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe length: -1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 input buf #0 00005812598BF262 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi closed stdout +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 03 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 08 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi record length: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http fastcgi sent end request +2025/09/02 16:58:35 [debug] 196550#196550: *16 input buf 00005812598BF262 125 +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe write downstream: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe write downstream flush in +2025/09/02 16:58:35 [debug] 196550#196550: *16 http output filter "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http copy filter: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http postpone filter "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" 00005812598BE690 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http chunk: 125 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write old buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write new buf t:1 f:0 00005812598BE7E8, pos 00005812598BE7E8, size: 4 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 125 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http write filter: l:0 f:0 s:391 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http copy filter: 0 "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 pipe write downstream done +2025/09/02 16:58:35 [debug] 196550#196550: *16 event timer: 10, old: 100475668, new: 100475675 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream exit: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *16 finalize http upstream request: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 finalize http fastcgi request +2025/09/02 16:58:35 [debug] 196550#196550: *16 free rr peer 1 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 close http upstream connection: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 000058125989DF20, unused: 48 +2025/09/02 16:58:35 [debug] 196550#196550: *16 event timer del: 10: 100475668 +2025/09/02 16:58:35 [debug] 196550#196550: *16 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http upstream temp fd: -1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http output filter "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http copy filter: "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http postpone filter "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" 00007FFF7EF4A780 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http chunk: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write old buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write old buf t:1 f:0 00005812598BE7E8, pos 00005812598BE7E8, size: 4 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 125 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http write filter: l:1 f:0 s:396 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http write filter limit 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 writev: 396 of 396 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http write filter 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http copy filter: 0 "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *16 http finalize request: 0, "/fcgi-delete/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" a:1, c:1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 set http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *16 http close request +2025/09/02 16:58:35 [debug] 196550#196550: *16 http log handler +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598BF150 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598D5490, unused: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598CB800, unused: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598BE140, unused: 1845 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 hc free: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *16 hc busy: 0000000000000000 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 tcp_nodelay +2025/09/02 16:58:35 [debug] 196550#196550: *16 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 event timer add: 6: 65000:100480675 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 2 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *16 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *16 recv: fd:6 0 of 1024 +2025/09/02 16:58:35 [info] 196550#196550: *16 client 127.0.0.1 closed keepalive connection +2025/09/02 16:58:35 [debug] 196550#196550: *16 close http connection: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *16 event timer del: 6: 100480675 +2025/09/02 16:58:35 [debug] 196550#196550: *16 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *16 free: 00005812598B4840, unused: 120 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 2 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:58:35 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:58:35 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *18 accept: 127.0.0.1:43364 fd:6 +2025/09/02 16:58:35 [debug] 196550#196550: *18 event timer add: 6: 60000:100475688 +2025/09/02 16:58:35 [debug] 196550#196550: *18 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *18 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 11 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http wait request handler +2025/09/02 16:58:35 [debug] 196550#196550: *18 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *18 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *18 recv: fd:6 146 of 1024 +2025/09/02 16:58:35 [debug] 196550#196550: *18 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http process request line +2025/09/02 16:58:35 [debug] 196550#196550: *18 http request line: "GET /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http uri: "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http args: "" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http exten: "txt" +2025/09/02 16:58:35 [debug] 196550#196550: *18 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http process request header line +2025/09/02 16:58:35 [debug] 196550#196550: *18 http header: "Host: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http header: "Accept: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http header done +2025/09/02 16:58:35 [debug] 196550#196550: *18 event timer del: 6: 100475688 +2025/09/02 16:58:35 [debug] 196550#196550: *18 generic phase: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 rewrite phase: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *18 test location: "/media" +2025/09/02 16:58:35 [debug] 196550#196550: *18 test location: "/debug/list" +2025/09/02 16:58:35 [debug] 196550#196550: *18 test location: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *18 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:58:35 [debug] 196550#196550: *18 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *18 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http cl:-1 max:104857600 +2025/09/02 16:58:35 [debug] 196550#196550: *18 rewrite phase: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script var: "GET" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script value: "DELETE" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script equal +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script equal: no +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script if: false +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script var: "GET" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script value: "HEAD" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script equal +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script equal: no +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script if: false +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script var: "GET" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script value: "GET" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script not equal +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script not equal: no +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script if: false +2025/09/02 16:58:35 [debug] 196550#196550: *18 post rewrite phase: 4 +2025/09/02 16:58:35 [debug] 196550#196550: *18 generic phase: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *18 generic phase: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *18 generic phase: 7 +2025/09/02 16:58:35 [debug] 196550#196550: *18 access phase: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *18 access phase: 9 +2025/09/02 16:58:35 [debug] 196550#196550: *18 access phase: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *18 post access phase: 11 +2025/09/02 16:58:35 [debug] 196550#196550: *18 generic phase: 12 +2025/09/02 16:58:35 [debug] 196550#196550: *18 try files handler +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script copy: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script capture: "2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http script copy: ".txt" +2025/09/02 16:58:35 [debug] 196550#196550: *18 trying to use file: "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt" "./blobs/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt" +2025/09/02 16:58:35 [debug] 196550#196550: *18 try file uri: "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt" +2025/09/02 16:58:35 [debug] 196550#196550: *18 generic phase: 13 +2025/09/02 16:58:35 [debug] 196550#196550: *18 content phase: 14 +2025/09/02 16:58:35 [debug] 196550#196550: *18 content phase: 15 +2025/09/02 16:58:35 [debug] 196550#196550: *18 content phase: 16 +2025/09/02 16:58:35 [debug] 196550#196550: *18 content phase: 17 +2025/09/02 16:58:35 [debug] 196550#196550: *18 content phase: 18 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http filename: "./blobs/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt" +2025/09/02 16:58:35 [debug] 196550#196550: *18 add cleanup: 00005812598CBBE0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http static fd: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http set discard body +2025/09/02 16:58:35 [debug] 196550#196550: *18 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:58:35 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 20:58:34 GMT +Connection: keep-alive +ETag: "68b75a7a-9b" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 16:58:35 [debug] 196550#196550: *18 write new buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http write filter: l:0 f:0 s:299 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http output filter "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt?" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http copy filter: "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt?" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http postpone filter "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt?" 00007FFF7EF4A670 +2025/09/02 16:58:35 [debug] 196550#196550: *18 write old buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http write filter: l:1 f:0 s:454 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http write filter limit 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 tcp_nopush +2025/09/02 16:58:35 [debug] 196550#196550: *18 writev: 299 of 299 +2025/09/02 16:58:35 [debug] 196550#196550: *18 sendfile: @0 155 +2025/09/02 16:58:35 [debug] 196550#196550: *18 sendfile: 155 of 155 @0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http write filter 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http copy filter: 0 "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt?" +2025/09/02 16:58:35 [debug] 196550#196550: *18 http finalize request: 0, "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45.txt?" a:1, c:1 +2025/09/02 16:58:35 [debug] 196550#196550: *18 set http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *18 http close request +2025/09/02 16:58:35 [debug] 196550#196550: *18 http log handler +2025/09/02 16:58:35 [debug] 196550#196550: *18 run cleanup: 00005812598CBBE0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 file cleanup: fd:10 +2025/09/02 16:58:35 [debug] 196550#196550: *18 free: 00005812598D5490, unused: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *18 free: 00005812598CB800, unused: 1932 +2025/09/02 16:58:35 [debug] 196550#196550: *18 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 hc free: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *18 hc busy: 0000000000000000 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *18 event timer add: 6: 65000:100480688 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:2001 d:000079BCB17161E0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *18 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *18 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *18 recv: fd:6 0 of 1024 +2025/09/02 16:58:35 [info] 196550#196550: *18 client 127.0.0.1 closed keepalive connection +2025/09/02 16:58:35 [debug] 196550#196550: *18 close http connection: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *18 event timer del: 6: 100480688 +2025/09/02 16:58:35 [debug] 196550#196550: *18 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *18 free: 00005812598B4840, unused: 136 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:58:35 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:58:35 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *19 accept: 127.0.0.1:43378 fd:6 +2025/09/02 16:58:35 [debug] 196550#196550: *19 event timer add: 6: 60000:100475697 +2025/09/02 16:58:35 [debug] 196550#196550: *19 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 8 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http wait request handler +2025/09/02 16:58:35 [debug] 196550#196550: *19 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *19 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 recv: fd:6 143 of 1024 +2025/09/02 16:58:35 [debug] 196550#196550: *19 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http process request line +2025/09/02 16:58:35 [debug] 196550#196550: *19 http request line: "HEAD /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http uri: "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http args: "" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http exten: "" +2025/09/02 16:58:35 [debug] 196550#196550: *19 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http process request header line +2025/09/02 16:58:35 [debug] 196550#196550: *19 http header: "Host: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http header: "Accept: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http header done +2025/09/02 16:58:35 [debug] 196550#196550: *19 event timer del: 6: 100475697 +2025/09/02 16:58:35 [debug] 196550#196550: *19 generic phase: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 rewrite phase: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: "/media" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: "/debug/list" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http cl:-1 max:104857600 +2025/09/02 16:58:35 [debug] 196550#196550: *19 rewrite phase: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "HEAD" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script value: "DELETE" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script equal +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script equal: no +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script if: false +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "HEAD" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script value: "HEAD" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script equal +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script regex: "^/(.*)$" +2025/09/02 16:58:35 [notice] 196550#196550: *19 "^/(.*)$" matches "/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45", client: 127.0.0.1, server: localhost, request: "HEAD /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "/fcgi-head/" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script capture: "2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script regex end +2025/09/02 16:58:35 [notice] 196550#196550: *19 rewritten data: "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45", args: "", client: 127.0.0.1, server: localhost, request: "HEAD /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 post rewrite phase: 4 +2025/09/02 16:58:35 [debug] 196550#196550: *19 uri changes: 11 +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: "/media" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: "/debug/list" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: "/health" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 using configuration "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http cl:-1 max:104857600 +2025/09/02 16:58:35 [debug] 196550#196550: *19 rewrite phase: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *19 post rewrite phase: 4 +2025/09/02 16:58:35 [debug] 196550#196550: *19 generic phase: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *19 generic phase: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *19 generic phase: 7 +2025/09/02 16:58:35 [debug] 196550#196550: *19 access phase: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *19 access phase: 9 +2025/09/02 16:58:35 [debug] 196550#196550: *19 access phase: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *19 post access phase: 11 +2025/09/02 16:58:35 [debug] 196550#196550: *19 generic phase: 12 +2025/09/02 16:58:35 [debug] 196550#196550: *19 generic phase: 13 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http init upstream, client timer: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "REQUEST_METHOD" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "HEAD" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "REQUEST_METHOD: HEAD" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "REQUEST_URI" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script capture: "2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "REQUEST_URI: /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "SCRIPT_FILENAME: ./blobs/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "QUERY_STRING" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "QUERY_STRING: " +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "CONTENT_TYPE" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "CONTENT_TYPE: " +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "CONTENT_LENGTH" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "nginx/" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "1.18.0" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "REMOTE_ADDR" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "REMOTE_PORT" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "43378" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "REMOTE_PORT: 43378" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "SERVER_ADDR" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "SERVER_PORT" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script copy: "SERVER_NAME" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http script var: "localhost" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *19 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http cleanup add: 00005812598CC4C8 +2025/09/02 16:58:35 [debug] 196550#196550: *19 get rr peer, try: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 stream socket 10 +2025/09/02 16:58:35 [debug] 196550#196550: *19 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:58:35 [debug] 196550#196550: *19 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #20 +2025/09/02 16:58:35 [debug] 196550#196550: *19 connected +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream connect: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream send request +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream send request body +2025/09/02 16:58:35 [debug] 196550#196550: *19 chain writer buf fl:0 s:512 +2025/09/02 16:58:35 [debug] 196550#196550: *19 chain writer in: 00005812598CC508 +2025/09/02 16:58:35 [debug] 196550#196550: *19 writev: 512 of 512 +2025/09/02 16:58:35 [debug] 196550#196550: *19 chain writer out: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *19 event timer add: 10: 60000:100475698 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http finalize request: -4, "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" a:1, c:2 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http request count:2 blk:0 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http run request: "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream check client, write event:1, "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45" +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream request: "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream request: "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *19 malloc: 00005812598BE140:4096 +2025/09/02 16:58:35 [debug] 196550#196550: *19 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 recv: fd:10 248 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 7E +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 02 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record length: 126 +2025/09/02 16:58:35 [error] 196550#196550: *19 FastCGI sent in stderr: "LOG: [2025-09-02 16:58:35] HEAD /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "HEAD /2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 42 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi record length: 66 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi header: "Status: 404 Not Found" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi header: "Content-Type: text/plain" +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi parser: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http fastcgi header done +2025/09/02 16:58:35 [debug] 196550#196550: *19 posix_memalign: 00005812598BF150:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *19 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:58:35 GMT +Content-Type: text/plain +Connection: keep-alive + +2025/09/02 16:58:35 [debug] 196550#196550: *19 write new buf t:1 f:0 00005812598BF170, pos 00005812598BF170, size: 144 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http write filter: l:1 f:0 s:144 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http write filter limit 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 writev: 144 of 144 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http write filter 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *19 finalize http upstream request: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 finalize http fastcgi request +2025/09/02 16:58:35 [debug] 196550#196550: *19 free rr peer 1 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 close http upstream connection: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 000058125989DF20, unused: 48 +2025/09/02 16:58:35 [debug] 196550#196550: *19 event timer del: 10: 100475698 +2025/09/02 16:58:35 [debug] 196550#196550: *19 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http finalize request: 0, "/fcgi-head/2449b6f0fa8e7047db871f6d89a8f5b9f16422a4adcc3f87e259bd83c22f1e45?" a:1, c:1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 set http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *19 http close request +2025/09/02 16:58:35 [debug] 196550#196550: *19 http log handler +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598BE140 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598D5490, unused: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598CB800, unused: 104 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598BF150, unused: 3735 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 hc free: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *19 hc busy: 0000000000000000 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 tcp_nodelay +2025/09/02 16:58:35 [debug] 196550#196550: *19 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 event timer add: 6: 65000:100480700 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *19 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *19 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *19 recv: fd:6 0 of 1024 +2025/09/02 16:58:35 [info] 196550#196550: *19 client 127.0.0.1 closed keepalive connection +2025/09/02 16:58:35 [debug] 196550#196550: *19 close http connection: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *19 event timer del: 6: 100480700 +2025/09/02 16:58:35 [debug] 196550#196550: *19 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *19 free: 00005812598B4840, unused: 120 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:58:35 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:58:35 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *21 accept: 127.0.0.1:43384 fd:6 +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer add: 6: 60000:100475985 +2025/09/02 16:58:35 [debug] 196550#196550: *21 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 284 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http wait request handler +2025/09/02 16:58:35 [debug] 196550#196550: *21 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:6 803 of 1024 +2025/09/02 16:58:35 [debug] 196550#196550: *21 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http process request line +2025/09/02 16:58:35 [debug] 196550#196550: *21 http request line: "PUT /upload HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http uri: "/upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http args: "" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http exten: "" +2025/09/02 16:58:35 [debug] 196550#196550: *21 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http process request header line +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header: "Host: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header: "Accept: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI2YTU1NTdlOWFlMGNiNmZhNTJiYzFjNjIxMDc5NDNhNTFmMGNmMDA5ZDY5YmQyMjJkZGRmYzE1NDc4NWQ0Y2JiIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY3MTUsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDMxNSJdXSwiY29udGVudCI6IiIsInNpZyI6ImM1MGJmODkyYTEyMmNhMTdmNzg1YjI3MjJmYWFiNWFjNmNmNTVjODU2Mzg0MmFhNzQxN2E4YjFjMWE3ZGMzNjU2MzcxNWU4YzdiMjNiNTQzNmM0NzYyY2VkOGIwY2NkNmU2MTNkYmZkNjI5YjFmZDU0ZmNiZDM4MTE2MzA1NmY1In0=" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header: "Content-Type: text/plain" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header: "Content-Length: 34" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http header done +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer del: 6: 100475985 +2025/09/02 16:58:35 [debug] 196550#196550: *21 generic phase: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 rewrite phase: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 test location: "/media" +2025/09/02 16:58:35 [debug] 196550#196550: *21 test location: "/report" +2025/09/02 16:58:35 [debug] 196550#196550: *21 test location: "/upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 using configuration "=/upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http cl:34 max:104857600 +2025/09/02 16:58:35 [debug] 196550#196550: *21 rewrite phase: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "PUT" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script regex: "^(PUT|HEAD)$" +2025/09/02 16:58:35 [notice] 196550#196550: *21 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script if: false +2025/09/02 16:58:35 [debug] 196550#196550: *21 post rewrite phase: 4 +2025/09/02 16:58:35 [debug] 196550#196550: *21 generic phase: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *21 generic phase: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *21 generic phase: 7 +2025/09/02 16:58:35 [debug] 196550#196550: *21 access phase: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 access phase: 9 +2025/09/02 16:58:35 [debug] 196550#196550: *21 access phase: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *21 post access phase: 11 +2025/09/02 16:58:35 [debug] 196550#196550: *21 generic phase: 12 +2025/09/02 16:58:35 [debug] 196550#196550: *21 generic phase: 13 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http client request body preread 34 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http request body content length filter +2025/09/02 16:58:35 [debug] 196550#196550: *21 http body new buf t:1 f:0 00005812598B73A1, pos 00005812598B73A1, size: 34 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http init upstream, client timer: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "QUERY_STRING" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "QUERY_STRING: " +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "REQUEST_METHOD" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "PUT" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "CONTENT_TYPE" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "text/plain" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "CONTENT_LENGTH" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "34" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "CONTENT_LENGTH: 34" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SCRIPT_NAME" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "/upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "REQUEST_URI" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "/upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "DOCUMENT_URI" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "/upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "DOCUMENT_ROOT" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "REQUEST_SCHEME" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "http" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "GATEWAY_INTERFACE" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "CGI/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "nginx/" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "1.18.0" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "REMOTE_ADDR" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "REMOTE_PORT" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "43384" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "REMOTE_PORT: 43384" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SERVER_ADDR" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SERVER_PORT" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SERVER_NAME" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "localhost" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "REDIRECT_STATUS" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "200" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script var: "./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http script copy: "/ginxsom.fcgi" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI2YTU1NTdlOWFlMGNiNmZhNTJiYzFjNjIxMDc5NDNhNTFmMGNmMDA5ZDY5YmQyMjJkZGRmYzE1NDc4NWQ0Y2JiIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY3MTUsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDMxNSJdXSwiY29udGVudCI6IiIsInNpZyI6ImM1MGJmODkyYTEyMmNhMTdmNzg1YjI3MjJmYWFiNWFjNmNmNTVjODU2Mzg0MmFhNzQxN2E4YjFjMWE3ZGMzNjU2MzcxNWU4YzdiMjNiNTQzNmM0NzYyY2VkOGIwY2NkNmU2MTNkYmZkNjI5YjFmZDU0ZmNiZDM4MTE2MzA1NmY1In0=" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 16:58:35 [debug] 196550#196550: *21 fastcgi param: "HTTP_CONTENT_LENGTH: 34" +2025/09/02 16:58:35 [debug] 196550#196550: *21 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http cleanup add: 00005812598CC7E8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 get rr peer, try: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 stream socket 10 +2025/09/02 16:58:35 [debug] 196550#196550: *21 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:58:35 [debug] 196550#196550: *21 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #22 +2025/09/02 16:58:35 [debug] 196550#196550: *21 connected +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream connect: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream send request +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream send request body +2025/09/02 16:58:35 [debug] 196550#196550: *21 chain writer buf fl:0 s:1224 +2025/09/02 16:58:35 [debug] 196550#196550: *21 chain writer buf fl:0 s:34 +2025/09/02 16:58:35 [debug] 196550#196550: *21 chain writer buf fl:0 s:14 +2025/09/02 16:58:35 [debug] 196550#196550: *21 chain writer in: 00005812598BE278 +2025/09/02 16:58:35 [debug] 196550#196550: *21 writev: 1272 of 1272 +2025/09/02 16:58:35 [debug] 196550#196550: *21 chain writer out: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer add: 10: 60000:100475985 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http request count:2 blk:0 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http run request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream check client, write event:1, "/upload" +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 malloc: 00005812598BF150:4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 1176 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 8E +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 02 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 142 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "LOG: [2025-09-02 16:58:35] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 16:58:35] PUT /upload - Auth: auth_provided - Status: 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 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "hod: upload, hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846715,"tags":[["t","upload"],["x","69d582a822ece2d06346f19c1d3c95ca998" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 1536 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "6b380c855b9ae4e2bb3c7972b8939"],["expiration","1756850315"]],"content":"","sig":"c50bf892a122ca17f785b2722faab5ac6cf55c8563842aa7417a8b1c1a7dc36563715e8c7b23b5436c4762ced8b0ccd6e613dbfd629b1fd54fcbd381163056f5"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846715, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: " ["x", "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939"], ["expiration", "1756850315"]], + "content": "", + "sig": "c50bf892a122ca17f785b2722faab5ac6cf55c8563842aa7417a8b1c1a7dc36563715e8c7b23b5436c4762ced8b0ccd6e613dbfd629b1fd54fcbd381163056f5" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: c50bf892a122ca" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "17f785b2722faab5ac6cf55c8563842aa7417a8b1c1a7dc36563715e8c7b23b5436c4762ced8b0ccd6e613dbfd629b1fd54fcbd381163056f5 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846715 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 512 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 2048 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb' (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: 'c50bf892a122ca17f785b2722faab5ac6cf55c8563842aa7417a8" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "b1c1a7dc36563715e8c7b23b5436c4762ced8b0ccd6e613dbfd629b1fd54fcbd381163056f5' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 2560 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756846715 +SUCCESS: Timestamp is valid: 2025-09-02 20:58:35 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' +ℹINFO: Tag[1][1]: '69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850315' +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 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 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 6a 55 57 e9 ae 0c b6 fa 52 bc 1c 62 10 79 43 a5 |jUW.....R..b.yC.| + 1f 0c f0 09 d6 9" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "b d2 22 dd df c1 54 78 5d 4c bb |......."...Tx]L.| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb +ℹINFO: Provided ID: 6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb +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 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 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "b 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 ( c5 0b f8 92 a1 22 ca 17 f7 85 b2 72 2f aa b5 ac |.....".....r/...| + 6c f5 5c 85 63 84 2a a7 41 7a 8b 1c 1a 7d c3 65 |l.\.c.*.Az...}.e| + 63 71 5e 8c 7b 23 b5 43 6c 47 62 ce d8 b0 cc d6 |cq^.{#.ClGb.....| + e6 13 db fd 62 9b 1f d5 4f cb d3 81 16 30 56 f5 |....b...O....0V.| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59997 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 1536 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '6a5557e9ae0cb6fa52bc1c62107943a51f0cf009d69bd222dddfc154785d4cbb' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846715 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: F8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 504 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: 'c50bf892a122ca17f785b2722faab5ac6cf55c8563842aa7417a8b1c1a7dc36563715e8c7b23b5436c4762ced8b0ccd6e613dbfd629b1fd54fcbd381163056f5' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:0, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59997 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream request: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:10 384 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 1C +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 04 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 28 +2025/09/02 16:58:35 [error] 196550#196550: *21 FastCGI sent in stderr: "ticate_request returned: 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 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 2C +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 04 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 300 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi header: "Status: 200 OK" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi header: "Content-Type: application/json" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi parser: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi header done +2025/09/02 16:58:35 [debug] 196550#196550: *21 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:58:35 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 16:58:35 [debug] 196550#196550: *21 write new buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http write filter: l:0 f:0 s:260 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http cacheable: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream process upstream +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe read upstream: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe preread: 278 +2025/09/02 16:58:35 [debug] 196550#196550: *21 readv: eof:1, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 readv: 1, last:3712 +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe recv chain: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 278 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe length: -1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 input buf #0 00005812598BF1BA +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi closed stdout +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 03 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 08 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi record length: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http fastcgi sent end request +2025/09/02 16:58:35 [debug] 196550#196550: *21 input buf 00005812598BF1BA 250 +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe write downstream: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe write downstream flush in +2025/09/02 16:58:35 [debug] 196550#196550: *21 http output filter "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http copy filter: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http postpone filter "/upload?" 00005812598BE248 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http chunk: 250 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write new buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 250 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http write filter: l:0 f:0 s:516 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http copy filter: 0 "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 pipe write downstream done +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer: 10, old: 100475985, new: 100475992 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream exit: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *21 finalize http upstream request: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 finalize http fastcgi request +2025/09/02 16:58:35 [debug] 196550#196550: *21 free rr peer 1 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 close http upstream connection: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 000058125989DF20, unused: 48 +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer del: 10: 100475985 +2025/09/02 16:58:35 [debug] 196550#196550: *21 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http upstream temp fd: -1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http output filter "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http copy filter: "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http postpone filter "/upload?" 00007FFF7EF4A780 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http chunk: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write old buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 250 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http write filter: l:1 f:0 s:521 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http write filter limit 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 writev: 521 of 521 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http write filter 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http copy filter: 0 "/upload?" +2025/09/02 16:58:35 [debug] 196550#196550: *21 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 set http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *21 http close request +2025/09/02 16:58:35 [debug] 196550#196550: *21 http log handler +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598BF150 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598D5490, unused: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598CB800, unused: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598BE140, unused: 1770 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 hc free: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *21 hc busy: 0000000000000000 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 tcp_nodelay +2025/09/02 16:58:35 [debug] 196550#196550: *21 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer add: 6: 65000:100480992 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 4 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *21 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *21 recv: fd:6 0 of 1024 +2025/09/02 16:58:35 [info] 196550#196550: *21 client 127.0.0.1 closed keepalive connection +2025/09/02 16:58:35 [debug] 196550#196550: *21 close http connection: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *21 event timer del: 6: 100480992 +2025/09/02 16:58:35 [debug] 196550#196550: *21 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *21 free: 00005812598B4840, unused: 120 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: -1 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 16:58:35 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 16:58:35 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *23 accept: 127.0.0.1:43392 fd:6 +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer add: 6: 60000:100475999 +2025/09/02 16:58:35 [debug] 196550#196550: *23 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 6 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http wait request handler +2025/09/02 16:58:35 [debug] 196550#196550: *23 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *23 recv: eof:0, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 recv: fd:6 145 of 1024 +2025/09/02 16:58:35 [debug] 196550#196550: *23 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http process request line +2025/09/02 16:58:35 [debug] 196550#196550: *23 http request line: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http uri: "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http args: "" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http exten: "" +2025/09/02 16:58:35 [debug] 196550#196550: *23 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http process request header line +2025/09/02 16:58:35 [debug] 196550#196550: *23 http header: "Host: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http header: "User-Agent: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http header: "Accept: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http header done +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer del: 6: 100475999 +2025/09/02 16:58:35 [debug] 196550#196550: *23 generic phase: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 rewrite phase: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: "/media" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: "/debug/list" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http cl:-1 max:104857600 +2025/09/02 16:58:35 [debug] 196550#196550: *23 rewrite phase: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "DELETE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script value: "DELETE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script equal +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script if +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script regex: "^/(.*)$" +2025/09/02 16:58:35 [notice] 196550#196550: *23 "^/(.*)$" matches "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "/fcgi-delete/" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script regex end +2025/09/02 16:58:35 [notice] 196550#196550: *23 rewritten data: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 post rewrite phase: 4 +2025/09/02 16:58:35 [debug] 196550#196550: *23 uri changes: 11 +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: "/media" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: "/debug/list" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: "/health" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http cl:-1 max:104857600 +2025/09/02 16:58:35 [debug] 196550#196550: *23 rewrite phase: 3 +2025/09/02 16:58:35 [debug] 196550#196550: *23 post rewrite phase: 4 +2025/09/02 16:58:35 [debug] 196550#196550: *23 generic phase: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *23 generic phase: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *23 generic phase: 7 +2025/09/02 16:58:35 [debug] 196550#196550: *23 access phase: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *23 access phase: 9 +2025/09/02 16:58:35 [debug] 196550#196550: *23 access phase: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *23 post access phase: 11 +2025/09/02 16:58:35 [debug] 196550#196550: *23 generic phase: 12 +2025/09/02 16:58:35 [debug] 196550#196550: *23 generic phase: 13 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http init upstream, client timer: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "QUERY_STRING" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "QUERY_STRING: " +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "REQUEST_METHOD" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "DELETE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "CONTENT_TYPE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "CONTENT_TYPE: " +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "CONTENT_LENGTH" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SCRIPT_NAME" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SCRIPT_NAME: /fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "REQUEST_URI" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "REQUEST_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "DOCUMENT_URI" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "/" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "DOCUMENT_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "DOCUMENT_ROOT" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SERVER_PROTOCOL" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "REQUEST_SCHEME" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "http" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "GATEWAY_INTERFACE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "CGI/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SERVER_SOFTWARE" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "nginx/" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "1.18.0" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "REMOTE_ADDR" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "REMOTE_PORT" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "43392" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "REMOTE_PORT: 43392" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SERVER_ADDR" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SERVER_PORT" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SERVER_NAME" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "localhost" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "REDIRECT_STATUS" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "200" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "SCRIPT_FILENAME" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script var: "./blobs" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http script copy: "/ginxsom.fcgi" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 16:58:35 [debug] 196550#196550: *23 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http cleanup add: 00005812598CC588 +2025/09/02 16:58:35 [debug] 196550#196550: *23 get rr peer, try: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 stream socket 10 +2025/09/02 16:58:35 [debug] 196550#196550: *23 epoll add connection: fd:10 ev:80002005 +2025/09/02 16:58:35 [debug] 196550#196550: *23 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #24 +2025/09/02 16:58:35 [debug] 196550#196550: *23 connected +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream connect: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream send request +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream send request body +2025/09/02 16:58:35 [debug] 196550#196550: *23 chain writer buf fl:0 s:704 +2025/09/02 16:58:35 [debug] 196550#196550: *23 chain writer in: 00005812598CC5C8 +2025/09/02 16:58:35 [debug] 196550#196550: *23 writev: 704 of 704 +2025/09/02 16:58:35 [debug] 196550#196550: *23 chain writer out: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer add: 10: 60000:100475999 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http finalize request: -4, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:2 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http request count:2 blk:0 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http run request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream check client, write event:1, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream dummy handler +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 1 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C9 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream process header +2025/09/02 16:58:35 [debug] 196550#196550: *23 malloc: 00005812598BE140:4096 +2025/09/02 16:58:35 [debug] 196550#196550: *23 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 recv: fd:10 440 of 4096 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 95 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 03 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record length: 149 +2025/09/02 16:58:35 [error] 196550#196550: *23 FastCGI sent in stderr: "LOG: [2025-09-02 16:58:35] DELETE /delete - Auth: pending - Status: 0 +LOG: [2025-09-02 16:58:35] DELETE /delete - Auth: missing_auth - Status: 401" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 07 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: ED +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 03 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record length: 237 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi header: "Status: 401 Unauthorized" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi parser: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 posix_memalign: 00005812598BF150:4096 @16 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi header: "Content-Type: application/json" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi parser: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi header done +2025/09/02 16:58:35 [debug] 196550#196550: *23 HTTP/1.1 401 Unauthorized +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 20:58:35 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive + +2025/09/02 16:58:35 [debug] 196550#196550: *23 write new buf t:1 f:0 00005812598BF1F0, pos 00005812598BF1F0, size: 181 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http write filter: l:0 f:0 s:181 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http cacheable: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream process upstream +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe read upstream: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe preread: 204 +2025/09/02 16:58:35 [debug] 196550#196550: *23 readv: eof:1, avail:0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 readv: 1, last:3656 +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe recv chain: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe buf free s:0 t:1 f:0 00005812598BE140, pos 00005812598BE22C, size: 204 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe length: -1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 input buf #0 00005812598BE22C +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 06 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record length: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi closed stdout +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 03 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 01 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 08 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record byte: 00 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi record length: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http fastcgi sent end request +2025/09/02 16:58:35 [debug] 196550#196550: *23 input buf 00005812598BE22C 177 +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe write downstream: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe write downstream flush in +2025/09/02 16:58:35 [debug] 196550#196550: *23 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00005812598BF3D0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http chunk: 177 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write old buf t:1 f:0 00005812598BF1F0, pos 00005812598BF1F0, size: 181 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write new buf t:1 f:0 00005812598BF528, pos 00005812598BF528, size: 4 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write new buf t:1 f:0 00005812598BE140, pos 00005812598BE22C, size: 177 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http write filter: l:0 f:0 s:364 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 pipe write downstream done +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer: 10, old: 100475999, new: 100476000 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream exit: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *23 finalize http upstream request: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 finalize http fastcgi request +2025/09/02 16:58:35 [debug] 196550#196550: *23 free rr peer 1 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 close http upstream connection: 10 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 000058125989DF20, unused: 48 +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer del: 10: 100475999 +2025/09/02 16:58:35 [debug] 196550#196550: *23 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http upstream temp fd: -1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00007FFF7EF4A780 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http chunk: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write old buf t:1 f:0 00005812598BF1F0, pos 00005812598BF1F0, size: 181 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write old buf t:1 f:0 00005812598BF528, pos 00005812598BF528, size: 4 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write old buf t:1 f:0 00005812598BE140, pos 00005812598BE22C, size: 177 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http write filter: l:1 f:0 s:369 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http write filter limit 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 writev: 369 of 369 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http write filter 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 16:58:35 [debug] 196550#196550: *23 http finalize request: 0, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 set http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *23 http close request +2025/09/02 16:58:35 [debug] 196550#196550: *23 http log handler +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598BE140 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598D5490, unused: 5 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598CB800, unused: 8 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598BF150, unused: 2565 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 hc free: 0000000000000000 +2025/09/02 16:58:35 [debug] 196550#196550: *23 hc busy: 0000000000000000 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 tcp_nodelay +2025/09/02 16:58:35 [debug] 196550#196550: *23 reusable connection: 1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer add: 6: 65000:100481000 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 0 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 16:58:35 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 http keepalive handler +2025/09/02 16:58:35 [debug] 196550#196550: *23 malloc: 00005812598B70A0:1024 +2025/09/02 16:58:35 [debug] 196550#196550: *23 recv: eof:1, avail:-1 +2025/09/02 16:58:35 [debug] 196550#196550: *23 recv: fd:6 0 of 1024 +2025/09/02 16:58:35 [info] 196550#196550: *23 client 127.0.0.1 closed keepalive connection +2025/09/02 16:58:35 [debug] 196550#196550: *23 close http connection: 6 +2025/09/02 16:58:35 [debug] 196550#196550: *23 event timer del: 6: 100481000 +2025/09/02 16:58:35 [debug] 196550#196550: *23 reusable connection: 0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598B70A0 +2025/09/02 16:58:35 [debug] 196550#196550: *23 free: 00005812598B4840, unused: 120 +2025/09/02 16:58:35 [debug] 196550#196550: timer delta: 2 +2025/09/02 16:58:35 [debug] 196550#196550: worker cycle +2025/09/02 16:58:35 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:58 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:58 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *25 accept: 127.0.0.1:50526 fd:6 +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer add: 6: 60000:100619231 +2025/09/02 17:00:58 [debug] 196550#196550: *25 reusable connection: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 143229 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http wait request handler +2025/09/02 17:00:58 [debug] 196550#196550: *25 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:6 925 of 1024 +2025/09/02 17:00:58 [debug] 196550#196550: *25 reusable connection: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http process request line +2025/09/02 17:00:58 [debug] 196550#196550: *25 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http uri: "/upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http args: "" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http exten: "" +2025/09/02 17:00:58 [debug] 196550#196550: *25 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http process request header line +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header: "Host: localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header: "Accept: */*" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIyMjY0OTA0MWRlZjFhMDI4MjA2N2Y0YzI5NDkyMzIyZmM3ZDhjYTc4MGJmYTRmMmI5YjkxOTNkYzY2ODg0NjlhIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY4NTgsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJmMTM1MzZhMWZkNTE0NzhlNTQxNDQzOTliYjU4NDU0YjYxMjJiNmM3MjkxNDUzNmE1YWUxMmYwOTI4NDE1MWE4Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDQ1OCJdXSwiY29udGVudCI6IiIsInNpZyI6IjA4ODhkNDBhNTI4ZWRkYjRmMmVhMGMzNjBkYzFjMTRkOGY4ODA3ZTVlNDVlOWE5ZGMyODIzYWFhZTlmZTNkY2YzOTMyMzI3ZTM4ODVlMWNhYjIxOTk1MTJkZWQ1YWJmZWQ0MDEwNTllOGQ2MDYyOTc3ODY1NDQxZDQ1NzQyOTJjIn0=" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header: "Content-Type: text/plain" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header: "Content-Length: 155" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http header done +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer del: 6: 100619231 +2025/09/02 17:00:58 [debug] 196550#196550: *25 generic phase: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 rewrite phase: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 test location: "/media" +2025/09/02 17:00:58 [debug] 196550#196550: *25 test location: "/report" +2025/09/02 17:00:58 [debug] 196550#196550: *25 test location: "/upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 using configuration "=/upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http cl:155 max:104857600 +2025/09/02 17:00:58 [debug] 196550#196550: *25 rewrite phase: 3 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "PUT" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:00:58 [notice] 196550#196550: *25 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script if +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script if: false +2025/09/02 17:00:58 [debug] 196550#196550: *25 post rewrite phase: 4 +2025/09/02 17:00:58 [debug] 196550#196550: *25 generic phase: 5 +2025/09/02 17:00:58 [debug] 196550#196550: *25 generic phase: 6 +2025/09/02 17:00:58 [debug] 196550#196550: *25 generic phase: 7 +2025/09/02 17:00:58 [debug] 196550#196550: *25 access phase: 8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 access phase: 9 +2025/09/02 17:00:58 [debug] 196550#196550: *25 access phase: 10 +2025/09/02 17:00:58 [debug] 196550#196550: *25 post access phase: 11 +2025/09/02 17:00:58 [debug] 196550#196550: *25 generic phase: 12 +2025/09/02 17:00:58 [debug] 196550#196550: *25 generic phase: 13 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http client request body preread 155 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http request body content length filter +2025/09/02 17:00:58 [debug] 196550#196550: *25 http body new buf t:1 f:0 00005812598B73A2, pos 00005812598B73A2, size: 155 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http init upstream, client timer: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "QUERY_STRING" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "QUERY_STRING: " +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "REQUEST_METHOD" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "PUT" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "CONTENT_TYPE" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "text/plain" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "CONTENT_LENGTH" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "155" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "CONTENT_LENGTH: 155" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SCRIPT_NAME" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "/upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "REQUEST_URI" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "/upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "DOCUMENT_URI" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "/upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "./blobs" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "HTTP/1.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "REQUEST_SCHEME" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "http" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "CGI/1.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "nginx/" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "1.18.0" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "REMOTE_ADDR" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "127.0.0.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "REMOTE_PORT" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "50526" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "REMOTE_PORT: 50526" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SERVER_ADDR" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "127.0.0.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SERVER_PORT" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SERVER_NAME" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "localhost" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "REDIRECT_STATUS" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "200" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script var: "./blobs" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http script copy: "/ginxsom.fcgi" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIyMjY0OTA0MWRlZjFhMDI4MjA2N2Y0YzI5NDkyMzIyZmM3ZDhjYTc4MGJmYTRmMmI5YjkxOTNkYzY2ODg0NjlhIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY4NTgsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJmMTM1MzZhMWZkNTE0NzhlNTQxNDQzOTliYjU4NDU0YjYxMjJiNmM3MjkxNDUzNmE1YWUxMmYwOTI4NDE1MWE4Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDQ1OCJdXSwiY29udGVudCI6IiIsInNpZyI6IjA4ODhkNDBhNTI4ZWRkYjRmMmVhMGMzNjBkYzFjMTRkOGY4ODA3ZTVlNDVlOWE5ZGMyODIzYWFhZTlmZTNkY2YzOTMyMzI3ZTM4ODVlMWNhYjIxOTk1MTJkZWQ1YWJmZWQ0MDEwNTllOGQ2MDYyOTc3ODY1NDQxZDQ1NzQyOTJjIn0=" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:00:58 [debug] 196550#196550: *25 fastcgi param: "HTTP_CONTENT_LENGTH: 155" +2025/09/02 17:00:58 [debug] 196550#196550: *25 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http cleanup add: 00005812598CC7E8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 get rr peer, try: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 stream socket 10 +2025/09/02 17:00:58 [debug] 196550#196550: *25 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:00:58 [debug] 196550#196550: *25 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #26 +2025/09/02 17:00:58 [debug] 196550#196550: *25 connected +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream connect: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream send request +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream send request body +2025/09/02 17:00:58 [debug] 196550#196550: *25 chain writer buf fl:0 s:1224 +2025/09/02 17:00:58 [debug] 196550#196550: *25 chain writer buf fl:0 s:155 +2025/09/02 17:00:58 [debug] 196550#196550: *25 chain writer buf fl:0 s:13 +2025/09/02 17:00:58 [debug] 196550#196550: *25 chain writer in: 00005812598BE278 +2025/09/02 17:00:58 [debug] 196550#196550: *25 writev: 1392 of 1392 +2025/09/02 17:00:58 [debug] 196550#196550: *25 chain writer out: 0000000000000000 +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer add: 10: 60000:100619232 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http request count:2 blk:0 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http run request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream check client, write event:1, "/upload" +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 malloc: 00005812598BF150:4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 664 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 8E +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 02 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 142 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "LOG: [2025-09-02 17:00:58] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:00:58] PUT /upload - Auth: auth_provided - Status: 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 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 2048 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "hod: upload, hash: f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846858,"tags":[["t","upload"],["x","f13536a1fd51478e54144399bb58454b612" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "2b6c72914536a5ae12f09284151a8"],["expiration","1756850458"]],"content":"","sig":"0888d40a528eddb4f2ea0c360dc1c14d8f8807e5e45e9a9dc2823aaae9fe3dcf3932327e3885e1cab2199512ded5abfed401059e8d6062977865441d4574292c"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846858, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: " ["x", "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8"], ["expiration", "1756850458"]], + "content": "", + "sig": "0888d40a528eddb4f2ea0c360dc1c14d8f8807e5e45e9a9dc2823aaae9fe3dcf3932327e3885e1cab2199512ded5abfed401059e8d6062977865441d4574292c" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 0888d40a528edd" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "b4f2ea0c360dc1c14d8f8807e5e45e9a9dc2823aaae9fe3dcf3932327e3885e1cab2199512ded5abfed401059e8d6062977865441d4574292c +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846858 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 512 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 1536 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a' (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: '0888d40a528eddb4f2ea0c360dc1c14d8f8807e5e45e9a9dc2823" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 2048 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "aaae9fe3dcf3932327e3885e1cab2199512ded5abfed401059e8d6062977865441d4574292c' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756846858 +SUCCESS: Timestamp is valid: 2025-09-02 21:00:58 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' +ℹINFO: Tag[1][1]: 'f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850458' +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 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 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 22 64 90 41 de f1 a0 28 20 67 f4 c2 94 92 32 2f |"d.A...( g....2/| + c7 d8 ca 78 0b 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 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 512 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "a 4f 2b 9b 91 93 dc 66 88 46 9a |...x..O+....f.F.| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a +ℹINFO: Provided ID: 22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a +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 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 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 512 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "b 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 ( 08 88 d4 0a 52 8e dd b4 f2 ea 0c 36 0d c1 c1 4d |....R......6...M| + 8f 88 07 e5 e4 5e 9a 9d c2 82 3a aa e9 fe 3d cf |.....^....:...=.| + 39 32 32 7e 38 85 e1 ca b2 19 95 12 de d5 ab fe |922~8...........| + d4 01 05 9e 8d 60 62 97 78 65 44 1d 45 74 29 2c |.....`b.xeD.Et),| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 1024 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '22649041def1a0282067f4c29492322fc7d8ca780bfa4f2b9b9193dc6688469a' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846858 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 512 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: F8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 504 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '0888d40a528eddb4f2ea0c360dc1c14d8f8807e5e45e9a9dc2823aaae9fe3dcf3932327e3885e1cab2199512ded5abfed401059e8d6062977865441d4574292c' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:0, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream dummy handler +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream request: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process header +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:1, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:10 384 of 4096 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 1C +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 04 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 28 +2025/09/02 17:00:58 [error] 196550#196550: *25 FastCGI sent in stderr: "ticate_request returned: 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 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 07 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 06 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 2D +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 03 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 301 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi parser: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi header: "Status: 200 OK" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi parser: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi parser: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi header done +2025/09/02 17:00:58 [debug] 196550#196550: *25 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:58 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 17:00:58 [debug] 196550#196550: *25 write new buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http write filter: l:0 f:0 s:260 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http cacheable: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream process upstream +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe read upstream: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe preread: 278 +2025/09/02 17:00:58 [debug] 196550#196550: *25 readv: eof:1, avail:0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 readv: 1, last:3712 +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe recv chain: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 278 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe length: -1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 input buf #0 00005812598BF1BA +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 06 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi closed stdout +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 03 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 01 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 08 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record byte: 00 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi record length: 8 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http fastcgi sent end request +2025/09/02 17:00:58 [debug] 196550#196550: *25 input buf 00005812598BF1BA 251 +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe write downstream: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe write downstream flush in +2025/09/02 17:00:58 [debug] 196550#196550: *25 http output filter "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http copy filter: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http postpone filter "/upload?" 00005812598BE248 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http chunk: 251 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write new buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 251 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http write filter: l:0 f:0 s:517 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http copy filter: 0 "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 pipe write downstream done +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer: 10, old: 100619232, new: 100619238 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream exit: 0000000000000000 +2025/09/02 17:00:58 [debug] 196550#196550: *25 finalize http upstream request: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 finalize http fastcgi request +2025/09/02 17:00:58 [debug] 196550#196550: *25 free rr peer 1 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 close http upstream connection: 10 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 000058125989DF20, unused: 48 +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer del: 10: 100619232 +2025/09/02 17:00:58 [debug] 196550#196550: *25 reusable connection: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http upstream temp fd: -1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http output filter "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http copy filter: "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http postpone filter "/upload?" 00007FFF7EF4A780 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http chunk: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write old buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 251 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http write filter: l:1 f:0 s:522 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http write filter limit 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 writev: 522 of 522 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http write filter 0000000000000000 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http copy filter: 0 "/upload?" +2025/09/02 17:00:58 [debug] 196550#196550: *25 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 set http keepalive handler +2025/09/02 17:00:58 [debug] 196550#196550: *25 http close request +2025/09/02 17:00:58 [debug] 196550#196550: *25 http log handler +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598BF150 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598D5490, unused: 3 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598CB800, unused: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598BE140, unused: 1770 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598B70A0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 hc free: 0000000000000000 +2025/09/02 17:00:58 [debug] 196550#196550: *25 hc busy: 0000000000000000 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 tcp_nodelay +2025/09/02 17:00:58 [debug] 196550#196550: *25 reusable connection: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer add: 6: 65000:100624238 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 4 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 http keepalive handler +2025/09/02 17:00:58 [debug] 196550#196550: *25 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: eof:1, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *25 recv: fd:6 0 of 1024 +2025/09/02 17:00:58 [info] 196550#196550: *25 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:58 [debug] 196550#196550: *25 close http connection: 6 +2025/09/02 17:00:58 [debug] 196550#196550: *25 event timer del: 6: 100624238 +2025/09/02 17:00:58 [debug] 196550#196550: *25 reusable connection: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598B70A0 +2025/09/02 17:00:58 [debug] 196550#196550: *25 free: 00005812598B4840, unused: 120 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:58 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:58 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *27 accept: 127.0.0.1:50538 fd:6 +2025/09/02 17:00:58 [debug] 196550#196550: *27 event timer add: 6: 60000:100619248 +2025/09/02 17:00:58 [debug] 196550#196550: *27 reusable connection: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 10 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http wait request handler +2025/09/02 17:00:58 [debug] 196550#196550: *27 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:58 [debug] 196550#196550: *27 recv: eof:0, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 recv: fd:6 146 of 1024 +2025/09/02 17:00:58 [debug] 196550#196550: *27 reusable connection: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http process request line +2025/09/02 17:00:58 [debug] 196550#196550: *27 http request line: "GET /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt HTTP/1.1" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http uri: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http args: "" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http exten: "txt" +2025/09/02 17:00:58 [debug] 196550#196550: *27 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http process request header line +2025/09/02 17:00:58 [debug] 196550#196550: *27 http header: "Host: localhost:9001" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http header: "Accept: */*" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http header done +2025/09/02 17:00:58 [debug] 196550#196550: *27 event timer del: 6: 100619248 +2025/09/02 17:00:58 [debug] 196550#196550: *27 generic phase: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 rewrite phase: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 test location: "/media" +2025/09/02 17:00:58 [debug] 196550#196550: *27 test location: "/debug/list" +2025/09/02 17:00:58 [debug] 196550#196550: *27 test location: "/health" +2025/09/02 17:00:58 [debug] 196550#196550: *27 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:58 [debug] 196550#196550: *27 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:58 [debug] 196550#196550: *27 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http cl:-1 max:104857600 +2025/09/02 17:00:58 [debug] 196550#196550: *27 rewrite phase: 3 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script var +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script var: "GET" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script value: "DELETE" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script equal +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script equal: no +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script if +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script if: false +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script var +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script var: "GET" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script value: "HEAD" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script equal +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script equal: no +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script if +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script if: false +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script var +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script var: "GET" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script value: "GET" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script not equal +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script not equal: no +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script if +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script if: false +2025/09/02 17:00:58 [debug] 196550#196550: *27 post rewrite phase: 4 +2025/09/02 17:00:58 [debug] 196550#196550: *27 generic phase: 5 +2025/09/02 17:00:58 [debug] 196550#196550: *27 generic phase: 6 +2025/09/02 17:00:58 [debug] 196550#196550: *27 generic phase: 7 +2025/09/02 17:00:58 [debug] 196550#196550: *27 access phase: 8 +2025/09/02 17:00:58 [debug] 196550#196550: *27 access phase: 9 +2025/09/02 17:00:58 [debug] 196550#196550: *27 access phase: 10 +2025/09/02 17:00:58 [debug] 196550#196550: *27 post access phase: 11 +2025/09/02 17:00:58 [debug] 196550#196550: *27 generic phase: 12 +2025/09/02 17:00:58 [debug] 196550#196550: *27 try files handler +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script copy: "/" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http script copy: ".txt" +2025/09/02 17:00:58 [debug] 196550#196550: *27 trying to use file: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" "./blobs/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:58 [debug] 196550#196550: *27 try file uri: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:58 [debug] 196550#196550: *27 generic phase: 13 +2025/09/02 17:00:58 [debug] 196550#196550: *27 content phase: 14 +2025/09/02 17:00:58 [debug] 196550#196550: *27 content phase: 15 +2025/09/02 17:00:58 [debug] 196550#196550: *27 content phase: 16 +2025/09/02 17:00:58 [debug] 196550#196550: *27 content phase: 17 +2025/09/02 17:00:58 [debug] 196550#196550: *27 content phase: 18 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http filename: "./blobs/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:58 [debug] 196550#196550: *27 add cleanup: 00005812598CBBE0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http static fd: 10 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http set discard body +2025/09/02 17:00:58 [debug] 196550#196550: *27 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:58 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 21:00:58 GMT +Connection: keep-alive +ETag: "68b75b0a-9b" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 17:00:58 [debug] 196550#196550: *27 write new buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http write filter: l:0 f:0 s:299 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http output filter "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http copy filter: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http postpone filter "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" 00007FFF7EF4A670 +2025/09/02 17:00:58 [debug] 196550#196550: *27 write old buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http write filter: l:1 f:0 s:454 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http write filter limit 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 tcp_nopush +2025/09/02 17:00:58 [debug] 196550#196550: *27 writev: 299 of 299 +2025/09/02 17:00:58 [debug] 196550#196550: *27 sendfile: @0 155 +2025/09/02 17:00:58 [debug] 196550#196550: *27 sendfile: 155 of 155 @0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http write filter 0000000000000000 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http copy filter: 0 "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" +2025/09/02 17:00:58 [debug] 196550#196550: *27 http finalize request: 0, "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" a:1, c:1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 set http keepalive handler +2025/09/02 17:00:58 [debug] 196550#196550: *27 http close request +2025/09/02 17:00:58 [debug] 196550#196550: *27 http log handler +2025/09/02 17:00:58 [debug] 196550#196550: *27 run cleanup: 00005812598CBBE0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 file cleanup: fd:10 +2025/09/02 17:00:58 [debug] 196550#196550: *27 free: 00005812598D5490, unused: 5 +2025/09/02 17:00:58 [debug] 196550#196550: *27 free: 00005812598CB800, unused: 1932 +2025/09/02 17:00:58 [debug] 196550#196550: *27 free: 00005812598B70A0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 hc free: 0000000000000000 +2025/09/02 17:00:58 [debug] 196550#196550: *27 hc busy: 0000000000000000 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 reusable connection: 1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 event timer add: 6: 65000:100624248 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:58 [debug] 196550#196550: epoll: fd:6 ev:2001 d:000079BCB17161E1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 http keepalive handler +2025/09/02 17:00:58 [debug] 196550#196550: *27 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:58 [debug] 196550#196550: *27 recv: eof:1, avail:-1 +2025/09/02 17:00:58 [debug] 196550#196550: *27 recv: fd:6 0 of 1024 +2025/09/02 17:00:58 [info] 196550#196550: *27 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:58 [debug] 196550#196550: *27 close http connection: 6 +2025/09/02 17:00:58 [debug] 196550#196550: *27 event timer del: 6: 100624248 +2025/09/02 17:00:58 [debug] 196550#196550: *27 reusable connection: 0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 free: 00005812598B70A0 +2025/09/02 17:00:58 [debug] 196550#196550: *27 free: 00005812598B4840, unused: 136 +2025/09/02 17:00:58 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:58 [debug] 196550#196550: worker cycle +2025/09/02 17:00:58 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:59 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:59 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *28 accept: 127.0.0.1:50554 fd:6 +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer add: 6: 60000:100619594 +2025/09/02 17:00:59 [debug] 196550#196550: *28 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 345 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http wait request handler +2025/09/02 17:00:59 [debug] 196550#196550: *28 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: fd:6 784 of 1024 +2025/09/02 17:00:59 [debug] 196550#196550: *28 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http process request line +2025/09/02 17:00:59 [debug] 196550#196550: *28 http request line: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http uri: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http args: "" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http exten: "" +2025/09/02 17:00:59 [debug] 196550#196550: *28 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http process request header line +2025/09/02 17:00:59 [debug] 196550#196550: *28 http header: "Host: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http header: "Accept: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJiOWNiMWM1ZWEzMmVhYTQ5YzZhOWM3ODE1OTkxNjgwYzRkMjE5ZTcwOTdiMzVkZGI1ODU3OGNiZmVmZGU1MDM1IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY4NTksInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCJmMTM1MzZhMWZkNTE0NzhlNTQxNDQzOTliYjU4NDU0YjYxMjJiNmM3MjkxNDUzNmE1YWUxMmYwOTI4NDE1MWE4Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDQ1OCJdXSwiY29udGVudCI6IiIsInNpZyI6IjhiZWMwYmZiYzZlNWRhYTkxY2U5M2EzZTkxNmE3YWVhNDBjMDY0N2I3NDhhMjUzZWI5MTU3Yjc4ZWJmNjU3MGFkYjdiOWJjMTRlZWNiZjY4NTY5OTE4NmJjMTA2ZmVmNDA0NGMxODM5MjZkNjk1ZTFmOWFhNTllNjM5MDZkODFlIn0=" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http header done +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer del: 6: 100619594 +2025/09/02 17:00:59 [debug] 196550#196550: *28 generic phase: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 rewrite phase: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: "/health" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *28 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script value: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script equal +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script regex: "^/(.*)$" +2025/09/02 17:00:59 [notice] 196550#196550: *28 "^/(.*)$" matches "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8", client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "/fcgi-delete/" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script regex end +2025/09/02 17:00:59 [notice] 196550#196550: *28 rewritten data: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *28 uri changes: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: "/health" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *28 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *28 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *28 generic phase: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *28 generic phase: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *28 generic phase: 7 +2025/09/02 17:00:59 [debug] 196550#196550: *28 access phase: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 access phase: 9 +2025/09/02 17:00:59 [debug] 196550#196550: *28 access phase: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *28 post access phase: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *28 generic phase: 12 +2025/09/02 17:00:59 [debug] 196550#196550: *28 generic phase: 13 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http init upstream, client timer: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "QUERY_STRING" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "QUERY_STRING: " +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "REQUEST_METHOD" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "CONTENT_TYPE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "CONTENT_LENGTH" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SCRIPT_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SCRIPT_NAME: /fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "REQUEST_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "REQUEST_URI: /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "DOCUMENT_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "DOCUMENT_URI: /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "REQUEST_SCHEME" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "http" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "CGI/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "nginx/" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "REMOTE_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "REMOTE_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "50554" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "REMOTE_PORT: 50554" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SERVER_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SERVER_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SERVER_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "REDIRECT_STATUS" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "200" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http script copy: "/ginxsom.fcgi" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *28 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJiOWNiMWM1ZWEzMmVhYTQ5YzZhOWM3ODE1OTkxNjgwYzRkMjE5ZTcwOTdiMzVkZGI1ODU3OGNiZmVmZGU1MDM1IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY4NTksInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCJmMTM1MzZhMWZkNTE0NzhlNTQxNDQzOTliYjU4NDU0YjYxMjJiNmM3MjkxNDUzNmE1YWUxMmYwOTI4NDE1MWE4Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDQ1OCJdXSwiY29udGVudCI6IiIsInNpZyI6IjhiZWMwYmZiYzZlNWRhYTkxY2U5M2EzZTkxNmE3YWVhNDBjMDY0N2I3NDhhMjUzZWI5MTU3Yjc4ZWJmNjU3MGFkYjdiOWJjMTRlZWNiZjY4NTY5OTE4NmJjMTA2ZmVmNDA0NGMxODM5MjZkNjk1ZTFmOWFhNTllNjM5MDZkODFlIn0=" +2025/09/02 17:00:59 [debug] 196550#196550: *28 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http cleanup add: 00005812598CC7D8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 get rr peer, try: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 stream socket 10 +2025/09/02 17:00:59 [debug] 196550#196550: *28 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *28 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #29 +2025/09/02 17:00:59 [debug] 196550#196550: *28 connected +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream connect: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream send request +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream send request body +2025/09/02 17:00:59 [debug] 196550#196550: *28 chain writer buf fl:0 s:1352 +2025/09/02 17:00:59 [debug] 196550#196550: *28 chain writer in: 00005812598CC7F0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 writev: 1352 of 1352 +2025/09/02 17:00:59 [debug] 196550#196550: *28 chain writer out: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer add: 10: 60000:100619595 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http finalize request: -4, "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" a:1, c:2 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http request count:2 blk:0 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http run request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream check client, write event:1, "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *28 malloc: 00005812598BF150:4096 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: fd:10 2560 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "LOG: [2025-09-02 17:00:59] DELETE /delete - Auth: pending - Status: 0 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with method: delete, hash: f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 +STEP SERVER-2: Calling" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846859,"tags":[["t","delete"],["x","f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8"],["expiration","1756850458"]],"content":"","sig":"8bec0bfbc6e5daa91ce93a3e91" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "6a7aea40c0647b748a253eb9157b78ebf6570adb7b9bc14eecbf685699186bc106fef4044c183926d695e1f9aa59e63906d81e"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846859, + "tags": [["t", "delete"], ["x", "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8"], ["expiration", "1756850458"]]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: " "content": "", + "sig": "8bec0bfbc6e5daa91ce93a3e916a7aea40c0647b748a253eb9157b78ebf6570adb7b9bc14eecbf685699186bc106fef4044c183926d695e1f9aa59e63906d81e" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035 +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 8bec0bfbc6e5daa91ce93a3e916a7aea40c0647b748a253eb9157b78ebf6570adb7b9bc14eecbf685699186bc106fef4044c183926d695e1f9aa59e63" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "906d81e +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846859 +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: Length: ℹINFO: Character an" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:0, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: fd:10 4096 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: avail:2048 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "alysis (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 returned: 0 (Success) +SUCCESS: Crypto verification PASSED +ℹINFO: Testing co" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "mplete validation... +ℹ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 existence +S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "UCCESS: 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' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: " hex string lengths +ℹINFO: ID string: 'b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035' (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: '8bec0bfbc6e5daa91ce93a3e916a7aea40c0647b748a253eb9157b78ebf6570adb7b9bc14eecbf685699186bc106fef4044c183926d695e1f9aa59e63906d81e' (length: SUCCESS: Signature st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "ring 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) +STEP STRUCT-6: Validating timestamp +ℹINFO: Created_at timestamp: 1756846859 +SUCCESS: Timestamp is valid: 2025-09-02 21:00:59 UTC +STEP STRUCT" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "-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]: 'delete' +ℹINFO: Tag[1] has 2 elements +ℹINFO: Tag[1][0]: 'x' +ℹINFO: Tag[1][1]: 'f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8' +ℹINFO: Tag[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850458' +SUCCESS: Tags array st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "ructure 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 validation +═══════════════════════════════════════════════════════════════════ +STEP CRYPTO-1: Starting detailed sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "nature 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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( b9 cb 1c 5e a3 2e aa 49 c6 a9 c7 81 59 91 68 0c |...^...I....Y.h.| + 4d 21 9e 70 97 b3 5d db 58 57 8c bf ef de 50 35 |M!.p..].XW....P5| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated I" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:0, avail:2048 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: fd:10 3072 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "D: b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035 +ℹINFO: Provided ID: b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035 +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: Sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "nature hex converted to bytes +ℹINFO: Signature bytes ( 8b ec 0b fb c6 e5 da a9 1c e9 3a 3e 91 6a 7a ea |..........:>.jz.| + 40 c0 64 7b 74 8a 25 3e b9 15 7b 78 eb f6 57 0a |@.d{t.%>..{x..W.| + db 7b 9b c1 4e ec bf 68 56 99 18 6b c1 06 fe f4 |.{..N..hV..k....| + 04 4c 18 39 26 d6 95 e1 f9 aa 59 e6 39 06 d8 1e |.L.9&.....Y.9...| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹINFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹINFO: nostr_ve" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "rify_event_signature returned: 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': +ℹINFO: Typ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "e: String +ℹINFO: Value: 'b9cb1c5ea32eaa49c6a9c7815991680c4d219e7097b35ddb58578cbfefde5035' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846859 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +ℹINFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '8bec0bfbc6e5daa91ce93a3e916a7aea40c0647b748a253eb9157b78ebf6570adb7b9bc14eecbf685699186bc106fef4044c183926d695e1f9aa59e63906d81e' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +DELETE DEBUG: auth_pubkey extracted from request: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: "LETE DEBUG: database query results - uploader_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type: 'text/plain' +DELETE DEBUG: copied strings - uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type_copy: 'text/plain' +DELETE DEBUG: ownership check - auth_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DELETE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:0, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59997 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream request: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: fd:10 424 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: C3 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 05 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 195 +2025/09/02 17:00:59 [error] 196550#196550: *28 FastCGI sent in stderr: " DEBUG: uploader_pubkey_copy[0]: 55, strcmp result: 0 +DELETE DEBUG: ownership check PASSED - proceeding with delete +LOG: [2025-09-02 17:00:59] DELETE /delete - Auth: authenticated - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: AF +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 175 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi header: "Status: 200 OK" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi parser: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi header done +2025/09/02 17:00:59 [debug] 196550#196550: *28 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:59 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 17:00:59 [debug] 196550#196550: *28 write new buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http write filter: l:0 f:0 s:260 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http cacheable: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream process upstream +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe read upstream: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe preread: 150 +2025/09/02 17:00:59 [debug] 196550#196550: *28 readv: eof:1, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 readv: 1, last:3672 +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe recv chain: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 150 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe length: -1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 input buf #0 00005812598BF262 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi closed stdout +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 03 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 08 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi record length: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http fastcgi sent end request +2025/09/02 17:00:59 [debug] 196550#196550: *28 input buf 00005812598BF262 125 +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe write downstream: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe write downstream flush in +2025/09/02 17:00:59 [debug] 196550#196550: *28 http output filter "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http copy filter: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http postpone filter "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" 00005812598BE690 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http chunk: 125 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write old buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write new buf t:1 f:0 00005812598BE7E8, pos 00005812598BE7E8, size: 4 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 125 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http write filter: l:0 f:0 s:391 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http copy filter: 0 "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 pipe write downstream done +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer: 10, old: 100619595, new: 100619599 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream exit: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *28 finalize http upstream request: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 finalize http fastcgi request +2025/09/02 17:00:59 [debug] 196550#196550: *28 free rr peer 1 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 close http upstream connection: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 000058125989DF20, unused: 48 +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer del: 10: 100619595 +2025/09/02 17:00:59 [debug] 196550#196550: *28 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http upstream temp fd: -1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http output filter "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http copy filter: "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http postpone filter "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" 00007FFF7EF4A780 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http chunk: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write old buf t:1 f:0 00005812598BE460, pos 00005812598BE460, size: 260 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write old buf t:1 f:0 00005812598BE7E8, pos 00005812598BE7E8, size: 4 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF262, size: 125 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http write filter: l:1 f:0 s:396 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http write filter limit 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 writev: 396 of 396 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http write filter 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http copy filter: 0 "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *28 http finalize request: 0, "/fcgi-delete/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" a:1, c:1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 set http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *28 http close request +2025/09/02 17:00:59 [debug] 196550#196550: *28 http log handler +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598BF150 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598D5490, unused: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598CB800, unused: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598BE140, unused: 1845 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 hc free: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *28 hc busy: 0000000000000000 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 tcp_nodelay +2025/09/02 17:00:59 [debug] 196550#196550: *28 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer add: 6: 65000:100624599 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *28 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *28 recv: fd:6 0 of 1024 +2025/09/02 17:00:59 [info] 196550#196550: *28 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:59 [debug] 196550#196550: *28 close http connection: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *28 event timer del: 6: 100624599 +2025/09/02 17:00:59 [debug] 196550#196550: *28 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *28 free: 00005812598B4840, unused: 120 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 2 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:59 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:59 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *30 accept: 127.0.0.1:50564 fd:6 +2025/09/02 17:00:59 [debug] 196550#196550: *30 event timer add: 6: 60000:100619610 +2025/09/02 17:00:59 [debug] 196550#196550: *30 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 9 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http wait request handler +2025/09/02 17:00:59 [debug] 196550#196550: *30 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *30 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 recv: fd:6 146 of 1024 +2025/09/02 17:00:59 [debug] 196550#196550: *30 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http process request line +2025/09/02 17:00:59 [debug] 196550#196550: *30 http request line: "GET /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http uri: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http args: "" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http exten: "txt" +2025/09/02 17:00:59 [debug] 196550#196550: *30 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http process request header line +2025/09/02 17:00:59 [debug] 196550#196550: *30 http header: "Host: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http header: "Accept: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http header done +2025/09/02 17:00:59 [debug] 196550#196550: *30 event timer del: 6: 100619610 +2025/09/02 17:00:59 [debug] 196550#196550: *30 generic phase: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 rewrite phase: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *30 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *30 test location: "/health" +2025/09/02 17:00:59 [debug] 196550#196550: *30 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *30 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *30 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *30 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script var: "GET" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script value: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script equal +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script equal: no +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script if: false +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script var: "GET" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script value: "HEAD" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script equal +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script equal: no +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script if: false +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script var: "GET" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script value: "GET" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script not equal +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script not equal: no +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script if: false +2025/09/02 17:00:59 [debug] 196550#196550: *30 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *30 generic phase: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *30 generic phase: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *30 generic phase: 7 +2025/09/02 17:00:59 [debug] 196550#196550: *30 access phase: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *30 access phase: 9 +2025/09/02 17:00:59 [debug] 196550#196550: *30 access phase: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *30 post access phase: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *30 generic phase: 12 +2025/09/02 17:00:59 [debug] 196550#196550: *30 try files handler +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script copy: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http script copy: ".txt" +2025/09/02 17:00:59 [debug] 196550#196550: *30 trying to use file: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" "./blobs/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:59 [debug] 196550#196550: *30 try file uri: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:59 [debug] 196550#196550: *30 generic phase: 13 +2025/09/02 17:00:59 [debug] 196550#196550: *30 content phase: 14 +2025/09/02 17:00:59 [debug] 196550#196550: *30 content phase: 15 +2025/09/02 17:00:59 [debug] 196550#196550: *30 content phase: 16 +2025/09/02 17:00:59 [debug] 196550#196550: *30 content phase: 17 +2025/09/02 17:00:59 [debug] 196550#196550: *30 content phase: 18 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http filename: "./blobs/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt" +2025/09/02 17:00:59 [debug] 196550#196550: *30 add cleanup: 00005812598CBBE0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http static fd: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http set discard body +2025/09/02 17:00:59 [debug] 196550#196550: *30 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:59 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 21:00:58 GMT +Connection: keep-alive +ETag: "68b75b0a-9b" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 17:00:59 [debug] 196550#196550: *30 write new buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http write filter: l:0 f:0 s:299 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http output filter "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http copy filter: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http postpone filter "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" 00007FFF7EF4A670 +2025/09/02 17:00:59 [debug] 196550#196550: *30 write old buf t:1 f:0 00005812598CBDD0, pos 00005812598CBDD0, size: 299 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http write filter: l:1 f:0 s:454 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http write filter limit 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 tcp_nopush +2025/09/02 17:00:59 [debug] 196550#196550: *30 writev: 299 of 299 +2025/09/02 17:00:59 [debug] 196550#196550: *30 sendfile: @0 155 +2025/09/02 17:00:59 [debug] 196550#196550: *30 sendfile: 155 of 155 @0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http write filter 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http copy filter: 0 "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" +2025/09/02 17:00:59 [debug] 196550#196550: *30 http finalize request: 0, "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8.txt?" a:1, c:1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 set http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *30 http close request +2025/09/02 17:00:59 [debug] 196550#196550: *30 http log handler +2025/09/02 17:00:59 [debug] 196550#196550: *30 run cleanup: 00005812598CBBE0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 file cleanup: fd:10 +2025/09/02 17:00:59 [debug] 196550#196550: *30 free: 00005812598D5490, unused: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *30 free: 00005812598CB800, unused: 1932 +2025/09/02 17:00:59 [debug] 196550#196550: *30 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 hc free: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *30 hc busy: 0000000000000000 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 event timer add: 6: 65000:100624610 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:2001 d:000079BCB17161E1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *30 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *30 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *30 recv: fd:6 0 of 1024 +2025/09/02 17:00:59 [info] 196550#196550: *30 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:59 [debug] 196550#196550: *30 close http connection: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *30 event timer del: 6: 100624610 +2025/09/02 17:00:59 [debug] 196550#196550: *30 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *30 free: 00005812598B4840, unused: 136 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 2 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:59 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:59 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *31 accept: 127.0.0.1:50578 fd:6 +2025/09/02 17:00:59 [debug] 196550#196550: *31 event timer add: 6: 60000:100619620 +2025/09/02 17:00:59 [debug] 196550#196550: *31 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 8 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http wait request handler +2025/09/02 17:00:59 [debug] 196550#196550: *31 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *31 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 recv: fd:6 143 of 1024 +2025/09/02 17:00:59 [debug] 196550#196550: *31 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http process request line +2025/09/02 17:00:59 [debug] 196550#196550: *31 http request line: "HEAD /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http uri: "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http args: "" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http exten: "" +2025/09/02 17:00:59 [debug] 196550#196550: *31 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http process request header line +2025/09/02 17:00:59 [debug] 196550#196550: *31 http header: "Host: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http header: "Accept: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http header done +2025/09/02 17:00:59 [debug] 196550#196550: *31 event timer del: 6: 100619620 +2025/09/02 17:00:59 [debug] 196550#196550: *31 generic phase: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 rewrite phase: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: "/health" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *31 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "HEAD" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script value: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script equal +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script equal: no +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script if: false +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "HEAD" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script value: "HEAD" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script equal +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script regex: "^/(.*)$" +2025/09/02 17:00:59 [notice] 196550#196550: *31 "^/(.*)$" matches "/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8", client: 127.0.0.1, server: localhost, request: "HEAD /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "/fcgi-head/" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script regex end +2025/09/02 17:00:59 [notice] 196550#196550: *31 rewritten data: "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8", args: "", client: 127.0.0.1, server: localhost, request: "HEAD /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *31 uri changes: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: "/health" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 using configuration "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *31 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *31 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *31 generic phase: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *31 generic phase: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *31 generic phase: 7 +2025/09/02 17:00:59 [debug] 196550#196550: *31 access phase: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *31 access phase: 9 +2025/09/02 17:00:59 [debug] 196550#196550: *31 access phase: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *31 post access phase: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *31 generic phase: 12 +2025/09/02 17:00:59 [debug] 196550#196550: *31 generic phase: 13 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http init upstream, client timer: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "REQUEST_METHOD" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "HEAD" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "REQUEST_METHOD: HEAD" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "REQUEST_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script capture: "f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "REQUEST_URI: /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "SCRIPT_FILENAME: ./blobs/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "QUERY_STRING" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "QUERY_STRING: " +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "CONTENT_TYPE" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "CONTENT_LENGTH" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "nginx/" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "REMOTE_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "REMOTE_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "50578" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "REMOTE_PORT: 50578" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "SERVER_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "SERVER_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script copy: "SERVER_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http script var: "localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *31 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http cleanup add: 00005812598CC4C8 +2025/09/02 17:00:59 [debug] 196550#196550: *31 get rr peer, try: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 stream socket 10 +2025/09/02 17:00:59 [debug] 196550#196550: *31 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *31 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #32 +2025/09/02 17:00:59 [debug] 196550#196550: *31 connected +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream connect: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream send request +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream send request body +2025/09/02 17:00:59 [debug] 196550#196550: *31 chain writer buf fl:0 s:512 +2025/09/02 17:00:59 [debug] 196550#196550: *31 chain writer in: 00005812598CC508 +2025/09/02 17:00:59 [debug] 196550#196550: *31 writev: 512 of 512 +2025/09/02 17:00:59 [debug] 196550#196550: *31 chain writer out: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *31 event timer add: 10: 60000:100619620 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http finalize request: -4, "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" a:1, c:2 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http request count:2 blk:0 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http run request: "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream check client, write event:1, "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8" +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream request: "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59999 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C8 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream request: "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *31 malloc: 00005812598BE140:4096 +2025/09/02 17:00:59 [debug] 196550#196550: *31 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 recv: fd:10 248 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 7E +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 02 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record length: 126 +2025/09/02 17:00:59 [error] 196550#196550: *31 FastCGI sent in stderr: "LOG: [2025-09-02 17:00:59] HEAD /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "HEAD /f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 42 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi record length: 66 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi header: "Status: 404 Not Found" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi header: "Content-Type: text/plain" +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi parser: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http fastcgi header done +2025/09/02 17:00:59 [debug] 196550#196550: *31 posix_memalign: 00005812598BF150:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *31 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:59 GMT +Content-Type: text/plain +Connection: keep-alive + +2025/09/02 17:00:59 [debug] 196550#196550: *31 write new buf t:1 f:0 00005812598BF170, pos 00005812598BF170, size: 144 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http write filter: l:1 f:0 s:144 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http write filter limit 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 writev: 144 of 144 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http write filter 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *31 finalize http upstream request: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 finalize http fastcgi request +2025/09/02 17:00:59 [debug] 196550#196550: *31 free rr peer 1 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 close http upstream connection: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 000058125989DF20, unused: 48 +2025/09/02 17:00:59 [debug] 196550#196550: *31 event timer del: 10: 100619620 +2025/09/02 17:00:59 [debug] 196550#196550: *31 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http finalize request: 0, "/fcgi-head/f13536a1fd51478e54144399bb58454b6122b6c72914536a5ae12f09284151a8?" a:1, c:1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 set http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *31 http close request +2025/09/02 17:00:59 [debug] 196550#196550: *31 http log handler +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598BE140 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598D5490, unused: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598CB800, unused: 104 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598BF150, unused: 3735 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 hc free: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *31 hc busy: 0000000000000000 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 tcp_nodelay +2025/09/02 17:00:59 [debug] 196550#196550: *31 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 event timer add: 6: 65000:100624622 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *31 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *31 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *31 recv: fd:6 0 of 1024 +2025/09/02 17:00:59 [info] 196550#196550: *31 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:59 [debug] 196550#196550: *31 close http connection: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *31 event timer del: 6: 100624622 +2025/09/02 17:00:59 [debug] 196550#196550: *31 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *31 free: 00005812598B4840, unused: 120 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:59 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:59 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *33 accept: 127.0.0.1:50592 fd:6 +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer add: 6: 60000:100619869 +2025/09/02 17:00:59 [debug] 196550#196550: *33 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 247 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http wait request handler +2025/09/02 17:00:59 [debug] 196550#196550: *33 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: fd:6 803 of 1024 +2025/09/02 17:00:59 [debug] 196550#196550: *33 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http process request line +2025/09/02 17:00:59 [debug] 196550#196550: *33 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http uri: "/upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http args: "" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http exten: "" +2025/09/02 17:00:59 [debug] 196550#196550: *33 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http process request header line +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header: "Host: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header: "Accept: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI3M2EzMGQxYjAwOGVhYzU0MGYxODY2ODNjZWFhYTk5MjE0MjMwYTY0MGMwY2ZmYTk5NDRhNjYyZTdmNDY2YmViIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY4NTksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDQ1OSJdXSwiY29udGVudCI6IiIsInNpZyI6Ijk3ZDJkODkyNzhhN2U3MmNiYzgxY2QyNTU4YWJmZThjZmI4YjlhNTk5YjliZWZiY2VlMjNmYmJmN2NmYmZlM2M5ZDVmNmUyNmY0MmM4YTk1ODA3MDRhZjI5NGZiODljNjNhOWJlYTg0ZTkzZjg1OGVjMWRkN2Y4NzFiYjZkZDliIn0=" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header: "Content-Type: text/plain" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header: "Content-Length: 34" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http header done +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer del: 6: 100619869 +2025/09/02 17:00:59 [debug] 196550#196550: *33 generic phase: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 rewrite phase: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *33 test location: "/report" +2025/09/02 17:00:59 [debug] 196550#196550: *33 test location: "/upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 using configuration "=/upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http cl:34 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *33 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "PUT" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:00:59 [notice] 196550#196550: *33 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script if: false +2025/09/02 17:00:59 [debug] 196550#196550: *33 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *33 generic phase: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *33 generic phase: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *33 generic phase: 7 +2025/09/02 17:00:59 [debug] 196550#196550: *33 access phase: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 access phase: 9 +2025/09/02 17:00:59 [debug] 196550#196550: *33 access phase: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *33 post access phase: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *33 generic phase: 12 +2025/09/02 17:00:59 [debug] 196550#196550: *33 generic phase: 13 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http client request body preread 34 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http request body content length filter +2025/09/02 17:00:59 [debug] 196550#196550: *33 http body new buf t:1 f:0 00005812598B73A1, pos 00005812598B73A1, size: 34 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http init upstream, client timer: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "QUERY_STRING" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "QUERY_STRING: " +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "REQUEST_METHOD" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "PUT" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "CONTENT_TYPE" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "text/plain" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "CONTENT_LENGTH" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "34" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "CONTENT_LENGTH: 34" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SCRIPT_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "/upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "REQUEST_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "/upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "DOCUMENT_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "/upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "REQUEST_SCHEME" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "http" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "CGI/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "nginx/" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "REMOTE_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "REMOTE_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "50592" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "REMOTE_PORT: 50592" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SERVER_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SERVER_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SERVER_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "REDIRECT_STATUS" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "200" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http script copy: "/ginxsom.fcgi" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI3M2EzMGQxYjAwOGVhYzU0MGYxODY2ODNjZWFhYTk5MjE0MjMwYTY0MGMwY2ZmYTk5NDRhNjYyZTdmNDY2YmViIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDY4NTksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MDQ1OSJdXSwiY29udGVudCI6IiIsInNpZyI6Ijk3ZDJkODkyNzhhN2U3MmNiYzgxY2QyNTU4YWJmZThjZmI4YjlhNTk5YjliZWZiY2VlMjNmYmJmN2NmYmZlM2M5ZDVmNmUyNmY0MmM4YTk1ODA3MDRhZjI5NGZiODljNjNhOWJlYTg0ZTkzZjg1OGVjMWRkN2Y4NzFiYjZkZDliIn0=" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:00:59 [debug] 196550#196550: *33 fastcgi param: "HTTP_CONTENT_LENGTH: 34" +2025/09/02 17:00:59 [debug] 196550#196550: *33 posix_memalign: 00005812598BE140:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http cleanup add: 00005812598CC7E8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 get rr peer, try: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 stream socket 10 +2025/09/02 17:00:59 [debug] 196550#196550: *33 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *33 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #34 +2025/09/02 17:00:59 [debug] 196550#196550: *33 connected +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream connect: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream send request +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream send request body +2025/09/02 17:00:59 [debug] 196550#196550: *33 chain writer buf fl:0 s:1224 +2025/09/02 17:00:59 [debug] 196550#196550: *33 chain writer buf fl:0 s:34 +2025/09/02 17:00:59 [debug] 196550#196550: *33 chain writer buf fl:0 s:14 +2025/09/02 17:00:59 [debug] 196550#196550: *33 chain writer in: 00005812598BE278 +2025/09/02 17:00:59 [debug] 196550#196550: *33 writev: 1272 of 1272 +2025/09/02 17:00:59 [debug] 196550#196550: *33 chain writer out: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer add: 10: 60000:100619869 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http request count:2 blk:0 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http run request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream check client, write event:1, "/upload" +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 2 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *33 malloc: 00005812598BF150:4096 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: fd:10 2712 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 8E +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 02 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 142 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "LOG: [2025-09-02 17:00:59] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:00:59] PUT /upload - Auth: auth_provided - Status: 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 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "hod: upload, hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756846859,"tags":[["t","upload"],["x","69d582a822ece2d06346f19c1d3c95ca998" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "6b380c855b9ae4e2bb3c7972b8939"],["expiration","1756850459"]],"content":"","sig":"97d2d89278a7e72cbc81cd2558abfe8cfb8b9a599b9befbcee23fbbf7cfbfe3c9d5f6e26f42c8a9580704af294fb89c63a9bea84e93f858ec1dd7f871bb6dd9b"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756846859, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: " ["x", "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939"], ["expiration", "1756850459"]], + "content": "", + "sig": "97d2d89278a7e72cbc81cd2558abfe8cfb8b9a599b9befbcee23fbbf7cfbfe3c9d5f6e26f42c8a9580704af294fb89c63a9bea84e93f858ec1dd7f871bb6dd9b" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 97d2d89278a7e7" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "2cbc81cd2558abfe8cfb8b9a599b9befbcee23fbbf7cfbfe3c9d5f6e26f42c8a9580704af294fb89c63a9bea84e93f858ec1dd7f871bb6dd9b +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756846859 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:0, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0005 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: fd:10 4096 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: avail:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb' (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: '97d2d89278a7e72cbc81cd2558abfe8cfb8b9a599b9befbcee23f" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "bbf7cfbfe3c9d5f6e26f42c8a9580704af294fb89c63a9bea84e93f858ec1dd7f871bb6dd9b' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756846859 +SUCCESS: Timestamp is valid: 2025-09-02 21:00:59 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' +ℹINFO: Tag[1][1]: '69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756850459' +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 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 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 73 a3 0d 1b 00 8e ac 54 0f 18 66 83 ce aa a9 92 |s......T..f.....| + 14 23 0a 64 0c 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 17:00:59 [debug] 196550#196550: *33 recv: eof:0, avail:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: fd:10 2560 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "c ff a9 94 4a 66 2e 7f 46 6b eb |.#.d.....Jf..Fk.| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb +ℹINFO: Provided ID: 73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb +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 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 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "b 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 ( 97 d2 d8 92 78 a7 e7 2c bc 81 cd 25 58 ab fe 8c |....x..,...%X...| + fb 8b 9a 59 9b 9b ef bc ee 23 fb bf 7c fb fe 3c |...Y.....#..|..<| + 9d 5f 6e 26 f4 2c 8a 95 80 70 4a f2 94 fb 89 c6 |._n&.,...pJ.....| + 3a 9b ea 84 e9 3f 85 8e c1 dd 7f 87 1b b6 dd 9b |:....?..........| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '73a30d1b008eac540f186683ceaaa99214230a640c0cffa9944a662e7f466beb' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756846859 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: F8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 504 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '97d2d89278a7e72cbc81cd2558abfe8cfb8b9a599b9befbcee23fbbf7cfbfe3c9d5f6e26f42c8a9580704af294fb89c63a9bea84e93f858ec1dd7f871bb6dd9b' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:0, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59998 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 59997 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C9 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream request: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: fd:10 384 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 1C +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 04 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 28 +2025/09/02 17:00:59 [error] 196550#196550: *33 FastCGI sent in stderr: "ticate_request returned: 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 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 2C +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 04 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 300 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi header: "Status: 200 OK" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi parser: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi header done +2025/09/02 17:00:59 [debug] 196550#196550: *33 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:59 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 17:00:59 [debug] 196550#196550: *33 write new buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http write filter: l:0 f:0 s:260 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http cacheable: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream process upstream +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe read upstream: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe preread: 278 +2025/09/02 17:00:59 [debug] 196550#196550: *33 readv: eof:1, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 readv: 1, last:3712 +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe recv chain: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe buf free s:0 t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 278 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe length: -1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 input buf #0 00005812598BF1BA +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi closed stdout +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 03 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 08 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi record length: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http fastcgi sent end request +2025/09/02 17:00:59 [debug] 196550#196550: *33 input buf 00005812598BF1BA 250 +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe write downstream: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe write downstream flush in +2025/09/02 17:00:59 [debug] 196550#196550: *33 http output filter "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http copy filter: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http postpone filter "/upload?" 00005812598BE248 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http chunk: 250 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write new buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write new buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 250 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http write filter: l:0 f:0 s:516 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http copy filter: 0 "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 pipe write downstream done +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer: 10, old: 100619869, new: 100619874 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream exit: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *33 finalize http upstream request: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 finalize http fastcgi request +2025/09/02 17:00:59 [debug] 196550#196550: *33 free rr peer 1 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 close http upstream connection: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 000058125989DF20, unused: 48 +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer del: 10: 100619869 +2025/09/02 17:00:59 [debug] 196550#196550: *33 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http upstream temp fd: -1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http output filter "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http copy filter: "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http postpone filter "/upload?" 00007FFF7EF4A780 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http chunk: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write old buf t:1 f:0 00005812598BE538, pos 00005812598BE538, size: 260 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write old buf t:1 f:0 00005812598BE880, pos 00005812598BE880, size: 4 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write old buf t:1 f:0 00005812598BF150, pos 00005812598BF1BA, size: 250 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http write filter: l:1 f:0 s:521 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http write filter limit 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 writev: 521 of 521 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http write filter 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http copy filter: 0 "/upload?" +2025/09/02 17:00:59 [debug] 196550#196550: *33 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 set http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *33 http close request +2025/09/02 17:00:59 [debug] 196550#196550: *33 http log handler +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598BF150 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598D5490, unused: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598CB800, unused: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598BE140, unused: 1770 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 hc free: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *33 hc busy: 0000000000000000 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 tcp_nodelay +2025/09/02 17:00:59 [debug] 196550#196550: *33 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer add: 6: 65000:100624874 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 2 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *33 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *33 recv: fd:6 0 of 1024 +2025/09/02 17:00:59 [info] 196550#196550: *33 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:59 [debug] 196550#196550: *33 close http connection: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *33 event timer del: 6: 100624874 +2025/09/02 17:00:59 [debug] 196550#196550: *33 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *33 free: 00005812598B4840, unused: 120 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 2 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:5 ev:0001 d:000079BCB1716010 +2025/09/02 17:00:59 [debug] 196550#196550: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:00:59 [debug] 196550#196550: posix_memalign: 00005812598B4840:512 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *35 accept: 127.0.0.1:50600 fd:6 +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer add: 6: 60000:100619880 +2025/09/02 17:00:59 [debug] 196550#196550: *35 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 4 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0001 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http wait request handler +2025/09/02 17:00:59 [debug] 196550#196550: *35 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *35 recv: eof:0, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 recv: fd:6 145 of 1024 +2025/09/02 17:00:59 [debug] 196550#196550: *35 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 posix_memalign: 00005812598D5490:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http process request line +2025/09/02 17:00:59 [debug] 196550#196550: *35 http request line: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http uri: "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http args: "" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http exten: "" +2025/09/02 17:00:59 [debug] 196550#196550: *35 posix_memalign: 00005812598CB800:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http process request header line +2025/09/02 17:00:59 [debug] 196550#196550: *35 http header: "Host: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http header: "Accept: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http header done +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer del: 6: 100619880 +2025/09/02 17:00:59 [debug] 196550#196550: *35 generic phase: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 rewrite phase: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *35 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script value: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script equal +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script if +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script regex: "^/(.*)$" +2025/09/02 17:00:59 [notice] 196550#196550: *35 "^/(.*)$" matches "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "/fcgi-delete/" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script regex end +2025/09/02 17:00:59 [notice] 196550#196550: *35 rewritten data: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *35 uri changes: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: "/media" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: "/debug/list" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: "/health" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http cl:-1 max:104857600 +2025/09/02 17:00:59 [debug] 196550#196550: *35 rewrite phase: 3 +2025/09/02 17:00:59 [debug] 196550#196550: *35 post rewrite phase: 4 +2025/09/02 17:00:59 [debug] 196550#196550: *35 generic phase: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *35 generic phase: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *35 generic phase: 7 +2025/09/02 17:00:59 [debug] 196550#196550: *35 access phase: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *35 access phase: 9 +2025/09/02 17:00:59 [debug] 196550#196550: *35 access phase: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *35 post access phase: 11 +2025/09/02 17:00:59 [debug] 196550#196550: *35 generic phase: 12 +2025/09/02 17:00:59 [debug] 196550#196550: *35 generic phase: 13 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http init upstream, client timer: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "QUERY_STRING" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "QUERY_STRING: " +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "REQUEST_METHOD" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "CONTENT_TYPE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "CONTENT_LENGTH" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SCRIPT_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SCRIPT_NAME: /fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "REQUEST_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "REQUEST_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "DOCUMENT_URI" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "/" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "DOCUMENT_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "REQUEST_SCHEME" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "http" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "CGI/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "nginx/" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "REMOTE_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "REMOTE_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "50600" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "REMOTE_PORT: 50600" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SERVER_ADDR" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SERVER_PORT" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SERVER_NAME" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "REDIRECT_STATUS" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "200" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script var: "./blobs" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http script copy: "/ginxsom.fcgi" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:00:59 [debug] 196550#196550: *35 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http cleanup add: 00005812598CC588 +2025/09/02 17:00:59 [debug] 196550#196550: *35 get rr peer, try: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 stream socket 10 +2025/09/02 17:00:59 [debug] 196550#196550: *35 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:00:59 [debug] 196550#196550: *35 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #36 +2025/09/02 17:00:59 [debug] 196550#196550: *35 connected +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream connect: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 posix_memalign: 000058125989DF20:128 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream send request +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream send request body +2025/09/02 17:00:59 [debug] 196550#196550: *35 chain writer buf fl:0 s:704 +2025/09/02 17:00:59 [debug] 196550#196550: *35 chain writer in: 00005812598CC5C8 +2025/09/02 17:00:59 [debug] 196550#196550: *35 writev: 704 of 704 +2025/09/02 17:00:59 [debug] 196550#196550: *35 chain writer out: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer add: 10: 60000:100619880 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http finalize request: -4, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:2 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http request count:2 blk:0 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:0004 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http run request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream check client, write event:1, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:0004 d:000079BCB17162C8 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream dummy handler +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 60000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:10 ev:2005 d:000079BCB17162C8 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream process header +2025/09/02 17:00:59 [debug] 196550#196550: *35 malloc: 00005812598BE140:4096 +2025/09/02 17:00:59 [debug] 196550#196550: *35 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 recv: fd:10 440 of 4096 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 95 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 03 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record length: 149 +2025/09/02 17:00:59 [error] 196550#196550: *35 FastCGI sent in stderr: "LOG: [2025-09-02 17:00:59] DELETE /delete - Auth: pending - Status: 0 +LOG: [2025-09-02 17:00:59] DELETE /delete - Auth: missing_auth - Status: 401" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 07 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: ED +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 03 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record length: 237 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi header: "Status: 401 Unauthorized" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi parser: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 posix_memalign: 00005812598BF150:4096 @16 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi parser: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi header done +2025/09/02 17:00:59 [debug] 196550#196550: *35 HTTP/1.1 401 Unauthorized +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:00:59 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive + +2025/09/02 17:00:59 [debug] 196550#196550: *35 write new buf t:1 f:0 00005812598BF1F0, pos 00005812598BF1F0, size: 181 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http write filter: l:0 f:0 s:181 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http cacheable: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream process upstream +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe read upstream: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe preread: 204 +2025/09/02 17:00:59 [debug] 196550#196550: *35 readv: eof:1, avail:0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 readv: 1, last:3656 +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe recv chain: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe buf free s:0 t:1 f:0 00005812598BE140, pos 00005812598BE22C, size: 204 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe length: -1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 input buf #0 00005812598BE22C +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 06 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record length: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi closed stdout +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 03 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 01 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 08 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record byte: 00 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi record length: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http fastcgi sent end request +2025/09/02 17:00:59 [debug] 196550#196550: *35 input buf 00005812598BE22C 177 +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe write downstream: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe write downstream flush in +2025/09/02 17:00:59 [debug] 196550#196550: *35 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00005812598BF3D0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http chunk: 177 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write old buf t:1 f:0 00005812598BF1F0, pos 00005812598BF1F0, size: 181 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write new buf t:1 f:0 00005812598BF528, pos 00005812598BF528, size: 4 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write new buf t:1 f:0 00005812598BE140, pos 00005812598BE22C, size: 177 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http write filter: l:0 f:0 s:364 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 pipe write downstream done +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer: 10, old: 100619880, new: 100619880 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream exit: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *35 finalize http upstream request: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 finalize http fastcgi request +2025/09/02 17:00:59 [debug] 196550#196550: *35 free rr peer 1 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 close http upstream connection: 10 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 000058125989DF20, unused: 48 +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer del: 10: 100619880 +2025/09/02 17:00:59 [debug] 196550#196550: *35 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http upstream temp fd: -1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00007FFF7EF4A780 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http chunk: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write old buf t:1 f:0 00005812598BF1F0, pos 00005812598BF1F0, size: 181 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write old buf t:1 f:0 00005812598BF528, pos 00005812598BF528, size: 4 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write old buf t:1 f:0 00005812598BE140, pos 00005812598BE22C, size: 177 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write old buf t:0 f:0 0000000000000000, pos 0000581238C602E8, size: 2 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 write new buf t:0 f:0 0000000000000000, pos 0000581238C602E5, size: 5 file: 0, size: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http write filter: l:1 f:0 s:369 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http write filter limit 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 writev: 369 of 369 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http write filter 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:00:59 [debug] 196550#196550: *35 http finalize request: 0, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 set http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *35 http close request +2025/09/02 17:00:59 [debug] 196550#196550: *35 http log handler +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598BE140 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598D5490, unused: 5 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598CB800, unused: 8 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598BF150, unused: 2565 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 hc free: 0000000000000000 +2025/09/02 17:00:59 [debug] 196550#196550: *35 hc busy: 0000000000000000 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 tcp_nodelay +2025/09/02 17:00:59 [debug] 196550#196550: *35 reusable connection: 1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer add: 6: 65000:100624880 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 0 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: 65000 +2025/09/02 17:00:59 [debug] 196550#196550: epoll: fd:6 ev:2005 d:000079BCB17161E0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 http keepalive handler +2025/09/02 17:00:59 [debug] 196550#196550: *35 malloc: 00005812598B70A0:1024 +2025/09/02 17:00:59 [debug] 196550#196550: *35 recv: eof:1, avail:-1 +2025/09/02 17:00:59 [debug] 196550#196550: *35 recv: fd:6 0 of 1024 +2025/09/02 17:00:59 [info] 196550#196550: *35 client 127.0.0.1 closed keepalive connection +2025/09/02 17:00:59 [debug] 196550#196550: *35 close http connection: 6 +2025/09/02 17:00:59 [debug] 196550#196550: *35 event timer del: 6: 100624880 +2025/09/02 17:00:59 [debug] 196550#196550: *35 reusable connection: 0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598B70A0 +2025/09/02 17:00:59 [debug] 196550#196550: *35 free: 00005812598B4840, unused: 120 +2025/09/02 17:00:59 [debug] 196550#196550: timer delta: 1 +2025/09/02 17:00:59 [debug] 196550#196550: worker cycle +2025/09/02 17:00:59 [debug] 196550#196550: epoll timer: -1 +2025/09/02 17:12:37 [notice] 196549#196549: signal 15 (SIGTERM) received from 197756, exiting +2025/09/02 17:12:37 [debug] 196549#196549: wake up, sigio 0 +2025/09/02 17:12:37 [debug] 196549#196549: child: 0 196550 e:0 t:0 d:0 r:1 j:0 +2025/09/02 17:12:37 [debug] 196549#196549: termination cycle: 50 +2025/09/02 17:12:37 [debug] 196549#196549: sigsuspend +2025/09/02 17:12:37 [debug] 196550#196550: epoll: fd:7 ev:0001 d:000079BCB17160F8 +2025/09/02 17:12:37 [debug] 196550#196550: channel handler +2025/09/02 17:12:37 [debug] 196550#196550: channel: 32 +2025/09/02 17:12:37 [debug] 196550#196550: channel command: 4 +2025/09/02 17:12:37 [debug] 196550#196550: channel: -2 +2025/09/02 17:12:37 [debug] 196550#196550: timer delta: 698186 +2025/09/02 17:12:37 [notice] 196550#196550: exiting +2025/09/02 17:12:37 [debug] 196550#196550: flush files +2025/09/02 17:12:37 [debug] 196550#196550: run cleanup: 0000581259917260 +2025/09/02 17:12:37 [debug] 196550#196550: run cleanup: 0000581259903EC8 +2025/09/02 17:12:37 [debug] 196550#196550: cleanup resolver +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259919890 +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259904670 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598D75B0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598D64A0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598D0470 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598CF3B0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598CE2F0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598CD230 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598C3160 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598BA130, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598C5FE0, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598D1480, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598D85C0, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598DC5D0, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598E05E0, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598E45F0, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598E8600, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598EC610, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598F0620, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598F4630, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598F8640, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 00005812598FC650, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259900660, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259905840, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259909850, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 000058125990D860, unused: 0 +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259911870, unused: 3 +2025/09/02 17:12:37 [debug] 196550#196550: free: 0000581259915880, unused: 9736 +2025/09/02 17:12:37 [notice] 196550#196550: exit +2025/09/02 17:12:37 [notice] 196549#196549: signal 17 (SIGCHLD) received from 196550 +2025/09/02 17:12:37 [notice] 196549#196549: worker process 196550 exited with code 0 +2025/09/02 17:12:37 [debug] 196549#196549: shmtx forced unlock +2025/09/02 17:12:37 [debug] 196549#196549: wake up, sigio 3 +2025/09/02 17:12:37 [debug] 196549#196549: reap children +2025/09/02 17:12:37 [debug] 196549#196549: child: 0 196550 e:1 t:1 d:0 r:1 j:0 +2025/09/02 17:12:37 [notice] 196549#196549: exit +2025/09/02 17:12:37 [debug] 196549#196549: close listening 0.0.0.0:9001 #5 +2025/09/02 17:12:37 [debug] 196549#196549: run cleanup: 0000581259903EC8 +2025/09/02 17:12:37 [debug] 196549#196549: cleanup resolver +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259919890 +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259904670 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598D75B0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598D64A0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598D0470 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598CF3B0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598CE2F0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598CD230 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598C3160 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598BA130, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598C5FE0, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598D1480, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598D85C0, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598DC5D0, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598E05E0, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598E45F0, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598E8600, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598EC610, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598F0620, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598F4630, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598F8640, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 00005812598FC650, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259900660, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259905840, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259909850, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 000058125990D860, unused: 0 +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259911870, unused: 3 +2025/09/02 17:12:37 [debug] 196549#196549: free: 0000581259915880, unused: 9767 +2025/09/02 17:12:40 [debug] 197802#197802: bind() 0.0.0.0:9001 #5 +2025/09/02 17:12:40 [debug] 197802#197802: counter: 00007CF31438E080, 1 +2025/09/02 17:12:40 [debug] 197803#197803: bind() 0.0.0.0:9001 #5 +2025/09/02 17:12:40 [notice] 197803#197803: using the "epoll" event method +2025/09/02 17:12:40 [debug] 197803#197803: counter: 00007F8CEADE3080, 1 +2025/09/02 17:12:40 [notice] 197803#197803: nginx/1.18.0 (Ubuntu) +2025/09/02 17:12:40 [notice] 197803#197803: OS: Linux 6.12.10-76061203-generic +2025/09/02 17:12:40 [notice] 197803#197803: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 17:12:40 [debug] 197804#197803: write: 6, 00007FFDC4C11810, 7, 0 +2025/09/02 17:12:40 [debug] 197804#197804: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 17:12:40 [notice] 197804#197804: start worker processes +2025/09/02 17:12:40 [debug] 197804#197804: channel 6:7 +2025/09/02 17:12:40 [notice] 197804#197804: start worker process 197805 +2025/09/02 17:12:40 [debug] 197804#197804: sigsuspend +2025/09/02 17:12:40 [debug] 197805#197805: add cleanup: 00005BEB0A92D260 +2025/09/02 17:12:40 [debug] 197805#197805: malloc: 00005BEB0A8CBBD0:8 +2025/09/02 17:12:40 [debug] 197805#197805: notify eventfd: 9 +2025/09/02 17:12:40 [debug] 197805#197805: testing the EPOLLRDHUP flag: success +2025/09/02 17:12:40 [debug] 197805#197805: malloc: 00005BEB0A8DFFF0:6144 +2025/09/02 17:12:40 [debug] 197805#197805: malloc: 00007F8CEABDB010:237568 +2025/09/02 17:12:40 [debug] 197805#197805: malloc: 00005BEB0A931160:98304 +2025/09/02 17:12:40 [debug] 197805#197805: malloc: 00005BEB0A949170:98304 +2025/09/02 17:12:40 [debug] 197805#197805: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 17:12:40 [debug] 197805#197805: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 17:12:40 [debug] 197805#197805: setproctitle: "nginx: worker process" +2025/09/02 17:12:40 [debug] 197805#197805: worker cycle +2025/09/02 17:12:40 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:03 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:03 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *1 accept: 127.0.0.1:58022 fd:6 +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer add: 6: 60000:101344097 +2025/09/02 17:13:03 [debug] 197805#197805: *1 reusable connection: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 22818 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http wait request handler +2025/09/02 17:13:03 [debug] 197805#197805: *1 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:6 925 of 1024 +2025/09/02 17:13:03 [debug] 197805#197805: *1 reusable connection: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http process request line +2025/09/02 17:13:03 [debug] 197805#197805: *1 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http uri: "/upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http args: "" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http exten: "" +2025/09/02 17:13:03 [debug] 197805#197805: *1 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http process request header line +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header: "Host: localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header: "Accept: */*" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJiMDAyMmU5Y2I2MTc2MTg0NmEyMjgwMTM0NzE4OWJjOWNkN2RlYTk5YmY4YTM5YmQ5ZjRlZWFjNWNhMTY4NzM3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDc1ODMsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2NDQ5ZWM0YjNlM2I0OWMyNDc0OGE0ZmMzZDhjMDU1YjdkMjA3NDdhMDBlODBlNGYyNWNiNGIxNzMzMjFlZDk2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTE4MyJdXSwiY29udGVudCI6IiIsInNpZyI6IjRiYTAxMTMwODYzNzRiZjIyYzRhZWI4NGNlMmM2ZTNmMTVjMjc0N2JmZWU1ZTRiMGVlMDg5NTYyMjU2YjQyNTc3YWVhNTVjZDYxMjQwZjZjMjkyMjhjOWViMjJlNmM1MGI4NzJiNjEwNjQzOWZlM2IxM2UxY2ZkM2I3ZTZmOWE4In0=" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header: "Content-Type: text/plain" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header: "Content-Length: 155" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http header done +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer del: 6: 101344097 +2025/09/02 17:13:03 [debug] 197805#197805: *1 generic phase: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 rewrite phase: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 test location: "/media" +2025/09/02 17:13:03 [debug] 197805#197805: *1 test location: "/report" +2025/09/02 17:13:03 [debug] 197805#197805: *1 test location: "/upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 using configuration "=/upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http cl:155 max:104857600 +2025/09/02 17:13:03 [debug] 197805#197805: *1 rewrite phase: 3 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "PUT" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:13:03 [notice] 197805#197805: *1 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script if +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script if: false +2025/09/02 17:13:03 [debug] 197805#197805: *1 post rewrite phase: 4 +2025/09/02 17:13:03 [debug] 197805#197805: *1 generic phase: 5 +2025/09/02 17:13:03 [debug] 197805#197805: *1 generic phase: 6 +2025/09/02 17:13:03 [debug] 197805#197805: *1 generic phase: 7 +2025/09/02 17:13:03 [debug] 197805#197805: *1 access phase: 8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 access phase: 9 +2025/09/02 17:13:03 [debug] 197805#197805: *1 access phase: 10 +2025/09/02 17:13:03 [debug] 197805#197805: *1 post access phase: 11 +2025/09/02 17:13:03 [debug] 197805#197805: *1 generic phase: 12 +2025/09/02 17:13:03 [debug] 197805#197805: *1 generic phase: 13 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http client request body preread 155 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http request body content length filter +2025/09/02 17:13:03 [debug] 197805#197805: *1 http body new buf t:1 f:0 00005BEB0A8CD3A2, pos 00005BEB0A8CD3A2, size: 155 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http init upstream, client timer: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "QUERY_STRING" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "QUERY_STRING: " +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "REQUEST_METHOD" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "PUT" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "CONTENT_TYPE" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "text/plain" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "CONTENT_LENGTH" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "155" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "CONTENT_LENGTH: 155" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SCRIPT_NAME" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "/upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "REQUEST_URI" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "/upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "DOCUMENT_URI" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "/upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "./blobs" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "HTTP/1.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "REQUEST_SCHEME" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "http" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "CGI/1.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "nginx/" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "1.18.0" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "REMOTE_ADDR" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "127.0.0.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "REMOTE_PORT" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "58022" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "REMOTE_PORT: 58022" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SERVER_ADDR" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "127.0.0.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SERVER_PORT" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SERVER_NAME" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "localhost" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "REDIRECT_STATUS" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "200" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script var: "./blobs" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http script copy: "/ginxsom.fcgi" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJiMDAyMmU5Y2I2MTc2MTg0NmEyMjgwMTM0NzE4OWJjOWNkN2RlYTk5YmY4YTM5YmQ5ZjRlZWFjNWNhMTY4NzM3IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDc1ODMsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2NDQ5ZWM0YjNlM2I0OWMyNDc0OGE0ZmMzZDhjMDU1YjdkMjA3NDdhMDBlODBlNGYyNWNiNGIxNzMzMjFlZDk2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTE4MyJdXSwiY29udGVudCI6IiIsInNpZyI6IjRiYTAxMTMwODYzNzRiZjIyYzRhZWI4NGNlMmM2ZTNmMTVjMjc0N2JmZWU1ZTRiMGVlMDg5NTYyMjU2YjQyNTc3YWVhNTVjZDYxMjQwZjZjMjkyMjhjOWViMjJlNmM1MGI4NzJiNjEwNjQzOWZlM2IxM2UxY2ZkM2I3ZTZmOWE4In0=" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:13:03 [debug] 197805#197805: *1 fastcgi param: "HTTP_CONTENT_LENGTH: 155" +2025/09/02 17:13:03 [debug] 197805#197805: *1 posix_memalign: 00005BEB0A8D4140:4096 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http cleanup add: 00005BEB0A8E27E8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 get rr peer, try: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 stream socket 10 +2025/09/02 17:13:03 [debug] 197805#197805: *1 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:13:03 [debug] 197805#197805: *1 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #2 +2025/09/02 17:13:03 [debug] 197805#197805: *1 connected +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream connect: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 posix_memalign: 00005BEB0A8B3F20:128 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream send request +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream send request body +2025/09/02 17:13:03 [debug] 197805#197805: *1 chain writer buf fl:0 s:1224 +2025/09/02 17:13:03 [debug] 197805#197805: *1 chain writer buf fl:0 s:155 +2025/09/02 17:13:03 [debug] 197805#197805: *1 chain writer buf fl:0 s:13 +2025/09/02 17:13:03 [debug] 197805#197805: *1 chain writer in: 00005BEB0A8D4278 +2025/09/02 17:13:03 [debug] 197805#197805: *1 writev: 1392 of 1392 +2025/09/02 17:13:03 [debug] 197805#197805: *1 chain writer out: 0000000000000000 +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer add: 10: 60000:101344097 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http request count:2 blk:0 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:6 ev:0004 d:00007F8CEABDB1E0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http run request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream check client, write event:1, "/upload" +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:10 ev:0004 d:00007F8CEABDB2C8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream dummy handler +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 2 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream process header +2025/09/02 17:13:03 [debug] 197805#197805: *1 malloc: 00005BEB0A8D5150:4096 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:10 1176 of 4096 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 8E +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 02 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 142 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "LOG: [2025-09-02 17:13:03] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:13:03] PUT /upload - Auth: auth_provided - Status: 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 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "hod: upload, hash: 6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756847583,"tags":[["t","upload"],["x","6449ec4b3e3b49c24748a4fc3d8c055b7d2" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream dummy handler +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream process header +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:10 1536 of 4096 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "0747a00e80e4f25cb4b173321ed96"],["expiration","1756851183"]],"content":"","sig":"4ba0113086374bf22c4aeb84ce2c6e3f15c2747bfee5e4b0ee089562256b42577aea55cd61240f6c29228c9eb22e6c50b872b6106439fe3b13e1cfd3b7e6f9a8"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756847583, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: " ["x", "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96"], ["expiration", "1756851183"]], + "content": "", + "sig": "4ba0113086374bf22c4aeb84ce2c6e3f15c2747bfee5e4b0ee089562256b42577aea55cd61240f6c29228c9eb22e6c50b872b6106439fe3b13e1cfd3b7e6f9a8" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737 +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 4ba0113086374b" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "f22c4aeb84ce2c6e3f15c2747bfee5e4b0ee089562256b42577aea55cd61240f6c29228c9eb22e6c50b872b6106439fe3b13e1cfd3b7e6f9a8 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756847583 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream dummy handler +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream process header +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:10 2560 of 4096 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: 'b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737' (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: '4ba0113086374bf22c4aeb84ce2c6e3f15c2747bfee5e4b0ee089" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "562256b42577aea55cd61240f6c29228c9eb22e6c50b872b6106439fe3b13e1cfd3b7e6f9a8' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream dummy handler +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 59997 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream process header +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:10 4096 of 4096 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: avail:0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756847583 +SUCCESS: Timestamp is valid: 2025-09-02 21:13:03 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' +ℹINFO: Tag[1][1]: '6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851183' +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 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 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( b0 02 2e 9c b6 17 61 84 6a 22 80 13 47 18 9b c9 |......a.j"..G...| + cd 7d ea 99 bf 8" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "a 39 bd 9f 4e ea c5 ca 16 87 37 |.}....9..N.....7| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737 +ℹINFO: Provided ID: b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737 +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 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 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "b 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 ( 4b a0 11 30 86 37 4b f2 2c 4a eb 84 ce 2c 6e 3f |K..0.7K.,J...,n?| + 15 c2 74 7b fe e5 e4 b0 ee 08 95 62 25 6b 42 57 |..t{.......b%kBW| + 7a ea 55 cd 61 24 0f 6c 29 22 8c 9e b2 2e 6c 50 |z.U.a$.l)"....lP| + b8 72 b6 10 64 39 fe 3b 13 e1 cf d3 b7 e6 f9 a8 |.r..d9.;........| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: 'b0022e9cb61761846a22801347189bc9cd7dea99bf8a39bd9f4eeac5ca168737' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756847583 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: F8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 504 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '4ba0113086374bf22c4aeb84ce2c6e3f15c2747bfee5e4b0ee089562256b42577aea55cd61240f6c29228c9eb22e6c50b872b6106439fe3b13e1cfd3b7e6f9a8' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:0, avail:0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream dummy handler +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 59997 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:10 ev:2005 d:00007F8CEABDB2C8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream request: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream process header +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:1, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:10 384 of 4096 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 1C +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 04 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 28 +2025/09/02 17:13:03 [error] 197805#197805: *1 FastCGI sent in stderr: "ticate_request returned: 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 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 07 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 06 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 2D +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 03 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 301 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi parser: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi header: "Status: 200 OK" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi parser: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi parser: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi header done +2025/09/02 17:13:03 [debug] 197805#197805: *1 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:03 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 17:13:03 [debug] 197805#197805: *1 write new buf t:1 f:0 00005BEB0A8D4538, pos 00005BEB0A8D4538, size: 260 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http write filter: l:0 f:0 s:260 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http cacheable: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream process upstream +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe read upstream: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe preread: 278 +2025/09/02 17:13:03 [debug] 197805#197805: *1 readv: eof:1, avail:0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 readv: 1, last:3712 +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe recv chain: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe buf free s:0 t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D51BA, size: 278 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe length: -1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 input buf #0 00005BEB0A8D51BA +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 06 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi closed stdout +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 03 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 01 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 08 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record byte: 00 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi record length: 8 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http fastcgi sent end request +2025/09/02 17:13:03 [debug] 197805#197805: *1 input buf 00005BEB0A8D51BA 251 +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe write downstream: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe write downstream flush in +2025/09/02 17:13:03 [debug] 197805#197805: *1 http output filter "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http copy filter: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http postpone filter "/upload?" 00005BEB0A8D4248 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http chunk: 251 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write old buf t:1 f:0 00005BEB0A8D4538, pos 00005BEB0A8D4538, size: 260 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write new buf t:1 f:0 00005BEB0A8D4880, pos 00005BEB0A8D4880, size: 4 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write new buf t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D51BA, size: 251 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http write filter: l:0 f:0 s:517 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http copy filter: 0 "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 pipe write downstream done +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer: 10, old: 101344097, new: 101344104 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream exit: 0000000000000000 +2025/09/02 17:13:03 [debug] 197805#197805: *1 finalize http upstream request: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 finalize http fastcgi request +2025/09/02 17:13:03 [debug] 197805#197805: *1 free rr peer 1 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 close http upstream connection: 10 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8B3F20, unused: 48 +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer del: 10: 101344097 +2025/09/02 17:13:03 [debug] 197805#197805: *1 reusable connection: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http upstream temp fd: -1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http output filter "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http copy filter: "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http postpone filter "/upload?" 00007FFDC4C11450 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http chunk: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write old buf t:1 f:0 00005BEB0A8D4538, pos 00005BEB0A8D4538, size: 260 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write old buf t:1 f:0 00005BEB0A8D4880, pos 00005BEB0A8D4880, size: 4 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write old buf t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D51BA, size: 251 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write old buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E5, size: 5 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http write filter: l:1 f:0 s:522 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http write filter limit 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 writev: 522 of 522 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http write filter 0000000000000000 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http copy filter: 0 "/upload?" +2025/09/02 17:13:03 [debug] 197805#197805: *1 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 set http keepalive handler +2025/09/02 17:13:03 [debug] 197805#197805: *1 http close request +2025/09/02 17:13:03 [debug] 197805#197805: *1 http log handler +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8D5150 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8EB490, unused: 3 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8E1800, unused: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8D4140, unused: 1770 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 hc free: 0000000000000000 +2025/09/02 17:13:03 [debug] 197805#197805: *1 hc busy: 0000000000000000 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 tcp_nodelay +2025/09/02 17:13:03 [debug] 197805#197805: *1 reusable connection: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer add: 6: 65000:101349104 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 4 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:6 ev:2005 d:00007F8CEABDB1E0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 http keepalive handler +2025/09/02 17:13:03 [debug] 197805#197805: *1 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: eof:1, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *1 recv: fd:6 0 of 1024 +2025/09/02 17:13:03 [info] 197805#197805: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:03 [debug] 197805#197805: *1 close http connection: 6 +2025/09/02 17:13:03 [debug] 197805#197805: *1 event timer del: 6: 101349104 +2025/09/02 17:13:03 [debug] 197805#197805: *1 reusable connection: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:03 [debug] 197805#197805: *1 free: 00005BEB0A8CA840, unused: 120 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 2 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:03 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:03 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *3 accept: 127.0.0.1:58030 fd:6 +2025/09/02 17:13:03 [debug] 197805#197805: *3 event timer add: 6: 60000:101344112 +2025/09/02 17:13:03 [debug] 197805#197805: *3 reusable connection: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 6 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http wait request handler +2025/09/02 17:13:03 [debug] 197805#197805: *3 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:03 [debug] 197805#197805: *3 recv: eof:0, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 recv: fd:6 146 of 1024 +2025/09/02 17:13:03 [debug] 197805#197805: *3 reusable connection: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http process request line +2025/09/02 17:13:03 [debug] 197805#197805: *3 http request line: "GET /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt HTTP/1.1" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http uri: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http args: "" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http exten: "txt" +2025/09/02 17:13:03 [debug] 197805#197805: *3 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http process request header line +2025/09/02 17:13:03 [debug] 197805#197805: *3 http header: "Host: localhost:9001" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http header: "Accept: */*" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http header done +2025/09/02 17:13:03 [debug] 197805#197805: *3 event timer del: 6: 101344112 +2025/09/02 17:13:03 [debug] 197805#197805: *3 generic phase: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 rewrite phase: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 test location: "/media" +2025/09/02 17:13:03 [debug] 197805#197805: *3 test location: "/debug/list" +2025/09/02 17:13:03 [debug] 197805#197805: *3 test location: "/" +2025/09/02 17:13:03 [debug] 197805#197805: *3 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:03 [debug] 197805#197805: *3 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:03 [debug] 197805#197805: *3 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http cl:-1 max:104857600 +2025/09/02 17:13:03 [debug] 197805#197805: *3 rewrite phase: 3 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script var +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script var: "GET" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script value: "DELETE" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script equal +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script equal: no +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script if +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script if: false +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script var +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script var: "GET" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script value: "HEAD" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script equal +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script equal: no +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script if +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script if: false +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script var +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script var: "GET" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script value: "GET" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script not equal +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script not equal: no +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script if +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script if: false +2025/09/02 17:13:03 [debug] 197805#197805: *3 post rewrite phase: 4 +2025/09/02 17:13:03 [debug] 197805#197805: *3 generic phase: 5 +2025/09/02 17:13:03 [debug] 197805#197805: *3 generic phase: 6 +2025/09/02 17:13:03 [debug] 197805#197805: *3 generic phase: 7 +2025/09/02 17:13:03 [debug] 197805#197805: *3 access phase: 8 +2025/09/02 17:13:03 [debug] 197805#197805: *3 access phase: 9 +2025/09/02 17:13:03 [debug] 197805#197805: *3 access phase: 10 +2025/09/02 17:13:03 [debug] 197805#197805: *3 post access phase: 11 +2025/09/02 17:13:03 [debug] 197805#197805: *3 generic phase: 12 +2025/09/02 17:13:03 [debug] 197805#197805: *3 try files handler +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script copy: "/" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http script copy: ".txt" +2025/09/02 17:13:03 [debug] 197805#197805: *3 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" +2025/09/02 17:13:03 [debug] 197805#197805: *3 try file uri: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" +2025/09/02 17:13:03 [debug] 197805#197805: *3 generic phase: 13 +2025/09/02 17:13:03 [debug] 197805#197805: *3 content phase: 14 +2025/09/02 17:13:03 [debug] 197805#197805: *3 content phase: 15 +2025/09/02 17:13:03 [debug] 197805#197805: *3 content phase: 16 +2025/09/02 17:13:03 [debug] 197805#197805: *3 content phase: 17 +2025/09/02 17:13:03 [debug] 197805#197805: *3 content phase: 18 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http filename: "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" +2025/09/02 17:13:03 [debug] 197805#197805: *3 add cleanup: 00005BEB0A8E1BE0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http static fd: 10 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http set discard body +2025/09/02 17:13:03 [debug] 197805#197805: *3 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:03 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 21:13:03 GMT +Connection: keep-alive +ETag: "68b75ddf-9b" +Cache-Control: public, max-age=31536000, immutable +Accept-Ranges: bytes + +2025/09/02 17:13:03 [debug] 197805#197805: *3 write new buf t:1 f:0 00005BEB0A8E1DD0, pos 00005BEB0A8E1DD0, size: 299 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http write filter: l:0 f:0 s:299 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http output filter "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http copy filter: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http postpone filter "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" 00007FFDC4C11340 +2025/09/02 17:13:03 [debug] 197805#197805: *3 write old buf t:1 f:0 00005BEB0A8E1DD0, pos 00005BEB0A8E1DD0, size: 299 file: 0, size: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http write filter: l:1 f:0 s:454 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http write filter limit 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 tcp_nopush +2025/09/02 17:13:03 [debug] 197805#197805: *3 writev: 299 of 299 +2025/09/02 17:13:03 [debug] 197805#197805: *3 sendfile: @0 155 +2025/09/02 17:13:03 [debug] 197805#197805: *3 sendfile: 155 of 155 @0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http write filter 0000000000000000 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http copy filter: 0 "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:03 [debug] 197805#197805: *3 http finalize request: 0, "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" a:1, c:1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 set http keepalive handler +2025/09/02 17:13:03 [debug] 197805#197805: *3 http close request +2025/09/02 17:13:03 [debug] 197805#197805: *3 http log handler +2025/09/02 17:13:03 [debug] 197805#197805: *3 run cleanup: 00005BEB0A8E1BE0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 file cleanup: fd:10 +2025/09/02 17:13:03 [debug] 197805#197805: *3 free: 00005BEB0A8EB490, unused: 5 +2025/09/02 17:13:03 [debug] 197805#197805: *3 free: 00005BEB0A8E1800, unused: 1932 +2025/09/02 17:13:03 [debug] 197805#197805: *3 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 hc free: 0000000000000000 +2025/09/02 17:13:03 [debug] 197805#197805: *3 hc busy: 0000000000000000 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 reusable connection: 1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 event timer add: 6: 65000:101349112 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:03 [debug] 197805#197805: epoll: fd:6 ev:2001 d:00007F8CEABDB1E1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 http keepalive handler +2025/09/02 17:13:03 [debug] 197805#197805: *3 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:03 [debug] 197805#197805: *3 recv: eof:1, avail:-1 +2025/09/02 17:13:03 [debug] 197805#197805: *3 recv: fd:6 0 of 1024 +2025/09/02 17:13:03 [info] 197805#197805: *3 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:03 [debug] 197805#197805: *3 close http connection: 6 +2025/09/02 17:13:03 [debug] 197805#197805: *3 event timer del: 6: 101349112 +2025/09/02 17:13:03 [debug] 197805#197805: *3 reusable connection: 0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:03 [debug] 197805#197805: *3 free: 00005BEB0A8CA840, unused: 136 +2025/09/02 17:13:03 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:03 [debug] 197805#197805: worker cycle +2025/09/02 17:13:03 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:04 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:04 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *4 accept: 127.0.0.1:58036 fd:6 +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer add: 6: 60000:101344526 +2025/09/02 17:13:04 [debug] 197805#197805: *4 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 413 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http wait request handler +2025/09/02 17:13:04 [debug] 197805#197805: *4 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:6 784 of 1024 +2025/09/02 17:13:04 [debug] 197805#197805: *4 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http process request line +2025/09/02 17:13:04 [debug] 197805#197805: *4 http request line: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http uri: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http args: "" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http exten: "" +2025/09/02 17:13:04 [debug] 197805#197805: *4 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http process request header line +2025/09/02 17:13:04 [debug] 197805#197805: *4 http header: "Host: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http header: "Accept: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJkYTIxYzcxODcxMzUyNWI4Y2VkMTJiN2M3ODY5NDBkYTFjMWZlZDcyOTYxNWY3ZGM1ZmU2ZjY1ODBhNDY0YzRiIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDc1ODQsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCI2NDQ5ZWM0YjNlM2I0OWMyNDc0OGE0ZmMzZDhjMDU1YjdkMjA3NDdhMDBlODBlNGYyNWNiNGIxNzMzMjFlZDk2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTE4MyJdXSwiY29udGVudCI6IiIsInNpZyI6IjdmODhkYzU5NGM1ODg2ZjllNWYzYmFiOWE0NDU1ZmVlMDJmNTcwYzZiYzBlZDUwYmI1OWRlYzdlMWMxYWExZWE3NGIxY2U4MzJlODlkNjdkNjYzOGM3MGIxNWQzYzgzYTE3MDRmNTgzM2JlZWZlMWVmMGM5NGQ4ZjhiNDc5MjlhIn0=" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http header done +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer del: 6: 101344526 +2025/09/02 17:13:04 [debug] 197805#197805: *4 generic phase: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 rewrite phase: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *4 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script value: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script equal +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script regex: "^/(.*)$" +2025/09/02 17:13:04 [notice] 197805#197805: *4 "^/(.*)$" matches "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96", client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "/fcgi-delete/" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script regex end +2025/09/02 17:13:04 [notice] 197805#197805: *4 rewritten data: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *4 uri changes: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: "/health" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *4 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *4 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *4 generic phase: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *4 generic phase: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *4 generic phase: 7 +2025/09/02 17:13:04 [debug] 197805#197805: *4 access phase: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 access phase: 9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 access phase: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *4 post access phase: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *4 generic phase: 12 +2025/09/02 17:13:04 [debug] 197805#197805: *4 generic phase: 13 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http init upstream, client timer: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "QUERY_STRING" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "QUERY_STRING: " +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "REQUEST_METHOD" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "CONTENT_TYPE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "CONTENT_LENGTH" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SCRIPT_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SCRIPT_NAME: /fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "REQUEST_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "REQUEST_URI: /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "DOCUMENT_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "DOCUMENT_URI: /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "REQUEST_SCHEME" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "http" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "CGI/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "nginx/" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "REMOTE_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "REMOTE_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "58036" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "REMOTE_PORT: 58036" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SERVER_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SERVER_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SERVER_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "REDIRECT_STATUS" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "200" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http script copy: "/ginxsom.fcgi" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *4 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiJkYTIxYzcxODcxMzUyNWI4Y2VkMTJiN2M3ODY5NDBkYTFjMWZlZDcyOTYxNWY3ZGM1ZmU2ZjY1ODBhNDY0YzRiIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDc1ODQsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCI2NDQ5ZWM0YjNlM2I0OWMyNDc0OGE0ZmMzZDhjMDU1YjdkMjA3NDdhMDBlODBlNGYyNWNiNGIxNzMzMjFlZDk2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTE4MyJdXSwiY29udGVudCI6IiIsInNpZyI6IjdmODhkYzU5NGM1ODg2ZjllNWYzYmFiOWE0NDU1ZmVlMDJmNTcwYzZiYzBlZDUwYmI1OWRlYzdlMWMxYWExZWE3NGIxY2U4MzJlODlkNjdkNjYzOGM3MGIxNWQzYzgzYTE3MDRmNTgzM2JlZWZlMWVmMGM5NGQ4ZjhiNDc5MjlhIn0=" +2025/09/02 17:13:04 [debug] 197805#197805: *4 posix_memalign: 00005BEB0A8D4140:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http cleanup add: 00005BEB0A8E27D8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 get rr peer, try: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 stream socket 10 +2025/09/02 17:13:04 [debug] 197805#197805: *4 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *4 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #5 +2025/09/02 17:13:04 [debug] 197805#197805: *4 connected +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream connect: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 posix_memalign: 00005BEB0A8B3F20:128 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream send request +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream send request body +2025/09/02 17:13:04 [debug] 197805#197805: *4 chain writer buf fl:0 s:1352 +2025/09/02 17:13:04 [debug] 197805#197805: *4 chain writer in: 00005BEB0A8E27F0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 writev: 1352 of 1352 +2025/09/02 17:13:04 [debug] 197805#197805: *4 chain writer out: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer add: 10: 60000:101344526 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http finalize request: -4, "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" a:1, c:2 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http request count:2 blk:0 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0004 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http run request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream check client, write event:1, "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0004 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59999 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *4 malloc: 00005BEB0A8D5150:4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:10 1536 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "LOG: [2025-09-02 17:13:04] DELETE /delete - Auth: pending - Status: 0 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with method: delete, hash: 6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 +STEP SERVER-2: Calling" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756847584,"tags":[["t","delete"],["x","6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96"],["expiration","1756851183"]],"content":"","sig":"7f88dc594c5886f9e5f3bab9a4" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "455fee02f570c6bc0ed50bb59dec7e1c1aa1ea74b1ce832e89d67d6638c70b15d3c83a1704f5833beefe1ef0c94d8f8b47929a"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756847584, + "tags": [["t", "delete"], ["x", "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96"], ["expiration", "1756851183"]]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:10 1024 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: " "content": "", + "sig": "7f88dc594c5886f9e5f3bab9a4455fee02f570c6bc0ed50bb59dec7e1c1aa1ea74b1ce832e89d67d6638c70b15d3c83a1704f5833beefe1ef0c94d8f8b47929a" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 7f88dc594c5886f9e5f3bab9a4455fee02f570c6bc0ed50bb59dec7e1c1aa1ea74b1ce832e89d67d6638c70b15d3c83a1704f5833beefe1ef0c94d8f8" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "b47929a +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756847584 +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: Length: ℹINFO: Character an" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:10 2560 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "alysis (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 returned: 0 (Success) +SUCCESS: Crypto verification PASSED +ℹINFO: Testing co" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "mplete validation... +ℹ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 existence +S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "UCCESS: 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' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: " hex string lengths +ℹINFO: ID string: 'da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b' (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: '7f88dc594c5886f9e5f3bab9a4455fee02f570c6bc0ed50bb59dec7e1c1aa1ea74b1ce832e89d67d6638c70b15d3c83a1704f5833beefe1ef0c94d8f8b47929a' (length: SUCCESS: Signature st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "ring 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) +STEP STRUCT-6: Validating timestamp +ℹINFO: Created_at timestamp: 1756847584 +SUCCESS: Timestamp is valid: 2025-09-02 21:13:04 UTC +STEP STRUCT" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:10 3584 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "-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]: 'delete' +ℹINFO: Tag[1] has 2 elements +ℹINFO: Tag[1][0]: 'x' +ℹINFO: Tag[1][1]: '6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96' +ℹINFO: Tag[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851183' +SUCCESS: Tags array st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "ructure 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 validation +═══════════════════════════════════════════════════════════════════ +STEP CRYPTO-1: Starting detailed sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "nature 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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( da 21 c7 18 71 35 25 b8 ce d1 2b 7c 78 69 40 da |.!..q5%...+|xi@.| + 1c 1f ed 72 96 15 f7 dc 5f e6 f6 58 0a 46 4c 4b |...r...._..X.FLK| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated I" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "D: da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b +ℹINFO: Provided ID: da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b +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: Sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "nature hex converted to bytes +ℹINFO: Signature bytes ( 7f 88 dc 59 4c 58 86 f9 e5 f3 ba b9 a4 45 5f ee |...YLX.......E_.| + 02 f5 70 c6 bc 0e d5 0b b5 9d ec 7e 1c 1a a1 ea |..p........~....| + 74 b1 ce 83 2e 89 d6 7d 66 38 c7 0b 15 d3 c8 3a |t......}f8.....:| + 17 04 f5 83 3b ee fe 1e f0 c9 4d 8f 8b 47 92 9a |....;.....M..G..| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹINFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹINFO: nostr_ve" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "rify_event_signature returned: 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': +ℹINFO: Typ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "e: String +ℹINFO: Value: 'da21c718713525b8ced12b7c786940da1c1fed729615f7dc5fe6f6580a464c4b' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756847584 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +ℹINFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:10 1024 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '7f88dc594c5886f9e5f3bab9a4455fee02f570c6bc0ed50bb59dec7e1c1aa1ea74b1ce832e89d67d6638c70b15d3c83a1704f5833beefe1ef0c94d8f8b47929a' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +DELETE DEBUG: auth_pubkey extracted from request: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: "LETE DEBUG: database query results - uploader_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type: 'text/plain' +DELETE DEBUG: copied strings - uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type_copy: 'text/plain' +DELETE DEBUG: ownership check - auth_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DELETE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59997 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:2005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream request: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:10 544 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 3F +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 319 +2025/09/02 17:13:04 [error] 197805#197805: *4 FastCGI sent in stderr: " DEBUG: uploader_pubkey_copy[0]: 55, strcmp result: 0 +DELETE DEBUG: ownership check PASSED - proceeding with delete +DELETE DEBUG: Successfully deleted physical file blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt +LOG: [2025-09-02 17:13:04] DELETE /delete - Auth: authenticated - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: AF +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 175 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi header: "Status: 200 OK" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi parser: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi header done +2025/09/02 17:13:04 [debug] 197805#197805: *4 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:04 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 17:13:04 [debug] 197805#197805: *4 write new buf t:1 f:0 00005BEB0A8D4460, pos 00005BEB0A8D4460, size: 260 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http write filter: l:0 f:0 s:260 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http cacheable: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream process upstream +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe read upstream: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe preread: 150 +2025/09/02 17:13:04 [debug] 197805#197805: *4 readv: eof:1, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 readv: 1, last:3552 +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe recv chain: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe buf free s:0 t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D52DA, size: 150 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe length: -1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 input buf #0 00005BEB0A8D52DA +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi closed stdout +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 03 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 08 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi record length: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http fastcgi sent end request +2025/09/02 17:13:04 [debug] 197805#197805: *4 input buf 00005BEB0A8D52DA 125 +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe write downstream: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe write downstream flush in +2025/09/02 17:13:04 [debug] 197805#197805: *4 http output filter "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http copy filter: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http postpone filter "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" 00005BEB0A8D4690 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http chunk: 125 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write old buf t:1 f:0 00005BEB0A8D4460, pos 00005BEB0A8D4460, size: 260 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write new buf t:1 f:0 00005BEB0A8D47E8, pos 00005BEB0A8D47E8, size: 4 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write new buf t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D52DA, size: 125 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http write filter: l:0 f:0 s:391 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http copy filter: 0 "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 pipe write downstream done +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer: 10, old: 101344526, new: 101344532 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream exit: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *4 finalize http upstream request: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 finalize http fastcgi request +2025/09/02 17:13:04 [debug] 197805#197805: *4 free rr peer 1 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 close http upstream connection: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8B3F20, unused: 48 +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer del: 10: 101344526 +2025/09/02 17:13:04 [debug] 197805#197805: *4 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http upstream temp fd: -1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http output filter "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http copy filter: "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http postpone filter "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" 00007FFDC4C11450 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http chunk: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write old buf t:1 f:0 00005BEB0A8D4460, pos 00005BEB0A8D4460, size: 260 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write old buf t:1 f:0 00005BEB0A8D47E8, pos 00005BEB0A8D47E8, size: 4 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write old buf t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D52DA, size: 125 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write old buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E5, size: 5 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http write filter: l:1 f:0 s:396 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http write filter limit 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 writev: 396 of 396 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http write filter 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http copy filter: 0 "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *4 http finalize request: 0, "/fcgi-delete/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" a:1, c:1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 set http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *4 http close request +2025/09/02 17:13:04 [debug] 197805#197805: *4 http log handler +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8D5150 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8EB490, unused: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8E1800, unused: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8D4140, unused: 1845 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 hc free: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *4 hc busy: 0000000000000000 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 tcp_nodelay +2025/09/02 17:13:04 [debug] 197805#197805: *4 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer add: 6: 65000:101349532 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 3 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:2005 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *4 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *4 recv: fd:6 0 of 1024 +2025/09/02 17:13:04 [info] 197805#197805: *4 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:04 [debug] 197805#197805: *4 close http connection: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *4 event timer del: 6: 101349532 +2025/09/02 17:13:04 [debug] 197805#197805: *4 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *4 free: 00005BEB0A8CA840, unused: 120 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:04 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:04 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *6 accept: 127.0.0.1:58038 fd:6 +2025/09/02 17:13:04 [debug] 197805#197805: *6 event timer add: 6: 60000:101344541 +2025/09/02 17:13:04 [debug] 197805#197805: *6 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 8 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http wait request handler +2025/09/02 17:13:04 [debug] 197805#197805: *6 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *6 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 recv: fd:6 146 of 1024 +2025/09/02 17:13:04 [debug] 197805#197805: *6 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http process request line +2025/09/02 17:13:04 [debug] 197805#197805: *6 http request line: "GET /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http uri: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http args: "" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http exten: "txt" +2025/09/02 17:13:04 [debug] 197805#197805: *6 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http process request header line +2025/09/02 17:13:04 [debug] 197805#197805: *6 http header: "Host: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http header: "Accept: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http header done +2025/09/02 17:13:04 [debug] 197805#197805: *6 event timer del: 6: 101344541 +2025/09/02 17:13:04 [debug] 197805#197805: *6 generic phase: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 rewrite phase: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *6 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *6 test location: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *6 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *6 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *6 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script var: "GET" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script value: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script equal +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script equal: no +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script if: false +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script var: "GET" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script value: "HEAD" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script equal +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script equal: no +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script if: false +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script var: "GET" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script value: "GET" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script not equal +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script not equal: no +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script if: false +2025/09/02 17:13:04 [debug] 197805#197805: *6 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *6 generic phase: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *6 generic phase: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *6 generic phase: 7 +2025/09/02 17:13:04 [debug] 197805#197805: *6 access phase: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *6 access phase: 9 +2025/09/02 17:13:04 [debug] 197805#197805: *6 access phase: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *6 post access phase: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *6 generic phase: 12 +2025/09/02 17:13:04 [debug] 197805#197805: *6 try files handler +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".txt" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".jpg" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.jpg" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.jpg" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".jpeg" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.jpeg" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.jpeg" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".png" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.png" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.png" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".webp" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.webp" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.webp" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".gif" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.gif" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.gif" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".pdf" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.pdf" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.pdf" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".mp4" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.mp4" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.mp4" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".mp3" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.mp3" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.mp3" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http script copy: ".md" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.md" "./blobs/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.md" +2025/09/02 17:13:04 [debug] 197805#197805: *6 trying to use file: "=404" "./blobs=404" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http finalize request: 404, "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" a:1, c:1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http special response: 404, "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http set discard body +2025/09/02 17:13:04 [debug] 197805#197805: *6 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:04 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 17:13:04 [debug] 197805#197805: *6 write new buf t:1 f:0 00005BEB0A8E1BE0, pos 00005BEB0A8E1BE0, size: 164 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http write filter: l:0 f:0 s:164 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http output filter "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http copy filter: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http postpone filter "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" 00005BEB0A8E1DD0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 write old buf t:1 f:0 00005BEB0A8E1BE0, pos 00005BEB0A8E1BE0, size: 164 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 write new buf t:0 f:0 0000000000000000, pos 00005BEAD7421580, size: 100 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 write new buf t:0 f:0 0000000000000000, pos 00005BEAD7421C80, size: 62 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http write filter: l:1 f:0 s:326 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http write filter limit 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 writev: 326 of 326 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http write filter 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http copy filter: 0 "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" +2025/09/02 17:13:04 [debug] 197805#197805: *6 http finalize request: 0, "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96.txt?" a:1, c:1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 set http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *6 http close request +2025/09/02 17:13:04 [debug] 197805#197805: *6 http log handler +2025/09/02 17:13:04 [debug] 197805#197805: *6 free: 00005BEB0A8EB490, unused: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 free: 00005BEB0A8E1800, unused: 2356 +2025/09/02 17:13:04 [debug] 197805#197805: *6 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 hc free: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *6 hc busy: 0000000000000000 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 tcp_nodelay +2025/09/02 17:13:04 [debug] 197805#197805: *6 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 event timer add: 6: 65000:101349541 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:2001 d:00007F8CEABDB1E1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *6 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *6 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *6 recv: fd:6 0 of 1024 +2025/09/02 17:13:04 [info] 197805#197805: *6 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:04 [debug] 197805#197805: *6 close http connection: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *6 event timer del: 6: 101349541 +2025/09/02 17:13:04 [debug] 197805#197805: *6 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *6 free: 00005BEB0A8CA840, unused: 136 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:04 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:04 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *7 accept: 127.0.0.1:58050 fd:6 +2025/09/02 17:13:04 [debug] 197805#197805: *7 event timer add: 6: 60000:101344551 +2025/09/02 17:13:04 [debug] 197805#197805: *7 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 9 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http wait request handler +2025/09/02 17:13:04 [debug] 197805#197805: *7 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *7 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 recv: fd:6 143 of 1024 +2025/09/02 17:13:04 [debug] 197805#197805: *7 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http process request line +2025/09/02 17:13:04 [debug] 197805#197805: *7 http request line: "HEAD /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http uri: "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http args: "" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http exten: "" +2025/09/02 17:13:04 [debug] 197805#197805: *7 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http process request header line +2025/09/02 17:13:04 [debug] 197805#197805: *7 http header: "Host: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http header: "Accept: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http header done +2025/09/02 17:13:04 [debug] 197805#197805: *7 event timer del: 6: 101344551 +2025/09/02 17:13:04 [debug] 197805#197805: *7 generic phase: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 rewrite phase: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *7 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "HEAD" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script value: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script equal +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script equal: no +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script if: false +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "HEAD" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script value: "HEAD" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script equal +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script regex: "^/(.*)$" +2025/09/02 17:13:04 [notice] 197805#197805: *7 "^/(.*)$" matches "/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96", client: 127.0.0.1, server: localhost, request: "HEAD /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "/fcgi-head/" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script regex end +2025/09/02 17:13:04 [notice] 197805#197805: *7 rewritten data: "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96", args: "", client: 127.0.0.1, server: localhost, request: "HEAD /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *7 uri changes: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: "/health" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 using configuration "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *7 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *7 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *7 generic phase: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *7 generic phase: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *7 generic phase: 7 +2025/09/02 17:13:04 [debug] 197805#197805: *7 access phase: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *7 access phase: 9 +2025/09/02 17:13:04 [debug] 197805#197805: *7 access phase: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *7 post access phase: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *7 generic phase: 12 +2025/09/02 17:13:04 [debug] 197805#197805: *7 generic phase: 13 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http init upstream, client timer: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "REQUEST_METHOD" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "HEAD" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "REQUEST_METHOD: HEAD" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "REQUEST_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script capture: "6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "REQUEST_URI: /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "SCRIPT_FILENAME: ./blobs/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "QUERY_STRING" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "QUERY_STRING: " +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "CONTENT_TYPE" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "CONTENT_LENGTH" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "nginx/" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "REMOTE_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "REMOTE_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "58050" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "REMOTE_PORT: 58050" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "SERVER_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "SERVER_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script copy: "SERVER_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http script var: "localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *7 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http cleanup add: 00005BEB0A8E24C8 +2025/09/02 17:13:04 [debug] 197805#197805: *7 get rr peer, try: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 stream socket 10 +2025/09/02 17:13:04 [debug] 197805#197805: *7 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *7 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #8 +2025/09/02 17:13:04 [debug] 197805#197805: *7 connected +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream connect: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 posix_memalign: 00005BEB0A8B3F20:128 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream send request +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream send request body +2025/09/02 17:13:04 [debug] 197805#197805: *7 chain writer buf fl:0 s:512 +2025/09/02 17:13:04 [debug] 197805#197805: *7 chain writer in: 00005BEB0A8E2508 +2025/09/02 17:13:04 [debug] 197805#197805: *7 writev: 512 of 512 +2025/09/02 17:13:04 [debug] 197805#197805: *7 chain writer out: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *7 event timer add: 10: 60000:101344552 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http finalize request: -4, "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" a:1, c:2 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http request count:2 blk:0 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0004 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http run request: "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream check client, write event:1, "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96" +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0004 d:00007F8CEABDB2C8 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream request: "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59999 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0004 d:00007F8CEABDB2C8 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream request: "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59999 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C8 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream request: "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *7 malloc: 00005BEB0A8D4140:4096 +2025/09/02 17:13:04 [debug] 197805#197805: *7 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 recv: fd:10 248 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 7E +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 02 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record length: 126 +2025/09/02 17:13:04 [error] 197805#197805: *7 FastCGI sent in stderr: "LOG: [2025-09-02 17:13:04] HEAD /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "HEAD /6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 42 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi record length: 66 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi header: "Status: 404 Not Found" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi header: "Content-Type: text/plain" +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi parser: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http fastcgi header done +2025/09/02 17:13:04 [debug] 197805#197805: *7 posix_memalign: 00005BEB0A8D5150:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *7 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:04 GMT +Content-Type: text/plain +Connection: keep-alive + +2025/09/02 17:13:04 [debug] 197805#197805: *7 write new buf t:1 f:0 00005BEB0A8D5170, pos 00005BEB0A8D5170, size: 144 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http write filter: l:1 f:0 s:144 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http write filter limit 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 writev: 144 of 144 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http write filter 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *7 finalize http upstream request: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 finalize http fastcgi request +2025/09/02 17:13:04 [debug] 197805#197805: *7 free rr peer 1 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 close http upstream connection: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8B3F20, unused: 48 +2025/09/02 17:13:04 [debug] 197805#197805: *7 event timer del: 10: 101344552 +2025/09/02 17:13:04 [debug] 197805#197805: *7 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http finalize request: 0, "/fcgi-head/6449ec4b3e3b49c24748a4fc3d8c055b7d20747a00e80e4f25cb4b173321ed96?" a:1, c:1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 set http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *7 http close request +2025/09/02 17:13:04 [debug] 197805#197805: *7 http log handler +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8D4140 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8EB490, unused: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8E1800, unused: 104 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8D5150, unused: 3735 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 hc free: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *7 hc busy: 0000000000000000 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 tcp_nodelay +2025/09/02 17:13:04 [debug] 197805#197805: *7 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 event timer add: 6: 65000:101349554 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:2005 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *7 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *7 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *7 recv: fd:6 0 of 1024 +2025/09/02 17:13:04 [info] 197805#197805: *7 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:04 [debug] 197805#197805: *7 close http connection: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *7 event timer del: 6: 101349554 +2025/09/02 17:13:04 [debug] 197805#197805: *7 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *7 free: 00005BEB0A8CA840, unused: 120 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:04 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:04 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *9 accept: 127.0.0.1:58062 fd:6 +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer add: 6: 60000:101344892 +2025/09/02 17:13:04 [debug] 197805#197805: *9 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 338 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http wait request handler +2025/09/02 17:13:04 [debug] 197805#197805: *9 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: fd:6 803 of 1024 +2025/09/02 17:13:04 [debug] 197805#197805: *9 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http process request line +2025/09/02 17:13:04 [debug] 197805#197805: *9 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http uri: "/upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http args: "" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http exten: "" +2025/09/02 17:13:04 [debug] 197805#197805: *9 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http process request header line +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header: "Host: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header: "Accept: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI0ZmE2ZTBhNGY1YzM3ZTEzNjA0OGJiOWQyMWQzMzFhMGRjZjNlMjYwMzA0YmI4NWEzZDg5NWVhNjIwNTZmOTVhIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDc1ODQsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTE4NCJdXSwiY29udGVudCI6IiIsInNpZyI6ImIxYWU3MDJiODQzMjk4MzQ2NDM2YThlNDNhNzE5MzEzYWNiNDI0NjIyZTZiYjk0YjMwNzEzNDIxMmUwZDczOGIwZjA4MzEzZGM5YjRlNWFhZGVmYzllZWJlMTBjZjgwYjdjMWFlNmE2MDFlY2IwZDllOTZiYTc0YzY0MDM1ZmVjIn0=" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header: "Content-Type: text/plain" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header: "Content-Length: 34" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http header done +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer del: 6: 101344892 +2025/09/02 17:13:04 [debug] 197805#197805: *9 generic phase: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 rewrite phase: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *9 test location: "/report" +2025/09/02 17:13:04 [debug] 197805#197805: *9 test location: "/upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 using configuration "=/upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http cl:34 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *9 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "PUT" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:13:04 [notice] 197805#197805: *9 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script if: false +2025/09/02 17:13:04 [debug] 197805#197805: *9 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *9 generic phase: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *9 generic phase: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *9 generic phase: 7 +2025/09/02 17:13:04 [debug] 197805#197805: *9 access phase: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 access phase: 9 +2025/09/02 17:13:04 [debug] 197805#197805: *9 access phase: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *9 post access phase: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *9 generic phase: 12 +2025/09/02 17:13:04 [debug] 197805#197805: *9 generic phase: 13 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http client request body preread 34 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http request body content length filter +2025/09/02 17:13:04 [debug] 197805#197805: *9 http body new buf t:1 f:0 00005BEB0A8CD3A1, pos 00005BEB0A8CD3A1, size: 34 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http init upstream, client timer: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "QUERY_STRING" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "QUERY_STRING: " +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "REQUEST_METHOD" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "PUT" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "CONTENT_TYPE" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "text/plain" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "CONTENT_LENGTH" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "34" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "CONTENT_LENGTH: 34" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SCRIPT_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "/upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "REQUEST_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "/upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "DOCUMENT_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "/upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "REQUEST_SCHEME" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "http" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "CGI/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "nginx/" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "REMOTE_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "REMOTE_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "58062" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "REMOTE_PORT: 58062" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SERVER_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SERVER_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SERVER_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "REDIRECT_STATUS" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "200" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http script copy: "/ginxsom.fcgi" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI0ZmE2ZTBhNGY1YzM3ZTEzNjA0OGJiOWQyMWQzMzFhMGRjZjNlMjYwMzA0YmI4NWEzZDg5NWVhNjIwNTZmOTVhIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDc1ODQsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTE4NCJdXSwiY29udGVudCI6IiIsInNpZyI6ImIxYWU3MDJiODQzMjk4MzQ2NDM2YThlNDNhNzE5MzEzYWNiNDI0NjIyZTZiYjk0YjMwNzEzNDIxMmUwZDczOGIwZjA4MzEzZGM5YjRlNWFhZGVmYzllZWJlMTBjZjgwYjdjMWFlNmE2MDFlY2IwZDllOTZiYTc0YzY0MDM1ZmVjIn0=" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:13:04 [debug] 197805#197805: *9 fastcgi param: "HTTP_CONTENT_LENGTH: 34" +2025/09/02 17:13:04 [debug] 197805#197805: *9 posix_memalign: 00005BEB0A8D4140:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http cleanup add: 00005BEB0A8E27E8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 get rr peer, try: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 stream socket 10 +2025/09/02 17:13:04 [debug] 197805#197805: *9 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *9 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #10 +2025/09/02 17:13:04 [debug] 197805#197805: *9 connected +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream connect: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 posix_memalign: 00005BEB0A8B3F20:128 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream send request +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream send request body +2025/09/02 17:13:04 [debug] 197805#197805: *9 chain writer buf fl:0 s:1224 +2025/09/02 17:13:04 [debug] 197805#197805: *9 chain writer buf fl:0 s:34 +2025/09/02 17:13:04 [debug] 197805#197805: *9 chain writer buf fl:0 s:14 +2025/09/02 17:13:04 [debug] 197805#197805: *9 chain writer in: 00005BEB0A8D4278 +2025/09/02 17:13:04 [debug] 197805#197805: *9 writev: 1272 of 1272 +2025/09/02 17:13:04 [debug] 197805#197805: *9 chain writer out: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer add: 10: 60000:101344892 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http request count:2 blk:0 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0004 d:00007F8CEABDB1E1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http run request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream check client, write event:1, "/upload" +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0004 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 2 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *9 malloc: 00005BEB0A8D5150:4096 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: fd:10 2712 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 8E +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 02 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 142 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "LOG: [2025-09-02 17:13:04] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:13:04] PUT /upload - Auth: auth_provided - Status: 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 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "hod: upload, hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756847584,"tags":[["t","upload"],["x","69d582a822ece2d06346f19c1d3c95ca998" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "6b380c855b9ae4e2bb3c7972b8939"],["expiration","1756851184"]],"content":"","sig":"b1ae702b843298346436a8e43a719313acb424622e6bb94b307134212e0d738b0f08313dc9b4e5aadefc9eebe10cf80b7c1ae6a601ecb0d9e96ba74c64035fec"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756847584, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: " ["x", "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939"], ["expiration", "1756851184"]], + "content": "", + "sig": "b1ae702b843298346436a8e43a719313acb424622e6bb94b307134212e0d738b0f08313dc9b4e5aadefc9eebe10cf80b7c1ae6a601ecb0d9e96ba74c64035fec" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: b1ae702b843298" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "346436a8e43a719313acb424622e6bb94b307134212e0d738b0f08313dc9b4e5aadefc9eebe10cf80b7c1ae6a601ecb0d9e96ba74c64035fec +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756847584 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: fd:10 3584 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a' (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: 'b1ae702b843298346436a8e43a719313acb424622e6bb94b30713" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "4212e0d738b0f08313dc9b4e5aadefc9eebe10cf80b7c1ae6a601ecb0d9e96ba74c64035fec' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756847584 +SUCCESS: Timestamp is valid: 2025-09-02 21:13:04 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' +ℹINFO: Tag[1][1]: '69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851184' +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 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 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59998 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: fd:10 3072 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 4f a6 e0 a4 f5 c3 7e 13 60 48 bb 9d 21 d3 31 a0 |O.....~.`H..!.1.| + dc f3 e2 60 30 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 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "b b8 5a 3d 89 5e a6 20 56 f9 5a |...`0K.Z=.^. V.Z| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a +ℹINFO: Provided ID: 4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a +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 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 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "b 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 ( b1 ae 70 2b 84 32 98 34 64 36 a8 e4 3a 71 93 13 |..p+.2.4d6..:q..| + ac b4 24 62 2e 6b b9 4b 30 71 34 21 2e 0d 73 8b |..$b.k.K0q4!..s.| + 0f 08 31 3d c9 b4 e5 aa de fc 9e eb e1 0c f8 0b |..1=............| + 7c 1a e6 a6 01 ec b0 d9 e9 6b a7 4c 64 03 5f ec ||........k.Ld._.| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '4fa6e0a4f5c37e136048bb9d21d331a0dcf3e260304bb85a3d895ea62056f95a' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756847584 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: F8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 504 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: 'b1ae702b843298346436a8e43a719313acb424622e6bb94b307134212e0d738b0f08313dc9b4e5aadefc9eebe10cf80b7c1ae6a601ecb0d9e96ba74c64035fec' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:0, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59997 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:2005 d:00007F8CEABDB2C9 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream request: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: fd:10 384 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 1C +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 04 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 28 +2025/09/02 17:13:04 [error] 197805#197805: *9 FastCGI sent in stderr: "ticate_request returned: 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 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 2C +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 04 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 300 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi header: "Status: 200 OK" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi parser: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi header done +2025/09/02 17:13:04 [debug] 197805#197805: *9 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:04 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 17:13:04 [debug] 197805#197805: *9 write new buf t:1 f:0 00005BEB0A8D4538, pos 00005BEB0A8D4538, size: 260 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http write filter: l:0 f:0 s:260 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http cacheable: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream process upstream +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe read upstream: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe preread: 278 +2025/09/02 17:13:04 [debug] 197805#197805: *9 readv: eof:1, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 readv: 1, last:3712 +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe recv chain: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe buf free s:0 t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D51BA, size: 278 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe length: -1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 input buf #0 00005BEB0A8D51BA +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi closed stdout +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 03 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 08 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi record length: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http fastcgi sent end request +2025/09/02 17:13:04 [debug] 197805#197805: *9 input buf 00005BEB0A8D51BA 250 +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe write downstream: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe write downstream flush in +2025/09/02 17:13:04 [debug] 197805#197805: *9 http output filter "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http copy filter: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http postpone filter "/upload?" 00005BEB0A8D4248 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http chunk: 250 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write old buf t:1 f:0 00005BEB0A8D4538, pos 00005BEB0A8D4538, size: 260 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write new buf t:1 f:0 00005BEB0A8D4880, pos 00005BEB0A8D4880, size: 4 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write new buf t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D51BA, size: 250 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http write filter: l:0 f:0 s:516 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http copy filter: 0 "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 pipe write downstream done +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer: 10, old: 101344892, new: 101344897 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream exit: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *9 finalize http upstream request: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 finalize http fastcgi request +2025/09/02 17:13:04 [debug] 197805#197805: *9 free rr peer 1 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 close http upstream connection: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8B3F20, unused: 48 +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer del: 10: 101344892 +2025/09/02 17:13:04 [debug] 197805#197805: *9 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http upstream temp fd: -1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http output filter "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http copy filter: "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http postpone filter "/upload?" 00007FFDC4C11450 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http chunk: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write old buf t:1 f:0 00005BEB0A8D4538, pos 00005BEB0A8D4538, size: 260 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write old buf t:1 f:0 00005BEB0A8D4880, pos 00005BEB0A8D4880, size: 4 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write old buf t:1 f:0 00005BEB0A8D5150, pos 00005BEB0A8D51BA, size: 250 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write old buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E5, size: 5 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http write filter: l:1 f:0 s:521 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http write filter limit 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 writev: 521 of 521 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http write filter 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http copy filter: 0 "/upload?" +2025/09/02 17:13:04 [debug] 197805#197805: *9 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 set http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *9 http close request +2025/09/02 17:13:04 [debug] 197805#197805: *9 http log handler +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8D5150 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8EB490, unused: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8E1800, unused: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8D4140, unused: 1770 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 hc free: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *9 hc busy: 0000000000000000 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 tcp_nodelay +2025/09/02 17:13:04 [debug] 197805#197805: *9 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer add: 6: 65000:101349897 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 2 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:2005 d:00007F8CEABDB1E1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *9 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *9 recv: fd:6 0 of 1024 +2025/09/02 17:13:04 [info] 197805#197805: *9 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:04 [debug] 197805#197805: *9 close http connection: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *9 event timer del: 6: 101349897 +2025/09/02 17:13:04 [debug] 197805#197805: *9 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *9 free: 00005BEB0A8CA840, unused: 120 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 2 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:13:04 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:13:04 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *11 accept: 127.0.0.1:58068 fd:6 +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer add: 6: 60000:101344904 +2025/09/02 17:13:04 [debug] 197805#197805: *11 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 5 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http wait request handler +2025/09/02 17:13:04 [debug] 197805#197805: *11 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *11 recv: eof:0, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 recv: fd:6 145 of 1024 +2025/09/02 17:13:04 [debug] 197805#197805: *11 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http process request line +2025/09/02 17:13:04 [debug] 197805#197805: *11 http request line: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http uri: "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http args: "" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http exten: "" +2025/09/02 17:13:04 [debug] 197805#197805: *11 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http process request header line +2025/09/02 17:13:04 [debug] 197805#197805: *11 http header: "Host: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http header: "Accept: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http header done +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer del: 6: 101344904 +2025/09/02 17:13:04 [debug] 197805#197805: *11 generic phase: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 rewrite phase: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *11 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script value: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script equal +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script if +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script regex: "^/(.*)$" +2025/09/02 17:13:04 [notice] 197805#197805: *11 "^/(.*)$" matches "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "/fcgi-delete/" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script regex end +2025/09/02 17:13:04 [notice] 197805#197805: *11 rewritten data: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *11 uri changes: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: "/media" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: "/debug/list" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: "/health" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http cl:-1 max:104857600 +2025/09/02 17:13:04 [debug] 197805#197805: *11 rewrite phase: 3 +2025/09/02 17:13:04 [debug] 197805#197805: *11 post rewrite phase: 4 +2025/09/02 17:13:04 [debug] 197805#197805: *11 generic phase: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *11 generic phase: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *11 generic phase: 7 +2025/09/02 17:13:04 [debug] 197805#197805: *11 access phase: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *11 access phase: 9 +2025/09/02 17:13:04 [debug] 197805#197805: *11 access phase: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *11 post access phase: 11 +2025/09/02 17:13:04 [debug] 197805#197805: *11 generic phase: 12 +2025/09/02 17:13:04 [debug] 197805#197805: *11 generic phase: 13 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http init upstream, client timer: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "QUERY_STRING" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "QUERY_STRING: " +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "REQUEST_METHOD" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "CONTENT_TYPE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "CONTENT_LENGTH" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SCRIPT_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SCRIPT_NAME: /fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "REQUEST_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "REQUEST_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "DOCUMENT_URI" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "/" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "DOCUMENT_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "REQUEST_SCHEME" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "http" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "CGI/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "nginx/" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "REMOTE_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "REMOTE_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "58068" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "REMOTE_PORT: 58068" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SERVER_ADDR" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SERVER_PORT" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SERVER_NAME" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "REDIRECT_STATUS" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "200" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script var: "./blobs" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http script copy: "/ginxsom.fcgi" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:13:04 [debug] 197805#197805: *11 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http cleanup add: 00005BEB0A8E2588 +2025/09/02 17:13:04 [debug] 197805#197805: *11 get rr peer, try: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 stream socket 10 +2025/09/02 17:13:04 [debug] 197805#197805: *11 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:13:04 [debug] 197805#197805: *11 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #12 +2025/09/02 17:13:04 [debug] 197805#197805: *11 connected +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream connect: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 posix_memalign: 00005BEB0A8B3F20:128 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream send request +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream send request body +2025/09/02 17:13:04 [debug] 197805#197805: *11 chain writer buf fl:0 s:704 +2025/09/02 17:13:04 [debug] 197805#197805: *11 chain writer in: 00005BEB0A8E25C8 +2025/09/02 17:13:04 [debug] 197805#197805: *11 writev: 704 of 704 +2025/09/02 17:13:04 [debug] 197805#197805: *11 chain writer out: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer add: 10: 60000:101344904 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http finalize request: -4, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:2 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http request count:2 blk:0 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:0004 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http run request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream check client, write event:1, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:0004 d:00007F8CEABDB2C8 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream dummy handler +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 59999 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:10 ev:2005 d:00007F8CEABDB2C8 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream process header +2025/09/02 17:13:04 [debug] 197805#197805: *11 malloc: 00005BEB0A8D4140:4096 +2025/09/02 17:13:04 [debug] 197805#197805: *11 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 recv: fd:10 440 of 4096 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 95 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 03 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record length: 149 +2025/09/02 17:13:04 [error] 197805#197805: *11 FastCGI sent in stderr: "LOG: [2025-09-02 17:13:04] DELETE /delete - Auth: pending - Status: 0 +LOG: [2025-09-02 17:13:04] DELETE /delete - Auth: missing_auth - Status: 401" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 07 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: ED +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 03 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record length: 237 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi header: "Status: 401 Unauthorized" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi parser: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 posix_memalign: 00005BEB0A8D5150:4096 @16 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi parser: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi header done +2025/09/02 17:13:04 [debug] 197805#197805: *11 HTTP/1.1 401 Unauthorized +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:13:04 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive + +2025/09/02 17:13:04 [debug] 197805#197805: *11 write new buf t:1 f:0 00005BEB0A8D51F0, pos 00005BEB0A8D51F0, size: 181 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http write filter: l:0 f:0 s:181 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http cacheable: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream process upstream +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe read upstream: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe preread: 204 +2025/09/02 17:13:04 [debug] 197805#197805: *11 readv: eof:1, avail:0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 readv: 1, last:3656 +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe recv chain: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe buf free s:0 t:1 f:0 00005BEB0A8D4140, pos 00005BEB0A8D422C, size: 204 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe length: -1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 input buf #0 00005BEB0A8D422C +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 06 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record length: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi closed stdout +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 03 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 01 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 08 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record byte: 00 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi record length: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http fastcgi sent end request +2025/09/02 17:13:04 [debug] 197805#197805: *11 input buf 00005BEB0A8D422C 177 +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe write downstream: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe write downstream flush in +2025/09/02 17:13:04 [debug] 197805#197805: *11 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00005BEB0A8D53D0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http chunk: 177 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write old buf t:1 f:0 00005BEB0A8D51F0, pos 00005BEB0A8D51F0, size: 181 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write new buf t:1 f:0 00005BEB0A8D5528, pos 00005BEB0A8D5528, size: 4 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write new buf t:1 f:0 00005BEB0A8D4140, pos 00005BEB0A8D422C, size: 177 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http write filter: l:0 f:0 s:364 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 pipe write downstream done +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer: 10, old: 101344904, new: 101344905 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream exit: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *11 finalize http upstream request: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 finalize http fastcgi request +2025/09/02 17:13:04 [debug] 197805#197805: *11 free rr peer 1 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 close http upstream connection: 10 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8B3F20, unused: 48 +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer del: 10: 101344904 +2025/09/02 17:13:04 [debug] 197805#197805: *11 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http upstream temp fd: -1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00007FFDC4C11450 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http chunk: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write old buf t:1 f:0 00005BEB0A8D51F0, pos 00005BEB0A8D51F0, size: 181 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write old buf t:1 f:0 00005BEB0A8D5528, pos 00005BEB0A8D5528, size: 4 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write old buf t:1 f:0 00005BEB0A8D4140, pos 00005BEB0A8D422C, size: 177 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write old buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E8, size: 2 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 write new buf t:0 f:0 0000000000000000, pos 00005BEAD73E22E5, size: 5 file: 0, size: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http write filter: l:1 f:0 s:369 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http write filter limit 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 writev: 369 of 369 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http write filter 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:13:04 [debug] 197805#197805: *11 http finalize request: 0, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 set http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *11 http close request +2025/09/02 17:13:04 [debug] 197805#197805: *11 http log handler +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8D4140 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8EB490, unused: 5 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8E1800, unused: 8 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8D5150, unused: 2565 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 hc free: 0000000000000000 +2025/09/02 17:13:04 [debug] 197805#197805: *11 hc busy: 0000000000000000 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 tcp_nodelay +2025/09/02 17:13:04 [debug] 197805#197805: *11 reusable connection: 1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer add: 6: 65000:101349905 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 0 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:13:04 [debug] 197805#197805: epoll: fd:6 ev:2005 d:00007F8CEABDB1E0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 http keepalive handler +2025/09/02 17:13:04 [debug] 197805#197805: *11 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:13:04 [debug] 197805#197805: *11 recv: eof:1, avail:-1 +2025/09/02 17:13:04 [debug] 197805#197805: *11 recv: fd:6 0 of 1024 +2025/09/02 17:13:04 [info] 197805#197805: *11 client 127.0.0.1 closed keepalive connection +2025/09/02 17:13:04 [debug] 197805#197805: *11 close http connection: 6 +2025/09/02 17:13:04 [debug] 197805#197805: *11 event timer del: 6: 101349905 +2025/09/02 17:13:04 [debug] 197805#197805: *11 reusable connection: 0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8CD0A0 +2025/09/02 17:13:04 [debug] 197805#197805: *11 free: 00005BEB0A8CA840, unused: 120 +2025/09/02 17:13:04 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:13:04 [debug] 197805#197805: worker cycle +2025/09/02 17:13:04 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:17:11 [debug] 197805#197805: epoll: fd:5 ev:0001 d:00007F8CEABDB010 +2025/09/02 17:17:11 [debug] 197805#197805: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:17:11 [debug] 197805#197805: posix_memalign: 00005BEB0A8CA840:512 @16 +2025/09/02 17:17:11 [debug] 197805#197805: *13 accept: 127.0.0.1:59096 fd:6 +2025/09/02 17:17:11 [debug] 197805#197805: *13 event timer add: 6: 60000:101592021 +2025/09/02 17:17:11 [debug] 197805#197805: *13 reusable connection: 1 +2025/09/02 17:17:11 [debug] 197805#197805: *13 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:17:11 [debug] 197805#197805: timer delta: 247115 +2025/09/02 17:17:11 [debug] 197805#197805: worker cycle +2025/09/02 17:17:11 [debug] 197805#197805: epoll timer: 60000 +2025/09/02 17:17:11 [debug] 197805#197805: epoll: fd:6 ev:0001 d:00007F8CEABDB1E1 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http wait request handler +2025/09/02 17:17:11 [debug] 197805#197805: *13 malloc: 00005BEB0A8CD0A0:1024 +2025/09/02 17:17:11 [debug] 197805#197805: *13 recv: eof:0, avail:-1 +2025/09/02 17:17:11 [debug] 197805#197805: *13 recv: fd:6 648 of 1024 +2025/09/02 17:17:11 [debug] 197805#197805: *13 reusable connection: 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 posix_memalign: 00005BEB0A8EB490:4096 @16 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http process request line +2025/09/02 17:17:11 [debug] 197805#197805: *13 http request line: "GET /health HTTP/1.1" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http uri: "/health" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http args: "" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http exten: "" +2025/09/02 17:17:11 [debug] 197805#197805: *13 posix_memalign: 00005BEB0A8E1800:4096 @16 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http process request header line +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Host: localhost:9001" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Connection: keep-alive" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Cache-Control: max-age=0" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "Brave";v="138"" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "sec-ch-ua-mobile: ?0" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "sec-ch-ua-platform: "Linux"" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Upgrade-Insecure-Requests: 1" +2025/09/02 17:17:11 [debug] 197805#197805: *13 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 17:17:11 [debug] 197805#197805: *13 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 17:17:11 [debug] 197805#197805: *13 http header: "Sec-GPC: 1" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Accept-Language: en-US,en;q=0.9" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Sec-Fetch-Site: none" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Sec-Fetch-Mode: navigate" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Sec-Fetch-User: ?1" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Sec-Fetch-Dest: document" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header: "Accept-Encoding: gzip, deflate, br, zstd" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http header done +2025/09/02 17:17:11 [debug] 197805#197805: *13 event timer del: 6: 101592021 +2025/09/02 17:17:11 [debug] 197805#197805: *13 generic phase: 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 rewrite phase: 1 +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: "/media" +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: "/debug/list" +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: "/health" +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:17:11 [debug] 197805#197805: *13 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:17:11 [debug] 197805#197805: *13 using configuration "/health" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http cl:-1 max:104857600 +2025/09/02 17:17:11 [debug] 197805#197805: *13 rewrite phase: 3 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http set discard body +2025/09/02 17:17:11 [debug] 197805#197805: *13 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:17:11 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 +2025/09/02 17:17:11 [debug] 197805#197805: *13 write new buf t:1 f:0 00005BEB0A8E1CD0, pos 00005BEB0A8E1CD0, size: 196 file: 0, size: 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http write filter: l:0 f:0 s:196 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http output filter "/health?" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http copy filter: "/health?" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http postpone filter "/health?" 00007FFDC4C113A0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 write old buf t:1 f:0 00005BEB0A8E1CD0, pos 00005BEB0A8E1CD0, size: 196 file: 0, size: 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 write new buf t:0 f:0 0000000000000000, pos 00005BEB0A915FD2, size: 3 file: 0, size: 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http write filter: l:1 f:0 s:199 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http write filter limit 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 writev: 199 of 199 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http write filter 0000000000000000 +2025/09/02 17:17:11 [debug] 197805#197805: *13 http copy filter: 0 "/health?" +2025/09/02 17:17:11 [debug] 197805#197805: *13 http finalize request: 0, "/health?" a:1, c:1 +2025/09/02 17:17:11 [debug] 197805#197805: *13 set http keepalive handler +2025/09/02 17:17:11 [debug] 197805#197805: *13 http close request +2025/09/02 17:17:11 [debug] 197805#197805: *13 http log handler +2025/09/02 17:17:11 [debug] 197805#197805: *13 free: 00005BEB0A8EB490, unused: 40 +2025/09/02 17:17:11 [debug] 197805#197805: *13 free: 00005BEB0A8E1800, unused: 2512 +2025/09/02 17:17:11 [debug] 197805#197805: *13 free: 00005BEB0A8CD0A0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 hc free: 0000000000000000 +2025/09/02 17:17:11 [debug] 197805#197805: *13 hc busy: 0000000000000000 0 +2025/09/02 17:17:11 [debug] 197805#197805: *13 tcp_nodelay +2025/09/02 17:17:11 [debug] 197805#197805: *13 reusable connection: 1 +2025/09/02 17:17:11 [debug] 197805#197805: *13 event timer add: 6: 65000:101597022 +2025/09/02 17:17:11 [debug] 197805#197805: timer delta: 1 +2025/09/02 17:17:11 [debug] 197805#197805: worker cycle +2025/09/02 17:17:11 [debug] 197805#197805: epoll timer: 65000 +2025/09/02 17:18:16 [debug] 197805#197805: timer delta: 65009 +2025/09/02 17:18:16 [debug] 197805#197805: *13 event timer del: 6: 101597022 +2025/09/02 17:18:16 [debug] 197805#197805: *13 http keepalive handler +2025/09/02 17:18:16 [debug] 197805#197805: *13 close http connection: 6 +2025/09/02 17:18:16 [debug] 197805#197805: *13 reusable connection: 0 +2025/09/02 17:18:16 [debug] 197805#197805: *13 free: 0000000000000000 +2025/09/02 17:18:16 [debug] 197805#197805: *13 free: 00005BEB0A8CA840, unused: 136 +2025/09/02 17:18:16 [debug] 197805#197805: worker cycle +2025/09/02 17:18:16 [debug] 197805#197805: epoll timer: -1 +2025/09/02 17:18:23 [notice] 197804#197804: signal 15 (SIGTERM) received from 198203, exiting +2025/09/02 17:18:23 [debug] 197804#197804: wake up, sigio 0 +2025/09/02 17:18:23 [debug] 197804#197804: child: 0 197805 e:0 t:0 d:0 r:1 j:0 +2025/09/02 17:18:23 [debug] 197804#197804: termination cycle: 50 +2025/09/02 17:18:23 [debug] 197804#197804: sigsuspend +2025/09/02 17:18:23 [debug] 197805#197805: epoll: fd:7 ev:0001 d:00007F8CEABDB0F8 +2025/09/02 17:18:23 [debug] 197805#197805: channel handler +2025/09/02 17:18:23 [debug] 197805#197805: channel: 32 +2025/09/02 17:18:23 [debug] 197805#197805: channel command: 4 +2025/09/02 17:18:23 [debug] 197805#197805: channel: -2 +2025/09/02 17:18:23 [debug] 197805#197805: timer delta: 6485 +2025/09/02 17:18:23 [notice] 197805#197805: exiting +2025/09/02 17:18:23 [debug] 197805#197805: flush files +2025/09/02 17:18:23 [debug] 197805#197805: run cleanup: 00005BEB0A92D260 +2025/09/02 17:18:23 [debug] 197805#197805: run cleanup: 00005BEB0A919EC8 +2025/09/02 17:18:23 [debug] 197805#197805: cleanup resolver +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A92F890 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A91A670 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8ED5B0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8EC4A0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8E6470 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8E53B0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8E42F0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8E3230 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8D9160 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8D0130, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8DBFE0, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8E7480, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8EE5C0, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8F25D0, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8F65E0, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8FA5F0, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A8FE600, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A902610, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A906620, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A90A630, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A90E640, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A912650, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A916660, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A91B840, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A91F850, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A923860, unused: 0 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A927870, unused: 3 +2025/09/02 17:18:23 [debug] 197805#197805: free: 00005BEB0A92B880, unused: 9736 +2025/09/02 17:18:23 [notice] 197805#197805: exit +2025/09/02 17:18:23 [notice] 197804#197804: signal 17 (SIGCHLD) received from 197805 +2025/09/02 17:18:23 [notice] 197804#197804: worker process 197805 exited with code 0 +2025/09/02 17:18:23 [debug] 197804#197804: shmtx forced unlock +2025/09/02 17:18:23 [debug] 197804#197804: wake up, sigio 3 +2025/09/02 17:18:23 [debug] 197804#197804: reap children +2025/09/02 17:18:23 [debug] 197804#197804: child: 0 197805 e:1 t:1 d:0 r:1 j:0 +2025/09/02 17:18:23 [notice] 197804#197804: exit +2025/09/02 17:18:23 [debug] 197804#197804: close listening 0.0.0.0:9001 #5 +2025/09/02 17:18:23 [debug] 197804#197804: run cleanup: 00005BEB0A919EC8 +2025/09/02 17:18:23 [debug] 197804#197804: cleanup resolver +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A92F890 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A91A670 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8ED5B0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8EC4A0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8E6470 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8E53B0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8E42F0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8E3230 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8D9160 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8D0130, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8DBFE0, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8E7480, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8EE5C0, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8F25D0, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8F65E0, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8FA5F0, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A8FE600, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A902610, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A906620, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A90A630, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A90E640, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A912650, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A916660, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A91B840, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A91F850, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A923860, unused: 0 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A927870, unused: 3 +2025/09/02 17:18:23 [debug] 197804#197804: free: 00005BEB0A92B880, unused: 9767 +2025/09/02 17:18:26 [debug] 198242#198242: bind() 0.0.0.0:9001 #5 +2025/09/02 17:18:26 [debug] 198242#198242: counter: 000076A77533E080, 1 +2025/09/02 17:18:26 [debug] 198243#198243: bind() 0.0.0.0:9001 #5 +2025/09/02 17:18:26 [notice] 198243#198243: using the "epoll" event method +2025/09/02 17:18:26 [debug] 198243#198243: counter: 000072727B704080, 1 +2025/09/02 17:18:26 [notice] 198243#198243: nginx/1.18.0 (Ubuntu) +2025/09/02 17:18:26 [notice] 198243#198243: OS: Linux 6.12.10-76061203-generic +2025/09/02 17:18:26 [notice] 198243#198243: getrlimit(RLIMIT_NOFILE): 1048576:1048576 +2025/09/02 17:18:26 [debug] 198244#198243: write: 6, 00007FFCF0F11FB0, 7, 0 +2025/09/02 17:18:26 [debug] 198244#198244: setproctitle: "nginx: master process nginx -p . -c config/local-nginx.conf" +2025/09/02 17:18:26 [notice] 198244#198244: start worker processes +2025/09/02 17:18:26 [debug] 198244#198244: channel 6:7 +2025/09/02 17:18:26 [notice] 198244#198244: start worker process 198245 +2025/09/02 17:18:26 [debug] 198244#198244: sigsuspend +2025/09/02 17:18:26 [debug] 198245#198245: add cleanup: 000061A39E790260 +2025/09/02 17:18:26 [debug] 198245#198245: malloc: 000061A39E72EBD0:8 +2025/09/02 17:18:26 [debug] 198245#198245: notify eventfd: 9 +2025/09/02 17:18:26 [debug] 198245#198245: testing the EPOLLRDHUP flag: success +2025/09/02 17:18:26 [debug] 198245#198245: malloc: 000061A39E742FF0:6144 +2025/09/02 17:18:26 [debug] 198245#198245: malloc: 000072727B4FC010:237568 +2025/09/02 17:18:26 [debug] 198245#198245: malloc: 000061A39E794160:98304 +2025/09/02 17:18:26 [debug] 198245#198245: malloc: 000061A39E7AC170:98304 +2025/09/02 17:18:26 [debug] 198245#198245: epoll add event: fd:5 op:1 ev:00002001 +2025/09/02 17:18:26 [debug] 198245#198245: epoll add event: fd:7 op:1 ev:00002001 +2025/09/02 17:18:26 [debug] 198245#198245: setproctitle: "nginx: worker process" +2025/09/02 17:18:26 [debug] 198245#198245: worker cycle +2025/09/02 17:18:26 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:18:33 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:18:33 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:18:33 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:18:33 [debug] 198245#198245: *1 accept: 127.0.0.1:60660 fd:6 +2025/09/02 17:18:33 [debug] 198245#198245: *1 event timer add: 6: 60000:101674168 +2025/09/02 17:18:33 [debug] 198245#198245: *1 reusable connection: 1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:18:33 [debug] 198245#198245: timer delta: 7451 +2025/09/02 17:18:33 [debug] 198245#198245: worker cycle +2025/09/02 17:18:33 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:18:33 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http wait request handler +2025/09/02 17:18:33 [debug] 198245#198245: *1 malloc: 000061A39E7300A0:1024 +2025/09/02 17:18:33 [debug] 198245#198245: *1 recv: eof:0, avail:-1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 recv: fd:6 331 of 1024 +2025/09/02 17:18:33 [debug] 198245#198245: *1 reusable connection: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http process request line +2025/09/02 17:18:33 [debug] 198245#198245: *1 http request line: "PUT /e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5 HTTP/1.1" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http uri: "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http args: "" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http exten: "" +2025/09/02 17:18:33 [debug] 198245#198245: *1 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http process request header line +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header: "Host: localhost:9001" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header: "Accept: */*" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header: "Content-Type: application/octet-stream" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header: "Authorization: a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header: "Content-Length: 46" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http header done +2025/09/02 17:18:33 [debug] 198245#198245: *1 event timer del: 6: 101674168 +2025/09/02 17:18:33 [debug] 198245#198245: *1 generic phase: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 rewrite phase: 1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 test location: "/media" +2025/09/02 17:18:33 [debug] 198245#198245: *1 test location: "/debug/list" +2025/09/02 17:18:33 [debug] 198245#198245: *1 test location: "/health" +2025/09/02 17:18:33 [debug] 198245#198245: *1 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:18:33 [debug] 198245#198245: *1 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:18:33 [debug] 198245#198245: *1 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http cl:46 max:104857600 +2025/09/02 17:18:33 [debug] 198245#198245: *1 rewrite phase: 3 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script var +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script var: "PUT" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script value: "DELETE" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script equal +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script equal: no +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script if +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script if: false +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script var +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script var: "PUT" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script value: "HEAD" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script equal +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script equal: no +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script if +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script if: false +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script var +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script var: "PUT" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script value: "GET" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script not equal +2025/09/02 17:18:33 [debug] 198245#198245: *1 http script if +2025/09/02 17:18:33 [debug] 198245#198245: *1 http finalize request: 405, "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" a:1, c:1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http special response: 405, "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http set discard body +2025/09/02 17:18:33 [debug] 198245#198245: *1 HTTP/1.1 405 Not Allowed 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 +Date: Tue, 02 Sep 2025 21:18:33 GMT Content-Type: text/html -Content-Length: 162 +Content-Length: 166 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 +2025/09/02 17:18:33 [debug] 198245#198245: *1 write new buf t:1 f:0 000061A39E744BE0, pos 000061A39E744BE0, size: 166 file: 0, size: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http write filter: l:0 f:0 s:166 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http output filter "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http copy filter: "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http postpone filter "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" 000061A39E74F468 +2025/09/02 17:18:33 [debug] 198245#198245: *1 write old buf t:1 f:0 000061A39E744BE0, pos 000061A39E744BE0, size: 166 file: 0, size: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 write new buf t:0 f:0 0000000000000000, pos 000061A36556B500, size: 104 file: 0, size: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 write new buf t:0 f:0 0000000000000000, pos 000061A36556BC80, size: 62 file: 0, size: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http write filter: l:1 f:0 s:332 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http write filter limit 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 writev: 332 of 332 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http write filter 0000000000000000 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http copy filter: 0 "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" +2025/09/02 17:18:33 [debug] 198245#198245: *1 http finalize request: 0, "/e787257edcb1ebab94a1d8dd0984d041d3959cbfd132daa4ca5da412909a82a5?" a:1, c:1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 set http keepalive handler +2025/09/02 17:18:33 [debug] 198245#198245: *1 http close request +2025/09/02 17:18:33 [debug] 198245#198245: *1 http log handler +2025/09/02 17:18:33 [debug] 198245#198245: *1 free: 000061A39E74E490, unused: 8 +2025/09/02 17:18:33 [debug] 198245#198245: *1 free: 000061A39E744800, unused: 2408 +2025/09/02 17:18:33 [debug] 198245#198245: *1 free: 000061A39E7300A0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 hc free: 0000000000000000 +2025/09/02 17:18:33 [debug] 198245#198245: *1 hc busy: 0000000000000000 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 tcp_nodelay +2025/09/02 17:18:33 [debug] 198245#198245: *1 reusable connection: 1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 event timer add: 6: 65000:101679168 +2025/09/02 17:18:33 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:18:33 [debug] 198245#198245: worker cycle +2025/09/02 17:18:33 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:18:33 [debug] 198245#198245: epoll: fd:6 ev:2001 d:000072727B4FC1E0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 http keepalive handler +2025/09/02 17:18:33 [debug] 198245#198245: *1 malloc: 000061A39E7300A0:1024 +2025/09/02 17:18:33 [debug] 198245#198245: *1 recv: eof:1, avail:-1 +2025/09/02 17:18:33 [debug] 198245#198245: *1 recv: fd:6 0 of 1024 +2025/09/02 17:18:33 [info] 198245#198245: *1 client 127.0.0.1 closed keepalive connection +2025/09/02 17:18:33 [debug] 198245#198245: *1 close http connection: 6 +2025/09/02 17:18:33 [debug] 198245#198245: *1 event timer del: 6: 101679168 +2025/09/02 17:18:33 [debug] 198245#198245: *1 reusable connection: 0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 free: 000061A39E7300A0 +2025/09/02 17:18:33 [debug] 198245#198245: *1 free: 000061A39E72D840, unused: 136 +2025/09/02 17:18:33 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:18:33 [debug] 198245#198245: worker cycle +2025/09/02 17:18:33 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:18 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:18 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *2 accept: 127.0.0.1:36860 fd:6 +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer add: 6: 60000:101778816 +2025/09/02 17:20:18 [debug] 198245#198245: *2 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 104647 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http wait request handler +2025/09/02 17:20:18 [debug] 198245#198245: *2 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:6 925 of 1024 +2025/09/02 17:20:18 [debug] 198245#198245: *2 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http process request line +2025/09/02 17:20:18 [debug] 198245#198245: *2 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http uri: "/upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http args: "" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http exten: "" +2025/09/02 17:20:18 [debug] 198245#198245: *2 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http process request header line +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header: "Host: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header: "Accept: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI5MjI2YjQ3YTU2ZTA5MzkwZWIwN2I4OGMxOThlOGNkMzNjZmZhZjI3ODZmN2M1ZjExNjhjY2EwMThmY2IyZGU4IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgwMTgsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJiMGNjOWEwMmM3NTYyZGU1MGVmNWFlZDdlZDViOWY5Njc0ZTQ0MjA2MTM0OGVhOGVmNDY5Yzk5NmY4ZDNjZjJmIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTYxOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImM0YzhiMzc5N2NmMWZiYmMzNTA2ODM0YmNlOGI5YTY1ZjI3Y2I3ZjFlM2NiYzk2MTlmODZhODY2NmVhMTUxOWZmZmNjY2ZhNjRlN2FhNzIzZDA5YWM3MTdjZGU0YzI1ZWNjZDBlYTQ3YTYzNzY2ZTM0YWMzYzNhMzViOTZkZDAyIn0=" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header: "Content-Type: text/plain" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header: "Content-Length: 155" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http header done +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer del: 6: 101778816 +2025/09/02 17:20:18 [debug] 198245#198245: *2 generic phase: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 rewrite phase: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *2 test location: "/report" +2025/09/02 17:20:18 [debug] 198245#198245: *2 test location: "/upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 using configuration "=/upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http cl:155 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *2 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "PUT" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:20:18 [notice] 198245#198245: *2 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *2 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *2 generic phase: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *2 generic phase: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *2 generic phase: 7 +2025/09/02 17:20:18 [debug] 198245#198245: *2 access phase: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 access phase: 9 +2025/09/02 17:20:18 [debug] 198245#198245: *2 access phase: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *2 post access phase: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *2 generic phase: 12 +2025/09/02 17:20:18 [debug] 198245#198245: *2 generic phase: 13 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http client request body preread 155 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http request body content length filter +2025/09/02 17:20:18 [debug] 198245#198245: *2 http body new buf t:1 f:0 000061A39E7303A2, pos 000061A39E7303A2, size: 155 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http init upstream, client timer: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "QUERY_STRING" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "QUERY_STRING: " +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "REQUEST_METHOD" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "PUT" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "CONTENT_TYPE" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "text/plain" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "CONTENT_LENGTH" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "155" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "CONTENT_LENGTH: 155" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SCRIPT_NAME" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "/upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "REQUEST_URI" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "/upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "DOCUMENT_URI" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "/upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "REQUEST_SCHEME" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "http" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "CGI/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "nginx/" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "1.18.0" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "REMOTE_ADDR" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "REMOTE_PORT" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "36860" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "REMOTE_PORT: 36860" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SERVER_ADDR" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SERVER_PORT" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SERVER_NAME" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "localhost" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "REDIRECT_STATUS" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "200" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script var: "./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http script copy: "/ginxsom.fcgi" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI5MjI2YjQ3YTU2ZTA5MzkwZWIwN2I4OGMxOThlOGNkMzNjZmZhZjI3ODZmN2M1ZjExNjhjY2EwMThmY2IyZGU4IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgwMTgsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCJiMGNjOWEwMmM3NTYyZGU1MGVmNWFlZDdlZDViOWY5Njc0ZTQ0MjA2MTM0OGVhOGVmNDY5Yzk5NmY4ZDNjZjJmIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTYxOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImM0YzhiMzc5N2NmMWZiYmMzNTA2ODM0YmNlOGI5YTY1ZjI3Y2I3ZjFlM2NiYzk2MTlmODZhODY2NmVhMTUxOWZmZmNjY2ZhNjRlN2FhNzIzZDA5YWM3MTdjZGU0YzI1ZWNjZDBlYTQ3YTYzNzY2ZTM0YWMzYzNhMzViOTZkZDAyIn0=" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:20:18 [debug] 198245#198245: *2 fastcgi param: "HTTP_CONTENT_LENGTH: 155" +2025/09/02 17:20:18 [debug] 198245#198245: *2 posix_memalign: 000061A39E737140:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http cleanup add: 000061A39E7457E8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 get rr peer, try: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 stream socket 10 +2025/09/02 17:20:18 [debug] 198245#198245: *2 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:20:18 [debug] 198245#198245: *2 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #3 +2025/09/02 17:20:18 [debug] 198245#198245: *2 connected +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream connect: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream send request +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream send request body +2025/09/02 17:20:18 [debug] 198245#198245: *2 chain writer buf fl:0 s:1224 +2025/09/02 17:20:18 [debug] 198245#198245: *2 chain writer buf fl:0 s:155 +2025/09/02 17:20:18 [debug] 198245#198245: *2 chain writer buf fl:0 s:13 +2025/09/02 17:20:18 [debug] 198245#198245: *2 chain writer in: 000061A39E737278 +2025/09/02 17:20:18 [debug] 198245#198245: *2 writev: 1392 of 1392 +2025/09/02 17:20:18 [debug] 198245#198245: *2 chain writer out: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer add: 10: 60000:101778816 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http request count:2 blk:0 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http run request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream check client, write event:1, "/upload" +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 malloc: 000061A39E738150:4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 1176 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 8E +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 02 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 142 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "LOG: [2025-09-02 17:20:18] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:20:18] PUT /upload - Auth: auth_provided - Status: 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 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f ═══════════════════════════════════════════════════════════════════ -🔍 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: { +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "hod: upload, hash: b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756848018,"tags":[["t","upload"],["x","b0cc9a02c7562de50ef5aed7ed5b9f9674e" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 1536 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "442061348ea8ef469c996f8d3cf2f"],["expiration","1756851618"]],"content":"","sig":"c4c8b3797cf1fbbc3506834bce8b9a65f27cb7f1e3cbc9619f86a8666ea1519fffcccfa64e7aa723d09ac717cde4c25eccd0ea47a63766e34ac3c3a35b96dd02"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { "kind": 24242, - "id": "ecb067331c17b820640e20df2b196c177784bb5ddab8e00eec279240bc4a9116", + "id": "9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8", "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", - "created_at": 1756837376, - "tags": [["t", "upload"], ["x", "52d7920725bbbd86d54a7802a45c0c39fa8158705436fc57d7c4fb4be1ce75f1"], ["expiration", "1756840975"]], + "created_at": 1756848018, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: " ["x", "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f"], ["expiration", "1756851618"]], "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" + "sig": "c4c8b3797cf1fbbc3506834bce8b9a65f27cb7f1e3cbc9619f86a8666ea1519fffcccfa64e7aa723d09ac717cde4c25eccd0ea47a63766e34ac3c3a35b96dd02" } -🔍 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): +STEP SERVER-4: Event fields before validation +ℹINFO: id: 9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8 +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: c4c8b3797cf1fb" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "bc3506834bce8b9a65f27cb7f1e3cbc9619f86a8666ea1519fffcccfa64e7aa723d09ac717cde4c25eccd0ea47a63766e34ac3c3a35b96dd02 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756848018 +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: 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: +STEP SERVER-6: Pre-validation pubkey analysis +ℹINFO: 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 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 512 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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 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 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 2048 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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 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.....| +STEP STRUCT-1: Starting detailed" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8' (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: 'c4c8b3797cf1fbbc3506834bce8b9a65f27cb7f1e3cbc9619f86a" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "8666ea1519fffcccfa64e7aa723d09ac717cde4c25eccd0ea47a63766e34ac3c3a35b96dd02' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 2560 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756848018 +SUCCESS: Timestamp is valid: 2025-09-02 21:20:18 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' +ℹINFO: Tag[1][1]: 'b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851618' +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 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 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 92 26 b4 7a 56 e0 93 90 eb 07 b8 8c 19 8e 8c d3 |.&.zV...........| + 3c ff af 27 86 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 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "7 c5 f1 16 8c ca 01 8f cb 2d e8 |<..'..........-.| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8 +ℹINFO: Provided ID: 9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8 +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 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 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "b 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 +SUCCESS: Signature hex converted to bytes +ℹINFO: Signature bytes ( c4 c8 b3 79 7c f1 fb bc 35 06 83 4b ce 8b 9a 65 |...y|...5..K...e| + f2 7c b7 f1 e3 cb c9 61 9f 86 a8 66 6e a1 51 9f |.|.....a...fn.Q.| + ff cc cf a6 4e 7a a7 23 d0 9a c7 17 cd e4 c2 5e |....Nz.#.......^| + cc d0 ea 47 a6 37 66 e3 4a c3 c3 a3 5b 96 dd 02 |...G.7f.J...[...| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 1536 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "ignature() +ℹ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 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 +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '9226b47a56e09390eb07b88c198e8cd33cffaf2786f7c5f1168cca018fcb2de8' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756848018 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: 'c4c8b3797cf1fbbc3506834bce8b9a65f27cb7f1e3cbc9619f86a8666ea1519fffcccfa64e7aa723d09ac717cde4c25eccd0ea47a63766e34ac3c3a35b96dd02' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59997 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream request: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:10 384 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 1C +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 04 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 28 +2025/09/02 17:20:18 [error] 198245#198245: *2 FastCGI sent in stderr: "ticate_request returned: 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 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 06 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 2D +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 03 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 301 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi parser: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi header: "Status: 200 OK" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi parser: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi parser: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi header done +2025/09/02 17:20:18 [debug] 198245#198245: *2 HTTP/1.1 200 OK Server: nginx/1.18.0 (Ubuntu) -Date: Tue, 02 Sep 2025 18:22:56 GMT +Date: Tue, 02 Sep 2025 21:20:18 GMT Content-Type: application/json Transfer-Encoding: chunked Connection: keep-alive @@ -13674,2564 +12962,4329 @@ 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 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write new buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http write filter: l:0 f:0 s:260 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http cacheable: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream process upstream +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe read upstream: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe preread: 278 +2025/09/02 17:20:18 [debug] 198245#198245: *2 readv: eof:1, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 readv: 1, last:3712 +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe recv chain: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe buf free s:0 t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 278 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe length: -1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 input buf #0 000061A39E7381BA +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 06 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi closed stdout +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 03 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 08 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi record length: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http fastcgi sent end request +2025/09/02 17:20:18 [debug] 198245#198245: *2 input buf 000061A39E7381BA 251 +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe write downstream: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe write downstream flush in +2025/09/02 17:20:18 [debug] 198245#198245: *2 http output filter "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http copy filter: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http postpone filter "/upload?" 000061A39E737248 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http chunk: 251 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write old buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write new buf t:1 f:0 000061A39E737880, pos 000061A39E737880, size: 4 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write new buf t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 251 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http write filter: l:0 f:0 s:517 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http copy filter: 0 "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 pipe write downstream done +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer: 10, old: 101778816, new: 101778822 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream exit: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *2 finalize http upstream request: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 finalize http fastcgi request +2025/09/02 17:20:18 [debug] 198245#198245: *2 free rr peer 1 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 close http upstream connection: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E716F20, unused: 48 +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer del: 10: 101778816 +2025/09/02 17:20:18 [debug] 198245#198245: *2 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http upstream temp fd: -1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http output filter "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http copy filter: "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http postpone filter "/upload?" 00007FFCF0F11BF0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http chunk: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write old buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write old buf t:1 f:0 000061A39E737880, pos 000061A39E737880, size: 4 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write old buf t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 251 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write old buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E5, size: 5 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http write filter: l:1 f:0 s:522 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http write filter limit 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 writev: 522 of 522 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http write filter 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http copy filter: 0 "/upload?" +2025/09/02 17:20:18 [debug] 198245#198245: *2 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 set http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *2 http close request +2025/09/02 17:20:18 [debug] 198245#198245: *2 http log handler +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E738150 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E74E490, unused: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E744800, unused: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E737140, unused: 1770 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 hc free: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *2 hc busy: 0000000000000000 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 tcp_nodelay +2025/09/02 17:20:18 [debug] 198245#198245: *2 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer add: 6: 65000:101783822 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 3 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *2 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *2 recv: fd:6 0 of 1024 +2025/09/02 17:20:18 [info] 198245#198245: *2 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:18 [debug] 198245#198245: *2 close http connection: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *2 event timer del: 6: 101783822 +2025/09/02 17:20:18 [debug] 198245#198245: *2 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *2 free: 000061A39E72D840, unused: 120 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:18 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:18 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *4 accept: 127.0.0.1:36874 fd:6 +2025/09/02 17:20:18 [debug] 198245#198245: *4 event timer add: 6: 60000:101778828 +2025/09/02 17:20:18 [debug] 198245#198245: *4 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *4 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 5 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http wait request handler +2025/09/02 17:20:18 [debug] 198245#198245: *4 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *4 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *4 recv: fd:6 146 of 1024 +2025/09/02 17:20:18 [debug] 198245#198245: *4 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http process request line +2025/09/02 17:20:18 [debug] 198245#198245: *4 http request line: "GET /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http uri: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http args: "" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http exten: "txt" +2025/09/02 17:20:18 [debug] 198245#198245: *4 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http process request header line +2025/09/02 17:20:18 [debug] 198245#198245: *4 http header: "Host: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http header: "Accept: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http header done +2025/09/02 17:20:18 [debug] 198245#198245: *4 event timer del: 6: 101778828 +2025/09/02 17:20:18 [debug] 198245#198245: *4 generic phase: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 rewrite phase: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *4 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *4 test location: "/debug/list" +2025/09/02 17:20:18 [debug] 198245#198245: *4 test location: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *4 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:18 [debug] 198245#198245: *4 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *4 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http cl:-1 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *4 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script var: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script value: "DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script var: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script value: "HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script var: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script value: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script not equal +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script not equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *4 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *4 generic phase: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *4 generic phase: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *4 generic phase: 7 +2025/09/02 17:20:18 [debug] 198245#198245: *4 access phase: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *4 access phase: 9 +2025/09/02 17:20:18 [debug] 198245#198245: *4 access phase: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *4 post access phase: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *4 generic phase: 12 +2025/09/02 17:20:18 [debug] 198245#198245: *4 try files handler +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http script copy: ".txt" +2025/09/02 17:20:18 [debug] 198245#198245: *4 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" +2025/09/02 17:20:18 [debug] 198245#198245: *4 try file uri: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" +2025/09/02 17:20:18 [debug] 198245#198245: *4 generic phase: 13 +2025/09/02 17:20:18 [debug] 198245#198245: *4 content phase: 14 +2025/09/02 17:20:18 [debug] 198245#198245: *4 content phase: 15 +2025/09/02 17:20:18 [debug] 198245#198245: *4 content phase: 16 +2025/09/02 17:20:18 [debug] 198245#198245: *4 content phase: 17 +2025/09/02 17:20:18 [debug] 198245#198245: *4 content phase: 18 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http filename: "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" +2025/09/02 17:20:18 [debug] 198245#198245: *4 add cleanup: 000061A39E744BE0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http static fd: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http set discard body +2025/09/02 17:20:18 [debug] 198245#198245: *4 HTTP/1.1 200 OK 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 +Date: Tue, 02 Sep 2025 21:20:18 GMT Content-Type: text/plain -Content-Length: 296 -Last-Modified: Tue, 02 Sep 2025 17:59:11 GMT +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 21:20:18 GMT Connection: keep-alive -ETag: "68b7306f-128" +ETag: "68b75f92-9b" 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 +2025/09/02 17:20:18 [debug] 198245#198245: *4 write new buf t:1 f:0 000061A39E744DD0, pos 000061A39E744DD0, size: 299 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http write filter: l:0 f:0 s:299 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http output filter "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http copy filter: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http postpone filter "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" 00007FFCF0F11AE0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 write old buf t:1 f:0 000061A39E744DD0, pos 000061A39E744DD0, size: 299 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http write filter: l:1 f:0 s:454 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http write filter limit 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 tcp_nopush +2025/09/02 17:20:18 [debug] 198245#198245: *4 writev: 299 of 299 +2025/09/02 17:20:18 [debug] 198245#198245: *4 sendfile: @0 155 +2025/09/02 17:20:18 [debug] 198245#198245: *4 sendfile: 155 of 155 @0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http write filter 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http copy filter: 0 "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *4 http finalize request: 0, "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" a:1, c:1 +2025/09/02 17:20:18 [debug] 198245#198245: *4 set http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *4 http close request +2025/09/02 17:20:18 [debug] 198245#198245: *4 http log handler +2025/09/02 17:20:18 [debug] 198245#198245: *4 run cleanup: 000061A39E744BE0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 file cleanup: fd:10 +2025/09/02 17:20:18 [debug] 198245#198245: *4 free: 000061A39E74E490, unused: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *4 free: 000061A39E744800, unused: 1932 +2025/09/02 17:20:18 [debug] 198245#198245: *4 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 hc free: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *4 hc busy: 0000000000000000 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *4 event timer add: 6: 65000:101783828 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:2001 d:000072727B4FC1E0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *4 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *4 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *4 recv: fd:6 0 of 1024 +2025/09/02 17:20:18 [info] 198245#198245: *4 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:18 [debug] 198245#198245: *4 close http connection: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *4 event timer del: 6: 101783828 +2025/09/02 17:20:18 [debug] 198245#198245: *4 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *4 free: 000061A39E72D840, unused: 136 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:18 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:18 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *5 accept: 127.0.0.1:36880 fd:6 +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer add: 6: 60000:101779166 +2025/09/02 17:20:18 [debug] 198245#198245: *5 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 337 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http wait request handler +2025/09/02 17:20:18 [debug] 198245#198245: *5 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:6 784 of 1024 +2025/09/02 17:20:18 [debug] 198245#198245: *5 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http process request line +2025/09/02 17:20:18 [debug] 198245#198245: *5 http request line: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http uri: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http args: "" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http exten: "" +2025/09/02 17:20:18 [debug] 198245#198245: *5 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http process request header line +2025/09/02 17:20:18 [debug] 198245#198245: *5 http header: "Host: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http header: "Accept: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIzN2RkZjdkNmU3Y2FjMGEzYWJkN2UyNDRjZmI0ZDUwMGM0YTRkMDEwYTAyMGY2NWE2YWVkMmU2OTE2OWJiYTNlIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgwMTgsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCJiMGNjOWEwMmM3NTYyZGU1MGVmNWFlZDdlZDViOWY5Njc0ZTQ0MjA2MTM0OGVhOGVmNDY5Yzk5NmY4ZDNjZjJmIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTYxOCJdXSwiY29udGVudCI6IiIsInNpZyI6IjkyMTQ5N2RkYzYyZTJlNTdmNTk5N2IzOThlMjU4YzYwYjgyM2Y3NTRjMzFhOTUzZGRlZDhhNmU0NmZhYTdhNGI1NDE5Y2QwOTk3ZTExNDYwYTY3YTZkZDNmNTJlOTcxZGQ1NDM5MDZlMzI4NzMxNmM2ZjRlM2I0ODJmZDFiNGJiIn0=" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http header done +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer del: 6: 101779166 +2025/09/02 17:20:18 [debug] 198245#198245: *5 generic phase: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 rewrite phase: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: "/debug/list" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http cl:-1 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *5 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script value: "DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script regex: "^/(.*)$" +2025/09/02 17:20:18 [notice] 198245#198245: *5 "^/(.*)$" matches "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f", client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "/fcgi-delete/" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script regex end +2025/09/02 17:20:18 [notice] 198245#198245: *5 rewritten data: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *5 uri changes: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: "/debug/list" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: "/health" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http cl:-1 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *5 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *5 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *5 generic phase: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *5 generic phase: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *5 generic phase: 7 +2025/09/02 17:20:18 [debug] 198245#198245: *5 access phase: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 access phase: 9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 access phase: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *5 post access phase: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *5 generic phase: 12 +2025/09/02 17:20:18 [debug] 198245#198245: *5 generic phase: 13 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http init upstream, client timer: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "QUERY_STRING" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "QUERY_STRING: " +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "REQUEST_METHOD" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "CONTENT_TYPE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "CONTENT_LENGTH" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SCRIPT_NAME" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SCRIPT_NAME: /fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "REQUEST_URI" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "REQUEST_URI: /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "DOCUMENT_URI" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "DOCUMENT_URI: /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "REQUEST_SCHEME" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "http" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "CGI/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "nginx/" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "1.18.0" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "REMOTE_ADDR" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "REMOTE_PORT" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "36880" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "REMOTE_PORT: 36880" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SERVER_ADDR" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SERVER_PORT" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SERVER_NAME" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "localhost" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "REDIRECT_STATUS" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "200" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script var: "./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http script copy: "/ginxsom.fcgi" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *5 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIzN2RkZjdkNmU3Y2FjMGEzYWJkN2UyNDRjZmI0ZDUwMGM0YTRkMDEwYTAyMGY2NWE2YWVkMmU2OTE2OWJiYTNlIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgwMTgsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCJiMGNjOWEwMmM3NTYyZGU1MGVmNWFlZDdlZDViOWY5Njc0ZTQ0MjA2MTM0OGVhOGVmNDY5Yzk5NmY4ZDNjZjJmIl0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTYxOCJdXSwiY29udGVudCI6IiIsInNpZyI6IjkyMTQ5N2RkYzYyZTJlNTdmNTk5N2IzOThlMjU4YzYwYjgyM2Y3NTRjMzFhOTUzZGRlZDhhNmU0NmZhYTdhNGI1NDE5Y2QwOTk3ZTExNDYwYTY3YTZkZDNmNTJlOTcxZGQ1NDM5MDZlMzI4NzMxNmM2ZjRlM2I0ODJmZDFiNGJiIn0=" +2025/09/02 17:20:18 [debug] 198245#198245: *5 posix_memalign: 000061A39E737140:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http cleanup add: 000061A39E7457D8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 get rr peer, try: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 stream socket 10 +2025/09/02 17:20:18 [debug] 198245#198245: *5 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:20:18 [debug] 198245#198245: *5 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #6 +2025/09/02 17:20:18 [debug] 198245#198245: *5 connected +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream connect: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream send request +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream send request body +2025/09/02 17:20:18 [debug] 198245#198245: *5 chain writer buf fl:0 s:1352 +2025/09/02 17:20:18 [debug] 198245#198245: *5 chain writer in: 000061A39E7457F0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 writev: 1352 of 1352 +2025/09/02 17:20:18 [debug] 198245#198245: *5 chain writer out: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer add: 10: 60000:101779166 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http finalize request: -4, "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" a:1, c:2 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http request count:2 blk:0 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http run request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream check client, write event:1, "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *5 malloc: 000061A39E738150:4096 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:10 2560 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "LOG: [2025-09-02 17:20:18] DELETE /delete - Auth: pending - Status: 0 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with method: delete, hash: b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f +STEP SERVER-2: Calling" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756848018,"tags":[["t","delete"],["x","b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f"],["expiration","1756851618"]],"content":"","sig":"921497ddc62e2e57f5997b398e" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "258c60b823f754c31a953dded8a6e46faa7a4b5419cd0997e11460a67a6dd3f52e971dd543906e3287316c6f4e3b482fd1b4bb"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756848018, + "tags": [["t", "delete"], ["x", "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f"], ["expiration", "1756851618"]]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: " "content": "", + "sig": "921497ddc62e2e57f5997b398e258c60b823f754c31a953dded8a6e46faa7a4b5419cd0997e11460a67a6dd3f52e971dd543906e3287316c6f4e3b482fd1b4bb" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 921497ddc62e2e57f5997b398e258c60b823f754c31a953dded8a6e46faa7a4b5419cd0997e11460a67a6dd3f52e971dd543906e3287316c6f4e3b482" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "fd1b4bb +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756848018 +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: Length: ℹINFO: Character an" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:10 3584 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "alysis (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 returned: 0 (Success) +SUCCESS: Crypto verification PASSED +ℹINFO: Testing co" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "mplete validation... +ℹ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 existence +S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "UCCESS: 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' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: " hex string lengths +ℹINFO: ID string: '37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e' (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: '921497ddc62e2e57f5997b398e258c60b823f754c31a953dded8a6e46faa7a4b5419cd0997e11460a67a6dd3f52e971dd543906e3287316c6f4e3b482fd1b4bb' (length: SUCCESS: Signature st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "ring 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) +STEP STRUCT-6: Validating timestamp +ℹINFO: Created_at timestamp: 1756848018 +SUCCESS: Timestamp is valid: 2025-09-02 21:20:18 UTC +STEP STRUCT" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "-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]: 'delete' +ℹINFO: Tag[1] has 2 elements +ℹINFO: Tag[1][0]: 'x' +ℹINFO: Tag[1][1]: 'b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f' +ℹINFO: Tag[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851618' +SUCCESS: Tags array st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "ructure 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 validation +═══════════════════════════════════════════════════════════════════ +STEP CRYPTO-1: Starting detailed sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:10 2560 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "nature 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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 37 dd f7 d6 e7 ca c0 a3 ab d7 e2 44 cf b4 d5 00 |7..........D....| + c4 a4 d0 10 a0 20 f6 5a 6a ed 2e 69 16 9b ba 3e |..... .Zj..i...>| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated I" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "D: 37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e +ℹINFO: Provided ID: 37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e +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: Sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "nature hex converted to bytes +ℹINFO: Signature bytes ( 92 14 97 dd c6 2e 2e 57 f5 99 7b 39 8e 25 8c 60 |.......W..{9.%.`| + b8 23 f7 54 c3 1a 95 3d de d8 a6 e4 6f aa 7a 4b |.#.T...=....o.zK| + 54 19 cd 09 97 e1 14 60 a6 7a 6d d3 f5 2e 97 1d |T......`.zm.....| + d5 43 90 6e 32 87 31 6c 6f 4e 3b 48 2f d1 b4 bb |.C.n2.1loN;H/...| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹINFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹINFO: nostr_ve" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "rify_event_signature returned: 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': +ℹINFO: Typ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "e: String +ℹINFO: Value: '37ddf7d6e7cac0a3abd7e244cfb4d500c4a4d010a020f65a6aed2e69169bba3e' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756848018 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +ℹINFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:10 1024 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '921497ddc62e2e57f5997b398e258c60b823f754c31a953dded8a6e46faa7a4b5419cd0997e11460a67a6dd3f52e971dd543906e3287316c6f4e3b482fd1b4bb' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +DELETE DEBUG: auth_pubkey extracted from request: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: F8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 504 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: "LETE DEBUG: database query results - uploader_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type: 'text/plain' +DELETE DEBUG: copied strings - uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type_copy: 'text/plain' +DELETE DEBUG: ownership check - auth_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DELETE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:0, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59997 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C9 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream request: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:10 544 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 3F +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 319 +2025/09/02 17:20:18 [error] 198245#198245: *5 FastCGI sent in stderr: " DEBUG: uploader_pubkey_copy[0]: 55, strcmp result: 0 +DELETE DEBUG: ownership check PASSED - proceeding with delete +DELETE DEBUG: Successfully deleted physical file blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt +LOG: [2025-09-02 17:20:18] DELETE /delete - Auth: authenticated - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 06 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: AF +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 175 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi parser: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi header: "Status: 200 OK" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi parser: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi parser: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi header done +2025/09/02 17:20:18 [debug] 198245#198245: *5 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 +Date: Tue, 02 Sep 2025 21:20:18 GMT +Content-Type: application/json +Transfer-Encoding: chunked Connection: keep-alive -ETag: "68b7306f-128" +X-Content-Type-Options: nosniff +X-Frame-Options: DENY +X-XSS-Protection: 1; mode=block + +2025/09/02 17:20:18 [debug] 198245#198245: *5 write new buf t:1 f:0 000061A39E737460, pos 000061A39E737460, size: 260 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http write filter: l:0 f:0 s:260 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http cacheable: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream process upstream +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe read upstream: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe preread: 150 +2025/09/02 17:20:18 [debug] 198245#198245: *5 readv: eof:1, avail:0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 readv: 1, last:3552 +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe recv chain: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe buf free s:0 t:1 f:0 000061A39E738150, pos 000061A39E7382DA, size: 150 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe length: -1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 input buf #0 000061A39E7382DA +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 06 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi closed stdout +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 03 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 08 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi record length: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http fastcgi sent end request +2025/09/02 17:20:18 [debug] 198245#198245: *5 input buf 000061A39E7382DA 125 +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe write downstream: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe write downstream flush in +2025/09/02 17:20:18 [debug] 198245#198245: *5 http output filter "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http copy filter: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http postpone filter "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" 000061A39E737690 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http chunk: 125 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write old buf t:1 f:0 000061A39E737460, pos 000061A39E737460, size: 260 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write new buf t:1 f:0 000061A39E7377E8, pos 000061A39E7377E8, size: 4 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write new buf t:1 f:0 000061A39E738150, pos 000061A39E7382DA, size: 125 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http write filter: l:0 f:0 s:391 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http copy filter: 0 "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 pipe write downstream done +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer: 10, old: 101779166, new: 101779171 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream exit: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *5 finalize http upstream request: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 finalize http fastcgi request +2025/09/02 17:20:18 [debug] 198245#198245: *5 free rr peer 1 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 close http upstream connection: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E716F20, unused: 48 +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer del: 10: 101779166 +2025/09/02 17:20:18 [debug] 198245#198245: *5 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http upstream temp fd: -1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http output filter "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http copy filter: "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http postpone filter "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" 00007FFCF0F11BF0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http chunk: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write old buf t:1 f:0 000061A39E737460, pos 000061A39E737460, size: 260 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write old buf t:1 f:0 000061A39E7377E8, pos 000061A39E7377E8, size: 4 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write old buf t:1 f:0 000061A39E738150, pos 000061A39E7382DA, size: 125 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write old buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E5, size: 5 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http write filter: l:1 f:0 s:396 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http write filter limit 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 writev: 396 of 396 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http write filter 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http copy filter: 0 "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *5 http finalize request: 0, "/fcgi-delete/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" a:1, c:1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 set http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *5 http close request +2025/09/02 17:20:18 [debug] 198245#198245: *5 http log handler +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E738150 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E74E490, unused: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E744800, unused: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E737140, unused: 1845 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 hc free: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *5 hc busy: 0000000000000000 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 tcp_nodelay +2025/09/02 17:20:18 [debug] 198245#198245: *5 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer add: 6: 65000:101784171 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *5 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *5 recv: fd:6 0 of 1024 +2025/09/02 17:20:18 [info] 198245#198245: *5 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:18 [debug] 198245#198245: *5 close http connection: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *5 event timer del: 6: 101784171 +2025/09/02 17:20:18 [debug] 198245#198245: *5 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *5 free: 000061A39E72D840, unused: 120 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:18 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:18 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *7 accept: 127.0.0.1:36882 fd:6 +2025/09/02 17:20:18 [debug] 198245#198245: *7 event timer add: 6: 60000:101779183 +2025/09/02 17:20:18 [debug] 198245#198245: *7 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 11 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http wait request handler +2025/09/02 17:20:18 [debug] 198245#198245: *7 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *7 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 recv: fd:6 146 of 1024 +2025/09/02 17:20:18 [debug] 198245#198245: *7 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http process request line +2025/09/02 17:20:18 [debug] 198245#198245: *7 http request line: "GET /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http uri: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http args: "" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http exten: "txt" +2025/09/02 17:20:18 [debug] 198245#198245: *7 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http process request header line +2025/09/02 17:20:18 [debug] 198245#198245: *7 http header: "Host: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http header: "Accept: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http header done +2025/09/02 17:20:18 [debug] 198245#198245: *7 event timer del: 6: 101779183 +2025/09/02 17:20:18 [debug] 198245#198245: *7 generic phase: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 rewrite phase: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *7 test location: "/debug/list" +2025/09/02 17:20:18 [debug] 198245#198245: *7 test location: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:18 [debug] 198245#198245: *7 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *7 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http cl:-1 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *7 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script var: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script value: "DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script var: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script value: "HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script var: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script value: "GET" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script not equal +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script not equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *7 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *7 generic phase: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *7 generic phase: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *7 generic phase: 7 +2025/09/02 17:20:18 [debug] 198245#198245: *7 access phase: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *7 access phase: 9 +2025/09/02 17:20:18 [debug] 198245#198245: *7 access phase: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *7 post access phase: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *7 generic phase: 12 +2025/09/02 17:20:18 [debug] 198245#198245: *7 try files handler +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".txt" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".jpg" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.jpg" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.jpg" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".jpeg" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.jpeg" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.jpeg" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".png" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.png" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.png" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".webp" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.webp" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.webp" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".gif" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.gif" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.gif" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".pdf" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.pdf" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.pdf" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".mp4" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.mp4" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.mp4" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".mp3" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.mp3" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.mp3" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http script copy: ".md" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.md" "./blobs/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.md" +2025/09/02 17:20:18 [debug] 198245#198245: *7 trying to use file: "=404" "./blobs=404" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http finalize request: 404, "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" a:1, c:1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http special response: 404, "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http set discard body +2025/09/02 17:20:18 [debug] 198245#198245: *7 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:20:18 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 17:20:18 [debug] 198245#198245: *7 write new buf t:1 f:0 000061A39E744BE0, pos 000061A39E744BE0, size: 164 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http write filter: l:0 f:0 s:164 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http output filter "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http copy filter: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http postpone filter "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" 000061A39E744DD0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 write old buf t:1 f:0 000061A39E744BE0, pos 000061A39E744BE0, size: 164 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 write new buf t:0 f:0 0000000000000000, pos 000061A36556B580, size: 100 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 write new buf t:0 f:0 0000000000000000, pos 000061A36556BC80, size: 62 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http write filter: l:1 f:0 s:326 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http write filter limit 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 writev: 326 of 326 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http write filter 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http copy filter: 0 "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" +2025/09/02 17:20:18 [debug] 198245#198245: *7 http finalize request: 0, "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f.txt?" a:1, c:1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 set http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *7 http close request +2025/09/02 17:20:18 [debug] 198245#198245: *7 http log handler +2025/09/02 17:20:18 [debug] 198245#198245: *7 free: 000061A39E74E490, unused: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 free: 000061A39E744800, unused: 2356 +2025/09/02 17:20:18 [debug] 198245#198245: *7 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 hc free: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *7 hc busy: 0000000000000000 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 tcp_nodelay +2025/09/02 17:20:18 [debug] 198245#198245: *7 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 event timer add: 6: 65000:101784183 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:2001 d:000072727B4FC1E0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *7 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *7 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *7 recv: fd:6 0 of 1024 +2025/09/02 17:20:18 [info] 198245#198245: *7 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:18 [debug] 198245#198245: *7 close http connection: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *7 event timer del: 6: 101784183 +2025/09/02 17:20:18 [debug] 198245#198245: *7 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *7 free: 000061A39E72D840, unused: 136 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:18 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:18 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *8 accept: 127.0.0.1:36896 fd:6 +2025/09/02 17:20:18 [debug] 198245#198245: *8 event timer add: 6: 60000:101779191 +2025/09/02 17:20:18 [debug] 198245#198245: *8 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 7 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http wait request handler +2025/09/02 17:20:18 [debug] 198245#198245: *8 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *8 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 recv: fd:6 143 of 1024 +2025/09/02 17:20:18 [debug] 198245#198245: *8 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http process request line +2025/09/02 17:20:18 [debug] 198245#198245: *8 http request line: "HEAD /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http uri: "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http args: "" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http exten: "" +2025/09/02 17:20:18 [debug] 198245#198245: *8 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http process request header line +2025/09/02 17:20:18 [debug] 198245#198245: *8 http header: "Host: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http header: "Accept: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http header done +2025/09/02 17:20:18 [debug] 198245#198245: *8 event timer del: 6: 101779191 +2025/09/02 17:20:18 [debug] 198245#198245: *8 generic phase: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 rewrite phase: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: "/debug/list" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http cl:-1 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *8 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script value: "DELETE" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script equal: no +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script if: false +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script value: "HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script equal +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script if +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script regex: "^/(.*)$" +2025/09/02 17:20:18 [notice] 198245#198245: *8 "^/(.*)$" matches "/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f", client: 127.0.0.1, server: localhost, request: "HEAD /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "/fcgi-head/" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script regex end +2025/09/02 17:20:18 [notice] 198245#198245: *8 rewritten data: "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f", args: "", client: 127.0.0.1, server: localhost, request: "HEAD /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *8 uri changes: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: "/media" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: "/debug/list" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: "/health" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 using configuration "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http cl:-1 max:104857600 +2025/09/02 17:20:18 [debug] 198245#198245: *8 rewrite phase: 3 +2025/09/02 17:20:18 [debug] 198245#198245: *8 post rewrite phase: 4 +2025/09/02 17:20:18 [debug] 198245#198245: *8 generic phase: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *8 generic phase: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *8 generic phase: 7 +2025/09/02 17:20:18 [debug] 198245#198245: *8 access phase: 8 +2025/09/02 17:20:18 [debug] 198245#198245: *8 access phase: 9 +2025/09/02 17:20:18 [debug] 198245#198245: *8 access phase: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *8 post access phase: 11 +2025/09/02 17:20:18 [debug] 198245#198245: *8 generic phase: 12 +2025/09/02 17:20:18 [debug] 198245#198245: *8 generic phase: 13 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http init upstream, client timer: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "REQUEST_METHOD" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "REQUEST_METHOD: HEAD" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "REQUEST_URI" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "/" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script capture: "b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "REQUEST_URI: /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "./blobs" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "SCRIPT_FILENAME: ./blobs/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "QUERY_STRING" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "QUERY_STRING: " +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "CONTENT_TYPE" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "CONTENT_LENGTH" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "nginx/" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "1.18.0" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "REMOTE_ADDR" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "REMOTE_PORT" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "36896" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "REMOTE_PORT: 36896" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "SERVER_ADDR" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "SERVER_PORT" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script copy: "SERVER_NAME" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http script var: "localhost" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:20:18 [debug] 198245#198245: *8 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http cleanup add: 000061A39E7454C8 +2025/09/02 17:20:18 [debug] 198245#198245: *8 get rr peer, try: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 stream socket 10 +2025/09/02 17:20:18 [debug] 198245#198245: *8 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:20:18 [debug] 198245#198245: *8 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #9 +2025/09/02 17:20:18 [debug] 198245#198245: *8 connected +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream connect: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream send request +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream send request body +2025/09/02 17:20:18 [debug] 198245#198245: *8 chain writer buf fl:0 s:512 +2025/09/02 17:20:18 [debug] 198245#198245: *8 chain writer in: 000061A39E745508 +2025/09/02 17:20:18 [debug] 198245#198245: *8 writev: 512 of 512 +2025/09/02 17:20:18 [debug] 198245#198245: *8 chain writer out: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *8 event timer add: 10: 60000:101779191 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http finalize request: -4, "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" a:1, c:2 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http request count:2 blk:0 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http run request: "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream check client, write event:1, "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f" +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream request: "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream request: "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream dummy handler +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream request: "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http upstream process header +2025/09/02 17:20:18 [debug] 198245#198245: *8 malloc: 000061A39E737140:4096 +2025/09/02 17:20:18 [debug] 198245#198245: *8 recv: eof:0, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 recv: fd:10 248 of 4096 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 7E +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 02 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record length: 126 +2025/09/02 17:20:18 [error] 198245#198245: *8 FastCGI sent in stderr: "LOG: [2025-09-02 17:20:18] HEAD /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "HEAD /b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 07 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record length: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 06 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 01 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 42 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 06 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record byte: 00 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi record length: 66 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi parser: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi header: "Status: 404 Not Found" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi parser: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi header: "Content-Type: text/plain" +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi parser: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http fastcgi header done +2025/09/02 17:20:18 [debug] 198245#198245: *8 posix_memalign: 000061A39E738150:4096 @16 +2025/09/02 17:20:18 [debug] 198245#198245: *8 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:20:18 GMT +Content-Type: text/plain +Connection: keep-alive + +2025/09/02 17:20:18 [debug] 198245#198245: *8 write new buf t:1 f:0 000061A39E738170, pos 000061A39E738170, size: 144 file: 0, size: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http write filter: l:1 f:0 s:144 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http write filter limit 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 writev: 144 of 144 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http write filter 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *8 finalize http upstream request: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 finalize http fastcgi request +2025/09/02 17:20:18 [debug] 198245#198245: *8 free rr peer 1 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 close http upstream connection: 10 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E716F20, unused: 48 +2025/09/02 17:20:18 [debug] 198245#198245: *8 event timer del: 10: 101779191 +2025/09/02 17:20:18 [debug] 198245#198245: *8 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http finalize request: 0, "/fcgi-head/b0cc9a02c7562de50ef5aed7ed5b9f9674e442061348ea8ef469c996f8d3cf2f?" a:1, c:1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 set http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *8 http close request +2025/09/02 17:20:18 [debug] 198245#198245: *8 http log handler +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E737140 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E74E490, unused: 5 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E744800, unused: 104 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E738150, unused: 3735 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 hc free: 0000000000000000 +2025/09/02 17:20:18 [debug] 198245#198245: *8 hc busy: 0000000000000000 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 tcp_nodelay +2025/09/02 17:20:18 [debug] 198245#198245: *8 reusable connection: 1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 event timer add: 6: 65000:101784192 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:18 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 http keepalive handler +2025/09/02 17:20:18 [debug] 198245#198245: *8 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:18 [debug] 198245#198245: *8 recv: eof:1, avail:-1 +2025/09/02 17:20:18 [debug] 198245#198245: *8 recv: fd:6 0 of 1024 +2025/09/02 17:20:18 [info] 198245#198245: *8 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:18 [debug] 198245#198245: *8 close http connection: 6 +2025/09/02 17:20:18 [debug] 198245#198245: *8 event timer del: 6: 101784192 +2025/09/02 17:20:18 [debug] 198245#198245: *8 reusable connection: 0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E7300A0 +2025/09/02 17:20:18 [debug] 198245#198245: *8 free: 000061A39E72D840, unused: 120 +2025/09/02 17:20:18 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:18 [debug] 198245#198245: worker cycle +2025/09/02 17:20:18 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:19 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:19 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *10 accept: 127.0.0.1:36902 fd:6 +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer add: 6: 60000:101779542 +2025/09/02 17:20:19 [debug] 198245#198245: *10 reusable connection: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 350 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http wait request handler +2025/09/02 17:20:19 [debug] 198245#198245: *10 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:6 803 of 1024 +2025/09/02 17:20:19 [debug] 198245#198245: *10 reusable connection: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http process request line +2025/09/02 17:20:19 [debug] 198245#198245: *10 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http uri: "/upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http args: "" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http exten: "" +2025/09/02 17:20:19 [debug] 198245#198245: *10 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http process request header line +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header: "Host: localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header: "Accept: */*" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI5ZTU0NmRlYTI3OTI4MGNmMWEzNmE0ZjY2MWYyODEyYmExNjlkNTExYmEzNmZjOTUzMTExZTkyMzkxMjU4NDc1IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgwMTksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTYxOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImY3NDYwNjNlNWY5ZTNkZmQ4ODIxZDQ1NzI4MjJhMjg5MmY2YzM4N2UzNjc3M2E4YmNmZjJjMmJjNTI2NTI2ZTk5NWExNjY0NDhiNDZjMDZmMTE5NmMyM2I0YzU4YjdlNDU0MzkyM2UxODAwYzg2MjNlYjYyNzhhYjUzMDliNDg4In0=" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header: "Content-Type: text/plain" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header: "Content-Length: 34" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http header done +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer del: 6: 101779542 +2025/09/02 17:20:19 [debug] 198245#198245: *10 generic phase: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 rewrite phase: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 test location: "/media" +2025/09/02 17:20:19 [debug] 198245#198245: *10 test location: "/report" +2025/09/02 17:20:19 [debug] 198245#198245: *10 test location: "/upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 using configuration "=/upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http cl:34 max:104857600 +2025/09/02 17:20:19 [debug] 198245#198245: *10 rewrite phase: 3 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "PUT" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:20:19 [notice] 198245#198245: *10 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script if +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script if: false +2025/09/02 17:20:19 [debug] 198245#198245: *10 post rewrite phase: 4 +2025/09/02 17:20:19 [debug] 198245#198245: *10 generic phase: 5 +2025/09/02 17:20:19 [debug] 198245#198245: *10 generic phase: 6 +2025/09/02 17:20:19 [debug] 198245#198245: *10 generic phase: 7 +2025/09/02 17:20:19 [debug] 198245#198245: *10 access phase: 8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 access phase: 9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 access phase: 10 +2025/09/02 17:20:19 [debug] 198245#198245: *10 post access phase: 11 +2025/09/02 17:20:19 [debug] 198245#198245: *10 generic phase: 12 +2025/09/02 17:20:19 [debug] 198245#198245: *10 generic phase: 13 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http client request body preread 34 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http request body content length filter +2025/09/02 17:20:19 [debug] 198245#198245: *10 http body new buf t:1 f:0 000061A39E7303A1, pos 000061A39E7303A1, size: 34 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http init upstream, client timer: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "QUERY_STRING" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "QUERY_STRING: " +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "REQUEST_METHOD" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "PUT" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "CONTENT_TYPE" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "text/plain" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "CONTENT_LENGTH" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "34" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "CONTENT_LENGTH: 34" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SCRIPT_NAME" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "/upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "REQUEST_URI" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "/upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "DOCUMENT_URI" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "/upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "./blobs" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "HTTP/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "REQUEST_SCHEME" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "http" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "CGI/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "nginx/" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "1.18.0" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "REMOTE_ADDR" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "REMOTE_PORT" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "36902" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "REMOTE_PORT: 36902" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SERVER_ADDR" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SERVER_PORT" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SERVER_NAME" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "localhost" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "REDIRECT_STATUS" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "200" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script var: "./blobs" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http script copy: "/ginxsom.fcgi" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI5ZTU0NmRlYTI3OTI4MGNmMWEzNmE0ZjY2MWYyODEyYmExNjlkNTExYmEzNmZjOTUzMTExZTkyMzkxMjU4NDc1IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgwMTksInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCI2OWQ1ODJhODIyZWNlMmQwNjM0NmYxOWMxZDNjOTVjYTk5ODZiMzgwYzg1NWI5YWU0ZTJiYjNjNzk3MmI4OTM5Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTYxOCJdXSwiY29udGVudCI6IiIsInNpZyI6ImY3NDYwNjNlNWY5ZTNkZmQ4ODIxZDQ1NzI4MjJhMjg5MmY2YzM4N2UzNjc3M2E4YmNmZjJjMmJjNTI2NTI2ZTk5NWExNjY0NDhiNDZjMDZmMTE5NmMyM2I0YzU4YjdlNDU0MzkyM2UxODAwYzg2MjNlYjYyNzhhYjUzMDliNDg4In0=" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:20:19 [debug] 198245#198245: *10 fastcgi param: "HTTP_CONTENT_LENGTH: 34" +2025/09/02 17:20:19 [debug] 198245#198245: *10 posix_memalign: 000061A39E737140:4096 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http cleanup add: 000061A39E7457E8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 get rr peer, try: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 stream socket 10 +2025/09/02 17:20:19 [debug] 198245#198245: *10 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:20:19 [debug] 198245#198245: *10 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #11 +2025/09/02 17:20:19 [debug] 198245#198245: *10 connected +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream connect: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream send request +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream send request body +2025/09/02 17:20:19 [debug] 198245#198245: *10 chain writer buf fl:0 s:1224 +2025/09/02 17:20:19 [debug] 198245#198245: *10 chain writer buf fl:0 s:34 +2025/09/02 17:20:19 [debug] 198245#198245: *10 chain writer buf fl:0 s:14 +2025/09/02 17:20:19 [debug] 198245#198245: *10 chain writer in: 000061A39E737278 +2025/09/02 17:20:19 [debug] 198245#198245: *10 writev: 1272 of 1272 +2025/09/02 17:20:19 [debug] 198245#198245: *10 chain writer out: 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer add: 10: 60000:101779542 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http request count:2 blk:0 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http run request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream check client, write event:1, "/upload" +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream dummy handler +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream process header +2025/09/02 17:20:19 [debug] 198245#198245: *10 malloc: 000061A39E738150:4096 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:10 1688 of 4096 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 8E +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 02 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 142 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "LOG: [2025-09-02 17:20:19] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:20:19] PUT /upload - Auth: auth_provided - Status: 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 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "hod: upload, hash: 69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756848019,"tags":[["t","upload"],["x","69d582a822ece2d06346f19c1d3c95ca998" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "6b380c855b9ae4e2bb3c7972b8939"],["expiration","1756851618"]],"content":"","sig":"f746063e5f9e3dfd8821d4572822a2892f6c387e36773a8bcff2c2bc526526e995a166448b46c06f1196c23b4c58b7e4543923e1800c8623eb6278ab5309b488"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756848019, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream dummy handler +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream process header +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:10 1536 of 4096 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: " ["x", "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939"], ["expiration", "1756851618"]], + "content": "", + "sig": "f746063e5f9e3dfd8821d4572822a2892f6c387e36773a8bcff2c2bc526526e995a166448b46c06f1196c23b4c58b7e4543923e1800c8623eb6278ab5309b488" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475 +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: f746063e5f9e3d" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "fd8821d4572822a2892f6c387e36773a8bcff2c2bc526526e995a166448b46c06f1196c23b4c58b7e4543923e1800c8623eb6278ab5309b488 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756848019 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream dummy handler +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream process header +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:10 4096 of 4096 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475' (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: 'f746063e5f9e3dfd8821d4572822a2892f6c387e36773a8bcff2c" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "2bc526526e995a166448b46c06f1196c23b4c58b7e4543923e1800c8623eb6278ab5309b488' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756848019 +SUCCESS: Timestamp is valid: 2025-09-02 21:20:19 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' +ℹINFO: Tag[1][1]: '69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851618' +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 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 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 9e 54 6d ea 27 92 80 cf 1a 36 a4 f6 61 f2 81 2b |.Tm.'....6..a..+| + a1 69 d5 11 ba 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 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "6 fc 95 31 11 e9 23 91 25 84 75 |.i...6..1..#.%.u| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475 +ℹINFO: Provided ID: 9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475 +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 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 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream dummy handler +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream process header +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:10 2048 of 4096 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "b 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 ( f7 46 06 3e 5f 9e 3d fd 88 21 d4 57 28 22 a2 89 |.F.>_.=..!.W("..| + 2f 6c 38 7e 36 77 3a 8b cf f2 c2 bc 52 65 26 e9 |/l8~6w:.....Re&.| + 95 a1 66 44 8b 46 c0 6f 11 96 c2 3b 4c 58 b7 e4 |..fD.F.o...;LX..| + 54 39 23 e1 80 0c 86 23 eb 62 78 ab 53 09 b4 88 |T9#....#.bx.S...| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '9e546dea279280cf1a36a4f661f2812ba169d511ba36fc953111e92391258475' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756848019 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: F8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 504 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: 'f746063e5f9e3dfd8821d4572822a2892f6c387e36773a8bcff2c2bc526526e995a166448b46c06f1196c23b4c58b7e4543923e1800c8623eb6278ab5309b488' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:0, avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream dummy handler +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 59997 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C9 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream request: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream process header +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:1, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:10 384 of 4096 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 1C +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 04 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 28 +2025/09/02 17:20:19 [error] 198245#198245: *10 FastCGI sent in stderr: "ticate_request returned: 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 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 06 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 2C +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 04 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 300 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi parser: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi header: "Status: 200 OK" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi parser: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi parser: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi header done +2025/09/02 17:20:19 [debug] 198245#198245: *10 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:20:19 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 17:20:19 [debug] 198245#198245: *10 write new buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http write filter: l:0 f:0 s:260 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http cacheable: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream process upstream +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe read upstream: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe preread: 278 +2025/09/02 17:20:19 [debug] 198245#198245: *10 readv: eof:1, avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 readv: 1, last:3712 +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe recv chain: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe buf free s:0 t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 278 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe length: -1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 input buf #0 000061A39E7381BA +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 06 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi closed stdout +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 03 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 08 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi record length: 8 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http fastcgi sent end request +2025/09/02 17:20:19 [debug] 198245#198245: *10 input buf 000061A39E7381BA 250 +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe write downstream: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe write downstream flush in +2025/09/02 17:20:19 [debug] 198245#198245: *10 http output filter "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http copy filter: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http postpone filter "/upload?" 000061A39E737248 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http chunk: 250 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write old buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write new buf t:1 f:0 000061A39E737880, pos 000061A39E737880, size: 4 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write new buf t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 250 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http write filter: l:0 f:0 s:516 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http copy filter: 0 "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 pipe write downstream done +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer: 10, old: 101779542, new: 101779545 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream exit: 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *10 finalize http upstream request: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 finalize http fastcgi request +2025/09/02 17:20:19 [debug] 198245#198245: *10 free rr peer 1 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 close http upstream connection: 10 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E716F20, unused: 48 +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer del: 10: 101779542 +2025/09/02 17:20:19 [debug] 198245#198245: *10 reusable connection: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http upstream temp fd: -1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http output filter "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http copy filter: "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http postpone filter "/upload?" 00007FFCF0F11BF0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http chunk: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write old buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write old buf t:1 f:0 000061A39E737880, pos 000061A39E737880, size: 4 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write old buf t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 250 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write old buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E5, size: 5 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http write filter: l:1 f:0 s:521 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http write filter limit 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 writev: 521 of 521 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http write filter 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http copy filter: 0 "/upload?" +2025/09/02 17:20:19 [debug] 198245#198245: *10 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 set http keepalive handler +2025/09/02 17:20:19 [debug] 198245#198245: *10 http close request +2025/09/02 17:20:19 [debug] 198245#198245: *10 http log handler +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E738150 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E74E490, unused: 3 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E744800, unused: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E737140, unused: 1770 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E7300A0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 hc free: 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *10 hc busy: 0000000000000000 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 tcp_nodelay +2025/09/02 17:20:19 [debug] 198245#198245: *10 reusable connection: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer add: 6: 65000:101784545 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 http keepalive handler +2025/09/02 17:20:19 [debug] 198245#198245: *10 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: eof:1, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *10 recv: fd:6 0 of 1024 +2025/09/02 17:20:19 [info] 198245#198245: *10 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:19 [debug] 198245#198245: *10 close http connection: 6 +2025/09/02 17:20:19 [debug] 198245#198245: *10 event timer del: 6: 101784545 +2025/09/02 17:20:19 [debug] 198245#198245: *10 reusable connection: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E7300A0 +2025/09/02 17:20:19 [debug] 198245#198245: *10 free: 000061A39E72D840, unused: 120 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:20:19 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:20:19 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *12 accept: 127.0.0.1:36904 fd:6 +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer add: 6: 60000:101779553 +2025/09/02 17:20:19 [debug] 198245#198245: *12 reusable connection: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 6 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http wait request handler +2025/09/02 17:20:19 [debug] 198245#198245: *12 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:19 [debug] 198245#198245: *12 recv: eof:0, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 recv: fd:6 145 of 1024 +2025/09/02 17:20:19 [debug] 198245#198245: *12 reusable connection: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http process request line +2025/09/02 17:20:19 [debug] 198245#198245: *12 http request line: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http uri: "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http args: "" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http exten: "" +2025/09/02 17:20:19 [debug] 198245#198245: *12 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http process request header line +2025/09/02 17:20:19 [debug] 198245#198245: *12 http header: "Host: localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http header: "Accept: */*" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http header done +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer del: 6: 101779553 +2025/09/02 17:20:19 [debug] 198245#198245: *12 generic phase: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 rewrite phase: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: "/media" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: "/debug/list" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: "/" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http cl:-1 max:104857600 +2025/09/02 17:20:19 [debug] 198245#198245: *12 rewrite phase: 3 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "DELETE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script value: "DELETE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script equal +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script if +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script regex: "^/(.*)$" +2025/09/02 17:20:19 [notice] 198245#198245: *12 "^/(.*)$" matches "/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "/fcgi-delete/" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script regex end +2025/09/02 17:20:19 [notice] 198245#198245: *12 rewritten data: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 post rewrite phase: 4 +2025/09/02 17:20:19 [debug] 198245#198245: *12 uri changes: 11 +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: "/media" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: "/debug/list" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: "/health" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http cl:-1 max:104857600 +2025/09/02 17:20:19 [debug] 198245#198245: *12 rewrite phase: 3 +2025/09/02 17:20:19 [debug] 198245#198245: *12 post rewrite phase: 4 +2025/09/02 17:20:19 [debug] 198245#198245: *12 generic phase: 5 +2025/09/02 17:20:19 [debug] 198245#198245: *12 generic phase: 6 +2025/09/02 17:20:19 [debug] 198245#198245: *12 generic phase: 7 +2025/09/02 17:20:19 [debug] 198245#198245: *12 access phase: 8 +2025/09/02 17:20:19 [debug] 198245#198245: *12 access phase: 9 +2025/09/02 17:20:19 [debug] 198245#198245: *12 access phase: 10 +2025/09/02 17:20:19 [debug] 198245#198245: *12 post access phase: 11 +2025/09/02 17:20:19 [debug] 198245#198245: *12 generic phase: 12 +2025/09/02 17:20:19 [debug] 198245#198245: *12 generic phase: 13 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http init upstream, client timer: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "QUERY_STRING" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "QUERY_STRING: " +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "REQUEST_METHOD" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "DELETE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "CONTENT_TYPE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "CONTENT_LENGTH" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SCRIPT_NAME" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SCRIPT_NAME: /fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "REQUEST_URI" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "/" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "REQUEST_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "DOCUMENT_URI" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "/" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script capture: "69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "DOCUMENT_URI: /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "./blobs" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "HTTP/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "REQUEST_SCHEME" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "http" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "CGI/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "nginx/" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "1.18.0" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "REMOTE_ADDR" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "REMOTE_PORT" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "36904" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "REMOTE_PORT: 36904" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SERVER_ADDR" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SERVER_PORT" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SERVER_NAME" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "localhost" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "REDIRECT_STATUS" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "200" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script var: "./blobs" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http script copy: "/ginxsom.fcgi" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:20:19 [debug] 198245#198245: *12 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http cleanup add: 000061A39E745588 +2025/09/02 17:20:19 [debug] 198245#198245: *12 get rr peer, try: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 stream socket 10 +2025/09/02 17:20:19 [debug] 198245#198245: *12 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:20:19 [debug] 198245#198245: *12 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #13 +2025/09/02 17:20:19 [debug] 198245#198245: *12 connected +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream connect: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream send request +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream send request body +2025/09/02 17:20:19 [debug] 198245#198245: *12 chain writer buf fl:0 s:704 +2025/09/02 17:20:19 [debug] 198245#198245: *12 chain writer in: 000061A39E7455C8 +2025/09/02 17:20:19 [debug] 198245#198245: *12 writev: 704 of 704 +2025/09/02 17:20:19 [debug] 198245#198245: *12 chain writer out: 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer add: 10: 60000:101779553 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http finalize request: -4, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:2 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http request count:2 blk:0 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http run request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream check client, write event:1, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939" +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C8 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream dummy handler +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C8 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream request: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream process header +2025/09/02 17:20:19 [debug] 198245#198245: *12 malloc: 000061A39E737140:4096 +2025/09/02 17:20:19 [debug] 198245#198245: *12 recv: eof:1, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 recv: fd:10 440 of 4096 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 95 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 03 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record length: 149 +2025/09/02 17:20:19 [error] 198245#198245: *12 FastCGI sent in stderr: "LOG: [2025-09-02 17:20:19] DELETE /delete - Auth: pending - Status: 0 +LOG: [2025-09-02 17:20:19] DELETE /delete - Auth: missing_auth - Status: 401" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 07 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record length: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 06 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: ED +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 03 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record length: 237 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi parser: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi header: "Status: 401 Unauthorized" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi parser: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 posix_memalign: 000061A39E738150:4096 @16 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi parser: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi header done +2025/09/02 17:20:19 [debug] 198245#198245: *12 HTTP/1.1 401 Unauthorized +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:20:19 GMT +Content-Type: application/json +Transfer-Encoding: chunked +Connection: keep-alive + +2025/09/02 17:20:19 [debug] 198245#198245: *12 write new buf t:1 f:0 000061A39E7381F0, pos 000061A39E7381F0, size: 181 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http write filter: l:0 f:0 s:181 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http cacheable: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream process upstream +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe read upstream: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe preread: 204 +2025/09/02 17:20:19 [debug] 198245#198245: *12 readv: eof:1, avail:0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 readv: 1, last:3656 +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe recv chain: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe buf free s:0 t:1 f:0 000061A39E737140, pos 000061A39E73722C, size: 204 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe length: -1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 input buf #0 000061A39E73722C +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 06 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record length: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi closed stdout +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 03 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 01 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 08 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record byte: 00 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi record length: 8 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http fastcgi sent end request +2025/09/02 17:20:19 [debug] 198245#198245: *12 input buf 000061A39E73722C 177 +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe write downstream: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe write downstream flush in +2025/09/02 17:20:19 [debug] 198245#198245: *12 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 000061A39E7383D0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http chunk: 177 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write old buf t:1 f:0 000061A39E7381F0, pos 000061A39E7381F0, size: 181 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write new buf t:1 f:0 000061A39E738528, pos 000061A39E738528, size: 4 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write new buf t:1 f:0 000061A39E737140, pos 000061A39E73722C, size: 177 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http write filter: l:0 f:0 s:364 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 pipe write downstream done +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer: 10, old: 101779553, new: 101779555 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream exit: 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *12 finalize http upstream request: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 finalize http fastcgi request +2025/09/02 17:20:19 [debug] 198245#198245: *12 free rr peer 1 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 close http upstream connection: 10 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E716F20, unused: 48 +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer del: 10: 101779553 +2025/09/02 17:20:19 [debug] 198245#198245: *12 reusable connection: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http upstream temp fd: -1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http output filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http copy filter: "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http postpone filter "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" 00007FFCF0F11BF0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http chunk: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write old buf t:1 f:0 000061A39E7381F0, pos 000061A39E7381F0, size: 181 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write old buf t:1 f:0 000061A39E738528, pos 000061A39E738528, size: 4 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write old buf t:1 f:0 000061A39E737140, pos 000061A39E73722C, size: 177 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write old buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E5, size: 5 file: 0, size: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http write filter: l:1 f:0 s:369 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http write filter limit 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 writev: 369 of 369 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http write filter 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http copy filter: 0 "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" +2025/09/02 17:20:19 [debug] 198245#198245: *12 http finalize request: 0, "/fcgi-delete/69d582a822ece2d06346f19c1d3c95ca9986b380c855b9ae4e2bb3c7972b8939?" a:1, c:1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 set http keepalive handler +2025/09/02 17:20:19 [debug] 198245#198245: *12 http close request +2025/09/02 17:20:19 [debug] 198245#198245: *12 http log handler +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E737140 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E74E490, unused: 5 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E744800, unused: 8 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E738150, unused: 2565 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E7300A0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 hc free: 0000000000000000 +2025/09/02 17:20:19 [debug] 198245#198245: *12 hc busy: 0000000000000000 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 tcp_nodelay +2025/09/02 17:20:19 [debug] 198245#198245: *12 reusable connection: 1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer add: 6: 65000:101784555 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:20:19 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 http keepalive handler +2025/09/02 17:20:19 [debug] 198245#198245: *12 malloc: 000061A39E7300A0:1024 +2025/09/02 17:20:19 [debug] 198245#198245: *12 recv: eof:1, avail:-1 +2025/09/02 17:20:19 [debug] 198245#198245: *12 recv: fd:6 0 of 1024 +2025/09/02 17:20:19 [info] 198245#198245: *12 client 127.0.0.1 closed keepalive connection +2025/09/02 17:20:19 [debug] 198245#198245: *12 close http connection: 6 +2025/09/02 17:20:19 [debug] 198245#198245: *12 event timer del: 6: 101784555 +2025/09/02 17:20:19 [debug] 198245#198245: *12 reusable connection: 0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E7300A0 +2025/09/02 17:20:19 [debug] 198245#198245: *12 free: 000061A39E72D840, unused: 120 +2025/09/02 17:20:19 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:20:19 [debug] 198245#198245: worker cycle +2025/09/02 17:20:19 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:21:41 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:21:41 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *14 accept: 127.0.0.1:36642 fd:6 +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer add: 6: 60000:101861887 +2025/09/02 17:21:41 [debug] 198245#198245: *14 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 82331 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http wait request handler +2025/09/02 17:21:41 [debug] 198245#198245: *14 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: fd:6 925 of 1024 +2025/09/02 17:21:41 [debug] 198245#198245: *14 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http process request line +2025/09/02 17:21:41 [debug] 198245#198245: *14 http request line: "PUT /upload HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http uri: "/upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http args: "" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http exten: "" +2025/09/02 17:21:41 [debug] 198245#198245: *14 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http process request header line +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header: "Host: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header: "Accept: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI0NTk1MGYxMDUyYTczYTE2YWFiNzlkNzU4OWQ5MmJiYWY5Yjk1Y2I5MzE3MjVhMjU4ZjRjNTI4NGEzNWQ4NzM0IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgxMDEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIyODQwOGNjZDg0OWM5NzA5MTJiZGQ0ZmQxMGFiYTIzNjk3Y2ZkOTFhNDNjMWI4MDFhZjI1NDE2N2EyNWNlYjM2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTcwMSJdXSwiY29udGVudCI6IiIsInNpZyI6ImUwNDNjMzNjMjYwMzkxMmE3MTZiYjg1ZTJhODU4NjEyZjRlZDRhZjE2YThlNmJjY2Y4MzdlNTI2ZWQ0MjUzNGExMTg4ZTA0NDliNGM5ZTZlNDk0NzliYTI2NjIwMDVhZDYwYzUwYWY5MGE2MTM4YzdiYjc4MjcyZDlhYTgzMjk1In0=" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header: "Content-Type: text/plain" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header: "Content-Length: 155" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http header done +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer del: 6: 101861887 +2025/09/02 17:21:41 [debug] 198245#198245: *14 generic phase: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 rewrite phase: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *14 test location: "/report" +2025/09/02 17:21:41 [debug] 198245#198245: *14 test location: "/upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 using configuration "=/upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http cl:155 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *14 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "PUT" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script regex: "^(PUT|HEAD)$" +2025/09/02 17:21:41 [notice] 198245#198245: *14 "^(PUT|HEAD)$" matches "PUT", client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *14 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *14 generic phase: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *14 generic phase: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *14 generic phase: 7 +2025/09/02 17:21:41 [debug] 198245#198245: *14 access phase: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 access phase: 9 +2025/09/02 17:21:41 [debug] 198245#198245: *14 access phase: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *14 post access phase: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *14 generic phase: 12 +2025/09/02 17:21:41 [debug] 198245#198245: *14 generic phase: 13 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http client request body preread 155 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http request body content length filter +2025/09/02 17:21:41 [debug] 198245#198245: *14 http body new buf t:1 f:0 000061A39E7303A2, pos 000061A39E7303A2, size: 155 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http init upstream, client timer: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "QUERY_STRING" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "QUERY_STRING: " +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "REQUEST_METHOD" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "PUT" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "REQUEST_METHOD: PUT" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "CONTENT_TYPE" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "text/plain" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "CONTENT_TYPE: text/plain" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "CONTENT_LENGTH" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "155" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "CONTENT_LENGTH: 155" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SCRIPT_NAME" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "/upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SCRIPT_NAME: /upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "REQUEST_URI" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "/upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "REQUEST_URI: /upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "DOCUMENT_URI" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "/upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "DOCUMENT_URI: /upload" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "REQUEST_SCHEME" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "http" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "CGI/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "nginx/" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "1.18.0" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "REMOTE_ADDR" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "REMOTE_PORT" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "36642" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "REMOTE_PORT: 36642" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SERVER_ADDR" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SERVER_PORT" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SERVER_NAME" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "localhost" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "REDIRECT_STATUS" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "200" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script var: "./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http script copy: "/ginxsom.fcgi" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiI0NTk1MGYxMDUyYTczYTE2YWFiNzlkNzU4OWQ5MmJiYWY5Yjk1Y2I5MzE3MjVhMjU4ZjRjNTI4NGEzNWQ4NzM0IiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgxMDEsInRhZ3MiOltbInQiLCJ1cGxvYWQiXSxbIngiLCIyODQwOGNjZDg0OWM5NzA5MTJiZGQ0ZmQxMGFiYTIzNjk3Y2ZkOTFhNDNjMWI4MDFhZjI1NDE2N2EyNWNlYjM2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTcwMSJdXSwiY29udGVudCI6IiIsInNpZyI6ImUwNDNjMzNjMjYwMzkxMmE3MTZiYjg1ZTJhODU4NjEyZjRlZDRhZjE2YThlNmJjY2Y4MzdlNTI2ZWQ0MjUzNGExMTg4ZTA0NDliNGM5ZTZlNDk0NzliYTI2NjIwMDVhZDYwYzUwYWY5MGE2MTM4YzdiYjc4MjcyZDlhYTgzMjk1In0=" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "HTTP_CONTENT_TYPE: text/plain" +2025/09/02 17:21:41 [debug] 198245#198245: *14 fastcgi param: "HTTP_CONTENT_LENGTH: 155" +2025/09/02 17:21:41 [debug] 198245#198245: *14 posix_memalign: 000061A39E737140:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http cleanup add: 000061A39E7457E8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 get rr peer, try: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 stream socket 10 +2025/09/02 17:21:41 [debug] 198245#198245: *14 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:21:41 [debug] 198245#198245: *14 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #15 +2025/09/02 17:21:41 [debug] 198245#198245: *14 connected +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream connect: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream send request +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream send request body +2025/09/02 17:21:41 [debug] 198245#198245: *14 chain writer buf fl:0 s:1224 +2025/09/02 17:21:41 [debug] 198245#198245: *14 chain writer buf fl:0 s:155 +2025/09/02 17:21:41 [debug] 198245#198245: *14 chain writer buf fl:0 s:13 +2025/09/02 17:21:41 [debug] 198245#198245: *14 chain writer in: 000061A39E737278 +2025/09/02 17:21:41 [debug] 198245#198245: *14 writev: 1392 of 1392 +2025/09/02 17:21:41 [debug] 198245#198245: *14 chain writer out: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer add: 10: 60000:101861887 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http finalize request: -4, "/upload?" a:1, c:2 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http request count:2 blk:0 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http run request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream check client, write event:1, "/upload" +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *14 malloc: 000061A39E738150:4096 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: fd:10 2712 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 8E +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 02 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 142 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "LOG: [2025-09-02 17:21:41] PUT /upload - Auth: pending - Status: 0 +LOG: [2025-09-02 17:21:41] PUT /upload - Auth: auth_provided - Status: 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 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "AUTH: About to perform authentication - auth_header present: YES +AUTH: Calling authenticate_request with hash: 28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with met" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "hod: upload, hash: 28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 +STEP SERVER-2: Calling parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756848101,"tags":[["t","upload"],["x","28408ccd849c970912bdd4fd10aba23697c" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "fd91a43c1b801af254167a25ceb36"],["expiration","1756851701"]],"content":"","sig":"e043c33c2603912a716bb85e2a858612f4ed4af16a8e6bccf837e526ed42534a1188e0449b4c9e6e49479ba2662005ad60c50af90a6138c7bb78272d9aa83295"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756848101, + "tags": [["t", "upload"]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: " ["x", "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36"], ["expiration", "1756851701"]], + "content": "", + "sig": "e043c33c2603912a716bb85e2a858612f4ed4af16a8e6bccf837e526ed42534a1188e0449b4c9e6e49479ba2662005ad60c50af90a6138c7bb78272d9aa83295" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734 +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: e043c33c260391" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "2a716bb85e2a858612f4ed4af16a8e6bccf837e526ed42534a1188e0449b4c9e6e49479ba2662005ad60c50af90a6138c7bb78272d9aa83295 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756848101 +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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:0, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: fd:10 4096 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: avail:512 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: 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:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: " nostr_verify_event_signature returned: 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" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "structure 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 number +SUCCESS: Field 'kind' is number +SUCCESS: 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 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "'tags' is array +SUCCESS: Field 'content' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating hex string lengths +ℹINFO: ID string: '45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734' (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: 'e043c33c2603912a716bb85e2a858612f4ed4af16a8e6bccf837e" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "526ed42534a1188e0449b4c9e6e49479ba2662005ad60c50af90a6138c7bb78272d9aa83295' (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) +STEP STRUCT-6: Validating timestamp" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: " +ℹINFO: Created_at timestamp: 1756848101 +SUCCESS: Timestamp is valid: 2025-09-02 21:21: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' +ℹINFO: Tag[0][1]: 'upload' +ℹINFO: Tag[1] has 2 elements +ℹINFO: Tag[1][0]: 'x' +ℹINFO: Tag[1][1]: '28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36' +ℹINFO: Tag" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851701' +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 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 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "═══════════════════════ +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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 45 95 0f 10 52 a7 3a 16 aa b7 9d 75 89 d9 2b ba |E...R.:....u..+.| + f9 b9 5c b9 31 7" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:0, avail:512 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: fd:10 2560 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "2 5a 25 8f 4c 52 84 a3 5d 87 34 |..\.1rZ%.LR..].4| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated ID: 45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734 +ℹINFO: Provided ID: 45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734 +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 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 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "b 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 ( e0 43 c3 3c 26 03 91 2a 71 6b b8 5e 2a 85 86 12 |.C.<&..*qk.^*...| + f4 ed 4a f1 6a 8e 6b cc f8 37 e5 26 ed 42 53 4a |..J.j.k..7.&.BSJ| + 11 88 e0 44 9b 4c 9e 6e 49 47 9b a2 66 20 05 ad |...D.L.nIG..f ..| + 60 c5 0a f9 0a 61 38 c7 bb 78 27 2d 9a a8 32 95 |`....a8..x'-..2.| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_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 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "ignature() +ℹ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 PASSED +═══════════════════════════════════════════════════════════════════ +STEP ANALYZE-1: Analyzing event field details" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: " +ℹINFO: Field 'kind': +ℹINFO: Type: Number +ℹINFO: Value: 24242 +ℹINFO: Field 'id': +ℹINFO: Type: String +ℹINFO: Value: '45950f1052a73a16aab79d7589d92bbaf9b95cb931725a258f4c5284a35d8734' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756848101 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "INFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length: ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: 'e043c33c2603912a716bb85e2a858612f4ed4af16a8e6bccf837e526ed42534a1188e0449b4c9e6e49479ba2662005ad60c50af90a6138c7bb78272d9aa83295' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +AUTH: authen" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "PUT /upload HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:0, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59997 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream request: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: fd:10 384 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 1C +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 04 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 28 +2025/09/02 17:21:41 [error] 198245#198245: *14 FastCGI sent in stderr: "ticate_request returned: 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 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 06 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 2D +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 03 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 301 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi parser: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi header: "Status: 200 OK" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi parser: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi parser: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi header done +2025/09/02 17:21:41 [debug] 198245#198245: *14 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:21:41 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 17:21:41 [debug] 198245#198245: *14 write new buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http write filter: l:0 f:0 s:260 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http cacheable: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream process upstream +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe read upstream: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe preread: 278 +2025/09/02 17:21:41 [debug] 198245#198245: *14 readv: eof:1, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 readv: 1, last:3712 +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe recv chain: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe buf free s:0 t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 278 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe length: -1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 input buf #0 000061A39E7381BA +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 06 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi closed stdout +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 03 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 08 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi record length: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http fastcgi sent end request +2025/09/02 17:21:41 [debug] 198245#198245: *14 input buf 000061A39E7381BA 251 +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe write downstream: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe write downstream flush in +2025/09/02 17:21:41 [debug] 198245#198245: *14 http output filter "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http copy filter: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http postpone filter "/upload?" 000061A39E737248 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http chunk: 251 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write old buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write new buf t:1 f:0 000061A39E737880, pos 000061A39E737880, size: 4 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write new buf t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 251 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http write filter: l:0 f:0 s:517 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http copy filter: 0 "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 pipe write downstream done +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer: 10, old: 101861887, new: 101861892 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream exit: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *14 finalize http upstream request: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 finalize http fastcgi request +2025/09/02 17:21:41 [debug] 198245#198245: *14 free rr peer 1 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 close http upstream connection: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E716F20, unused: 48 +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer del: 10: 101861887 +2025/09/02 17:21:41 [debug] 198245#198245: *14 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http upstream temp fd: -1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http output filter "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http copy filter: "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http postpone filter "/upload?" 00007FFCF0F11BF0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http chunk: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write old buf t:1 f:0 000061A39E737538, pos 000061A39E737538, size: 260 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write old buf t:1 f:0 000061A39E737880, pos 000061A39E737880, size: 4 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write old buf t:1 f:0 000061A39E738150, pos 000061A39E7381BA, size: 251 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write old buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E5, size: 5 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http write filter: l:1 f:0 s:522 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http write filter limit 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 writev: 522 of 522 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http write filter 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http copy filter: 0 "/upload?" +2025/09/02 17:21:41 [debug] 198245#198245: *14 http finalize request: 0, "/upload?" a:1, c:1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 set http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *14 http close request +2025/09/02 17:21:41 [debug] 198245#198245: *14 http log handler +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E738150 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E74E490, unused: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E744800, unused: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E737140, unused: 1770 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 hc free: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *14 hc busy: 0000000000000000 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 tcp_nodelay +2025/09/02 17:21:41 [debug] 198245#198245: *14 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer add: 6: 65000:101866892 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *14 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *14 recv: fd:6 0 of 1024 +2025/09/02 17:21:41 [info] 198245#198245: *14 client 127.0.0.1 closed keepalive connection +2025/09/02 17:21:41 [debug] 198245#198245: *14 close http connection: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *14 event timer del: 6: 101866892 +2025/09/02 17:21:41 [debug] 198245#198245: *14 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *14 free: 000061A39E72D840, unused: 120 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:21:41 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:21:41 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *16 accept: 127.0.0.1:36650 fd:6 +2025/09/02 17:21:41 [debug] 198245#198245: *16 event timer add: 6: 60000:101861898 +2025/09/02 17:21:41 [debug] 198245#198245: *16 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 4 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http wait request handler +2025/09/02 17:21:41 [debug] 198245#198245: *16 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *16 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 recv: fd:6 146 of 1024 +2025/09/02 17:21:41 [debug] 198245#198245: *16 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http process request line +2025/09/02 17:21:41 [debug] 198245#198245: *16 http request line: "GET /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http uri: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http args: "" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http exten: "txt" +2025/09/02 17:21:41 [debug] 198245#198245: *16 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http process request header line +2025/09/02 17:21:41 [debug] 198245#198245: *16 http header: "Host: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http header: "Accept: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http header done +2025/09/02 17:21:41 [debug] 198245#198245: *16 event timer del: 6: 101861898 +2025/09/02 17:21:41 [debug] 198245#198245: *16 generic phase: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 rewrite phase: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *16 test location: "/debug/list" +2025/09/02 17:21:41 [debug] 198245#198245: *16 test location: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *16 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:21:41 [debug] 198245#198245: *16 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *16 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http cl:-1 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *16 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script var: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script value: "DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script var: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script value: "HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script var: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script value: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script not equal +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script not equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *16 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *16 generic phase: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *16 generic phase: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *16 generic phase: 7 +2025/09/02 17:21:41 [debug] 198245#198245: *16 access phase: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *16 access phase: 9 +2025/09/02 17:21:41 [debug] 198245#198245: *16 access phase: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *16 post access phase: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *16 generic phase: 12 +2025/09/02 17:21:41 [debug] 198245#198245: *16 try files handler +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http script copy: ".txt" +2025/09/02 17:21:41 [debug] 198245#198245: *16 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" +2025/09/02 17:21:41 [debug] 198245#198245: *16 try file uri: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" +2025/09/02 17:21:41 [debug] 198245#198245: *16 generic phase: 13 +2025/09/02 17:21:41 [debug] 198245#198245: *16 content phase: 14 +2025/09/02 17:21:41 [debug] 198245#198245: *16 content phase: 15 +2025/09/02 17:21:41 [debug] 198245#198245: *16 content phase: 16 +2025/09/02 17:21:41 [debug] 198245#198245: *16 content phase: 17 +2025/09/02 17:21:41 [debug] 198245#198245: *16 content phase: 18 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http filename: "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" +2025/09/02 17:21:41 [debug] 198245#198245: *16 add cleanup: 000061A39E744BE0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http static fd: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http set discard body +2025/09/02 17:21:41 [debug] 198245#198245: *16 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:21:41 GMT +Content-Type: text/plain +Content-Length: 155 +Last-Modified: Tue, 02 Sep 2025 21:21:41 GMT +Connection: keep-alive +ETag: "68b75fe5-9b" 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 +2025/09/02 17:21:41 [debug] 198245#198245: *16 write new buf t:1 f:0 000061A39E744DD0, pos 000061A39E744DD0, size: 299 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http write filter: l:0 f:0 s:299 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http output filter "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http copy filter: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http postpone filter "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" 00007FFCF0F11AE0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 write old buf t:1 f:0 000061A39E744DD0, pos 000061A39E744DD0, size: 299 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 write new buf t:0 f:1 0000000000000000, pos 0000000000000000, size: 0 file: 0, size: 155 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http write filter: l:1 f:0 s:454 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http write filter limit 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 tcp_nopush +2025/09/02 17:21:41 [debug] 198245#198245: *16 writev: 299 of 299 +2025/09/02 17:21:41 [debug] 198245#198245: *16 sendfile: @0 155 +2025/09/02 17:21:41 [debug] 198245#198245: *16 sendfile: 155 of 155 @0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http write filter 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http copy filter: 0 "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *16 http finalize request: 0, "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" a:1, c:1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 set http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *16 http close request +2025/09/02 17:21:41 [debug] 198245#198245: *16 http log handler +2025/09/02 17:21:41 [debug] 198245#198245: *16 run cleanup: 000061A39E744BE0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 file cleanup: fd:10 +2025/09/02 17:21:41 [debug] 198245#198245: *16 free: 000061A39E74E490, unused: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *16 free: 000061A39E744800, unused: 1932 +2025/09/02 17:21:41 [debug] 198245#198245: *16 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 hc free: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *16 hc busy: 0000000000000000 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 event timer add: 6: 65000:101866898 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:2001 d:000072727B4FC1E1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *16 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *16 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *16 recv: fd:6 0 of 1024 +2025/09/02 17:21:41 [info] 198245#198245: *16 client 127.0.0.1 closed keepalive connection +2025/09/02 17:21:41 [debug] 198245#198245: *16 close http connection: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *16 event timer del: 6: 101866898 +2025/09/02 17:21:41 [debug] 198245#198245: *16 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *16 free: 000061A39E72D840, unused: 136 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:21:41 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:21:41 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *17 accept: 127.0.0.1:36660 fd:6 +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer add: 6: 60000:101862196 +2025/09/02 17:21:41 [debug] 198245#198245: *17 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 297 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http wait request handler +2025/09/02 17:21:41 [debug] 198245#198245: *17 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:6 784 of 1024 +2025/09/02 17:21:41 [debug] 198245#198245: *17 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http process request line +2025/09/02 17:21:41 [debug] 198245#198245: *17 http request line: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http uri: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http args: "" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http exten: "" +2025/09/02 17:21:41 [debug] 198245#198245: *17 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http process request header line +2025/09/02 17:21:41 [debug] 198245#198245: *17 http header: "Host: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http header: "Accept: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http header: "Authorization: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIwMGNkNTEzODgxM2UzYTIzNjIwOWNjZDA0NjBjNmZkNGIwYzZiN2U5YTJjYzAzYjZhNjk3YzVjMmE2ZjAzZjYwIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgxMDEsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCIyODQwOGNjZDg0OWM5NzA5MTJiZGQ0ZmQxMGFiYTIzNjk3Y2ZkOTFhNDNjMWI4MDFhZjI1NDE2N2EyNWNlYjM2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTcwMSJdXSwiY29udGVudCI6IiIsInNpZyI6IjU5MWFmN2QzNTU4OTIzZmFjOWEwOTZlNTRmMTkxZDEyMWM3MGQ5MDA1MDBhMjY5MjM1MzU4ZDNjMTQzNTA0ZGE4ZDk5OWNlNmMxYTY4NDA2YWM0Njg3MTUxN2IwYmEyZDUzZThhODhiMmQ5ZTA3ZDUyZGMyY2RiMjliMzA4YTM5In0=" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http header done +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer del: 6: 101862196 +2025/09/02 17:21:41 [debug] 198245#198245: *17 generic phase: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 rewrite phase: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: "/debug/list" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http cl:-1 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *17 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script value: "DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script regex: "^/(.*)$" +2025/09/02 17:21:41 [notice] 198245#198245: *17 "^/(.*)$" matches "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36", client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "/fcgi-delete/" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script regex end +2025/09/02 17:21:41 [notice] 198245#198245: *17 rewritten data: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36", args: "", client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *17 uri changes: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: "/debug/list" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: "/health" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 using configuration "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http cl:-1 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *17 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *17 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *17 generic phase: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *17 generic phase: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *17 generic phase: 7 +2025/09/02 17:21:41 [debug] 198245#198245: *17 access phase: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 access phase: 9 +2025/09/02 17:21:41 [debug] 198245#198245: *17 access phase: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *17 post access phase: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *17 generic phase: 12 +2025/09/02 17:21:41 [debug] 198245#198245: *17 generic phase: 13 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http init upstream, client timer: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "QUERY_STRING" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "QUERY_STRING: " +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "REQUEST_METHOD" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "REQUEST_METHOD: DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "CONTENT_TYPE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "CONTENT_LENGTH" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SCRIPT_NAME" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SCRIPT_NAME: /fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "REQUEST_URI" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "REQUEST_URI: /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "DOCUMENT_URI" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "DOCUMENT_URI: /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "DOCUMENT_ROOT" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "DOCUMENT_ROOT: ./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "REQUEST_SCHEME" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "http" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "REQUEST_SCHEME: http" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "GATEWAY_INTERFACE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "CGI/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "nginx/" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "1.18.0" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "REMOTE_ADDR" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "REMOTE_PORT" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "36660" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "REMOTE_PORT: 36660" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SERVER_ADDR" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SERVER_PORT" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SERVER_NAME" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "localhost" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "REDIRECT_STATUS" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "200" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "REDIRECT_STATUS: 200" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script var: "./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http script copy: "/ginxsom.fcgi" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "SCRIPT_FILENAME: ./blobs/ginxsom.fcgi" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *17 fastcgi param: "HTTP_AUTHORIZATION: Nostr eyJraW5kIjoyNDI0MiwiaWQiOiIwMGNkNTEzODgxM2UzYTIzNjIwOWNjZDA0NjBjNmZkNGIwYzZiN2U5YTJjYzAzYjZhNjk3YzVjMmE2ZjAzZjYwIiwicHVia2V5IjoiNzliZTY2N2VmOWRjYmJhYzU1YTA2Mjk1Y2U4NzBiMDcwMjliZmNkYjJkY2UyOGQ5NTlmMjgxNWIxNmY4MTc5OCIsImNyZWF0ZWRfYXQiOjE3NTY4NDgxMDEsInRhZ3MiOltbInQiLCJkZWxldGUiXSxbIngiLCIyODQwOGNjZDg0OWM5NzA5MTJiZGQ0ZmQxMGFiYTIzNjk3Y2ZkOTFhNDNjMWI4MDFhZjI1NDE2N2EyNWNlYjM2Il0sWyJleHBpcmF0aW9uIiwiMTc1Njg1MTcwMSJdXSwiY29udGVudCI6IiIsInNpZyI6IjU5MWFmN2QzNTU4OTIzZmFjOWEwOTZlNTRmMTkxZDEyMWM3MGQ5MDA1MDBhMjY5MjM1MzU4ZDNjMTQzNTA0ZGE4ZDk5OWNlNmMxYTY4NDA2YWM0Njg3MTUxN2IwYmEyZDUzZThhODhiMmQ5ZTA3ZDUyZGMyY2RiMjliMzA4YTM5In0=" +2025/09/02 17:21:41 [debug] 198245#198245: *17 posix_memalign: 000061A39E737140:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http cleanup add: 000061A39E7457D8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 get rr peer, try: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 stream socket 10 +2025/09/02 17:21:41 [debug] 198245#198245: *17 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:21:41 [debug] 198245#198245: *17 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #18 +2025/09/02 17:21:41 [debug] 198245#198245: *17 connected +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream connect: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream send request +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream send request body +2025/09/02 17:21:41 [debug] 198245#198245: *17 chain writer buf fl:0 s:1352 +2025/09/02 17:21:41 [debug] 198245#198245: *17 chain writer in: 000061A39E7457F0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 writev: 1352 of 1352 +2025/09/02 17:21:41 [debug] 198245#198245: *17 chain writer out: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer add: 10: 60000:101862196 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http finalize request: -4, "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" a:1, c:2 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http request count:2 blk:0 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http run request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream check client, write event:1, "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *17 malloc: 000061A39E738150:4096 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:10 2560 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "LOG: [2025-09-02 17:21:41] DELETE /delete - Auth: pending - Status: 0 +═══════════════════════════════════════════════════════════════════ +STEP SERVER-1: Starting server-style authentication (mirroring test_auth_debug.c) +ℹINFO: Server-style auth called with method: delete, hash: 28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 +STEP SERVER-2: Calling" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "parse_authorization_header +SUCCESS: parse_authorization_header succeeded +STEP SERVER-3: Calling cJSON_Parse on JSON string +ℹINFO: JSON to parse: {"kind":24242,"id":"00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60","pubkey":"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","created_at":1756848101,"tags":[["t","delete"],["x","28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36"],["expiration","1756851701"]],"content":"","sig":"591af7d3558923fac9a096e54f" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "191d121c70d900500a269235358d3c143504da8d999ce6c1a68406ac46871517b0ba2d53e8a88b2d9e07d52dc2cdb29b308a39"} +SUCCESS: cJSON_Parse succeeded, event parsed +ℹINFO: Parsed JSON: { + "kind": 24242, + "id": "00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60", + "pubkey": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", + "created_at": 1756848101, + "tags": [["t", "delete"], ["x", "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36"], ["expiration", "1756851701"]]," while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: " "content": "", + "sig": "591af7d3558923fac9a096e54f191d121c70d900500a269235358d3c143504da8d999ce6c1a68406ac46871517b0ba2d53e8a88b2d9e07d52dc2cdb29b308a39" +} +STEP SERVER-4: Event fields before validation +ℹINFO: id: 00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60 +ℹINFO: pubkey: 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798 +ℹINFO: sig: 591af7d3558923fac9a096e54f191d121c70d900500a269235358d3c143504da8d999ce6c1a68406ac46871517b0ba2d53e8a88b2d9e07d52dc2cdb29" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "b308a39 +ℹINFO: kind: 24242 +ℹINFO: created_at: 1756848101 +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: Length: ℹINFO: Character an" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:10 3072 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "alysis (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 returned: 0 (Success) +SUCCESS: Crypto verification PASSED +ℹINFO: Testing co" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "mplete validation... +ℹ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 existence +S" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "UCCESS: 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' is string +SUCCESS: Field 'sig' is string +STEP STRUCT-4: Validating" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: " hex string lengths +ℹINFO: ID string: '00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60' (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: '591af7d3558923fac9a096e54f191d121c70d900500a269235358d3c143504da8d999ce6c1a68406ac46871517b0ba2d53e8a88b2d9e07d52dc2cdb29b308a39' (length: SUCCESS: Signature st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "ring 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) +STEP STRUCT-6: Validating timestamp +ℹINFO: Created_at timestamp: 1756848101 +SUCCESS: Timestamp is valid: 2025-09-02 21:21:41 UTC +STEP STRUCT" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "-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]: 'delete' +ℹINFO: Tag[1] has 2 elements +ℹINFO: Tag[1][0]: 'x' +ℹINFO: Tag[1][1]: '28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36' +ℹINFO: Tag[2] has 2 elements +ℹINFO: Tag[2][0]: 'expiration' +ℹINFO: Tag[2][1]: '1756851701' +SUCCESS: Tags array st" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:10 3072 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "ructure 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 validation +═══════════════════════════════════════════════════════════════════ +STEP CRYPTO-1: Starting detailed sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "nature 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 STEP CRYPTO-4: Computing SHA256 hash +SUCCESS: SHA256 hash computed +ℹINFO: Event hash ( 00 cd 51 38 81 3e 3a 23 62 09 cc d0 46 0c 6f d4 |..Q8.>:#b...F.o.| + b0 c6 b7 e9 a2 cc 03 b6 a6 97 c5 c2 a6 f0 3f 60 |..............?`| +STEP CRYPTO-5: Verifying event ID +ℹINFO: Calculated I" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "D: 00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60 +ℹINFO: Provided ID: 00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60 +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: Sig" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "nature hex converted to bytes +ℹINFO: Signature bytes ( 59 1a f7 d3 55 89 23 fa c9 a0 96 e5 4f 19 1d 12 |Y...U.#.....O...| + 1c 70 d9 00 50 0a 26 92 35 35 8d 3c 14 35 04 da |.p..P.&.55.<.5..| + 8d 99 9c e6 c1 a6 84 06 ac 46 87 15 17 b0 ba 2d |.........F.....-| + 53 e8 a8 8b 2d 9e 07 d5 2d c2 cd b2 9b 30 8a 39 |S...-...-....0.9| +STEP CRYPTO-8: Verifying signature using nostr_verify_event_signature() +ℹINFO: Calling nostr_verify_event_signature() for detailed crypto validation +ℹINFO: nostr_ve" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "rify_event_signature returned: 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': +ℹINFO: Typ" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "e: String +ℹINFO: Value: '00cd5138813e3a236209ccd0460c6fd4b0c6b7e9a2cc03b6a697c5c2a6f03f60' +ℹINFO: Length: ℹINFO: Field 'pubkey': +ℹINFO: Type: String +ℹINFO: Value: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +ℹINFO: Length: ℹINFO: Field 'created_at': +ℹINFO: Type: Number +ℹINFO: Value: 1756848101 +ℹINFO: Field 'tags': +ℹINFO: Type: Array +ℹINFO: Size: 3 +ℹINFO: Field 'content': +ℹINFO: Type: String +ℹINFO: Value: '' +ℹINFO: Length:" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59998 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0005 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:10 1024 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "ℹINFO: Field 'sig': +ℹINFO: Type: String +ℹINFO: Value: '591af7d3558923fac9a096e54f191d121c70d900500a269235358d3c143504da8d999ce6c1a68406ac46871517b0ba2d53e8a88b2d9e07d52dc2cdb29b308a39' +ℹINFO: Length: STEP SERVER-10: Validating Blossom-specific requirements +SUCCESS: Blossom event validation PASSED +SUCCESS: Server-style authentication successful, returning NOSTR_SUCCESS +DELETE DEBUG: auth_pubkey extracted from request: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: F8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 504 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: "LETE DEBUG: database query results - uploader_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type: 'text/plain' +DELETE DEBUG: copied strings - uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', blob_type_copy: 'text/plain' +DELETE DEBUG: ownership check - auth_pubkey: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', uploader_pubkey_copy: '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798' +DELETE" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:0, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59997 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59997 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream request: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:10 544 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 3F +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 319 +2025/09/02 17:21:41 [error] 198245#198245: *17 FastCGI sent in stderr: " DEBUG: uploader_pubkey_copy[0]: 55, strcmp result: 0 +DELETE DEBUG: ownership check PASSED - proceeding with delete +DELETE DEBUG: Successfully deleted physical file blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt +LOG: [2025-09-02 17:21:41] DELETE /delete - Auth: authenticated - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "DELETE /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 06 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: AF +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 175 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi parser: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi header: "Status: 200 OK" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi parser: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi header: "Content-Type: application/json" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi parser: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi header done +2025/09/02 17:21:41 [debug] 198245#198245: *17 HTTP/1.1 200 OK +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:21:41 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 17:21:41 [debug] 198245#198245: *17 write new buf t:1 f:0 000061A39E737460, pos 000061A39E737460, size: 260 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http write filter: l:0 f:0 s:260 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http cacheable: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream process upstream +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe read upstream: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe preread: 150 +2025/09/02 17:21:41 [debug] 198245#198245: *17 readv: eof:1, avail:0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 readv: 1, last:3552 +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe recv chain: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe buf free s:0 t:1 f:0 000061A39E738150, pos 000061A39E7382DA, size: 150 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe length: -1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 input buf #0 000061A39E7382DA +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 06 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi closed stdout +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 03 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 08 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi record length: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http fastcgi sent end request +2025/09/02 17:21:41 [debug] 198245#198245: *17 input buf 000061A39E7382DA 125 +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe write downstream: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe write downstream flush in +2025/09/02 17:21:41 [debug] 198245#198245: *17 http output filter "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http copy filter: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http postpone filter "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" 000061A39E737690 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http chunk: 125 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write old buf t:1 f:0 000061A39E737460, pos 000061A39E737460, size: 260 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write new buf t:1 f:0 000061A39E7377E8, pos 000061A39E7377E8, size: 4 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write new buf t:1 f:0 000061A39E738150, pos 000061A39E7382DA, size: 125 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http write filter: l:0 f:0 s:391 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http copy filter: 0 "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 pipe write downstream done +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer: 10, old: 101862196, new: 101862201 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream exit: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *17 finalize http upstream request: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 finalize http fastcgi request +2025/09/02 17:21:41 [debug] 198245#198245: *17 free rr peer 1 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 close http upstream connection: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E716F20, unused: 48 +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer del: 10: 101862196 +2025/09/02 17:21:41 [debug] 198245#198245: *17 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http upstream temp fd: -1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http output filter "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http copy filter: "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http postpone filter "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" 00007FFCF0F11BF0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http chunk: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write old buf t:1 f:0 000061A39E737460, pos 000061A39E737460, size: 260 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write old buf t:1 f:0 000061A39E7377E8, pos 000061A39E7377E8, size: 4 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write old buf t:1 f:0 000061A39E738150, pos 000061A39E7382DA, size: 125 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write old buf t:0 f:0 0000000000000000, pos 000061A36552C2E8, size: 2 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 write new buf t:0 f:0 0000000000000000, pos 000061A36552C2E5, size: 5 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http write filter: l:1 f:0 s:396 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http write filter limit 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 writev: 396 of 396 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http write filter 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http copy filter: 0 "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *17 http finalize request: 0, "/fcgi-delete/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" a:1, c:1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 set http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *17 http close request +2025/09/02 17:21:41 [debug] 198245#198245: *17 http log handler +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E738150 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E74E490, unused: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E744800, unused: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E737140, unused: 1845 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 hc free: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *17 hc busy: 0000000000000000 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 tcp_nodelay +2025/09/02 17:21:41 [debug] 198245#198245: *17 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer add: 6: 65000:101867201 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *17 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *17 recv: fd:6 0 of 1024 +2025/09/02 17:21:41 [info] 198245#198245: *17 client 127.0.0.1 closed keepalive connection +2025/09/02 17:21:41 [debug] 198245#198245: *17 close http connection: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *17 event timer del: 6: 101867201 +2025/09/02 17:21:41 [debug] 198245#198245: *17 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *17 free: 000061A39E72D840, unused: 120 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:21:41 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:21:41 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *19 accept: 127.0.0.1:36676 fd:6 +2025/09/02 17:21:41 [debug] 198245#198245: *19 event timer add: 6: 60000:101862213 +2025/09/02 17:21:41 [debug] 198245#198245: *19 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 11 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http wait request handler +2025/09/02 17:21:41 [debug] 198245#198245: *19 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *19 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 recv: fd:6 146 of 1024 +2025/09/02 17:21:41 [debug] 198245#198245: *19 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http process request line +2025/09/02 17:21:41 [debug] 198245#198245: *19 http request line: "GET /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http uri: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http args: "" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http exten: "txt" +2025/09/02 17:21:41 [debug] 198245#198245: *19 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http process request header line +2025/09/02 17:21:41 [debug] 198245#198245: *19 http header: "Host: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http header: "Accept: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http header done +2025/09/02 17:21:41 [debug] 198245#198245: *19 event timer del: 6: 101862213 +2025/09/02 17:21:41 [debug] 198245#198245: *19 generic phase: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 rewrite phase: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *19 test location: "/debug/list" +2025/09/02 17:21:41 [debug] 198245#198245: *19 test location: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:21:41 [debug] 198245#198245: *19 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *19 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http cl:-1 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *19 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script var: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script value: "DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script var: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script value: "HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script var: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script value: "GET" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script not equal +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script not equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *19 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *19 generic phase: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *19 generic phase: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *19 generic phase: 7 +2025/09/02 17:21:41 [debug] 198245#198245: *19 access phase: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *19 access phase: 9 +2025/09/02 17:21:41 [debug] 198245#198245: *19 access phase: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *19 post access phase: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *19 generic phase: 12 +2025/09/02 17:21:41 [debug] 198245#198245: *19 try files handler +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".txt" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".jpg" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.jpg" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.jpg" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".jpeg" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.jpeg" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.jpeg" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".png" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.png" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.png" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".webp" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.webp" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.webp" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".gif" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.gif" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.gif" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".pdf" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.pdf" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.pdf" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".mp4" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.mp4" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.mp4" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".mp3" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.mp3" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.mp3" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http script copy: ".md" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.md" "./blobs/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.md" +2025/09/02 17:21:41 [debug] 198245#198245: *19 trying to use file: "=404" "./blobs=404" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http finalize request: 404, "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" a:1, c:1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http special response: 404, "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http set discard body +2025/09/02 17:21:41 [debug] 198245#198245: *19 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:21:41 GMT +Content-Type: text/html +Content-Length: 162 +Connection: keep-alive + +2025/09/02 17:21:41 [debug] 198245#198245: *19 write new buf t:1 f:0 000061A39E744BE0, pos 000061A39E744BE0, size: 164 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http write filter: l:0 f:0 s:164 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http output filter "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http copy filter: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http postpone filter "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" 000061A39E744DD0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 write old buf t:1 f:0 000061A39E744BE0, pos 000061A39E744BE0, size: 164 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 write new buf t:0 f:0 0000000000000000, pos 000061A36556B580, size: 100 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 write new buf t:0 f:0 0000000000000000, pos 000061A36556BC80, size: 62 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http write filter: l:1 f:0 s:326 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http write filter limit 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 writev: 326 of 326 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http write filter 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http copy filter: 0 "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" +2025/09/02 17:21:41 [debug] 198245#198245: *19 http finalize request: 0, "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36.txt?" a:1, c:1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 set http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *19 http close request +2025/09/02 17:21:41 [debug] 198245#198245: *19 http log handler +2025/09/02 17:21:41 [debug] 198245#198245: *19 free: 000061A39E74E490, unused: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 free: 000061A39E744800, unused: 2356 +2025/09/02 17:21:41 [debug] 198245#198245: *19 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 hc free: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *19 hc busy: 0000000000000000 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 tcp_nodelay +2025/09/02 17:21:41 [debug] 198245#198245: *19 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 event timer add: 6: 65000:101867213 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:2001 d:000072727B4FC1E1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *19 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *19 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *19 recv: fd:6 0 of 1024 +2025/09/02 17:21:41 [info] 198245#198245: *19 client 127.0.0.1 closed keepalive connection +2025/09/02 17:21:41 [debug] 198245#198245: *19 close http connection: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *19 event timer del: 6: 101867213 +2025/09/02 17:21:41 [debug] 198245#198245: *19 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *19 free: 000061A39E72D840, unused: 136 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 2 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: -1 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:5 ev:0001 d:000072727B4FC010 +2025/09/02 17:21:41 [debug] 198245#198245: accept on 0.0.0.0:9001, ready: 0 +2025/09/02 17:21:41 [debug] 198245#198245: posix_memalign: 000061A39E72D840:512 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *20 accept: 127.0.0.1:36692 fd:6 +2025/09/02 17:21:41 [debug] 198245#198245: *20 event timer add: 6: 60000:101862223 +2025/09/02 17:21:41 [debug] 198245#198245: *20 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 epoll add event: fd:6 op:1 ev:80002001 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 8 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0001 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http wait request handler +2025/09/02 17:21:41 [debug] 198245#198245: *20 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *20 recv: eof:0, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 recv: fd:6 143 of 1024 +2025/09/02 17:21:41 [debug] 198245#198245: *20 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 posix_memalign: 000061A39E74E490:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http process request line +2025/09/02 17:21:41 [debug] 198245#198245: *20 http request line: "HEAD /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http uri: "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http args: "" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http exten: "" +2025/09/02 17:21:41 [debug] 198245#198245: *20 posix_memalign: 000061A39E744800:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http process request header line +2025/09/02 17:21:41 [debug] 198245#198245: *20 http header: "Host: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http header: "User-Agent: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http header: "Accept: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http header done +2025/09/02 17:21:41 [debug] 198245#198245: *20 event timer del: 6: 101862223 +2025/09/02 17:21:41 [debug] 198245#198245: *20 generic phase: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 rewrite phase: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: "/debug/list" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 using configuration "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http cl:-1 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *20 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script value: "DELETE" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script equal: no +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script if: false +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script value: "HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script equal +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script if +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script regex: "^/(.*)$" +2025/09/02 17:21:41 [notice] 198245#198245: *20 "^/(.*)$" matches "/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36", client: 127.0.0.1, server: localhost, request: "HEAD /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "/fcgi-head/" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script regex end +2025/09/02 17:21:41 [notice] 198245#198245: *20 rewritten data: "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36", args: "", client: 127.0.0.1, server: localhost, request: "HEAD /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *20 uri changes: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: "/media" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: "/debug/list" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: "/health" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: ~ "^/list/([a-f0-9]{64})$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: ~ "^/([a-f0-9]{64})(\.[a-zA-Z0-9]+)?$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: ~ "^/fcgi-delete/([a-f0-9]{64}).*$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 test location: ~ "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 using configuration "^/fcgi-head/([a-f0-9]{64}).*$" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http cl:-1 max:104857600 +2025/09/02 17:21:41 [debug] 198245#198245: *20 rewrite phase: 3 +2025/09/02 17:21:41 [debug] 198245#198245: *20 post rewrite phase: 4 +2025/09/02 17:21:41 [debug] 198245#198245: *20 generic phase: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *20 generic phase: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *20 generic phase: 7 +2025/09/02 17:21:41 [debug] 198245#198245: *20 access phase: 8 +2025/09/02 17:21:41 [debug] 198245#198245: *20 access phase: 9 +2025/09/02 17:21:41 [debug] 198245#198245: *20 access phase: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *20 post access phase: 11 +2025/09/02 17:21:41 [debug] 198245#198245: *20 generic phase: 12 +2025/09/02 17:21:41 [debug] 198245#198245: *20 generic phase: 13 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http init upstream, client timer: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 epoll add event: fd:6 op:3 ev:80002005 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "REQUEST_METHOD" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "REQUEST_METHOD: HEAD" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "REQUEST_URI" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "/" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script capture: "28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "REQUEST_URI: /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "SCRIPT_FILENAME" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "./blobs" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "SCRIPT_FILENAME: ./blobs/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "QUERY_STRING" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "QUERY_STRING: " +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "CONTENT_TYPE" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "CONTENT_TYPE: " +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "CONTENT_LENGTH" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "CONTENT_LENGTH: " +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "SERVER_PROTOCOL" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "SERVER_SOFTWARE" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "nginx/" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "1.18.0" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "SERVER_SOFTWARE: nginx/1.18.0" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "REMOTE_ADDR" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "REMOTE_ADDR: 127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "REMOTE_PORT" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "36692" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "REMOTE_PORT: 36692" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "SERVER_ADDR" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "SERVER_ADDR: 127.0.0.1" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "SERVER_PORT" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "SERVER_PORT: 9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script copy: "SERVER_NAME" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http script var: "localhost" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "SERVER_NAME: localhost" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "HTTP_HOST: localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "HTTP_USER_AGENT: curl/8.15.0" +2025/09/02 17:21:41 [debug] 198245#198245: *20 fastcgi param: "HTTP_ACCEPT: */*" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http cleanup add: 000061A39E7454C8 +2025/09/02 17:21:41 [debug] 198245#198245: *20 get rr peer, try: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 stream socket 10 +2025/09/02 17:21:41 [debug] 198245#198245: *20 epoll add connection: fd:10 ev:80002005 +2025/09/02 17:21:41 [debug] 198245#198245: *20 connect to unix:/tmp/ginxsom-fcgi.sock, fd:10 #21 +2025/09/02 17:21:41 [debug] 198245#198245: *20 connected +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream connect: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 posix_memalign: 000061A39E716F20:128 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream send request +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream send request body +2025/09/02 17:21:41 [debug] 198245#198245: *20 chain writer buf fl:0 s:512 +2025/09/02 17:21:41 [debug] 198245#198245: *20 chain writer in: 000061A39E745508 +2025/09/02 17:21:41 [debug] 198245#198245: *20 writev: 512 of 512 +2025/09/02 17:21:41 [debug] 198245#198245: *20 chain writer out: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *20 event timer add: 10: 60000:101862223 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http finalize request: -4, "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" a:1, c:2 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http request count:2 blk:0 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 60000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:0004 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http run request: "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream check client, write event:1, "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36" +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:0004 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream request: "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream dummy handler +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 59999 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:10 ev:2005 d:000072727B4FC2C9 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream request: "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http upstream process header +2025/09/02 17:21:41 [debug] 198245#198245: *20 malloc: 000061A39E737140:4096 +2025/09/02 17:21:41 [debug] 198245#198245: *20 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 recv: fd:10 248 of 4096 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 7E +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 02 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record length: 126 +2025/09/02 17:21:41 [error] 198245#198245: *20 FastCGI sent in stderr: "LOG: [2025-09-02 17:21:41] HEAD /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 - Auth: none - Status: 200" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "HEAD /28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36 HTTP/1.1", upstream: "fastcgi://unix:/tmp/ginxsom-fcgi.sock:", host: "localhost:9001" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 07 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record length: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 06 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 01 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 42 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 06 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record byte: 00 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi record length: 66 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi parser: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi header: "Status: 404 Not Found" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi parser: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi header: "Content-Type: text/plain" +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi parser: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http fastcgi header done +2025/09/02 17:21:41 [debug] 198245#198245: *20 posix_memalign: 000061A39E738150:4096 @16 +2025/09/02 17:21:41 [debug] 198245#198245: *20 HTTP/1.1 404 Not Found +Server: nginx/1.18.0 (Ubuntu) +Date: Tue, 02 Sep 2025 21:21:41 GMT +Content-Type: text/plain +Connection: keep-alive + +2025/09/02 17:21:41 [debug] 198245#198245: *20 write new buf t:1 f:0 000061A39E738170, pos 000061A39E738170, size: 144 file: 0, size: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http write filter: l:1 f:0 s:144 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http write filter limit 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 writev: 144 of 144 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http write filter 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *20 finalize http upstream request: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 finalize http fastcgi request +2025/09/02 17:21:41 [debug] 198245#198245: *20 free rr peer 1 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 close http upstream connection: 10 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E716F20, unused: 48 +2025/09/02 17:21:41 [debug] 198245#198245: *20 event timer del: 10: 101862223 +2025/09/02 17:21:41 [debug] 198245#198245: *20 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http finalize request: 0, "/fcgi-head/28408ccd849c970912bdd4fd10aba23697cfd91a43c1b801af254167a25ceb36?" a:1, c:1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 set http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *20 http close request +2025/09/02 17:21:41 [debug] 198245#198245: *20 http log handler +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E737140 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E74E490, unused: 5 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E744800, unused: 104 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E738150, unused: 3735 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 hc free: 0000000000000000 +2025/09/02 17:21:41 [debug] 198245#198245: *20 hc busy: 0000000000000000 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 tcp_nodelay +2025/09/02 17:21:41 [debug] 198245#198245: *20 reusable connection: 1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 event timer add: 6: 65000:101867224 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 0 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: 65000 +2025/09/02 17:21:41 [debug] 198245#198245: epoll: fd:6 ev:2005 d:000072727B4FC1E0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 http keepalive handler +2025/09/02 17:21:41 [debug] 198245#198245: *20 malloc: 000061A39E7300A0:1024 +2025/09/02 17:21:41 [debug] 198245#198245: *20 recv: eof:1, avail:-1 +2025/09/02 17:21:41 [debug] 198245#198245: *20 recv: fd:6 0 of 1024 +2025/09/02 17:21:41 [info] 198245#198245: *20 client 127.0.0.1 closed keepalive connection +2025/09/02 17:21:41 [debug] 198245#198245: *20 close http connection: 6 +2025/09/02 17:21:41 [debug] 198245#198245: *20 event timer del: 6: 101867224 +2025/09/02 17:21:41 [debug] 198245#198245: *20 reusable connection: 0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E7300A0 +2025/09/02 17:21:41 [debug] 198245#198245: *20 free: 000061A39E72D840, unused: 120 +2025/09/02 17:21:41 [debug] 198245#198245: timer delta: 1 +2025/09/02 17:21:41 [debug] 198245#198245: worker cycle +2025/09/02 17:21:41 [debug] 198245#198245: epoll timer: -1 diff --git a/logs/fcgi-stderr.log b/logs/fcgi-stderr.log index 16c7682..bfdad1a 100755 --- a/logs/fcgi-stderr.log +++ b/logs/fcgi-stderr.log @@ -1 +1 @@ -FastCGI starting at Tue Sep 2 03:20:09 PM EDT 2025 +FastCGI starting at Tue Sep 2 05:18:26 PM EDT 2025 diff --git a/logs/nginx.pid b/logs/nginx.pid index 18eaf58..bec7c0d 100644 --- a/logs/nginx.pid +++ b/logs/nginx.pid @@ -1 +1 @@ -189132 +198244 diff --git a/logs/spawn-fcgi.log b/logs/spawn-fcgi.log deleted file mode 100755 index ab9b353..0000000 --- a/logs/spawn-fcgi.log +++ /dev/null @@ -1 +0,0 @@ -spawn-fcgi: child exited with: 127 diff --git a/src/main.c b/src/main.c index e7f78ab..c372b7a 100644 --- a/src/main.c +++ b/src/main.c @@ -17,10 +17,10 @@ #include "ginxsom.h" // Detailed debugging macros (matching test_auth_debug.c) -#define LOG_STEP(step, msg, ...) fprintf(stderr, "🔍 STEP %s: " msg "\n", step, ##__VA_ARGS__) -#define LOG_SUCCESS(msg, ...) fprintf(stderr, "✅ SUCCESS: " msg "\n", ##__VA_ARGS__) -#define LOG_ERROR(msg, ...) fprintf(stderr, "❌ ERROR: " msg "\n", ##__VA_ARGS__) -#define LOG_INFO(msg, ...) fprintf(stderr, "ℹ️ INFO: " msg "\n", ##__VA_ARGS__) +#define LOG_STEP(step, msg, ...) fprintf(stderr, "STEP %s: " msg "\n", step, ##__VA_ARGS__) +#define LOG_SUCCESS(msg, ...) fprintf(stderr, "SUCCESS: " msg "\n", ##__VA_ARGS__) +#define LOG_ERROR(msg, ...) fprintf(stderr, "ERROR: " msg "\n", ##__VA_ARGS__) +#define LOG_INFO(msg, ...) fprintf(stderr, "ℹINFO: " msg "\n", ##__VA_ARGS__) #define LOG_DIVIDER() fprintf(stderr, "═══════════════════════════════════════════════════════════════════\n") #define MAX_SHA256_LEN 65 @@ -52,88 +52,51 @@ int insert_blob_metadata(const char* sha256, long size, const char* type, sqlite3_stmt* stmt; int rc; - fprintf(stderr, "DEBUG: insert_blob_metadata() called for sha256='%s'\r\n", sha256); - fprintf(stderr, "DEBUG: Opening database at path: %s\r\n", DB_PATH); - rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READWRITE, NULL); if (rc) { - fprintf(stderr, "DEBUG: Database open FAILED: %s\r\n", sqlite3_errmsg(db)); fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(db)); return 0; } - fprintf(stderr, "DEBUG: Database opened successfully for writing\r\n"); - const char* sql = "INSERT INTO blobs (sha256, size, type, uploaded_at, uploader_pubkey, filename) VALUES (?, ?, ?, ?, ?, ?)"; - fprintf(stderr, "DEBUG: Preparing SQL: %s\r\n", sql); rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); if (rc != SQLITE_OK) { - fprintf(stderr, "DEBUG: SQL prepare FAILED: %s\r\n", sqlite3_errmsg(db)); fprintf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); sqlite3_close(db); return 0; } - fprintf(stderr, "DEBUG: SQL prepared successfully, binding parameters\r\n"); - fprintf(stderr, "DEBUG: Parameter values to bind:\r\n"); - fprintf(stderr, "DEBUG: 1. sha256 = '%s'\r\n", sha256 ? sha256 : "NULL"); - fprintf(stderr, "DEBUG: 2. size = %ld\r\n", size); - fprintf(stderr, "DEBUG: 3. type = '%s'\r\n", type ? type : "NULL"); - fprintf(stderr, "DEBUG: 4. uploaded_at = %ld\r\n", uploaded_at); - fprintf(stderr, "DEBUG: 5. uploader_pubkey = '%s'\r\n", uploader_pubkey ? uploader_pubkey : "NULL"); - fprintf(stderr, "DEBUG: 6. filename = '%s'\r\n", filename ? filename : "NULL"); - // Bind parameters - fprintf(stderr, "DEBUG: Binding parameter 1 (sha256)\r\n"); sqlite3_bind_text(stmt, 1, sha256, -1, SQLITE_STATIC); - - fprintf(stderr, "DEBUG: Binding parameter 2 (size)\r\n"); sqlite3_bind_int64(stmt, 2, size); - - fprintf(stderr, "DEBUG: Binding parameter 3 (type)\r\n"); sqlite3_bind_text(stmt, 3, type, -1, SQLITE_STATIC); - - fprintf(stderr, "DEBUG: Binding parameter 4 (uploaded_at)\r\n"); sqlite3_bind_int64(stmt, 4, uploaded_at); - - fprintf(stderr, "DEBUG: Binding parameter 5 (uploader_pubkey)\r\n"); if (uploader_pubkey) { - fprintf(stderr, "DEBUG: Binding uploader_pubkey as text: '%s'\r\n", uploader_pubkey); sqlite3_bind_text(stmt, 5, uploader_pubkey, -1, SQLITE_STATIC); } else { - fprintf(stderr, "DEBUG: Binding uploader_pubkey as NULL\r\n"); sqlite3_bind_null(stmt, 5); } - - fprintf(stderr, "DEBUG: Binding parameter 6 (filename)\r\n"); if (filename) { - fprintf(stderr, "DEBUG: Binding filename as text: '%s'\r\n", filename); sqlite3_bind_text(stmt, 6, filename, -1, SQLITE_STATIC); } else { - fprintf(stderr, "DEBUG: Binding filename as NULL\r\n"); sqlite3_bind_null(stmt, 6); } - fprintf(stderr, "DEBUG: Parameters bound, executing INSERT\r\n"); rc = sqlite3_step(stmt); int success = 0; if (rc == SQLITE_DONE) { - fprintf(stderr, "DEBUG: INSERT successful\r\n"); success = 1; } else if (rc == SQLITE_CONSTRAINT) { - fprintf(stderr, "DEBUG: INSERT failed - blob already exists (duplicate sha256)\r\n"); // This is actually OK - blob already exists with same hash success = 1; } else { - fprintf(stderr, "DEBUG: INSERT failed: %s\r\n", sqlite3_errmsg(db)); success = 0; } sqlite3_finalize(stmt); sqlite3_close(db); - fprintf(stderr, "DEBUG: Database closed, returning %d\r\n", success); return success; } @@ -143,41 +106,40 @@ int get_blob_metadata(const char* sha256, blob_metadata_t* metadata) { sqlite3_stmt* stmt; int rc; - fprintf(stderr, "DEBUG: get_blob_metadata() called with sha256='%s'\r\n", sha256); - fprintf(stderr, "DEBUG: Opening database at path: %s\r\n", DB_PATH); + + rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); if (rc) { - fprintf(stderr, "DEBUG: Database open FAILED: %s\r\n", sqlite3_errmsg(db)); + fprintf(stderr, "Can't open database: %s\n", sqlite3_errmsg(db)); return 0; } - fprintf(stderr, "DEBUG: Database opened successfully\r\n"); + const char* sql = "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE sha256 = ?"; - fprintf(stderr, "DEBUG: Preparing SQL: %s\r\n", sql); + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); if (rc != SQLITE_OK) { - fprintf(stderr, "DEBUG: SQL prepare FAILED: %s\r\n", sqlite3_errmsg(db)); + fprintf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); sqlite3_close(db); return 0; } - fprintf(stderr, "DEBUG: SQL prepared successfully\r\n"); - fprintf(stderr, "DEBUG: Binding parameter sha256='%s'\r\n", sha256); + + sqlite3_bind_text(stmt, 1, sha256, -1, SQLITE_STATIC); - fprintf(stderr, "DEBUG: Executing SQL query...\r\n"); + rc = sqlite3_step(stmt); - fprintf(stderr, "DEBUG: sqlite3_step() returned: %d (SQLITE_ROW=%d, SQLITE_DONE=%d)\r\n", - rc, SQLITE_ROW, SQLITE_DONE); + if (rc == SQLITE_ROW) { - fprintf(stderr, "DEBUG: Row found! Extracting metadata...\r\n"); + strncpy(metadata->sha256, (char*)sqlite3_column_text(stmt, 0), MAX_SHA256_LEN-1); metadata->size = sqlite3_column_int64(stmt, 1); strncpy(metadata->type, (char*)sqlite3_column_text(stmt, 2), MAX_MIME_LEN-1); @@ -189,16 +151,15 @@ int get_blob_metadata(const char* sha256, blob_metadata_t* metadata) { metadata->filename[0] = '\0'; } metadata->found = 1; - fprintf(stderr, "DEBUG: Metadata extracted - size=%ld, type='%s'\r\n", - metadata->size, metadata->type); + } else { - fprintf(stderr, "DEBUG: No row found for sha256='%s'\r\n", sha256); + metadata->found = 0; } sqlite3_finalize(stmt); sqlite3_close(db); - fprintf(stderr, "DEBUG: Database closed, returning %d\r\n", metadata->found); + return metadata->found; } @@ -230,17 +191,17 @@ int file_exists_with_type(const char* sha256, const char* mime_type) { snprintf(filepath, sizeof(filepath), "blobs/%s%s", sha256, extension); - fprintf(stderr, "DEBUG: file_exists_with_type() checking path: '%s' (MIME: %s)\r\n", filepath, mime_type); + struct stat st; int result = stat(filepath, &st); - fprintf(stderr, "DEBUG: stat() returned: %d (0=success, -1=fail)\r\n", result); + if (result == 0) { - fprintf(stderr, "DEBUG: File exists! Size: %ld bytes\r\n", st.st_size); + return 1; } else { - fprintf(stderr, "DEBUG: File does not exist or stat failed\r\n"); + return 0; } } @@ -249,29 +210,29 @@ int file_exists_with_type(const char* sha256, const char* mime_type) { void handle_head_request(const char* sha256) { blob_metadata_t metadata = {0}; - fprintf(stderr, "DEBUG: handle_head_request called with sha256=%s\r\n", sha256); + // Validate SHA-256 format (64 hex characters) if (strlen(sha256) != 64) { - fprintf(stderr, "DEBUG: SHA-256 length validation failed: %zu\r\n", strlen(sha256)); + printf("Status: 400 Bad Request\r\n"); printf("Content-Type: text/plain\r\n\r\n"); printf("Invalid SHA-256 hash format\n"); return; } - fprintf(stderr, "DEBUG: SHA-256 length validation passed\r\n"); + // Check if blob exists in database - this is the single source of truth if (!get_blob_metadata(sha256, &metadata)) { - fprintf(stderr, "DEBUG: Database lookup failed for sha256=%s\r\n", sha256); + printf("Status: 404 Not Found\r\n"); printf("Content-Type: text/plain\r\n\r\n"); printf("Blob not found\n"); return; } - fprintf(stderr, "DEBUG: Database lookup succeeded - blob exists\r\n"); + // Return successful HEAD response with metadata from database printf("Status: 200 OK\r\n"); @@ -335,39 +296,38 @@ const char* extract_sha256_from_uri(const char* uri) { // Parse Authorization header and extract JSON event int parse_authorization_header(const char* auth_header, char* event_json, size_t json_size) { if (!auth_header || !event_json) { - fprintf(stderr, "DEBUG: parse_authorization_header - invalid parameters: auth_header=%p, event_json=%p\n", - (void*)auth_header, (void*)event_json); + return NOSTR_ERROR_INVALID_INPUT; } - fprintf(stderr, "DEBUG: parse_authorization_header called with header: %.50s...\n", auth_header); + // Check for "Nostr " prefix (case-insensitive) const char* prefix = "nostr "; size_t prefix_len = strlen(prefix); if (strncasecmp(auth_header, prefix, prefix_len) != 0) { - fprintf(stderr, "DEBUG: Authorization header missing 'Nostr ' prefix (found: %.10s)\n", auth_header); + return NOSTR_ERROR_INVALID_INPUT; } // Extract base64 encoded event after "Nostr " const char* base64_event = auth_header + prefix_len; - fprintf(stderr, "DEBUG: Extracted base64 event (length=%zu): %.100s...\n", strlen(base64_event), base64_event); + // Decode base64 to JSON using nostr_core_lib base64 decode unsigned char decoded_buffer[4096]; size_t decoded_len = base64_decode(base64_event, decoded_buffer); - fprintf(stderr, "DEBUG: Base64 decode result - decoded_len=%zu\n", decoded_len); + if (decoded_len == 0) { - fprintf(stderr, "DEBUG: Failed to decode base64 event - base64_decode returned 0\n"); + return NOSTR_ERROR_INVALID_INPUT; } if (decoded_len >= json_size) { - fprintf(stderr, "DEBUG: Decoded JSON too large for buffer (decoded_len=%zu, json_size=%zu)\n", decoded_len, json_size); + return NOSTR_ERROR_INVALID_INPUT; } @@ -375,7 +335,7 @@ int parse_authorization_header(const char* auth_header, char* event_json, size_t memcpy(event_json, decoded_buffer, decoded_len); event_json[decoded_len] = '\0'; - fprintf(stderr, "DEBUG: Successfully decoded JSON (length=%zu): %s\n", decoded_len, event_json); + return NOSTR_SUCCESS; } @@ -385,32 +345,32 @@ int validate_blossom_event(cJSON* event, const char* expected_hash, const char* return NOSTR_ERROR_INVALID_INPUT; } - fprintf(stderr, "DEBUG: Validating Blossom event\r\n"); + // Check event kind (must be 24242 for Blossom uploads) cJSON* kind_json = cJSON_GetObjectItem(event, "kind"); if (!kind_json || !cJSON_IsNumber(kind_json)) { - fprintf(stderr, "DEBUG: Event missing or invalid 'kind' field\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } int kind = cJSON_GetNumberValue(kind_json); if (kind != 24242) { - fprintf(stderr, "DEBUG: Event kind %d is not 24242 (Blossom upload)\r\n", kind); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } // Check that created_at exists (basic validation) cJSON* created_at_json = cJSON_GetObjectItem(event, "created_at"); if (!created_at_json || !cJSON_IsNumber(created_at_json)) { - fprintf(stderr, "DEBUG: Event missing or invalid 'created_at' field\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } // Look for expiration in tags cJSON* tags = cJSON_GetObjectItem(event, "tags"); if (!tags || !cJSON_IsArray(tags)) { - fprintf(stderr, "DEBUG: Event missing or invalid 'tags' field\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } @@ -435,7 +395,7 @@ int validate_blossom_event(cJSON* event, const char* expected_hash, const char* const char* event_method = cJSON_GetStringValue(method_value); if (strcmp(event_method, method) == 0) { found_method = 1; - fprintf(stderr, "DEBUG: Found matching method tag: %s\r\n", event_method); + } } } else if (strcmp(tag_name_str, "x") == 0) { @@ -445,7 +405,7 @@ int validate_blossom_event(cJSON* event, const char* expected_hash, const char* const char* event_hash = cJSON_GetStringValue(hash_value); if (expected_hash && strcmp(event_hash, expected_hash) == 0) { found_hash = 1; - fprintf(stderr, "DEBUG: Found matching hash tag: %s\r\n", event_hash); + } } } else if (strcmp(tag_name_str, "expiration") == 0) { @@ -453,31 +413,31 @@ int validate_blossom_event(cJSON* event, const char* expected_hash, const char* cJSON* exp_value = cJSON_GetArrayItem(tag, 1); if (exp_value && cJSON_IsString(exp_value)) { expiration = (time_t)atol(cJSON_GetStringValue(exp_value)); - fprintf(stderr, "DEBUG: Found expiration tag: %ld\r\n", expiration); + } } } // Check if method matches (required) if (!found_method) { - fprintf(stderr, "DEBUG: Event missing or invalid method tag\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } // Check if hash matches (if provided) if (expected_hash && !found_hash) { - fprintf(stderr, "DEBUG: Event hash doesn't match expected hash\r\n"); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } // Check expiration time_t now = time(NULL); if (expiration > 0 && now > expiration) { - fprintf(stderr, "DEBUG: Event expired (now: %ld, exp: %ld)\r\n", now, expiration); + return NOSTR_ERROR_EVENT_INVALID_CONTENT; } - fprintf(stderr, "DEBUG: Blossom event validation passed\r\n"); + return NOSTR_SUCCESS; } @@ -1012,23 +972,7 @@ int authenticate_request(const char* auth_header, const char* method, const char structure_result, nostr_strerror(structure_result)); // EMERGENCY DEBUG: Write structure validation result to file - FILE* debug_file = fopen("debug_validation.log", "a"); - if (debug_file) { - fprintf(debug_file, "=== STRUCTURE VALIDATION DEBUG ===\n"); - fprintf(debug_file, "nostr_validate_event_structure result: %d (%s)\n", - structure_result, nostr_strerror(structure_result)); - if (structure_result != NOSTR_SUCCESS) { - fprintf(debug_file, "STRUCTURE VALIDATION FAILED!\n"); - // Log the event JSON for debugging - char* event_str = cJSON_Print(event); - if (event_str) { - fprintf(debug_file, "Event JSON: %s\n", event_str); - free(event_str); - } - } - fprintf(debug_file, "=== END STRUCTURE DEBUG ===\n\n"); - fclose(debug_file); - } + if (structure_result != NOSTR_SUCCESS) { LOG_ERROR("STRUCTURE validation failed!"); @@ -1043,23 +987,7 @@ int authenticate_request(const char* auth_header, const char* method, const char LOG_INFO("nostr_verify_event_signature returned: %d (%s)", crypto_result, nostr_strerror(crypto_result)); - // EMERGENCY DEBUG: Write crypto validation result to file - FILE* debug_file2 = fopen("debug_validation.log", "a"); - if (debug_file2) { - fprintf(debug_file2, "=== CRYPTO VALIDATION DEBUG ===\n"); - fprintf(debug_file2, "nostr_verify_event_signature result: %d (%s)\n", - crypto_result, nostr_strerror(crypto_result)); - if (crypto_result != NOSTR_SUCCESS) { - fprintf(debug_file2, "CRYPTO VALIDATION FAILED!\n"); - if (pubkey_json && cJSON_IsString(pubkey_json)) { - const char* pubkey_str = cJSON_GetStringValue(pubkey_json); - fprintf(debug_file2, "Failed pubkey: %s (length: %zu)\n", - pubkey_str ? pubkey_str : "NULL", pubkey_str ? strlen(pubkey_str) : 0); - } - } - fprintf(debug_file2, "=== END CRYPTO DEBUG ===\n\n"); - fclose(debug_file2); - } + if (crypto_result != NOSTR_SUCCESS) { LOG_ERROR("CRYPTO verification failed!"); @@ -1079,23 +1007,7 @@ int authenticate_request(const char* auth_header, const char* method, const char LOG_INFO("nostr_validate_event returned: %d (%s)", validation_result, nostr_strerror(validation_result)); - // EMERGENCY DEBUG: Write complete validation result to file - FILE* debug_file3 = fopen("debug_validation.log", "a"); - if (debug_file3) { - fprintf(debug_file3, "=== COMPLETE VALIDATION DEBUG ===\n"); - fprintf(debug_file3, "nostr_validate_event result: %d (%s)\n", - validation_result, nostr_strerror(validation_result)); - if (validation_result != NOSTR_SUCCESS) { - fprintf(debug_file3, "COMPLETE VALIDATION FAILED!\n"); - if (pubkey_json && cJSON_IsString(pubkey_json)) { - const char* pubkey_str = cJSON_GetStringValue(pubkey_json); - fprintf(debug_file3, "Pubkey length: %zu, value: %s\n", - pubkey_str ? strlen(pubkey_str) : 0, pubkey_str ? pubkey_str : "NULL"); - } - } - fprintf(debug_file3, "=== END COMPLETE DEBUG ===\n\n"); - fclose(debug_file3); - } + if (validation_result != NOSTR_SUCCESS) { LOG_ERROR("COMPLETE validation failed: %d (%s)", @@ -1172,7 +1084,7 @@ int auth_rules_enabled(void) { rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); if (rc) { - fprintf(stderr, "DEBUG: Database open failed in auth_rules_enabled: %s\r\n", sqlite3_errmsg(db)); + return 0; // Disable rules if can't check database } @@ -1565,7 +1477,7 @@ int check_auth_cache(const char* cache_key, auth_rule_result_t* result) { sqlite3_finalize(stmt); sqlite3_close(db); - fprintf(stderr, "DEBUG: Cache hit for key: %.16s... (allowed=%d)\r\n", cache_key, result->allowed); + return 1; } @@ -1586,7 +1498,7 @@ void store_auth_cache(const char* cache_key, const auth_rule_result_t* result) { rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READWRITE, NULL); if (rc) { - fprintf(stderr, "DEBUG: Failed to open database for caching: %s\r\n", sqlite3_errmsg(db)); + return; } @@ -1617,13 +1529,7 @@ void store_auth_cache(const char* cache_key, const auth_rule_result_t* result) { sqlite3_bind_int(stmt, 3, result->rule_id); sqlite3_bind_text(stmt, 4, result->reason, -1, SQLITE_STATIC); sqlite3_bind_int(stmt, 5, cache_ttl); - rc = sqlite3_step(stmt); - if (rc == SQLITE_DONE) { - fprintf(stderr, "DEBUG: Cached auth decision for key: %.16s... (TTL=%d)\r\n", cache_key, cache_ttl); - } else { - fprintf(stderr, "DEBUG: Failed to cache auth decision: %s\r\n", sqlite3_errmsg(db)); - } sqlite3_finalize(stmt); } @@ -1642,13 +1548,10 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h result->allowed = 1; // Default allow if no rules apply strcpy(result->reason, "No rules matched - default allow"); - fprintf(stderr, "DEBUG: evaluate_auth_rules called - pubkey=%s, op=%s, hash=%s, mime=%s, size=%ld\r\n", - pubkey ? pubkey : "NULL", operation ? operation : "NULL", - hash ? hash : "NULL", mime_type ? mime_type : "NULL", file_size); - + // Check if authentication rules system is enabled if (!auth_rules_enabled()) { - fprintf(stderr, "DEBUG: Authentication rules system is disabled\r\n"); + strcpy(result->reason, "Authentication rules system disabled - default allow"); return 1; } @@ -1659,11 +1562,11 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h // Check cache first for performance if (check_auth_cache(cache_key, result)) { - fprintf(stderr, "DEBUG: Using cached authentication decision\r\n"); + return 1; } - fprintf(stderr, "DEBUG: No cache hit - evaluating rules in priority order\r\n"); + // Evaluate rules in priority order (lower priority number = higher precedence) auth_rule_result_t rule_result; @@ -1676,7 +1579,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h *result = rule_result; highest_priority = rule_result.priority; rule_matched = 1; - fprintf(stderr, "DEBUG: Pubkey blacklist rule matched (priority %d)\r\n", rule_result.priority); + } } @@ -1686,7 +1589,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h *result = rule_result; highest_priority = rule_result.priority; rule_matched = 1; - fprintf(stderr, "DEBUG: Hash blacklist rule matched (priority %d)\r\n", rule_result.priority); + } } @@ -1696,7 +1599,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h *result = rule_result; highest_priority = rule_result.priority; rule_matched = 1; - fprintf(stderr, "DEBUG: MIME type blacklist rule matched (priority %d)\r\n", rule_result.priority); + } } @@ -1706,7 +1609,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h *result = rule_result; highest_priority = rule_result.priority; rule_matched = 1; - fprintf(stderr, "DEBUG: Size limit rule matched (priority %d)\r\n", rule_result.priority); + } } @@ -1716,7 +1619,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h *result = rule_result; highest_priority = rule_result.priority; rule_matched = 1; - fprintf(stderr, "DEBUG: Pubkey whitelist rule matched (priority %d)\r\n", rule_result.priority); + } } @@ -1726,7 +1629,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h *result = rule_result; highest_priority = rule_result.priority; rule_matched = 1; - fprintf(stderr, "DEBUG: MIME type whitelist rule matched (priority %d)\r\n", rule_result.priority); + } } @@ -1758,7 +1661,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h snprintf(result->reason, sizeof(result->reason), "Denied - pubkey not in whitelist (found %d whitelist rules)", whitelist_count); rule_matched = 1; - fprintf(stderr, "DEBUG: Denied due to whitelist policy - pubkey not whitelisted\r\n"); + } } sqlite3_finalize(stmt); @@ -1770,8 +1673,7 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h // Cache the decision for future requests store_auth_cache(cache_key, result); - fprintf(stderr, "DEBUG: Rule evaluation complete - allowed=%d, rule_id=%d, reason=%s\r\n", - result->allowed, result->rule_id, result->reason); + return rule_matched; } @@ -1779,22 +1681,20 @@ int evaluate_auth_rules(const char* pubkey, const char* operation, const char* h // Enhanced authentication function that integrates rule evaluation int authenticate_request_with_rules(const char* auth_header, const char* method, const char* file_hash, const char* mime_type, long file_size) { - fprintf(stderr, "DEBUG: authenticate_request_with_rules called - method: %s, file_hash: %s, mime_type: %s, file_size: %ld\r\n", - method ? method : "NULL", file_hash ? file_hash : "NULL", mime_type ? mime_type : "NULL", file_size); - + // Step 1: Basic nostr authentication (if header provided) const char* pubkey = NULL; static char pubkey_buffer[256]; if (auth_header) { - fprintf(stderr, "DEBUG: Authorization header provided, starting basic nostr authentication\r\n"); + // Parse and validate nostr event first int auth_result = authenticate_request(auth_header, method, file_hash); if (auth_result != NOSTR_SUCCESS) { - fprintf(stderr, "DEBUG: Basic nostr authentication failed: %d (%s)\r\n", auth_result, nostr_strerror(auth_result)); + return auth_result; } - fprintf(stderr, "DEBUG: Basic nostr authentication PASSED\r\n"); + // Extract pubkey from validated event char event_json[4096]; @@ -1814,9 +1714,9 @@ int authenticate_request_with_rules(const char* auth_header, const char* method, cJSON_Delete(event); } } - fprintf(stderr, "DEBUG: Extracted pubkey from auth: %s\r\n", pubkey ? pubkey : "NULL"); + } else { - fprintf(stderr, "DEBUG: No authorization header - evaluating rules for anonymous request\r\n"); + } // Step 2: Evaluate authentication rules @@ -1824,11 +1724,11 @@ int authenticate_request_with_rules(const char* auth_header, const char* method, int rule_evaluated = evaluate_auth_rules(pubkey, method, file_hash, mime_type, file_size, &rule_result); if (rule_evaluated && !rule_result.allowed) { - fprintf(stderr, "DEBUG: Request denied by authentication rules: %s\r\n", rule_result.reason); + return NOSTR_ERROR_INVALID_INPUT; // Authentication denied by rules } - fprintf(stderr, "DEBUG: Request allowed - nostr auth + rules passed\r\n"); + return NOSTR_SUCCESS; } @@ -1869,7 +1769,7 @@ void log_request(const char* method, const char* uri, const char* auth_status, i // Handle GET /list/ requests void handle_list_request(const char* pubkey) { - fprintf(stderr, "DEBUG: handle_list_request called with pubkey=%s\r\n", pubkey ? pubkey : "NULL"); + // Log the incoming request log_request("GET", "/list", "pending", 0); @@ -1897,20 +1797,20 @@ void handle_list_request(const char* pubkey) { long until_timestamp = 0; if (query_string) { - fprintf(stderr, "DEBUG: Query string: %s\r\n", query_string); + // Parse since parameter const char* since_param = strstr(query_string, "since="); if (since_param) { since_timestamp = atol(since_param + 6); - fprintf(stderr, "DEBUG: Since timestamp: %ld\r\n", since_timestamp); + } // Parse until parameter const char* until_param = strstr(query_string, "until="); if (until_param) { until_timestamp = atol(until_param + 6); - fprintf(stderr, "DEBUG: Until timestamp: %ld\r\n", until_timestamp); + } } @@ -1919,7 +1819,7 @@ void handle_list_request(const char* pubkey) { const char* auth_status = "none"; if (auth_header) { - fprintf(stderr, "DEBUG: Authorization header provided for list request\r\n"); + int auth_result = authenticate_request_with_rules(auth_header, "list", NULL, NULL, 0); if (auth_result != NOSTR_SUCCESS) { send_error_response(401, "authentication_failed", "Invalid or expired authentication", @@ -1937,7 +1837,7 @@ void handle_list_request(const char* pubkey) { rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READONLY, NULL); if (rc) { - fprintf(stderr, "DEBUG: Database open failed: %s\r\n", sqlite3_errmsg(db)); + send_error_response(500, "database_error", "Failed to access database", "Internal server error"); log_request("GET", "/list", auth_status, 500); return; @@ -1959,11 +1859,11 @@ void handle_list_request(const char* pubkey) { "SELECT sha256, size, type, uploaded_at, filename FROM blobs WHERE uploader_pubkey = ? ORDER BY uploaded_at DESC"); } - fprintf(stderr, "DEBUG: SQL query: %s\r\n", sql); + rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); if (rc != SQLITE_OK) { - fprintf(stderr, "DEBUG: SQL prepare failed: %s\r\n", sqlite3_errmsg(db)); + sqlite3_close(db); send_error_response(500, "database_error", "Failed to prepare query", "Internal server error"); log_request("GET", "/list", auth_status, 500); @@ -2044,13 +1944,13 @@ void handle_list_request(const char* pubkey) { sqlite3_finalize(stmt); sqlite3_close(db); - fprintf(stderr, "DEBUG: List request completed successfully\r\n"); + log_request("GET", "/list", auth_status, 200); } // Handle DELETE / requests void handle_delete_request(const char* sha256) { - fprintf(stderr, "DEBUG: handle_delete_request called with sha256=%s\r\n", sha256 ? sha256 : "NULL"); + // Log the incoming request log_request("DELETE", "/delete", "pending", 0); @@ -2117,8 +2017,16 @@ void handle_delete_request(const char* sha256) { return; } - const char* auth_pubkey = cJSON_GetStringValue(pubkey_json); + // Copy auth_pubkey to local buffer before deleting the cJSON object + char auth_pubkey_copy[256] = {0}; + const char* temp_auth_pubkey = cJSON_GetStringValue(pubkey_json); + if (temp_auth_pubkey) { + strncpy(auth_pubkey_copy, temp_auth_pubkey, sizeof(auth_pubkey_copy) - 1); + } + fprintf(stderr, "DELETE DEBUG: auth_pubkey extracted from request: '%s'\n", auth_pubkey_copy); + cJSON_Delete(event); + const char* auth_pubkey = auth_pubkey_copy; // Use the copied version // Check if blob exists in database sqlite3* db; @@ -2127,7 +2035,7 @@ void handle_delete_request(const char* sha256) { rc = sqlite3_open_v2(DB_PATH, &db, SQLITE_OPEN_READWRITE, NULL); if (rc) { - fprintf(stderr, "DEBUG: Database open failed: %s\r\n", sqlite3_errmsg(db)); + send_error_response(500, "database_error", "Failed to access database", "Internal server error"); log_request("DELETE", "/delete", "authenticated", 500); return; @@ -2137,7 +2045,7 @@ void handle_delete_request(const char* sha256) { const char* sql = "SELECT uploader_pubkey, type FROM blobs WHERE sha256 = ?"; rc = sqlite3_prepare_v2(db, sql, -1, &stmt, NULL); if (rc != SQLITE_OK) { - fprintf(stderr, "DEBUG: SQL prepare failed: %s\r\n", sqlite3_errmsg(db)); + sqlite3_close(db); send_error_response(500, "database_error", "Failed to prepare query", "Internal server error"); log_request("DELETE", "/delete", "authenticated", 500); @@ -2158,6 +2066,12 @@ void handle_delete_request(const char* sha256) { // Get blob metadata const char* uploader_pubkey = (const char*)sqlite3_column_text(stmt, 0); const char* blob_type = (const char*)sqlite3_column_text(stmt, 1); + fprintf(stderr, "DELETE DEBUG: database query results - uploader_pubkey: '%s', blob_type: '%s'\n", + uploader_pubkey ? uploader_pubkey : "NULL", blob_type ? blob_type : "NULL"); + + + + // Create copies of the strings since they may be invalidated after finalize char uploader_pubkey_copy[256] = {0}; @@ -2172,21 +2086,40 @@ void handle_delete_request(const char* sha256) { sqlite3_finalize(stmt); + fprintf(stderr, "DELETE DEBUG: copied strings - uploader_pubkey_copy: '%s', blob_type_copy: '%s'\n", + uploader_pubkey_copy, blob_type_copy); + + + + // Check ownership - only the uploader can delete - if (!uploader_pubkey_copy[0] || strcmp(uploader_pubkey_copy, auth_pubkey) != 0) { +fprintf(stderr, "DELETE DEBUG: ownership check - auth_pubkey: '%s', uploader_pubkey_copy: '%s'\n", + auth_pubkey ? auth_pubkey : "NULL", uploader_pubkey_copy); +fprintf(stderr, "DELETE DEBUG: uploader_pubkey_copy[0]: %d, strcmp result: %d\n", + uploader_pubkey_copy[0], uploader_pubkey_copy[0] ? strcmp(uploader_pubkey_copy, auth_pubkey) : -999); + +if (!uploader_pubkey_copy[0] || strcmp(uploader_pubkey_copy, auth_pubkey) != 0) { + fprintf(stderr, "DELETE DEBUG: ownership check FAILED - reason: %s\n", + !uploader_pubkey_copy[0] ? "uploader_pubkey_copy is empty" : "pubkeys don't match"); + + + sqlite3_close(db); send_error_response(403, "access_denied", "Access denied", "You can only delete blobs that you uploaded"); log_request("DELETE", "/delete", "ownership_denied", 403); return; + } else { + fprintf(stderr, "DELETE DEBUG: ownership check PASSED - proceeding with delete\n"); + } - fprintf(stderr, "DEBUG: Ownership check passed, proceeding with deletion\r\n"); + // Delete from database first const char* delete_sql = "DELETE FROM blobs WHERE sha256 = ?"; rc = sqlite3_prepare_v2(db, delete_sql, -1, &stmt, NULL); if (rc != SQLITE_OK) { - fprintf(stderr, "DEBUG: Delete SQL prepare failed: %s\r\n", sqlite3_errmsg(db)); + sqlite3_close(db); send_error_response(500, "database_error", "Failed to prepare delete", "Internal server error"); log_request("DELETE", "/delete", "authenticated", 500); @@ -2200,13 +2133,13 @@ void handle_delete_request(const char* sha256) { sqlite3_close(db); if (rc != SQLITE_DONE) { - fprintf(stderr, "DEBUG: Database delete failed: %d\r\n", rc); + send_error_response(500, "database_error", "Failed to delete blob metadata", "Internal server error"); log_request("DELETE", "/delete", "authenticated", 500); return; } - fprintf(stderr, "DEBUG: Blob metadata deleted from database\r\n"); + // Determine file extension from MIME type and delete physical file const char* extension = ""; @@ -2235,17 +2168,16 @@ void handle_delete_request(const char* sha256) { char filepath[MAX_PATH_LEN]; snprintf(filepath, sizeof(filepath), "blobs/%s%s", sha256, extension); - fprintf(stderr, "DEBUG: Attempting to delete file: %s\r\n", filepath); - + // Delete the physical file if (unlink(filepath) != 0) { - fprintf(stderr, "DEBUG: Failed to delete physical file: %s\r\n", filepath); - // File deletion failed, but database is already updated - // Log warning but don't fail the request - fprintf(stderr, "WARNING: Physical file deletion failed, but metadata was removed\r\n"); + fprintf(stderr, "DELETE DEBUG: Warning - failed to delete physical file %s\n", filepath); } else { - fprintf(stderr, "DEBUG: Physical file deleted successfully\r\n"); + fprintf(stderr, "DELETE DEBUG: Successfully deleted physical file %s\n", filepath); } + + + // Return success response printf("Status: 200 OK\r\n"); printf("Content-Type: application/json\r\n\r\n"); @@ -2253,15 +2185,12 @@ void handle_delete_request(const char* sha256) { printf(" \"message\": \"Blob deleted successfully\",\n"); printf(" \"sha256\": \"%s\"\n", sha256); printf("}\n"); - - fprintf(stderr, "DEBUG: Delete operation completed successfully\r\n"); + log_request("DELETE", "/delete", "authenticated", 200); } // Handle PUT /upload requests void handle_upload_request(void) { - fprintf(stderr, "ENTRY: Entering handle_upload_request() function\r\n"); - fprintf(stderr, "DEBUG: handle_upload_request called\r\n"); // Log the incoming request log_request("PUT", "/upload", "pending", 0); @@ -2270,8 +2199,8 @@ void handle_upload_request(void) { const char* content_type = getenv("CONTENT_TYPE"); const char* content_length_str = getenv("CONTENT_LENGTH"); - fprintf(stderr, "DEBUG: content_type=%s\r\n", content_type ? content_type : "NULL"); - fprintf(stderr, "DEBUG: content_length=%s\r\n", content_length_str ? content_length_str : "NULL"); + + // Validate required headers if (!content_type) { @@ -2295,7 +2224,7 @@ void handle_upload_request(void) { // Get Authorization header for authentication const char* auth_header = getenv("HTTP_AUTHORIZATION"); - fprintf(stderr, "DEBUG: Raw Authorization header: %s\r\n", auth_header ? auth_header : "NULL"); + // Store uploader pubkey for metadata (will be extracted during auth if provided) const char* uploader_pubkey = NULL; @@ -2316,7 +2245,7 @@ void handle_upload_request(void) { size_t bytes_read = fread(file_data, 1, content_length, stdin); if (bytes_read != (size_t)content_length) { - fprintf(stderr, "DEBUG: Expected %ld bytes, read %zu bytes\r\n", content_length, bytes_read); + free(file_data); printf("Status: 400 Bad Request\r\n"); printf("Content-Type: text/plain\r\n\r\n"); @@ -2327,20 +2256,7 @@ void handle_upload_request(void) { // Calculate SHA-256 hash using nostr_core function unsigned char hash[32]; - - // EMERGENCY DEBUG: Write to direct file - FILE* debug_file = fopen("debug_hash_data.log", "a"); - if (debug_file) { - fprintf(debug_file, "=== HASH DEBUG SESSION ===\n"); - fprintf(debug_file, "Content length: %ld\n", content_length); - fprintf(debug_file, "File data to hash: "); - for (int i = 0; i < content_length; i++) { - fprintf(debug_file, "%02x", (unsigned char)file_data[i]); - } - fprintf(debug_file, "\n"); - fprintf(debug_file, "File data as string: %.*s\n", (int)content_length, file_data); - fclose(debug_file); - } + if (nostr_sha256(file_data, content_length, hash) != NOSTR_SUCCESS) { free(file_data); @@ -2353,16 +2269,10 @@ void handle_upload_request(void) { // Convert hash to hex string char sha256_hex[65]; nostr_bytes_to_hex(hash, 32, sha256_hex); - fprintf(stderr, "DEBUG-LAAN: Calculated SHA-256: %s\r\n", sha256_hex); + fflush(stderr); - // EMERGENCY DEBUG: Write calculated hash to direct file - FILE* debug_file2 = fopen("debug_hash_data.log", "a"); - if (debug_file2) { - fprintf(debug_file2, "Calculated SHA-256: %s\n", sha256_hex); - fprintf(debug_file2, "=== END DEBUG SESSION ===\n\n"); - fclose(debug_file2); - } + // TEMPORARY FIX: Bypass rules system and use simple authentication fprintf(stderr, "AUTH: About to perform authentication - auth_header present: %s\r\n", auth_header ? "YES" : "NO"); @@ -2445,7 +2355,7 @@ void handle_upload_request(void) { } } - fprintf(stderr, "DEBUG: Authentication passed, uploader_pubkey: %s\r\n", uploader_pubkey ? uploader_pubkey : "anonymous"); + // Determine file extension from Content-Type const char* extension = ""; @@ -2476,7 +2386,7 @@ void handle_upload_request(void) { char filepath[MAX_PATH_LEN]; snprintf(filepath, sizeof(filepath), "blobs/%s%s", sha256_hex, extension); - fprintf(stderr, "DEBUG: Saving file to: %s\r\n", filepath); + FILE* outfile = fopen(filepath, "wb"); if (!outfile) { @@ -2495,7 +2405,7 @@ void handle_upload_request(void) { fprintf(stderr, "WARNING: Failed to set file permissions for %s\r\n", filepath); // Continue anyway - this is not a fatal error } else { - fprintf(stderr, "DEBUG: File permissions set to 644 for %s\r\n", filepath); + } free(file_data); @@ -2508,25 +2418,25 @@ void handle_upload_request(void) { return; } - fprintf(stderr, "DEBUG: Successfully saved %zu bytes to %s\r\n", bytes_written, filepath); + // Extract filename from Content-Disposition header if present const char* filename = NULL; const char* content_disposition = getenv("HTTP_CONTENT_DISPOSITION"); - fprintf(stderr, "DEBUG: Content-Disposition header: %s\r\n", content_disposition ? content_disposition : "NULL"); + if (content_disposition) { - fprintf(stderr, "DEBUG: Looking for filename= in Content-Disposition header\r\n"); + // Look for filename= in Content-Disposition header const char* filename_start = strstr(content_disposition, "filename="); if (filename_start) { - fprintf(stderr, "DEBUG: Found filename= at position %ld\r\n", filename_start - content_disposition); + filename_start += 9; // Skip "filename=" - fprintf(stderr, "DEBUG: Filename value starts with: %.20s\r\n", filename_start); + // Handle quoted filenames if (*filename_start == '"') { - fprintf(stderr, "DEBUG: Processing quoted filename\r\n"); + filename_start++; // Skip opening quote // Find closing quote const char* filename_end = strchr(filename_start, '"'); @@ -2534,20 +2444,20 @@ void handle_upload_request(void) { // Extract filename between quotes static char filename_buffer[256]; size_t filename_len = filename_end - filename_start; - fprintf(stderr, "DEBUG: Quoted filename length: %zu\r\n", filename_len); + if (filename_len < sizeof(filename_buffer)) { strncpy(filename_buffer, filename_start, filename_len); filename_buffer[filename_len] = '\0'; filename = filename_buffer; - fprintf(stderr, "DEBUG: Extracted quoted filename: '%s'\r\n", filename); + } else { - fprintf(stderr, "DEBUG: Quoted filename too long, skipping\r\n"); + } } else { - fprintf(stderr, "DEBUG: No closing quote found for filename\r\n"); + } } else { - fprintf(stderr, "DEBUG: Processing unquoted filename\r\n"); + // Unquoted filename - extract until space or end const char* filename_end = filename_start; while (*filename_end && *filename_end != ' ' && *filename_end != ';') { @@ -2555,30 +2465,30 @@ void handle_upload_request(void) { } static char filename_buffer[256]; size_t filename_len = filename_end - filename_start; - fprintf(stderr, "DEBUG: Unquoted filename length: %zu\r\n", filename_len); + if (filename_len < sizeof(filename_buffer)) { strncpy(filename_buffer, filename_start, filename_len); filename_buffer[filename_len] = '\0'; filename = filename_buffer; - fprintf(stderr, "DEBUG: Extracted unquoted filename: '%s'\r\n", filename); + } else { - fprintf(stderr, "DEBUG: Unquoted filename too long, skipping\r\n"); + } } } else { - fprintf(stderr, "DEBUG: No filename= found in Content-Disposition header\r\n"); + } } else { - fprintf(stderr, "DEBUG: No Content-Disposition header provided\r\n"); + } - fprintf(stderr, "DEBUG: Final filename after extraction: %s\r\n", filename ? filename : "NULL"); + // Store blob metadata in database time_t uploaded_time = time(NULL); if (!insert_blob_metadata(sha256_hex, content_length, content_type, uploaded_time, uploader_pubkey, filename)) { // Database insertion failed - clean up the physical file to maintain consistency - fprintf(stderr, "DEBUG: Database insertion failed, removing physical file\r\n"); + unlink(filepath); printf("Status: 500 Internal Server Error\r\n"); printf("Content-Type: text/plain\r\n\r\n"); @@ -2586,7 +2496,7 @@ void handle_upload_request(void) { return; } - fprintf(stderr, "DEBUG: Blob metadata successfully stored in database\r\n"); + // Return success response with blob descriptor printf("Status: 200 OK\r\n"); @@ -2599,7 +2509,7 @@ void handle_upload_request(void) { printf(" \"url\": \"http://localhost:9001/%s%s\"\n", sha256_hex, extension); printf("}\n"); - fprintf(stderr, "DEBUG: Upload completed successfully with database storage\r\n"); + } int main(void) { @@ -2616,16 +2526,10 @@ int main(void) { fflush(stderr); while (FCGI_Accept() >= 0) { // DEBUG: Log every request received - fprintf(stderr, "DEBUG: FastCGI received request\r\n"); - fflush(stderr); const char* request_method = getenv("REQUEST_METHOD"); const char* request_uri = getenv("REQUEST_URI"); - // DEBUG: Log request details - fprintf(stderr, "DEBUG: METHOD=%s, URI=%s\r\n", - request_method ? request_method : "NULL", - request_uri ? request_uri : "NULL"); if (!request_method || !request_uri) { printf("Status: 400 Bad Request\r\n"); @@ -2637,7 +2541,7 @@ int main(void) { // Handle HEAD requests for blob metadata if (strcmp(request_method, "HEAD") == 0) { const char* sha256 = extract_sha256_from_uri(request_uri); - fprintf(stderr, "DEBUG: Extracted SHA256=%s\r\n", sha256 ? sha256 : "NULL"); + if (sha256) { handle_head_request(sha256); log_request("HEAD", request_uri, "none", 200); // Assuming success - could be enhanced to track actual status @@ -2676,7 +2580,7 @@ int main(void) { } else if (strcmp(request_method, "DELETE") == 0) { // Handle DELETE / requests const char* sha256 = extract_sha256_from_uri(request_uri); - fprintf(stderr, "DEBUG: DELETE request - extracted SHA256=%s\r\n", sha256 ? sha256 : "NULL"); + if (sha256) { handle_delete_request(sha256); } else { diff --git a/tests/delete_test.sh b/tests/delete_test.sh new file mode 100755 index 0000000..7050cd8 --- /dev/null +++ b/tests/delete_test.sh @@ -0,0 +1,211 @@ +#!/bin/bash + +# delete_test.sh - Test script for DELETE / endpoint (BUD-02) +# This script tests the blob deletion functionality + +set -e # Exit on any error + +# Configuration +SERVER_URL="http://localhost:9001" +TEST_FILE="test_delete_blob_$(date +%s).txt" +CLEANUP_FILES=() + +# Colors for output +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +BLUE='\033[0;34m' +NC='\033[0m' # No Color + +# Cleanup function +cleanup() { + echo -e "${YELLOW}Cleaning up temporary files...${NC}" + for file in "${CLEANUP_FILES[@]}"; do + if [[ -f "$file" ]]; then + rm -f "$file" + echo "Removed: $file" + fi + done +} + +# Set up cleanup on exit +trap cleanup EXIT + +# Helper functions +log_info() { + echo -e "${BLUE}[INFO]${NC} $1" +} + +log_success() { + echo -e "${GREEN}[SUCCESS]${NC} $1" +} + +log_error() { + echo -e "${RED}[ERROR]${NC} $1" +} + +# Create test file and upload it first +create_and_upload_blob() { + log_info "Creating test file for deletion: ${TEST_FILE}" + + # Create test content + cat > "${TEST_FILE}" << EOF +Test blob for deletion +Timestamp: $(date -Iseconds) +Random: $(openssl rand -hex 16) +This file will be deleted as part of the DELETE test. +EOF + + CLEANUP_FILES+=("${TEST_FILE}") + + # Calculate hash + HASH=$(sha256sum "${TEST_FILE}" | cut -d' ' -f1) + log_success "File hash: ${HASH}" + + # Generate upload event + EXPIRATION=$(date -d '+1 hour' +%s) + UPLOAD_EVENT=$(nak event -k 24242 -c "" \ + -t "t=upload" \ + -t "x=${HASH}" \ + -t "expiration=${EXPIRATION}") + + # DEBUG: Print the upload event details + echo "=== UPLOAD EVENT DEBUG ===" + echo "Upload event JSON:" + echo "$UPLOAD_EVENT" | jq '.' + UPLOAD_PUBKEY=$(echo "$UPLOAD_EVENT" | jq -r '.pubkey') + echo "Upload pubkey: $UPLOAD_PUBKEY" + echo "==========================" + + # Upload the file + UPLOAD_AUTH=$(echo -n "$UPLOAD_EVENT" | base64 -w 0) + + log_info "Uploading blob first..." + HTTP_STATUS=$(curl -s -w "%{http_code}" \ + -X PUT \ + -H "Authorization: Nostr ${UPLOAD_AUTH}" \ + -H "Content-Type: text/plain" \ + --data-binary "@${TEST_FILE}" \ + "${SERVER_URL}/upload" \ + -o /dev/null) + + if [[ "$HTTP_STATUS" == "200" ]]; then + log_success "Upload successful (HTTP $HTTP_STATUS)" + else + log_error "Upload failed (HTTP $HTTP_STATUS)" + exit 1 + fi + + # Verify file exists + if curl -s -f "${SERVER_URL}/${HASH}.txt" > /dev/null; then + log_success "File confirmed accessible at /${HASH}.txt" + else + log_error "Uploaded file not accessible" + exit 1 + fi +} + +# Test DELETE with authorization +test_delete_with_auth() { + log_info "Testing DELETE /${HASH} with proper authorization..." + + # Generate delete event + EXPIRATION=$(date -d '+1 hour' +%s) + DELETE_EVENT=$(nak event -k 24242 -c "" \ + -t "t=delete" \ + -t "x=${HASH}" \ + -t "expiration=${EXPIRATION}") + + # DEBUG: Print the delete event details + echo "=== DELETE EVENT DEBUG ===" + echo "Delete event JSON:" + echo "$DELETE_EVENT" | jq '.' + DELETE_PUBKEY=$(echo "$DELETE_EVENT" | jq -r '.pubkey') + echo "Delete pubkey: $DELETE_PUBKEY" + echo "Upload pubkey: $UPLOAD_PUBKEY" + if [[ "$UPLOAD_PUBKEY" == "$DELETE_PUBKEY" ]]; then + echo "✓ Pubkeys MATCH" + else + echo "✗ Pubkeys DIFFER - This is the problem!" + fi + echo "==========================" + + DELETE_AUTH=$(echo -n "$DELETE_EVENT" | base64 -w 0) + + # Perform DELETE request + RESPONSE_FILE=$(mktemp) + CLEANUP_FILES+=("${RESPONSE_FILE}") + + HTTP_STATUS=$(curl -s -w "%{http_code}" \ + -X DELETE \ + -H "Authorization: Nostr ${DELETE_AUTH}" \ + "${SERVER_URL}/${HASH}" \ + -o "${RESPONSE_FILE}") + + echo "HTTP Status: ${HTTP_STATUS}" + echo "Response body:" + cat "${RESPONSE_FILE}" + echo + + case "${HTTP_STATUS}" in + 200) + log_success "Delete successful!" + ;; + 401) + log_error "Unauthorized - check authorization" + ;; + 403) + log_error "Forbidden - ownership check failed" + ;; + 404) + log_error "Not found - blob doesn't exist" + ;; + *) + log_error "Delete failed with HTTP status: ${HTTP_STATUS}" + ;; + esac +} + +# Test that file is actually deleted +test_file_deletion() { + log_info "Verifying file is actually deleted..." + + # Try to access the file + if curl -s -f "${SERVER_URL}/${HASH}.txt" > /dev/null 2>&1; then + log_error "File still accessible after deletion!" + else + log_success "File correctly deleted from server" + fi + + # Try HEAD request + HEAD_STATUS=$(curl -s -w "%{http_code}" -I "${SERVER_URL}/${HASH}" -o /dev/null) + if [[ "$HEAD_STATUS" == "404" ]]; then + log_success "HEAD request correctly returns 404" + else + log_error "HEAD request returned ${HEAD_STATUS}, expected 404" + fi +} + +# Main execution +main() { + echo "=== Ginxsom DELETE Test (BUD-02) ===" + echo "Timestamp: $(date -Iseconds)" + echo + + create_and_upload_blob + echo + test_delete_with_auth + echo + test_file_deletion + echo + + + log_info "DELETE test completed!" + echo "Summary:" + echo " Test hash: ${HASH}" + echo " Server: ${SERVER_URL}" + echo " DELETE endpoint tested: ${SERVER_URL}/" +} + +# Run main function +main "$@"