TransformerOptimus / SuperAGI

<⚡️> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.
https://superagi.com/
MIT License
15.53k stars 1.87k forks source link

Run SuperAGI on cloud instance #1427

Open AndrukhivAndriy opened 5 months ago

AndrukhivAndriy commented 5 months ago

⚠️ Check for existing issues before proceeding. ⚠️

Where are you using SuperAGI?

Linux

Which branch of SuperAGI are you using?

Main

Do you use OpenAI GPT-3.5 or GPT-4?

GPT-3.5

Which area covers your issue best?

Installation and setup

Describe your issue.

I am trying to deploy SuperAGI on an AWS instance. Which one has its domain name like - ec2-54-1.compute-1.amazonaws.com. I made changes in code: 1. in config.yaml - FRONTEND_URL: "http://ec2-54-.compute-1.amazonaws.com", 2. main.py (285 str) - ....get_config("FRONTEND_URL", "http://ec2-54-****.compute-1.amazonaws.com"), 3. docker-compose.yaml -- in "proxy" , ports - "80:80". After docker compose up --build --- SuperAGI doesn't want to load - it still has the status "Initializing SuperAGI....." . Nginx gives me an error --- GET /_next/webpack-hmr HTTP/1.1" 499 . How can I deploy SuperAGI not on localhost, but on real domain name and with https.

How to replicate your Issue?

No response

Upload Error Log Content

178.212.111.209 - - [14/Jun/2024:09:54:53 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:54:53 +0000] "GET /api/configs/get/env HTTP/1.1" 502 157 "http://ec2-54-90-14-21.compute-1.amazonaws.com/178.212.111.209 - - [14/Jun/2024:09:55:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:55:11 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:55:34 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:55:36 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:55:46 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:55:56 +0000] "GET /_next/webpack-hmr HTTP/1.1" 504 167 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:178.212.111.209 - - [14/Jun/2024:09:56:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:12178.212.111.209 - - [14/Jun/2024:09:56:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:12178.212.111.209 - - [14/Jun/2024:09:56:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:12178.212.111.209 - - [14/Jun/2024:09:56:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:12178.212.111.209 - - [14/Jun/2024:09:56:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:12178.212.111.209 - - [14/Jun/2024:09:56:03 +0000] "GET /_next/webpack-hmr HTTP/1.1" 499 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:12212.71.250.92 - - [14/Jun/2024:11:03:49 +0000] "GET / HTTP/1.1" 404 849 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firef

Fluder-Paradyne commented 4 months ago

do you get any error in the backend ? Can you share logs by running docker compose logs backend