openchatai / OpenCopilot

🤖 🔥 Language-to-actions engine

Home Page:https://opencopilot.so

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to create Copilot

tpmccallum opened this issue · comments

Describe the bug

Error when trying to create a new Copilot

nginx-1       | 2024/02/19 00:41:33 [error] 29#29: *37 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.65.1, server: , request: "POST /backend/copilot/ HTTP/1.1", upstream: "http://172.24.0.7:8002/backend/copilot/", host: "localhost:8888", referrer: "http://localhost:8888/create/copilot"
nginx-1       | 192.168.65.1 - - [19/Feb/2024:00:41:33 +0000] "POST /backend/copilot/ HTTP/1.1" 502 559 "http://localhost:8888/create/copilot" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"

To Reproduce
Steps to reproduce the behaviour:

git pull
# 277b1839..87efd394
make install

Then try and create a Copilot

Screenshots

Screenshot 2024-02-19 at 10 40 56

Desktop (please complete the following information):

  • macOS

Deleted OpenCopilot and did a fresh:

git clone https://github.com/openchatai/OpenCopilot.git
cd OpenCopilot

Then added myOPENAI_API_KEY to the llm-server/.env file and built from scratch.

make install

It works now.