Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
When I go through the interactive setup for cloud agent environment, I get a stream of the same logs:
[Warning] Lost connection to environment logs, retrying...
[Status] Connected to environment: pod-6adfffqdbvd47bzje6qiqqiovu
Steps to Reproduce
Open Cursor
Enter the interactive environment setup for cloud agents
Go to step 2 (machine setup)
Expected Behavior
The remote environment is accessable and I am able to configure it.
Operating System
MacOS
Current Cursor Version (Menu β About Cursor β Copy)
Version: 2.2.9 (Universal)
VSCode Version: 1.105.1
Commit: a86689c93e9fb11addfbefd29a6ec7c0a59175e0
Date: 2025-12-10T16:51:25.713Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Yes - Cursor is unusable
Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
When I create new cloud agents, they error out with an βenvironment errorβ
Provisioning resources for agent, request id: bc-320a97fe-810c-46c7-b3f2-9fbd727e8fd7
Checking out repositoryβ¦
ββ transferred: 14769872
ββ total: 3468140594
ββ transferred: 25264332
ββ total: 3468140594
ββ transferred: 37268043
ββ total: 3468140594
ββ transferred: 47239990
ββ total: 3468140594
ββ transferred: 61283099
ββ total: 3468140594
ββ transferred: 67468587
ββ total: 3468140594
ββ transferred: 80148291
ββ total: 3468140594
ββ transferred: 87179493
ββ total: 3468140594
ββ transferred: 104416822
ββ total: 3468140594
ββ transferred: 112795834
ββ total: 3468140594
ββ transferred: 137764373
ββ total: 3468140594
ββ transferred: 177940439
ββ total: 3468140594
ββ transferred: 219462910
ββ total: 3468140594
ββ transferred: 259650507
ββ total: 3468140594
ββ transferred: 312825572
ββ total: 3468140594
ββ transferred: 346861619
ββ total: 3468140594
ββ transferred: 380449755
ββ total: 3468140594
ββ transferred: 414601116
ββ total: 3468140594
ββ transferred: 449197241
ββ total: 3468140594
ββ transferred: 489990393
ββ total: 3468140594
ββ transferred: 530010259
ββ total: 3468140594
ββ transferred: 563613688
ββ total: 3468140594
ββ transferred: 597502317
ββ total: 3468140594
ββ transferred: 631154580
ββ total: 3468140594
ββ transferred: 658073064
ββ total: 3468140594
ββ transferred: 698866250
ββ total: 3468140594
ββ transferred: 745002090
ββ total: 3468140594
ββ transferred: 824717282
ββ total: 3468140594
ββ transferred: 861796590
ββ total: 3468140594
ββ transferred: 895361935
ββ total: 3468140594
ββ transferred: 928988487
ββ total: 3468140594
ββ transferred: 989839552
ββ total: 3468140594
ββ transferred: 1010065199
ββ total: 3468140594
ββ transferred: 1016072568
ββ total: 3468140594
ββ transferred: 1038284461
ββ total: 3468140594
ββ transferred: 1045997318
ββ total: 3468140594
ββ transferred: 1063327826
ββ total: 3468140594
ββ transferred: 1096941516
ββ total: 3468140594
ββ transferred: 1132819311
ββ total: 3468140594
ββ transferred: 1166485048
ββ total: 3468140594
ββ transferred: 1175869271
ββ total: 3468140594
ββ transferred: 1196537916
ββ total: 3468140594
ββ transferred: 1230224806
ββ total: 3468140594
ββ transferred: 1260163419
ββ total: 3468140594
ββ transferred: 1295986783
ββ total: 3468140594
ββ transferred: 1325207138
ββ total: 3468140594
ββ transferred: 1355682092
ββ total: 3468140594
ββ transferred: 1378047953
ββ total: 3468140594
ββ transferred: 1386343042
ββ total: 3468140594
ββ transferred: 1422865057
ββ total: 3468140594
ββ transferred: 1464392823
ββ total: 3468140594
ββ transferred: 1512332264
ββ total: 3468140594
ββ transferred: 1551129576
ββ total: 3468140594
ββ transferred: 1572269081
ββ total: 3468140594
ββ transferred: 1608111891
ββ total: 3468140594
ββ transferred: 1644232256
ββ total: 3468140594
ββ transferred: 1678137512
ββ total: 3468140594
ββ transferred: 1711828889
ββ total: 3468140594
ββ transferred: 1745663486
ββ total: 3468140594
ββ transferred: 1779228367
ββ total: 3468140594
ββ transferred: 1812794661
ββ total: 3468140594
ββ transferred: 1848933986
ββ total: 3468140594
ββ transferred: 1884037758
ββ total: 3468140594
ββ transferred: 1925507162
ββ total: 3468140594
ββ transferred: 3468140594
ββ total: 3468140594
Repository checked out
β£»
Installing exec-daemon from https://public-asphr-vm-daemon-bucket.s3.us-east-1.amazonaws.com/exec-daemon/exec-daemon-x64-ae6d3b55f6cddd00a7abe2b7c645fa6453bded3a40ffd23808262161ed5fc863.tar.gz
[Exit] Success (code: 0)
INFO Successfully refreshed access token in git config. {"hostname":"github.com"}
INFO exec-daemon-gh: Writing token to gh hosts.yml
/bin/bash: line 1: python: command not found
e[0;31mPython not on version 3.10 or 3.12e[0m
make: *** [Makefile:133: python-version-check] Error 1
[Exit] Failed (code: 2)
I also ran into another issue with the cloud agent environment (Unable to configure cloud agent environment - environment not available? ).
Steps to Reproduce
Open Cursor (web)
Start a new cloud agent
Expected Behavior
Cloud agents work and donβt error out due to an environment error
Operating System
MacOS
Current Cursor Version (Menu β About Cursor β Copy)
Version: 2.2.9 (Universal)
VSCode Version: 1.105.1
Commit: a86689c93e9fb11addfbefd29a6ec7c0a59175e0
Date: 2025-12-10T16:51:25.713Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Yes - Cursor is unusable
deanrie
(Dean Rie)
December 11, 2025, 4:29pm
3
Hey, thanks for the report.
From the logs, it looks like the Cloud Agent environment doesnβt have Python in PATH. Your Makefile requires Python 3.10 or 3.12, but the python command isnβt found.
To install system dependencies like Python, you need to use a Dockerfile when setting up the environment:
A few questions:
Do you have a .cursor/environment.json file in the repo? If yes, please share its contents.
Which install/start scripts are configured under Settings > Cloud Agents > Environment?
Did you use a Dockerfile when creating the snapshot?
I also noticed your related ticket about βenvironment not availableβ which might be the same root issue with the environment setup.
Let me know.
Do you have a .cursor/environment.json file in the repo
Yes. Itβs empty
Which install/start scripts are configured under Settings > Cloud Agents > Environment?
None.
Did you use a Dockerfile when creating the snapshot?
I donβt think so.
I just set up and tried a basic Dockerfile, but I got the same error.
deanrie
(Dean Rie)
December 11, 2025, 6:28pm
5
Thanks for the details.
You mentioned you tried a Dockerfile but got the same error - could you share:
The contents of your Dockerfile
Whether you recreated the snapshot after adding the Dockerfile (via Cmd+Shift+P > Cursor: Start Cloud Agent Setup)
You also have a related ticket about βLost connection to environment logsβ - that might block the environment changes from applying correctly. These two issues could be related.
Let me know!
Abdel
(Abdel E)
December 13, 2025, 11:53pm
6
Hello,
Iβm also having an issue trying to configure the environment. When I try to configure it, I get an error: Failed to connect to the remote extension host server (Error: [internal] Pod exists but exec-daemon is unreachable after 8 retries).
I ran the network diagnostics and didnβt have any issues.
I donβt have a .cursor/environment.json
Also to make sure that itβs not any extensions affecting it, I started cursor with the βdisable-extensions flag.
2 Likes
Iβm having the same issue! (Failed to connect to the remote extension hostβ¦). Cloud agents were working flawlessly until today. Cloud agents launched online failed, so I tried to reconfigure the environment but Iβm running into this error. I had an environment.json file, but I tried removing it and it made no difference.
Thanks so much for any help!
This was the Dockerfile I tried using:
FROM ubuntu:22.04
# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install system dependencies and build tools
RUN apt-get update && apt-get install -y \
# Compilers
gcc \
g++ \
clang \
clang-14 \
# Build tools
make \
cmake \
pkg-config \
# System libraries required for Python packages
zlib1g-dev \
libbz2-dev \
libsqlite3-dev \
libreadline-dev \
libssl-dev \
libsnappy-dev \
libmemcached-dev \
libzstd-dev \
libmysqlclient-dev \
libfreetype6-dev \
libtiff-dev \
libxml2-dev \
liblz4-dev \
libbrotli-dev \
libxmlsec1-dev \
# Debuggers
gdb \
lldb \
# Utilities
git \
wget \
curl \
jq \
# Python build dependencies
python3-dev \
python3-pip \
# Cleanup
&& rm -rf /var/lib/apt/lists/*
# Set up environment variables for compilation
ENV MYSQLCLIENT_CFLAGS="-I/usr/include/mysql" \
MYSQLCLIENT_LDFLAGS="-lmysqlclient" \
LC_ALL=en_US.UTF-8 \
PYTHONDONTWRITEBYTECODE=1
# Create non-root user for cloud agents
RUN useradd -m -s /bin/bash ubuntu
# Set user and working directory as required for cloud agents
USER ubuntu
WORKDIR /home/ubuntu
I did not create the snapshot with the Dockerfile
1 Like
system
(system)
Closed
January 6, 2026, 5:37pm
11
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.