{"record":{"id":"b281ddca520f4699","repo":"warpdotdev/warp","slug":"failed-to-fetch-images-err","errorCode":null,"errorMessage":"Failed to fetch images: {err}","messagePattern":"Failed to fetch images: (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"app/src/ai/agent_sdk/environment.rs","lineNumber":417,"sourceCode":"                                }\n                                return;\n                            }\n                        }\n                    } else {\n                        selected_image\n                    };\n\n                    continuation(final_image, ctx);\n                }\n                ListWarpDevImagesResult::UserFacingError(_) | ListWarpDevImagesResult::Unknown => {\n                    super::report_fatal_error(\n                        anyhow::anyhow!(\"Failed to fetch list of base images\"),\n                        ctx,\n                    );\n                }\n            },\n            Err(err) => {\n                super::report_fatal_error(anyhow::anyhow!(\"Failed to fetch images: {err}\"), ctx);\n            }\n        });\n    }\n\n    #[allow(clippy::too_many_arguments)]\n    fn create(\n        &mut self,\n        name: String,\n        description: Option<String>,\n        docker_image: Option<String>,\n        github_repos: Vec<GithubRepo>,\n        setup_commands: Vec<String>,\n        scope: warp_cli::scope::ObjectScope,\n        ctx: &mut ModelContext<Self>,\n    ) {\n        if let Some(image) = docker_image {\n            Self::create_with_image(\n                name,","sourceCodeStart":399,"sourceCodeEnd":435,"githubUrl":"https://github.com/warpdotdev/warp/blob/e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc/app/src/ai/agent_sdk/environment.rs#L399-L435","documentation":"Reported by report_fatal_error inside prompt_for_docker_image when the async send_graphql_request for ListWarpDevImages returns Err during environment creation without --docker-image. The transport-level error text is appended ('Failed to fetch images: {err}'). This is the create-path counterpart of error 102.","triggerScenarios":"Running `warp environment create` (no --docker-image) with the server unreachable, DNS failure, TLS interception, HTTP error status, or a WebSocket/GraphQL protocol failure on the request.","commonSituations":"Offline or proxied networks; local warp-server not running or wrong SERVER_ROOT_URL port; transient outages; firewall blocking the server host.","solutions":["Restore connectivity to the server endpoint and retry","Supply --docker-image to bypass the remote image list completely","For local dev, start warp-server and confirm SERVER_ROOT_URL/WS_SERVER_URL (e.g. port 8082) match","Check proxies/firewalls if in a restricted environment"],"exampleFix":null,"handlingStrategy":"retry","validationCode":"// Connectivity preflight before interactive create:\n// curl -fsS --max-time 5 \"$SERVER_ROOT_URL\" -o /dev/null || echo \"unreachable — pass --docker-image\"","typeGuard":null,"tryCatchPattern":"Err(err) => {\n    // transport failure fetching images: classify and either retry or bypass the prompt\n    // by requiring an explicit --docker-image\n}","preventionTips":["Ensure the server endpoint is reachable before scripting interactive creates","Bypass the image fetch with --docker-image when network is unreliable","Start local warp-server before running WITH_LOCAL_SERVER create flows","Add bounded retry with backoff for transient transport failures"],"tags":["rust","graphql","network","timeout","create"],"backgroundTag":null,"analyzedSha":"e72fd7aacbbb2236d9b3be2aad7e7178fe94b4bc","analyzedAt":"2026-08-16T08:27:25.381Z","schemaVersion":2},"datasetVersion":"2026-08-16T13:17:31.715Z"}