Ona Environment Starts Then Stops in Seconds (Custom CA Bundle)

Share
Workaround available AWS Updated November 14, 2026How we research

Quick answer

On AWS runners, an environment that stops within seconds with no dashboard error usually failed to download or parse the custom CA bundle. Fix the bundle source and format.

Most likely fix: Fix the bundle

How to fix it

Try these in order — the most common fix is first.

  1. 1. Fix the bundle

    1. Confirm S3 or HTTPS source is reachable and CustomCATrustBundle path is correct
    2. Use a bucket named gitpod-* and set CustomCATrustBundle to the S3 URL
    3. Make sure the file is valid PEM with BEGIN and END on their own lines, nothing before BEGIN
    4. Update the CloudFormation stack and check ca-trust-init exited with code 0
    Did this fix it?
  2. 2. CA not trusted in devcontainer builds

    1. Copy the CA certificate into your devcontainer image
    2. Run update-ca-certificates during the build
    Did this fix it?

Symptoms

The environment starts, then shuts down; also the error User data is limited to 16384 bytes appears.

Why it happens

  • CA bundle unreachable from the runner VPC
  • S3 bucket name does not start with gitpod-
  • Invalid PEM, or extra content before BEGIN
  • SSM dynamic reference embeds multi-certificate bundles over the 16 KB limit

This guide also covers

  • ona environment stops immediately
  • user data is limited to 16384 bytes
  • gitpod custom ca

Still not working?

If Gitpod keeps failing, you're not alone. See every Gitpod problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Gitpod errors

All 10 Gitpod errors and fixes →