--- title: egress_undeclared description: Your app tried to reach a host its contract doesn't name. --- # `egress_undeclared` **Severity:** needs approval. Your app tried to reach a host its contract doesn't name. ## What Kaviris saw While Kaviris ran your app in its sealed test machine, the app tried to connect to a host (say `api.openai.com`) that is not in the app's [contract](../concepts/contract.md). The connection was blocked and recorded. ## Why the deploy waits Apps on Kaviris reach only the hosts their contract names. A new host means the app will be able to send data somewhere new, so someone has to agree. The deploy is held, not thrown away: approve, and it continues without being rebuilt. ## How to fix it If the host is expected (your app really uses OpenAI), add it and approve: ```sh kaviris contract edit --patch '[{"op":"add","path":"/components/0/external/-","value":{"host":"api.openai.com"}}]' kaviris contract approve ``` The exact patch is in the refusal's `fix.patch`. Agents: `update_contract` with that patch, tell the user which host is being allowed, then `approve_contract`. If you don't recognise the host, don't approve. Find out which package calls it, remove the call, and deploy again. If nobody approves within 24 hours, the deploy ends with [approval_expired](approval_expired.md). [All refusal codes](index.md)