OpenHands / OpenHands/software-agent-sdk
[Bug]: agent-server (No response from ACP server) when setting up automation using Local ACP, opencode, ollama
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 542
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 137
Description
Is there an existing issue for the same bug?
- I have searched existing issues and this is not a duplicate.
Bug Description
I have agent-canvas running successfully and creating changes using conversations. Yay!
When I set up an automation such as GitHub repository monitor
I set up "Poll Locally on your laptop"
I am taken to the new conversation where I submit
/github-monitor:poll
and I receive
(No response from ACP server)
When i check the journalctl I see the below error. This is strange to me as the conversation works great using the ACP but below looks like litellm is not using the ACP but trying to talk to Ollama which is available on the network and set up in the base_url.
npx[571794]: 01:41:25 [agent-server] ERROR litellm.APIConnectionError: OllamaException - [Errno 111] Connection refused. Attempt OpenHands/OpenHands#2 | You can customize retry values in the configuration. retry_mixin.py:140
Ollama is running on the network, maybe there is some additional configuration i need to set to use Automation with ACP or ollama running on the network?
Thanks for your help!
Expected Behavior
Automation should continue set up prompting
Actual Behavior
a message is logged
(No response from ACP server)
backend logs show
npx[571794]: 01:41:25 [agent-server] ERROR litellm.APIConnectionError: OllamaException - [Errno 111] Connection refused. Attempt OpenHands/OpenHands#2 | You can customize retry values in the configuration. retry_mixin.py:140
Steps to Reproduce
-
Install Openhands on an Ubuntu VM
-
Set up Openhands GitHub MCP
-
Install Opencode on the VM
-
Configure Ollama network access (from GPU server)
-
Configure Opencode to use Ollama server and model
-
Configure Openhands to use ACP (opencode acp) and set the model to ollama/ (works here in conversation)
-
Set up a new Automation.
-
Select GitHub repository monitor
-
Select Continue with Local setup
-
Submit /github-monitor:poll in conversation
OpenHands Installation Method
Other
If you selected "Other", please specify
npm install -g @openhands/agent-canvas
OpenHands Version
latest release npm
Version Confirmation
- I have confirmed this bug exists on the LATEST version of OpenHands
Model Name
devstral-small-2
Operating System
Ubuntu 24
Browser (if using web UI)
No response
Logs and Error Messages
npx[571794]: 01:41:25 [agent-server] ERROR litellm.APIConnectionError: OllamaException - [Errno 111] Connection refused. Attempt OpenHands/OpenHands#2 | You can customize retry values in the configuration. retry_mixin.py:140
Screenshots and Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Local ACP automation flow through the agent-server entry point, using /github-monitor:poll and the journalctl error as the initial trace. Compare this path with the working conversation setup and determine why the automation reaches Ollama directly. Done means the GitHub repository monitor continues its setup without returning “No response from ACP server.”
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, ollama, python
- Domain
- ai, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100