← console

job 4f1005b3-91d0-4f75-8c50-5630b53c7ec5

StateFAILED
Quotaflowmetal-demo
Manifestbed2305c0b9b3c962fb726543fa95a14ee4dc620aaf70b4618a65590c8430b58
Entry overridetirefireind.us/flowmetal-demo/dispatch-fire/dispatch
Workerworker-734abf63-6a13-474b-bc94-a9395175c562
Inbox HWM0
ErrorTraceback (most recent call last): File <builtin>, in <module> * main.star:75, in _dispatch_impl body = _open_and_poll(fctx, lot, priority, attempt) * main.star:52, in _open_and_poll body = fctx.actions.http( error: action failed: HTTP 503 (source connector) --> main.star:52:16 | 52 | body = fctx.actions.http( | ________________^ 53 | | "GET", FIRE_DISPATCH + "/incidents/" + incident_id, 54 | | )["body"] | |_________^ |

Log

#0 print >>> [dispatch] phoning tire-registry for the next incoming report…
#2 req 1 connector:http
{
  "method": "GET",
  "url": "http://tire-registry.flowmetal.svc.cluster.local:8080/lots/next"
}
#3 req 1 ok
{
  "body": {
    "condition": "engulfed",
    "discovered_at": 1776760380.0,
    "lot_id": "lot_050833f5f5",
    "weight_kg": 2627.0
  },
  "headers": {
    "content-length": "94",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:33:00 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_050833f5f5 at 2627 kg, condition 'engulfed' — priority urgent.
#6 print >>> [attempt 1] calling fire-dispatch to roll a containment crew…
#8 req 4 connector:http
{
  "body_json": {
    "lot_id": "lot_050833f5f5",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_a677d50844fd",
    "lot_id": "lot_050833f5f5",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:33:08 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_a677d50844fd open, waiting on containment…
#12 req 6 sleep deadline=1776760395.399460546 duration=2s
#13 req 6 ok
null
#14 req 7 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_a677d50844fd"
}
#15 req 7 ok
{
  "body": {
    "error_kind": "dispatch_service_down",
    "incident_id": "inc_a677d50844fd",
    "message": "dispatch failed: dispatch_service_down",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "157",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:33:16 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#16 print >>> [dispatch] attempt 1 failed (dispatch_service_down); retrying.
#18 print >>> [attempt 2] calling fire-dispatch to roll a containment crew…
#20 req 10 connector:http
{
  "body_json": {
    "lot_id": "lot_050833f5f5",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#21 req 10 ok
{
  "body": {
    "incident_id": "inc_8d0044aad4a4",
    "lot_id": "lot_050833f5f5",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:33:24 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#22 print >>> [attempt 2] incident inc_8d0044aad4a4 open, waiting on containment…
#24 req 12 sleep deadline=1776760416.424296660 duration=2s
#25 req 12 ok
null
#26 req 13 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_8d0044aad4a4"
}
#27 req 13 err source=connector HTTP 503
{
  "body": {
    "detail": "dispatch board flickering"
  },
  "error_kind": "http_status",
  "headers": {
    "content-length": "38",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 08:33:37 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#28 FAILED worker=worker-734abf63-6a13-474b-bc94-a9395175c562