Open
Description
After deploying a self-hosted E2B cluster following the Self-Hosting Guide, the api job in Nomad is constantly reported as unhealthy, despite the container starting up and logging no significant errors.
stdout:
{"level":"info","timestamp":"2025-03-07T20:18:47.535001655Z","message":"Starting API service...","service":"orchestration-api","internal":true,"pid":1,"commit_sha":"4cab1b6d"}
{"level":"info","timestamp":"2025-03-07T20:18:47.554439137Z","message":"initializing API store and services","service":"orchestration-api","internal":true,"pid":1}
{"level":"info","timestamp":"2025-03-07T20:18:47.554769512Z","message":"created Supabase client","service":"orchestration-api","internal":true,"pid":1}
{"level":"info","timestamp":"2025-03-07T20:18:47.554895967Z","message":"No Posthog API key provided, silencing logs","service":"orchestration-api","internal":true,"pid":1}
Host for gRPC not set, using dummy connection
{"level":"info","timestamp":"2025-03-07T20:18:47.555351Z","message":"Starting DNS server","service":"orchestration-api","internal":true,"pid":1}
{"level":"info","timestamp":"2025-03-07T20:18:47.555997555Z","message":"Running the initial node sync","service":"orchestration-api","internal":true,"pid":1}
{"level":"info","timestamp":"2025-03-07T20:18:47.558889651Z","message":"http service starting","service":"orchestration-api","internal":true,"pid":1,"port":50001}
{"level":"info","timestamp":"2025-03-07T20:19:07.556846988Z","message":"API internal status","service":"orchestration-api","internal":true,"pid":1,"sandboxes_count":0,"nodes_count":0,"nodes":[]}
{"level":"info","timestamp":"2025-03-07T20:19:27.556118427Z","message":"API internal status","service":"orchestration-api","internal":true,"pid":1,"sandboxes_count":0,"nodes_count":0,"nodes":[]}
stderr:
2025/03/07 20:18:48 Failed to connect to otel collector, not using OTEL for logs: context deadline exceeded
2025/03/07 20:18:54 Failed to connect to otel collector, not using OTEL for logs: context deadline exceeded
I'm not sure how to debug this, any help would be much appreciated!