#798·OpenManus

Bug: httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] when having cloudfare.

Author: abbasali-sariya-thgCreated Mar 18, 2025Updated Sep 14, 2026
Labelsinactive

Bug description

I have cloudfare setup on my work machine, and I'm getting this error after entering my prompt.

These are the steps that come before the error logs

2025-03-18 10:00:03.012 | WARNING  | __main__:main:15 - Processing your request...
2025-03-18 10:00:03.016 | INFO     | app.agent.base:run:137 - Executing step 1/20
2025-03-18 10:00:04.519 | ERROR    | app.llm:ask_tool:278 - API error: Connection error.
2025-03-18 10:00:06.948 | ERROR    | app.llm:ask_tool:278 - API error: Connection error.
2025-03-18 10:00:09.677 | ERROR    | app.llm:ask_tool:278 - API error: Connection error.
2025-03-18 10:00:12.820 | ERROR    | app.llm:ask_tool:278 - API error: Connection error.
2025-03-18 10:00:18.179 | ERROR    | app.llm:ask_tool:278 - API error: Connection error.
2025-03-18 10:00:35.666 | ERROR    | app.llm:ask_tool:278 - API error: Connection error.
    raise mapped_exc(message) from exc
httpx.ConnectError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)

Bug solved method

Environment information

  • System version: Mac OS Sonoma
  • Python version: 3.12
  • OpenManus version or branch: main
  • Installation method (e.g., pip install -r requirements.txt or pip install -e .): pip install -r requirements.txt`

Screenshots or logs

Source: FoundationAgents/OpenManus