🔍 Resonai Data Room — Debug Mode

Connection Diagnostics • API Testing • Error Analysis

⚙️ Endpoint Configuration

🌐 Endpoint Health Checks

📋 Debug Output

Waiting for diagnostics...

🔧 Common Issues & Fixes

Issue: JSON parse error (your current error)
Cause: SigNoz API might not be available or returning HTML error page
Fix: Check if SigNoz is running: docker ps | findstr signoz
Issue: CORS error in browser console
Cause: Browser blocking cross-origin requests
Fix: Use localhost URLs (already configured) or add CORS headers to SigNoz
Issue: Connection refused (port 5318 or 8080)
Cause: Services not running
Fix: Start SigNoz: docker-compose up -d and OTel: sc start otelcol-contrib

✅ If All Else Fails: PowerShell Alternative

If browser-based API calls aren't working, use PowerShell to send logs directly:

# Send test log to OTel Collector $payload = @{ resourceLogs = @( @{ resource = @{ attributes = @( @{ key = "service.name"; value = @{ stringValue = "powershell-test" } } ) } scopeLogs = @( @{ scope = @{ name = "test"; version = "1.0" } logRecords = @( @{ timeUnixNano = ((Get-Date).ToUniversalTime() - [datetime]'1970-01-01').TotalMilliseconds * 1000000 severityNumber = 9 severityText = "INFO" body = @{ stringValue = "PowerShell test from $(hostname)" } } ) } ) } ) } | ConvertTo-Json -Depth 10 Invoke-WebRequest -Uri "http://localhost:5318/v1/logs" ` -Method POST ` -ContentType "application/json" ` -Body $payload