{"version":"2.1.333","anchor":"http-hooks-loopback-and-proxy-handling-late-answer-timeout","canonical_anchor":"http-hooks-loopback-and-proxy-handling-late-answer-timeout","heading":"HTTP hooks to this computer skip the proxy, and late answers count as timeouts","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/http-hooks-loopback-and-proxy-handling-late-answer-timeout","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### HTTP hooks to this computer skip the proxy, and late answers count as timeouts\n\nHTTP hooks to local addresses now bypass your proxy, and a hook answer arriving after its timeout counts as timed out unless it refuses\n\n**What**\n\nAn HTTP hook is a hook that Claude Code runs by sending a web request to an address you set. Several things changed in how these are sent:\n\n- Hooks whose address is on this computer are now sent directly, not through the proxy set in your environment.\n\n- If the sandbox proxy (the network gatekeeper used when Claude Code runs in a sandbox) refuses a blocked address, Claude Code tries again through 127.0.0.1.\n\n- An answer read after the hook's timeout now counts as timed out, unless the answer refuses the action.\n\n- A \"connection refused\" error now comes with an extra hint.\n\nBefore, the proxy was always used when one was set, and late answers had no special rule.\n\n**Why**\n\nIf you run hooks against a local server while a proxy is set, they now reach it directly. A slow hook can no longer approve an action after its time is up.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}