ExceptionPxssh: Could not establish connection to host, docker login
I pulled today's commits and I get this error, I can't write to the bot and the classic message from the bot doesn't appear
I have the same issue https://github.com/OpenDevin/OpenDevin/issues/916
Thanks for the report @flavioTocca! We're looking into it.
@PierrunoYT if there's already an open issue, there's no need to open a second one--you can just add details to the existing issue.
@flavioTocca are you on windows? Can you explain more about your setup? (In the future, it's very helpful if you fill out the bug template)
Can you also run docker ps to see if the container has been started? Also, can you try ssh -v following the warning message with the password to see what you get?
I have the same issue as mentioned in the closed Issue
Bug Description
An error occurs when trying to establish an SSH connection to the sandbox environment while running make run, preventing the creation of the AgentController.
Setup and Configuration
Current Version:
01c4c4bee4b5d8dc227e3432f585229a7c9d7126 (HEAD -> main, origin/main, origin/HEAD)
Author: ITNerdAZ <[email protected]>
Date: Mon Apr 8 14:56:02 2024 +0000
Add installation warning to readme (#883)
* Update README
* Update README.md
---------
Co-authored-by: Robert Brennan <[email protected]>
My config.toml and environment vars (be sure to redact API keys):
LLM_MODEL="gpt-4-0125-preview"
LLM_API_KEY="XYZ"
WORKSPACE_DIR="./workspace"
My model and agent (you can see these settings in the UI):
- Model:
- Agent:
Commands I ran to install and run OpenDevin:
make run
Steps to Reproduce
- Clone the repository
- Change into the project directory
- Run
make run
Logs, Error Messages, and Screenshots
18:19:42 - opendevin:INFO: sandbox.py:210 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try `ssh -v -p 2222 opendevin@localhost` with the password '9e5c46b1-856b-42f1-ac09-3240398b8d40' and report the issue on GitHub.
18:19:43 - opendevin:ERROR: manager.py:134 - Error creating controller.
Traceback (most recent call last):
File "/mnt/c/Users/pierr/OpenDevin/opendevin/server/agent/manager.py", line 125, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/mnt/c/Users/pierr/OpenDevin/opendevin/controller/agent_controller.py", line 86, in __init__
self.command_manager = CommandManager(
^^^^^^^^^^^^^^^
File "/mnt/c/Users/pierr/OpenDevin/opendevin/controller/command_manager.py", line 14, in __init__
self.shell = DockerInteractive(
^^^^^^^^^^^^^^^^^^
File "/mnt/c/Users/pierr/OpenDevin/opendevin/sandbox/sandbox.py", line 139, in __init__
self.start_ssh_session()
File "/mnt/c/Users/pierr/OpenDevin/opendevin/sandbox/sandbox.py", line 213, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password, port=2222)
File "/home/pierre/.cache/pypoetry/virtualenvs/opendevin-lPNnzAY--py3.12/lib/python3.12/site-packages/pexpect/pxssh.py", line 424, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host
Additional Context
- The error occurs when running
make run, which attempts to establish an SSH connection toopendevin@localhoston port 2222. - The password for the SSH connection is provided in the log message:
9e5c46b1-856b-42f1-ac09-3240398b8d40. - The error is raised by the
pexpect.pxsshlibrary, indicating that it could not establish a connection to the host. - The error propagates through the
DockerInteractive,CommandManager, andAgentControllerclasses, ultimately preventing the creation of the controller. - The issue seems to be related to the SSH connection setup and configuration within the OpenDevin sandbox environment when running the application using
make run.
could you please try docker ps and docker stop <container_id> and then rerun the project?
@rbren sorry for not being specific, yes I use windows 11, with wls 2 and ubunto, I am using a local model, which responded yesterday, it comes with both the make run and 2 separate start commands
@JustinLin610 @xingyaoww
docker starts only when I launch the BE as it should be
same issue
@flavioTocca @ac12aa Can you try the commands in the comments above?
- ssh -v as said in the message from opendevin too; and tell what happens, do you get an error?
- docker stop <container_id> before trying again.
There have been fixes today, do also a git pull before, just in case.
@flavioTocca @ac12aa @PierrunoYT this was happening to me as well. I had used sudo for make run and apparently it caused the issue. I deleted the Docker containers and ran again without sudo and it worked correctly.
Might have something to do with this in the sandbox.py:
144 : # Make users sudoers passwordless
I'm having the same issue. Updated the code, ran make build again, deleted the docker container but still have the same issue. When running the suggested command, ssh -v -p 2222 opendevin@localhost I get a "connection refused"
Running on Windows 11 with WSL2.
Logs:
09:08:12 - opendevin:INFO: sandbox.py:210 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try `ssh -v -p 2222 opendevin@localhost` with the password '7bee83ba-cb83-40d9-840d-0e5eda87f293' and report the issue on GitHub.
09:08:12 - opendevin:ERROR: manager.py:134 - Error creating controller.
Traceback (most recent call last):
File "/home/nastase/developer/OpenDevin/opendevin/server/agent/manager.py", line 125, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/home/nastase/developer/OpenDevin/opendevin/controller/agent_controller.py", line 86, in __init__
self.command_manager = CommandManager(
^^^^^^^^^^^^^^^
File "/home/nastase/developer/OpenDevin/opendevin/controller/command_manager.py", line 14, in __init__
self.shell = DockerInteractive(
^^^^^^^^^^^^^^^^^^
File "/home/nastase/developer/OpenDevin/opendevin/sandbox/sandbox.py", line 139, in __init__
self.start_ssh_session()
File "/home/nastase/developer/OpenDevin/opendevin/sandbox/sandbox.py", line 213, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password, port=2222)
File "/home/nastase/.cache/pypoetry/virtualenvs/opendevin-P5XeTA7Z-py3.11/lib/python3.11/site-packages/pexpect/pxssh.py", line 424, in login
raise ExceptionPxssh('Could not establish connection to host')
pexpect.pxssh.ExceptionPxssh: Could not establish connection to host
@enyst I did git pull today but it still doesn't work, @hcossio I didn't launch it with the sudo command, but I tried it again it didn't work
It looks like the current implementation mainly causes issues for "Windows + WSL" users. I suspect the major cause may be related to network connectivity issues inside WSL (e.g., due to proxy).
I think a short-term quick fix to get the whole thing back to work would be to revert to the commit before the introduction of this issue (git checkout 6e3b554317de7bc5d96ef81b4097287e05c0c4d, then make run). We could also revert these changes from main, and work in a separate dev branch until we get docker-compose working as a whole. @rbren how do you think?
A more fundamental fix will be available once we can package the entire backend/frontend server inside a container (i.e., once we merge the docker-compose PRs: #377, #481), and use the docker network to isolate the potentially different host network environments.
@xingyaoww I'm using wsl and everything works fine! but maybe having a dev branch for the docker-compose would be a good idea
Same issue here:
Windows10+WSL
re
Same here after pulling the latest commits.
+1 I have the very same issue
I'm getting the same error on Ubuntu (not Windows).
ssh -v -p 2222 opendevin@localhost works within the container but throws "Connection refused" on the host.
same issue here windows+wsl. container is up and running.
ssh -v -p 2222 opendevin@localhost works within the container but throws "Connection refused" on the host.
I have the same issue, i have tried to fix it but still, i am using windows 11 and WSL Ubuntu.
(base) malam@Mass:~/OpenDevin$ cd OpenDevin (base) malam@Mass:~/OpenDevin/OpenDevin$ make run Running the app... Starting backend server... Waiting for the backend to start... /home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_list" has conflict with protected namespace "model".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_name" has conflict with protected namespace "model".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_group_alias" has conflict with protected namespace "model".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_info" has conflict with protected namespace "model".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/pydantic/_internal/fields.py:151: UserWarning: Field "model_id" has conflict with protected namespace "model".
You may be able to resolve this warning by setting model_config['protected_namespaces'] = ().
warnings.warn(
INFO: Started server process [64487]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:3000 (Press CTRL+C to quit)
Backend started successfully.
Starting frontend with npm...
[email protected] start vite --port 3001
VITE v5.2.8 ready in 405 ms
➜ Local: http://localhost:3001/
➜ Network: use --host to expose
➜ press h + enter to show help
INFO: ('127.0.0.1', 50378) - "WebSocket /ws?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzaWQiOiJlNDAxNjgxMS0xMTU5LTRkOTQtYmNmMy01OGVhMWE2YTcyNzQifQ.eyX_jlm1j5xK_ibJWPHYPdi4NasiCs8cPzRoo_tGQuU" [accepted]
Starting loop_recv for sid: e4016811-1159-4d94-bcf3-58ea1a6a7274
INFO: connection open
INFO: 127.0.0.1:50390 - "GET /refresh-files HTTP/1.1" 200 OK
INFO: 127.0.0.1:50398 - "GET /messages/total HTTP/1.1" 200 OK
INFO: 127.0.0.1:50400 - "GET /configurations HTTP/1.1" 200 OK
INFO: 127.0.0.1:50408 - "GET /refresh-files HTTP/1.1" 200 OK
13:27:24 - opendevin:INFO: sandbox.py:135 - Using workspace directory: /home/malam/OpenDevin/OpenDevin/workspace
13:27:24 - opendevin:INFO: sandbox.py:324 - Container stopped
13:27:54 - opendevin:INFO: sandbox.py:356 - Container started
13:27:55 - opendevin:INFO: sandbox.py:373 - waiting for container to start: 1, container status: running
13:27:55 - opendevin:INFO: sandbox.py:212 - Connecting to opendevin@localhost via ssh. If you encounter any issues, you can try ssh -v -p 2222 opendevin@localhost with the password '7695e32d-e236-47b4-a0a3-2e1e3a6c446c' and report the issue on GitHub.
13:27:59 - opendevin:ERROR: agent.py:135 - Error creating controller: password refused
Traceback (most recent call last):
File "/home/malam/OpenDevin/OpenDevin/opendevin/server/agent/agent.py", line 126, in create_controller
self.controller = AgentController(
^^^^^^^^^^^^^^^^
File "/home/malam/OpenDevin/OpenDevin/opendevin/controller/agent_controller.py", line 88, in init
self.command_manager = CommandManager(
^^^^^^^^^^^^^^^
File "/home/malam/OpenDevin/OpenDevin/opendevin/controller/command_manager.py", line 19, in init
self.shell = DockerInteractive(
^^^^^^^^^^^^^^^^^^
File "/home/malam/OpenDevin/OpenDevin/opendevin/sandbox/sandbox.py", line 153, in init
self.start_ssh_session()
File "/home/malam/OpenDevin/OpenDevin/opendevin/sandbox/sandbox.py", line 217, in start_ssh_session
self.ssh.login(hostname, username, self._ssh_password,
File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/pexpect/pxssh.py", line 440, in login
raise ExceptionPxssh('password refused')
pexpect.pxssh.ExceptionPxssh: password refused
INFO: 127.0.0.1:50416 - "GET /messages HTTP/1.1" 200 OK
INFO: 127.0.0.1:38948 - "GET /litellm-models HTTP/1.1" 200 OK
INFO: 127.0.0.1:38956 - "GET /litellm-agents HTTP/1.1" 200 OK
INFO: 127.0.0.1:38960 - "GET /litellm-models HTTP/1.1" 200 OK
INFO: 127.0.0.1:38966 - "GET /litellm-agents HTTP/1.1" 200 OK
INFO: 127.0.0.1:59004 - "GET /litellm-models HTTP/1.1" 200 OK
INFO: 127.0.0.1:59006 - "GET /litellm-agents HTTP/1.1" 200 OK
INFO: 127.0.0.1:59008 - "GET /litellm-models HTTP/1.1" 200 OK
INFO: 127.0.0.1:59018 - "GET /litellm-agents HTTP/1.1" 200 OK
^CReceived signal 2, exiting...
INFO: connection closed
ERROR: Traceback (most recent call last):
File "/home/malam/anaconda3/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/malam/anaconda3/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "uvloop/loop.pyx", line 1511, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1504, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1377, in uvloop.loop.Loop.run_forever
File "uvloop/loop.pyx", line 555, in uvloop.loop.Loop._run
File "uvloop/handles/poll.pyx", line 216, in uvloop.loop.__on_uvpoll_event
File "uvloop/cbhandles.pyx", line 83, in uvloop.loop.Handle._run
File "uvloop/cbhandles.pyx", line 66, in uvloop.loop.Handle._run
File "uvloop/loop.pyx", line 397, in uvloop.loop.Loop._read_from_self
File "uvloop/loop.pyx", line 402, in uvloop.loop.Loop._invoke_signals
File "uvloop/loop.pyx", line 377, in uvloop.loop.Loop._ceval_process_signals
File "/home/malam/OpenDevin/OpenDevin/opendevin/server/agent/manager.py", line 40, in handle_signal
exit(0)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 741, in lifespan await receive() File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/uvicorn/lifespan/on.py", line 137, in receive return await self.receive_queue.get() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/anaconda3/lib/python3.11/asyncio/queues.py", line 158, in get await getter asyncio.exceptions.CancelledError
make: *** [Makefile:129: run] Interrupt
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/malam/anaconda3/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/malam/anaconda3/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "uvloop/loop.pyx", line 1511, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1504, in uvloop.loop.Loop.run_until_complete
File "uvloop/loop.pyx", line 1377, in uvloop.loop.Loop.run_forever
File "uvloop/loop.pyx", line 555, in uvloop.loop.Loop._run
File "uvloop/handles/poll.pyx", line 216, in uvloop.loop.__on_uvpoll_event
File "uvloop/cbhandles.pyx", line 83, in uvloop.loop.Handle._run
File "uvloop/cbhandles.pyx", line 66, in uvloop.loop.Handle._run
File "uvloop/loop.pyx", line 397, in uvloop.loop.Loop._read_from_self
File "uvloop/loop.pyx", line 402, in uvloop.loop.Loop._invoke_signals
File "uvloop/loop.pyx", line 377, in uvloop.loop.Loop._ceval_process_signals
File "/home/malam/OpenDevin/OpenDevin/opendevin/server/agent/manager.py", line 40, in handle_signal
exit(0)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 240, in run_asgi result = await self.app(self.scope, self.asgi_receive, self.asgi_send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in call return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call await super().call(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/applications.py", line 123, in call await self.middleware_stack(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 151, in call await self.app(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/middleware/cors.py", line 77, in call await self.app(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 65, in call await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 756, in call await self.middleware_stack(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 776, in app await route.handle(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 373, in handle await self.app(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 96, in app await wrap_app_handling_exceptions(app, session)(scope, receive, send) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app await app(scope, receive, sender) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 94, in app await func(session) File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 348, in app await dependant.call(**values) File "/home/malam/OpenDevin/OpenDevin/opendevin/server/listen.py", line 42, in websocket_endpoint await session_manager.loop_recv(sid, agent_manager.dispatch) File "/home/malam/OpenDevin/OpenDevin/opendevin/server/session/manager.py", line 36, in loop_recv await self._sessions[sid].loop_recv(dispatch) File "/home/malam/OpenDevin/OpenDevin/opendevin/server/session/session.py", line 29, in loop_recv data = await self.websocket.receive_json() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/websockets.py", line 157, in receive_json message = await self.receive() ^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/starlette/websockets.py", line 49, in receive message = await self._receive() ^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 379, in asgi_receive data = await self.recv() ^^^^^^^^^^^^^^^^^ File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-VK4jyVz5-py3.11/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 552, in recv await asyncio.wait( File "/home/malam/anaconda3/lib/python3.11/asyncio/tasks.py", line 428, in wait return await _wait(fs, timeout, return_when, loop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/malam/anaconda3/lib/python3.11/asyncio/tasks.py", line 535, in _wait await waiter asyncio.exceptions.CancelledError (base) malam@Mass:~/OpenDevin/OpenDevin$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c51a0cd3a809 ghcr.io/opendevin/sandbox "/usr/sbin/sshd -D -…" About a minute ago Up About a minute sandbox-e4016811-1159-4d94-bcf3-58ea1a6a7274 (base) malam@Mass:~/OpenDevin/OpenDevin$
I have tried ssh -v -p 2222 opendevin@localhost but still i can't connect.
base) malam@Mass:~/OpenDevin/OpenDevin$ ssh -v -p 2222 opendevin@localhost
OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to localhost [::1] port 2222.
debug1: Connection established.
debug1: identity file /home/malam/.ssh/id_rsa type -1
debug1: identity file /home/malam/.ssh/id_rsa-cert type -1
debug1: identity file /home/malam/.ssh/id_ecdsa type -1
debug1: identity file /home/malam/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/malam/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/malam/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/malam/.ssh/id_ed25519 type -1
debug1: identity file /home/malam/.ssh/id_ed25519-cert type -1
debug1: identity file /home/malam/.ssh/id_ed25519_sk type -1
debug1: identity file /home/malam/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/malam/.ssh/id_xmss type -1
debug1: identity file /home/malam/.ssh/id_xmss-cert type -1
debug1: identity file /home/malam/.ssh/id_dsa type -1
debug1: identity file /home/malam/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.6
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.9p1 Ubuntu-3ubuntu0.6
debug1: compat_banner: match: OpenSSH_8.9p1 Ubuntu-3ubuntu0.6 pat OpenSSH compat 0x04000000
debug1: Authenticating to localhost:2222 as 'opendevin'
debug1: load_hostkeys: fopen /home/malam/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: [email protected] MAC:
Is this fixed?
guess it could be a good opportunity to try SWE-Agent. lol
Is this fixed?
windows10+WSL Ubuntu nope
Yes, this issue has been resolved for me. The steps are as follows:
- I uninstalled WSL and deleted all the OpenDevin files.
- I reinstalled WSL and downloaded OpenDevin files to WSL directly.
- I made sure all requirements are ready and the correct versions are as mentioned in the tutorials (Python >= 3.11, NodeJS >= 18.17.1, Poetry >= 1.8).
For Docker, I didn't download a desktop. I used Linux commands to download it and encountered some permission issues. With the help of ChatGPT, I solved it and obtained the permissions.
You have to make sure to download everything in the WSL and forget about Windows.
I followed the steps (make build) and encountered some errors like the package not being complete for Python pip and apt. I downloaded it so make build could download all the files, and then I made setup-config and make run. I didn't have any issues with Docker or any SSH problems.
I am currently facing a loop issue, which I believe can be resolved by upgrading ChatGPT3.5 to ChatGPT4.
You need to install everything in WSL, including Node and Python, and ensure all requirements are met with the correct versions as mentioned. For Docker, you don't have to download Docker desktop as I downloaded it inside WSL, and it is running perfectly without any issues.
I am not a programmer or developer so excuse me with my short knowledge, with all respect for the developers.
if you can help me with the loop issue, i will send the issue in the right error page as i followed all the steps but still i am facing Error during task loop. ile "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 8526, in exception_type raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 7367, in exception_type raise RateLimitError( litellm.exceptions.RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Yes, this issue has been resolved for me. The steps are as follows:
- I uninstalled WSL and deleted all the OpenDevin files.
- I reinstalled WSL and downloaded OpenDevin files to WSL directly.
- I made sure all requirements are ready and the correct versions are as mentioned in the tutorials (Python >= 3.11, NodeJS >= 18.17.1, Poetry >= 1.8).
For Docker, I didn't download a desktop. I used Linux commands to download it and encountered some permission issues. With the help of ChatGPT, I solved it and obtained the permissions.
You have to make sure to download everything in the WSL and forget about Windows.
I followed the steps (make build) and encountered some errors like the package not being complete for Python pip and apt. I downloaded it so make build could download all the files, and then I made setup-config and make run. I didn't have any issues with Docker or any SSH problems.
I am currently facing a loop issue, which I believe can be resolved by upgrading ChatGPT3.5 to ChatGPT4.
You need to install everything in WSL, including Node and Python, and ensure all requirements are met with the correct versions as mentioned. For Docker, you don't have to download Docker desktop as I downloaded it inside WSL, and it is running perfectly without any issues.
I am not a programmer or developer so excuse me with my short knowledge, with all respect for the developers.
if you can help me with the loop issue, i will send the issue in the right error page as i followed all the steps but still i am facing Error during task loop. ile "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 8526, in exception_type raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 7367, in exception_type raise RateLimitError( litellm.exceptions.RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Mate you are life saver!
I didn't have to delete local files that reside on windows but it did stop Desktop Docker and installed it directly on WSL. I works now!
Thank you again!
Yes, this issue has been resolved for me. The steps are as follows:
- I uninstalled WSL and deleted all the OpenDevin files.
- I reinstalled WSL and downloaded OpenDevin files to WSL directly.
- I made sure all requirements are ready and the correct versions are as mentioned in the tutorials (Python >= 3.11, NodeJS >= 18.17.1, Poetry >= 1.8).
For Docker, I didn't download a desktop. I used Linux commands to download it and encountered some permission issues. With the help of ChatGPT, I solved it and obtained the permissions.
You have to make sure to download everything in the WSL and forget about Windows.
I followed the steps (make build) and encountered some errors like the package not being complete for Python pip and apt. I downloaded it so make build could download all the files, and then I made setup-config and make run. I didn't have any issues with Docker or any SSH problems.
I am currently facing a loop issue, which I believe can be resolved by upgrading ChatGPT3.5 to ChatGPT4.
You need to install everything in WSL, including Node and Python, and ensure all requirements are met with the correct versions as mentioned. For Docker, you don't have to download Docker desktop as I downloaded it inside WSL, and it is running perfectly without any issues.
I am not a programmer or developer so excuse me with my short knowledge, with all respect for the developers.
if you can help me with the loop issue, i will send the issue in the right error page as i followed all the steps but still i am facing Error during task loop. ile "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 8526, in exception_type raise e File "/home/malam/.cache/pypoetry/virtualenvs/opendevin-8jU3_nnO-py3.11/lib/python3.11/site-packages/litellm/utils.py", line 7367, in exception_type raise RateLimitError( litellm.exceptions.RateLimitError: OpenAIException - Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Mate you are life saver!
I didn't have to delete local files that reside on windows but it did stop Desktop Docker and installed it directly on WSL.
I works now!
Thank you again!
I use Docker inside WSL but I have Docker also on Desktop for other Projects.
Hey all--we just merged a possible fix. Try adding SANDBOX_TYPE=exec to your config.toml
I didn't uninstall anything, but installed Docker (dockerd) into WSL2 itself and run it in one terminal (and do not start Docker Desktop on Windows). Then in 2nd terminal run make build and make run again and when it's done, opened OD on my Windows browser and it works! Thanks to @Mass0090 for those invaluable hints!! 👍
@jenkor & @tobitege , I'm glad to know that it works for you.
@PierrunoYT , I'm really not sure if Docker desktop is the main reason, but you can follow @rbren steps and let us know if it works.