Network and egress
Problems with blocked hosts and network policies. A space can only reach the hosts its network policy allows. Each package adds the hosts it needs. For the operator side of networking, see Networking and egress.
A request is blocked by network policy
You see: blocked by Marshal Platform network policy: host not in session allowlist
Cause: The space tried to reach a host that its network policy does not allow. Marshal returns a 403 for the request. Tools often show it as a failed CONNECT or a 403 Forbidden.
Fix: Pick one of these.
- Add the package that covers the host to the stack. For example,
egress-dockerhuballows pulls from Docker Hub. - Ask an admin to allow the host in the network policy that the stack uses. Admins edit policies on the Network policies page. They add a rule with the action
allowfor the host. Traffic that no rule matches follows the policy’s default action, which isdenyunless an admin changed it.
A saved policy edit reaches running spaces within seconds, and a stopped space picks it up when it resumes. Only adding a package to the stack needs a new space. The Blocked panel on the space page shows which rule blocked the request. The Audit page shows blocked requests. Filter by status Blocked to find the host.
Editor cannot connect over Remote-SSH
Cause: The editor must download its server into the space and reach its own services. Those hosts are blocked unless the stack allows them.
Fix: Add the egress package for your editor to the stack: egress-vscode, egress-cursor, egress-copilot, or egress-windsurf. These packages contain only allow-lists. They add no tools and no credentials. Create a new space.
Blocked: unrecognized secret placeholder
You see: blocked by Marshal http_secrets: unrecognized secret placeholder
Cause: The request carried a Marshal secret placeholder that is not tied to any active credential in this space. Marshal blocked it rather than send a token that cannot work. A common cause is that the credential was removed or swapped while a process still held the old placeholder. Another is a placeholder for a field the agent is never meant to send.
Fix: Run source /run/agent-env to pick up the current placeholders, or start a new space. A secret keeps its placeholder across stop and resume, so a placeholder in your tool’s config stays valid until you remove that secret from the space. Use each placeholder only where Marshal put it.
An HTTP secret is not injected on a host you expected
You see: A request to a host you listed goes out with the placeholder, or the secret shows a hint under it on the Connections page.
Cause: The host pattern matches less than it looks like. A host with no path, like https://slack.com, matches only the site root. A * as a whole label, like https://*.example.com, stays within one label and does not cross dots.
Fix: Click Edit on the secret. Use https://slack.com/** to cover every path. Use ** in the host, as in https://**.example.com/**, to cover deeper subdomains.
Blocked: possible secret leak
You see: blocked by Marshal http_secrets: possible secret-exfiltration attempt
Cause: The request would have sent a live secret to a host that the secret is not allowed for. Marshal treats this as a possible leak and blocks it.
Fix: If the destination is wrong, fix the command. If the destination is correct, ask an admin to add the host to the allowed hosts of that credential.
A network policy cannot be deleted
You see: Cannot delete the default policy or Policy in use
Cause: The organization’s default policy stays in place, and you can edit its rules. A policy that stacks use shows Policy in use, with the number of stacks that use it as their baseline.
Fix: For a policy in use, reassign those stacks to another policy, then delete. Only admins can delete policies.