agenta icon indicating copy to clipboard operation
agenta copied to clipboard

[Bug] Network error in first page

Open burning-croissant opened this issue 1 year ago • 3 comments

Describe the bug Hi, I installed the new 0.35.1 version and opened the first page(localhost:3000/apps). It shows network errors. Can I get some help?

To Reproduce

docker compose -f hosting/docker-compose/oss/docker-compose.gh.yml \
  --env-file hosting/docker-compose/oss/.env.oss.gh \
  --profile with-web up -d \
  --pull always

# And the go to localhost:3000/apps

Expected behavior

First page of agenta

Screenshots

Image

Desktop (please complete the following information):

  • OS: [e.g. iOS] MacOS
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 133.0.6943.143 (arm64)

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Important Context

➜  agenta git:(main) ✗ docker logs agenta-oss-gh-api-1            
INFO:     Will watch for changes in these directories: ['/app']
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [1] using StatReload
INFO:     Started server process [8]
INFO:     Waiting for application startup.

➜  agenta git:(main) ✗ docker logs agenta-oss-gh-web-1                   
   ▲ Next.js 15.1.7
   - Local:        http://ec72a44cf86e:3000
   - Network:      http://ec72a44cf86e:3000

 ✓ Starting...
 ✓ Ready in 4.4s

Only suspicious logs from docker-compose logs are from traefik.

traefik-1  | time="2025-03-12T02:31:01Z" level=error msg="service \"worker-agenta-oss-gh\" error: unable to find the IP address for the container \"/agenta-oss-gh-worker-1\": the server is ignored" providerName=docker container=worker-agenta-oss-gh-3890fbdac6091e6abf813a2631ff2ce403fd236a933387fd87fc66343ab582f9

burning-croissant avatar Mar 12 '25 00:03 burning-croissant

Hey @burning-croissant can you please attach the state of all containers and the logs for the API container and we will take a look. Thank you!

mmabrouk avatar Mar 12 '25 11:03 mmabrouk

Okay, I attached what you asked below.

State of all containers:

➜  agenta git:(main) ✗ docker ps                                                            
CONTAINER ID   IMAGE                                                        COMMAND                   CREATED         STATUS                   PORTS                                                                                                                                                 NAMES
f877923c8867   ghcr.io/agenta-ai/agenta-api                                 "uvicorn entrypoint:…"   4 minutes ago   Up 4 minutes             8000/tcp                                                                                                                                              agenta-oss-gh-api-1
78943b98711a   ghcr.io/agenta-ai/agenta-completion                          "python oss/src/main…"   4 minutes ago   Up 4 minutes             80/tcp                                                                                                                                                agenta-oss-gh-completion-1
632f48d6f6ca   ghcr.io/agenta-ai/agenta-api                                 "celery -A entrypoin…"   4 minutes ago   Up 4 minutes             8000/tcp                                                                                                                                              agenta-oss-gh-worker-1
7f3540efcaf1   ghcr.io/agenta-ai/agenta-chat                                "python oss/src/main…"   4 minutes ago   Up 4 minutes             80/tcp                                                                                                                                                agenta-oss-gh-chat-1
4d006a9edce1   ghcr.io/agenta-ai/agenta-web                                 "docker-entrypoint.s…"   4 minutes ago   Up 4 minutes             0.0.0.0:3000->3000/tcp, :::3000->3000/tcp                                                                                                             agenta-oss-gh-web-1
583b745d2c2d   registry.supertokens.io/supertokens/supertokens-postgresql   "docker-entrypoint.s…"   5 minutes ago   Up 4 minutes (healthy)   0.0.0.0:3567->3567/tcp, :::3567->3567/tcp                                                                                                             agenta-oss-gh-supertokens-1
2a8e0739e044   postgres:16.2                                                "docker-entrypoint.s…"   5 minutes ago   Up 5 minutes (healthy)   0.0.0.0:5432->5432/tcp, :::5432->5432/tcp                                                                                                             agenta-oss-gh-postgres-1
9bc173501bb8   traefik:v2.10                                                "/entrypoint.sh --ap…"   5 minutes ago   Up 5 minutes             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp                                                                          agenta-oss-gh-traefik-1
02c3f2469fbc   redis:latest                                                 "docker-entrypoint.s…"   5 minutes ago   Up 5 minutes             6379/tcp                                                                                                                                              agenta-oss-gh-redis-1
1647021dfb22   rabbitmq:3-management                                        "docker-entrypoint.s…"   5 minutes ago   Up 5 minutes             4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 15671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp, :::15672->15672/tcp   agenta-oss-gh-rabbitmq-1

Logs for API container:

➜  agenta git:(main) ✗ docker logs agenta-oss-gh-api-1                   
INFO:     Will watch for changes in these directories: ['/app']
INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [1] using StatReload

Thanks!

burning-croissant avatar Mar 12 '25 23:03 burning-croissant

Hi @burning-croissant, thank you for bringing this to our attention. Since there hasn’t been any recent activity on this thread, we’re going to close this issue for now.

However, if the problem persists or you have more information to share, please feel free to reopen it or create a new issue. We appreciate your support!

ashrafchowdury avatar Dec 30 '25 11:12 ashrafchowdury