← console

job 78984ec9-8120-4829-907f-bed0d85038d7

StateFAILED
Quotaflowmetal-demo
Manifest6f124b5e1811093f0d79c2722b3684f422c2a94a491e989db59aebbf2b233e6a
Entry overridetirefireind.us/flowmetal-demo/dispatch-fire/dispatch
Workerworker-5879336e-a44f-45a2-ad04-4943fa33f428
Inbox HWM0
ErrorTraceback (most recent call last): File <builtin>, in <module> * main.star:84, in _dispatch_impl body = _open_and_poll(fctx, lot, priority, attempt) * main.star:61, in _open_and_poll body = fctx.actions.http( error: action failed: HTTP 503 (source connector) --> main.star:61:16 | 61 | body = fctx.actions.http( | ________________^ 62 | | "GET", FIRE_DISPATCH + "/incidents/" + incident_id, 63 | | )["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": "smoldering",
    "discovered_at": 1776764580.0,
    "lot_id": "lot_def2107ed6",
    "weight_kg": 2109.0
  },
  "headers": {
    "content-length": "96",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:43:00 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#4 print >>> [dispatch] lot lot_def2107ed6 at 2109 kg, condition 'smoldering' — priority urgent.
#6 print >>> [attempt 1] calling fire-dispatch to roll a containment crew…
#8 req 4 connector:http
{
  "body_json": {
    "lot_id": "lot_def2107ed6",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#9 req 4 ok
{
  "body": {
    "incident_id": "inc_398f41cb26fc",
    "lot_id": "lot_def2107ed6",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:43:00 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#10 print >>> [attempt 1] incident inc_398f41cb26fc open, waiting on containment…
#12 req 6 sleep deadline=1776764586.047605555 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_398f41cb26fc"
}
#15 req 7 ok
{
  "body": {
    "error_kind": "dispatch_service_down",
    "incident_id": "inc_398f41cb26fc",
    "message": "dispatch failed: dispatch_service_down",
    "retryable": true,
    "status": "failed"
  },
  "headers": {
    "content-length": "157",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:43:06 GMT",
    "server": "uvicorn"
  },
  "status": 200.0
}
#16 print >>> [dispatch] attempt 1 failed (dispatch_service_down); retrying.
#18 req 9 sleep deadline=1776764590.934759025 duration=1s
#19 req 9 ok
null
#20 print >>> [attempt 2] calling fire-dispatch to roll a containment crew…
#22 req 11 connector:http
{
  "body_json": {
    "lot_id": "lot_def2107ed6",
    "priority": "urgent"
  },
  "method": "POST",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents"
}
#23 req 11 ok
{
  "body": {
    "incident_id": "inc_4505988943ee",
    "lot_id": "lot_def2107ed6",
    "priority": "urgent"
  },
  "headers": {
    "content-length": "80",
    "content-type": "application/json",
    "date": "Tue, 21 Apr 2026 09:43:11 GMT",
    "server": "uvicorn"
  },
  "status": 202.0
}
#24 print >>> [attempt 2] incident inc_4505988943ee open, waiting on containment…
#26 req 13 sleep deadline=1776764598.031447327 duration=2s
#27 req 13 ok
null
#28 req 14 connector:http
{
  "method": "GET",
  "url": "http://fire-dispatch.flowmetal.svc.cluster.local:8080/incidents/inc_4505988943ee"
}
#29 req 14 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 09:43:18 GMT",
    "server": "uvicorn"
  },
  "status": 503.0
}
#30 FAILED worker=worker-5879336e-a44f-45a2-ad04-4943fa33f428