[GH-ISSUE #43] [Bug]: #24

Closed
opened 2026-06-06 22:08:03 -04:00 by yindo · 10 comments
Owner

Originally created by @andrey-yalta on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/vxcontrol/pentagi/issues/43

Originally assigned to: @asdek on GitHub.

Affected Component

Core Services (Frontend UI/Backend API)

Describe the bug

Hello, after successful installation I enter a request, send it but nothing happens, tasks are not created.
Image

Tell me, please, what the problem might be and how to fix it?

Steps to Reproduce

  1. Basic install
  2. Visit localhost:8443
  3. login
  4. create request: "do a directory search for host http://0.0.0.0:8000/ , check for vulnerabilities owasp top 10 web"

System Configuration

kali linux 2025.1

Logs and Artifacts

No response

Screenshots or Recordings

No response

Verification

  • I have checked that this issue hasn't been already reported
  • I have provided all relevant configuration files (with sensitive data removed)
  • I have included relevant logs and error messages
  • I am running the latest version of PentAGI
Originally created by @andrey-yalta on GitHub (May 29, 2025). Original GitHub issue: https://github.com/vxcontrol/pentagi/issues/43 Originally assigned to: @asdek on GitHub. ### Affected Component Core Services (Frontend UI/Backend API) ### Describe the bug Hello, after successful installation I enter a request, send it but nothing happens, tasks are not created. <img width="1250" alt="Image" src="https://github.com/user-attachments/assets/0cecebfd-fa25-42a9-a61a-216562df9efc" /> Tell me, please, what the problem might be and how to fix it? ### Steps to Reproduce 1. Basic install 2. Visit localhost:8443 3. login 4. create request: "do a directory search for host http://0.0.0.0:8000/ , check for vulnerabilities owasp top 10 web" ### System Configuration kali linux 2025.1 ### Logs and Artifacts _No response_ ### Screenshots or Recordings _No response_ ### Verification - [ ] I have checked that this issue hasn't been already reported - [ ] I have provided all relevant configuration files (with sensitive data removed) - [ ] I have included relevant logs and error messages - [ ] I am running the latest version of PentAGI
yindo added the bug label 2026-06-06 22:08:03 -04:00
yindo closed this issue 2026-06-06 22:08:03 -04:00
Author
Owner

@asdek commented on GitHub (May 29, 2025):

Hello @andrey-yalta

Could you please share the relevant logs from the PentAGI Docker container after clicking the "Send" button? This would help diagnose what's happening behind the scenes.

This issue might be related to:

  1. OpenAI API connectivity problems or API key configuration
  2. Docker container networking issues
  3. Background service initialization failures

A few troubleshooting suggestions:

  1. Pre-download the Kali Linux image: docker pull booyaabes/kali-linux-full:latest - this can save significant time when starting your first test
  2. Check your .env file to ensure all API keys and configurations are correct
  3. Verify Docker logs for any errors:
docker logs --tail=1000 pentagi
<!-- gh-comment-id:2919065916 --> @asdek commented on GitHub (May 29, 2025): Hello @andrey-yalta Could you please share the relevant logs from the PentAGI Docker container after clicking the "Send" button? This would help diagnose what's happening behind the scenes. This issue might be related to: 1. OpenAI API connectivity problems or API key configuration 2. Docker container networking issues 3. Background service initialization failures A few troubleshooting suggestions: 1. Pre-download the Kali Linux image: `docker pull booyaabes/kali-linux-full:latest` - this can save significant time when starting your first test 2. Check your `.env` file to ensure all API keys and configurations are correct 3. Verify Docker logs for any errors: ```bash docker logs --tail=1000 pentagi ```
Author
Owner

@andrey-yalta commented on GitHub (May 30, 2025):

what is my logs:

Image
[GIN] 2025/05/30 - 08:06:07 | 200 | 9.562815ms | 172.18.0.1 | GET "/api/v1/info?refresh_cookie=true"
[GIN] 2025/05/30 - 08:06:07 | 200 | 1.539631ms | 172.18.0.1 | POST "/api/v1/graphql"
[GIN] 2025/05/30 - 08:06:07 | 200 | 47.518613ms | 172.18.0.1 | POST "/api/v1/graphql"
[GIN] 2025/05/30 - 08:06:33 | 200 | 3.360536ms | 172.18.0.1 | GET "/login"
[GIN] 2025/05/30 - 08:06:34 | 200 | 5.273306ms | 172.18.0.1 | GET "/assets/index-DBKLK0T2.css"
[GIN] 2025/05/30 - 08:06:34 | 200 | 2.393999ms | 172.18.0.1 | GET "/favicon/apple-touch-icon.png"
[GIN] 2025/05/30 - 08:06:34 | 200 | 2.141936ms | 172.18.0.1 | GET "/favicon/favicon.svg"
time="2025-05-30T08:06:34Z" level=info msg="SELECT * FROM "users" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=2.370011ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-05-30T08:06:34Z" level=info msg="SELECT * FROM "roles" WHERE ("id" = '1')" component=pentagi-gorm duration=1.60376ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
[GIN] 2025/05/30 - 08:06:34 | 200 | 7.310093ms | 172.18.0.1 | GET "/api/v1/info?refresh_cookie=true"
time="2025-05-30T08:06:34Z" level=info msg="SELECT name FROM "privileges" WHERE (role_id = '1')" component=pentagi-gorm duration=2.114024ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
[GIN] 2025/05/30 - 08:06:35 | 200 | 4.57572ms | 172.18.0.1 | POST "/api/v1/graphql"
[GIN] 2025/05/30 - 08:06:35 | 200 | 1.29849ms | 172.18.0.1 | POST "/api/v1/graphql"
time="2025-05-30T08:06:59Z" level=info msg="flow created in DB" flow_id=19 provider=openai user_id=1
time="2025-05-30T08:07:00Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors."
time="2025-05-30T08:07:00Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=897.118338ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\n" operation_name=createFlow operation_type=mutation
[GIN] 2025/05/30 - 08:07:00 | 200 | 897.986582ms | 172.18.0.1 | POST "/api/v1/graphql"
time="2025-05-30T08:07:04Z" level=info msg="flow created in DB" flow_id=20 provider=openai user_id=1
time="2025-05-30T08:07:05Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors."
time="2025-05-30T08:07:05Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=492.476475ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\n" operation_name=createFlow operation_type=mutation
[GIN] 2025/05/30 - 08:07:05 | 200 | 495.631424ms | 172.18.0.1 | POST "/api/v1/graphql"

<!-- gh-comment-id:2921569627 --> @andrey-yalta commented on GitHub (May 30, 2025): what is my logs: ![Image](https://github.com/user-attachments/assets/d32a1d4e-a174-416a-b641-64121d28646b) [GIN] 2025/05/30 - 08:06:07 | 200 | 9.562815ms | 172.18.0.1 | GET "/api/v1/info?refresh_cookie=true" [GIN] 2025/05/30 - 08:06:07 | 200 | 1.539631ms | 172.18.0.1 | POST "/api/v1/graphql" [GIN] 2025/05/30 - 08:06:07 | 200 | 47.518613ms | 172.18.0.1 | POST "/api/v1/graphql" [GIN] 2025/05/30 - 08:06:33 | 200 | 3.360536ms | 172.18.0.1 | GET "/login" [GIN] 2025/05/30 - 08:06:34 | 200 | 5.273306ms | 172.18.0.1 | GET "/assets/index-DBKLK0T2.css" [GIN] 2025/05/30 - 08:06:34 | 200 | 2.393999ms | 172.18.0.1 | GET "/favicon/apple-touch-icon.png" [GIN] 2025/05/30 - 08:06:34 | 200 | 2.141936ms | 172.18.0.1 | GET "/favicon/favicon.svg" time="2025-05-30T08:06:34Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=2.370011ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-05-30T08:06:34Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.60376ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" [GIN] 2025/05/30 - 08:06:34 | 200 | 7.310093ms | 172.18.0.1 | GET "/api/v1/info?refresh_cookie=true" time="2025-05-30T08:06:34Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration=2.114024ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" [GIN] 2025/05/30 - 08:06:35 | 200 | 4.57572ms | 172.18.0.1 | POST "/api/v1/graphql" [GIN] 2025/05/30 - 08:06:35 | 200 | 1.29849ms | 172.18.0.1 | POST "/api/v1/graphql" time="2025-05-30T08:06:59Z" level=info msg="flow created in DB" flow_id=19 provider=openai user_id=1 time="2025-05-30T08:07:00Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors." time="2025-05-30T08:07:00Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=897.118338ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\n" operation_name=createFlow operation_type=mutation [GIN] 2025/05/30 - 08:07:00 | 200 | 897.986582ms | 172.18.0.1 | POST "/api/v1/graphql" time="2025-05-30T08:07:04Z" level=info msg="flow created in DB" flow_id=20 provider=openai user_id=1 time="2025-05-30T08:07:05Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors." time="2025-05-30T08:07:05Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=492.476475ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.\n" operation_name=createFlow operation_type=mutation [GIN] 2025/05/30 - 08:07:05 | 200 | 495.631424ms | 172.18.0.1 | POST "/api/v1/graphql"
Author
Owner

@asdek commented on GitHub (May 30, 2025):

Hello @andrey-yalta,

The error you're experiencing comes from the OpenAI API provider: "API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details..."

This suggests you're either using a free tier account or your account has insufficient funds.

To resolve this issue, you can switch to the OpenRouter provider by configuring the following options:

LLM_SERVER_URL=https://openrouter.ai/api/v1
LLM_SERVER_KEY=YOUR_API_KEY
# Leave empty, as models are specified in the config
LLM_SERVER_MODEL=
# This file is already inside the container, you only need to specify the path
LLM_SERVER_CONFIG_PATH=/opt/pentagi/conf/openrouter.provider.yml 
<!-- gh-comment-id:2921709858 --> @asdek commented on GitHub (May 30, 2025): Hello @andrey-yalta, The error you're experiencing comes from the OpenAI API provider: "API returned unexpected status code: 429: You exceeded your current quota, please check your plan and billing details..." This suggests you're either using a free tier account or your account has insufficient funds. To resolve this issue, you can switch to the OpenRouter provider by configuring the following options: ``` LLM_SERVER_URL=https://openrouter.ai/api/v1 LLM_SERVER_KEY=YOUR_API_KEY # Leave empty, as models are specified in the config LLM_SERVER_MODEL= # This file is already inside the container, you only need to specify the path LLM_SERVER_CONFIG_PATH=/opt/pentagi/conf/openrouter.provider.yml ```
Author
Owner

@andrey-yalta commented on GitHub (Jun 2, 2025):

Hello @asdek I connected openrouter.ai, topped up my balance and sent a test request:"run domain phasing for this url https://*******/, also identify vulnerabilities from OWASP top 10 WEB" . As a result, the application does not give anything. Image
Error :

time="2025-06-02T10:24:22Z" level=warning msg="failed to exec function" agent=custom args="{\"question\":\"What are the current best practices for domain reconnaissance and enumeration in penetration testing? Include subdomain enumeration, service discovery, and information gathering techniques for a website.\",\"message\":\"Searching for current domain reconnaissance methodologies...\"}" error="failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" flow_id=26 msg_chain_id=6 subtask_id="<nil>" task_id=0xc001d6e4f8
time="2025-06-02T10:24:24Z" level=error msg="failed to exec function" agent=custom args="{\"question\":\"What are the current best practices for domain reconnaissance and enumeration in penetration testing? Include subdomain enumeration, service discovery, and information gathering techniques for a website.\",\"message\":\"Searching for current domain reconnaissance methodologies...\"}" error="failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" flow_id=26 msg_chain_id=6 subtask_id="<nil>" task_id=0xc001d6e4f8
time="2025-06-02T10:24:24Z" level=error msg="failed to perform subtasks generator" error="failed to get subtasks generator result: failed to exec function 'search': failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error"
time="2025-06-02T10:24:24Z" level=error msg="failed to process input" component=worker error="failed to create task for flow 26: failed to create task worker: failed to generate subtasks: failed to generate subtasks for task 2: failed to perform subtasks generator: failed to get subtasks generator result: failed to exec function 'search': failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" flow_id=26 input="run domain phasing for this url https://**********/, also identify vulnerabilities from OWASP  top 10 WEB " trace_id=2fe47626-2c2e-481c-bc38-48fcb9a44f2a user_id=1

What could be the problem? please help

<!-- gh-comment-id:2930074702 --> @andrey-yalta commented on GitHub (Jun 2, 2025): Hello @asdek I connected openrouter.ai, topped up my balance and sent a test request:"run domain phasing for this url https://*******/, also identify vulnerabilities from OWASP top 10 WEB" . As a result, the application does not give anything. <img width="1119" alt="Image" src="https://github.com/user-attachments/assets/c273a875-c660-4e84-b063-b35d00748726" /> Error : ``` time="2025-06-02T10:24:22Z" level=warning msg="failed to exec function" agent=custom args="{\"question\":\"What are the current best practices for domain reconnaissance and enumeration in penetration testing? Include subdomain enumeration, service discovery, and information gathering techniques for a website.\",\"message\":\"Searching for current domain reconnaissance methodologies...\"}" error="failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" flow_id=26 msg_chain_id=6 subtask_id="<nil>" task_id=0xc001d6e4f8 time="2025-06-02T10:24:24Z" level=error msg="failed to exec function" agent=custom args="{\"question\":\"What are the current best practices for domain reconnaissance and enumeration in penetration testing? Include subdomain enumeration, service discovery, and information gathering techniques for a website.\",\"message\":\"Searching for current domain reconnaissance methodologies...\"}" error="failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" flow_id=26 msg_chain_id=6 subtask_id="<nil>" task_id=0xc001d6e4f8 time="2025-06-02T10:24:24Z" level=error msg="failed to perform subtasks generator" error="failed to get subtasks generator result: failed to exec function 'search': failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" time="2025-06-02T10:24:24Z" level=error msg="failed to process input" component=worker error="failed to create task for flow 26: failed to create task worker: failed to generate subtasks: failed to generate subtasks for task 2: failed to perform subtasks generator: failed to get subtasks generator result: failed to exec function 'search': failed to execute handler: failed to get searcher result: failed to get task searcher result: failed to call agent chain: max retries reached, 3: API returned unexpected status code: 403: Provider returned error" flow_id=26 input="run domain phasing for this url https://**********/, also identify vulnerabilities from OWASP top 10 WEB " trace_id=2fe47626-2c2e-481c-bc38-48fcb9a44f2a user_id=1 ``` What could be the problem? please help
Author
Owner

@asdek commented on GitHub (Jun 2, 2025):

Hello @andrey-yalta

This is unusual. You can try these steps:

First, install curl in the docker container:

docker exec -it pentagi apk add curl

Then enter the container:

docker exec -it pentagi sh

And test your OpenRouter API connection directly:

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LLM_SERVER_KEY" \
  -d '{
  "model": "openai/gpt-4.1-mini",
  "messages": [
    {
      "role": "user",
      "content": "What do you know about pentest?"
    }
  ]
}'

Alternatively, you can run the built-in tests:

docker exec -it pentagi bin/ctester -agents all -tests all

For more detailed test output for one simple agent:

docker exec -it pentagi bin/ctester -agents simple -tests all -verbose

It's possible that some models specified in the configuration aren't available with your OpenRouter account. You can edit the config file at /opt/pentagi/conf/openrouter.provider.yml or download the latest version from GitHub.

Configure it with models that you have access to, mount it into the container via volume, and run the tests again to verify system functionality:

docker exec -it pentagi bin/ctester -agents all -tests all -verbose

By the way, I've just released an update today that includes new assistant functionality and other useful improvements. You can check them out here: https://github.com/vxcontrol/pentagi/pull/44

I recommend updating your installation with:

docker compose pull && docker compose up -d
<!-- gh-comment-id:2932737126 --> @asdek commented on GitHub (Jun 2, 2025): Hello @andrey-yalta This is unusual. You can try these steps: First, install curl in the docker container: ``` docker exec -it pentagi apk add curl ``` Then enter the container: ``` docker exec -it pentagi sh ``` And test your OpenRouter API connection directly: ```bash curl https://openrouter.ai/api/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $LLM_SERVER_KEY" \ -d '{ "model": "openai/gpt-4.1-mini", "messages": [ { "role": "user", "content": "What do you know about pentest?" } ] }' ``` Alternatively, you can run the built-in tests: ``` docker exec -it pentagi bin/ctester -agents all -tests all ``` For more detailed test output for one `simple` agent: ``` docker exec -it pentagi bin/ctester -agents simple -tests all -verbose ``` It's possible that some models specified in the configuration aren't available with your OpenRouter account. You can edit the config file at `/opt/pentagi/conf/openrouter.provider.yml` or download [the latest version](https://github.com/vxcontrol/pentagi/blob/master/examples/configs/openrouter.provider.yml) from GitHub. Configure it with models that you have access to, mount it into the container via volume, and run the tests again to verify system functionality: ``` docker exec -it pentagi bin/ctester -agents all -tests all -verbose ``` By the way, I've just released an update today that includes new assistant functionality and other useful improvements. You can check them out here: https://github.com/vxcontrol/pentagi/pull/44 I recommend updating your installation with: ``` docker compose pull && docker compose up -d ```
Author
Owner

@ilya-nem commented on GitHub (Jun 4, 2025):

Hello @asdek, I have the same issue.
During the first launch of pentAGI, the following settings were specified in the .env file:

## LLM Providers
OPEN_AI_KEY=
OPEN_AI_SERVER_URL=https://api.openai.com/v1

ANTHROPIC_API_KEY=
ANTHROPIC_SERVER_URL=https://api.anthropic.com/v1

## Custom LLM provider
LLM_SERVER_URL=https://openrouter.ai/api/v1
LLM_SERVER_KEY=sk-or-v1-
LLM_SERVER_MODEL=qwen/qwen3-235b-a22b
LLM_SERVER_CONFIG_PATH=

And the first scan was successful.
Then I changed the settings in the .env file to the following:

## LLM Providers
OPEN_AI_KEY=
OPEN_AI_SERVER_URL=

ANTHROPIC_API_KEY=
ANTHROPIC_SERVER_URL=

## Custom LLM provider
LLM_SERVER_URL=https://openrouter.ai/api/v1
LLM_SERVER_KEY=sk-or-v1-
LLM_SERVER_MODEL=
LLM_SERVER_CONFIG_PATH=/opt/pentagi/conf/openrouter.provider.yml
LLM_SERVER_LEGACY_REASONING=false

And the scanning stopped working. Here is the result of executing the command docker logs --tail=1000 pentagi:

service ssl crt and key already exist
2025/06/04 11:23:59 goose: no migrations to run. current version: 20250420
2025/06/04 11:23:59 Migrations ran successfully
time="2025-06-04T11:23:59Z" level=error msg="failed to create embedder 'openai'" error="missing the OpenAI API key, set it in the OPENAI_API_KEY environment variable"
time="2025-06-04T11:23:59Z" level=info msg="flow loaded from DB" flow_id=3 provider=custom user_id=1
time="2025-06-04T11:23:59Z" level=info msg="SELECT count(*) FROM \"users\"  WHERE (type = 'local')" component=pentagi-gorm duration=3.583286ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:59" type=sql values="[]"
2025/06/04 11:24:09 http: TLS handshake error from ip:63677: EOF
[GIN] 2025/06/04 - 11:24:10 | 200 |     645.825µs |  ip | GET      "/chat/new"
2025/06/04 11:24:11 http: TLS handshake error from ip:63679: EOF
[GIN] 2025/06/04 - 11:24:11 | 200 |   96.997627ms |  ip | GET      "/assets/index-CW2ehe2a.css"
[GIN] 2025/06/04 - 11:24:13 | 200 |  2.296314406s |  ip | GET      "/assets/index-Cp0hylTo.js"
2025/06/04 11:24:13 http: TLS handshake error from ip:63680: EOF
time="2025-06-04T11:24:13Z" level=info msg="SELECT * FROM \"users\"  WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=2.44647ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:13Z" level=info msg="SELECT * FROM \"roles\"  WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.835832ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:13Z" level=info msg="SELECT name FROM \"privileges\"  WHERE (role_id = '1')" component=pentagi-gorm duration=1.875717ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
time="2025-06-04T11:24:13Z" level=info msg="session was refreshed for 'admin@pentagi.com' 'admin'" age=14400 exp=1749050653 gtm=1749036253 prm="[users.create users.delete users.edit users.view roles.view providers.view prompts.view prompts.edit screenshots.admin screenshots.view screenshots.download screenshots.subscribe msglogs.admin msglogs.view msglogs.subscribe termlogs.admin termlogs.view termlogs.subscribe flows.admin flows.create flows.delete flows.edit flows.view flows.subscribe tasks.admin tasks.view tasks.subscribe subtasks.admin subtasks.view containers.admin containers.view agentlogs.admin agentlogs.view agentlogs.subscribe vecstorelogs.admin vecstorelogs.view vecstorelogs.subscribe searchlogs.admin searchlogs.view searchlogs.subscribe assistants.admin assistants.create assistants.delete assistants.edit assistants.view assistants.subscribe assistantlogs.admin assistantlogs.view assistantlogs.subscribe settings.admin settings.view]" rid=1 tid=local uhash=808deb0003f44c50e0cd67b0485b2f38 uid=1
[GIN] 2025/06/04 - 11:24:13 | 200 |    7.921759ms |  ip | GET      "/api/v1/info?refresh_cookie=true"
[GIN] 2025/06/04 - 11:24:13 | 200 |    3.728206ms |  ip | POST     "/api/v1/graphql"
[GIN] 2025/06/04 - 11:24:13 | 200 |    5.903944ms |  ip | POST     "/api/v1/graphql"
[GIN] 2025/06/04 - 11:24:13 | 200 |    1.104935ms |  ip | GET      "/favicon/favicon.ico"
[GIN] 2025/06/04 - 11:24:14 | 200 |      994.24µs |  ip | GET      "/favicon/favicon.svg"
[GIN] 2025/06/04 - 11:24:16 | 200 |     866.724µs |  ip | GET      "/favicon/favicon.ico"
time="2025-06-04T11:24:16Z" level=info msg="SELECT * FROM \"users\"  WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.176658ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:16Z" level=info msg="SELECT * FROM \"roles\"  WHERE (\"id\" = '1')" component=pentagi-gorm duration="767.554µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:16Z" level=info msg="SELECT name FROM \"privileges\"  WHERE (role_id = '1')" component=pentagi-gorm duration=1.446749ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
[GIN] 2025/06/04 - 11:24:16 | 200 |    4.746966ms |  ip | GET      "/api/v1/info?refresh_cookie=true"
2025/06/04 11:24:16 http: TLS handshake error from ip:63681: remote error: tls: alert(255)
[GIN] 2025/06/04 - 11:24:16 | 200 |    5.584331ms |  ip | POST     "/api/v1/graphql"
[GIN] 2025/06/04 - 11:24:16 | 200 |  637.409386ms |  ip | POST     "/api/v1/graphql"
2025/06/04 11:24:17 http: TLS handshake error from ip:63683: EOF
time="2025-06-04T11:24:18Z" level=info msg="graphql websocket upgrade" component=pentagi-gql uid=1
[GIN] 2025/06/04 - 11:24:21 | 200 |   17.508674ms |  ip | POST     "/api/v1/graphql"
[GIN] 2025/06/04 - 11:24:21 | 200 |    9.676759ms |  ip | POST     "/api/v1/graphql"
[GIN] 2025/06/04 - 11:24:21 | 200 |   42.272375ms |  ip | POST     "/api/v1/graphql"
time="2025-06-04T11:24:21Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=25.410685ms gql.errors="input: terminalLogs sql: no rows in result set\ninput: tasks sql: no rows in result set\ninput: screenshots sql: no rows in result set\ninput: messageLogs sql: no rows in result set\ninput: flow sql: no rows in result set\ninput: vectorStoreLogs sql: no rows in result set\ninput: agentLogs sql: no rows in result set\ninput: searchLogs sql: no rows in result set\n" operation_name=flow operation_type=query
[GIN] 2025/06/04 - 11:24:21 | 200 |     724.818µs |  ip | GET      "/favicon/favicon.ico"
time="2025-06-04T11:24:21Z" level=info msg="SELECT * FROM \"users\"  WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.820971ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:21Z" level=info msg="SELECT * FROM \"roles\"  WHERE (\"id\" = '1')" component=pentagi-gorm duration="964.321µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:21Z" level=info msg="SELECT name FROM \"privileges\"  WHERE (role_id = '1')" component=pentagi-gorm duration="780.517µs" rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
[GIN] 2025/06/04 - 11:24:21 | 200 |    4.376477ms |  ip | GET      "/api/v1/info?refresh_cookie=true"
time="2025-06-04T11:24:22Z" level=info msg="SELECT * FROM \"users\"  WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=2.4654ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:22Z" level=info msg="SELECT * FROM \"roles\"  WHERE (\"id\" = '1')" component=pentagi-gorm duration=2.067953ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
[GIN] 2025/06/04 - 11:24:22 | 200 |    6.702961ms |  ip | GET      "/api/v1/info?refresh_cookie=true"
time="2025-06-04T11:24:22Z" level=info msg="SELECT name FROM \"privileges\"  WHERE (role_id = '1')" component=pentagi-gorm duration=1.129629ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
2025/06/04 11:24:26 http: TLS handshake error from ip:63686: EOF
time="2025-06-04T11:24:28Z" level=info msg="SELECT * FROM \"users\"  WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.453469ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:28Z" level=info msg="SELECT * FROM \"roles\"  WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.36326ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
[GIN] 2025/06/04 - 11:24:28 | 200 |    5.565768ms |  ip | GET      "/api/v1/info?refresh_cookie=true"
time="2025-06-04T11:24:28Z" level=info msg="SELECT name FROM \"privileges\"  WHERE (role_id = '1')" component=pentagi-gorm duration=1.219019ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
time="2025-06-04T11:24:29Z" level=info msg="SELECT * FROM \"users\"  WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.63688ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:29Z" level=info msg="SELECT * FROM \"roles\"  WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.061124ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]"
time="2025-06-04T11:24:29Z" level=info msg="SELECT name FROM \"privileges\"  WHERE (role_id = '1')" component=pentagi-gorm duration="871.684µs" rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]"
[GIN] 2025/06/04 - 11:24:29 | 200 |    4.527831ms |  ip | GET      "/api/v1/info?refresh_cookie=true"
time="2025-06-04T11:24:33Z" level=info msg="flow created in DB" flow_id=15 provider=custom user_id=1
time="2025-06-04T11:24:34Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 403: Provider returned error"
time="2025-06-04T11:24:34Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=412.531411ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 403: Provider returned error\n" operation_name=createFlow operation_type=mutation
[GIN] 2025/06/04 - 11:24:34 | 200 |  416.930766ms |  ip | POST     "/api/v1/graphql"
2025/06/04 11:24:42 http: TLS handshake error from ip:63688: EOF

What could be the problem?

<!-- gh-comment-id:2939684372 --> @ilya-nem commented on GitHub (Jun 4, 2025): Hello @asdek, I have the same issue. During the first launch of pentAGI, the following settings were specified in the .env file: ``` ## LLM Providers OPEN_AI_KEY= OPEN_AI_SERVER_URL=https://api.openai.com/v1 ANTHROPIC_API_KEY= ANTHROPIC_SERVER_URL=https://api.anthropic.com/v1 ## Custom LLM provider LLM_SERVER_URL=https://openrouter.ai/api/v1 LLM_SERVER_KEY=sk-or-v1- LLM_SERVER_MODEL=qwen/qwen3-235b-a22b LLM_SERVER_CONFIG_PATH= ``` And the first scan was successful. Then I changed the settings in the .env file to the following: ``` ## LLM Providers OPEN_AI_KEY= OPEN_AI_SERVER_URL= ANTHROPIC_API_KEY= ANTHROPIC_SERVER_URL= ## Custom LLM provider LLM_SERVER_URL=https://openrouter.ai/api/v1 LLM_SERVER_KEY=sk-or-v1- LLM_SERVER_MODEL= LLM_SERVER_CONFIG_PATH=/opt/pentagi/conf/openrouter.provider.yml LLM_SERVER_LEGACY_REASONING=false ``` And the scanning stopped working. Here is the result of executing the command **docker logs --tail=1000 pentagi**: ``` service ssl crt and key already exist 2025/06/04 11:23:59 goose: no migrations to run. current version: 20250420 2025/06/04 11:23:59 Migrations ran successfully time="2025-06-04T11:23:59Z" level=error msg="failed to create embedder 'openai'" error="missing the OpenAI API key, set it in the OPENAI_API_KEY environment variable" time="2025-06-04T11:23:59Z" level=info msg="flow loaded from DB" flow_id=3 provider=custom user_id=1 time="2025-06-04T11:23:59Z" level=info msg="SELECT count(*) FROM \"users\" WHERE (type = 'local')" component=pentagi-gorm duration=3.583286ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:59" type=sql values="[]" 2025/06/04 11:24:09 http: TLS handshake error from ip:63677: EOF [GIN] 2025/06/04 - 11:24:10 | 200 | 645.825µs | ip | GET "/chat/new" 2025/06/04 11:24:11 http: TLS handshake error from ip:63679: EOF [GIN] 2025/06/04 - 11:24:11 | 200 | 96.997627ms | ip | GET "/assets/index-CW2ehe2a.css" [GIN] 2025/06/04 - 11:24:13 | 200 | 2.296314406s | ip | GET "/assets/index-Cp0hylTo.js" 2025/06/04 11:24:13 http: TLS handshake error from ip:63680: EOF time="2025-06-04T11:24:13Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=2.44647ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:13Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.835832ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:13Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration=1.875717ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" time="2025-06-04T11:24:13Z" level=info msg="session was refreshed for 'admin@pentagi.com' 'admin'" age=14400 exp=1749050653 gtm=1749036253 prm="[users.create users.delete users.edit users.view roles.view providers.view prompts.view prompts.edit screenshots.admin screenshots.view screenshots.download screenshots.subscribe msglogs.admin msglogs.view msglogs.subscribe termlogs.admin termlogs.view termlogs.subscribe flows.admin flows.create flows.delete flows.edit flows.view flows.subscribe tasks.admin tasks.view tasks.subscribe subtasks.admin subtasks.view containers.admin containers.view agentlogs.admin agentlogs.view agentlogs.subscribe vecstorelogs.admin vecstorelogs.view vecstorelogs.subscribe searchlogs.admin searchlogs.view searchlogs.subscribe assistants.admin assistants.create assistants.delete assistants.edit assistants.view assistants.subscribe assistantlogs.admin assistantlogs.view assistantlogs.subscribe settings.admin settings.view]" rid=1 tid=local uhash=808deb0003f44c50e0cd67b0485b2f38 uid=1 [GIN] 2025/06/04 - 11:24:13 | 200 | 7.921759ms | ip | GET "/api/v1/info?refresh_cookie=true" [GIN] 2025/06/04 - 11:24:13 | 200 | 3.728206ms | ip | POST "/api/v1/graphql" [GIN] 2025/06/04 - 11:24:13 | 200 | 5.903944ms | ip | POST "/api/v1/graphql" [GIN] 2025/06/04 - 11:24:13 | 200 | 1.104935ms | ip | GET "/favicon/favicon.ico" [GIN] 2025/06/04 - 11:24:14 | 200 | 994.24µs | ip | GET "/favicon/favicon.svg" [GIN] 2025/06/04 - 11:24:16 | 200 | 866.724µs | ip | GET "/favicon/favicon.ico" time="2025-06-04T11:24:16Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.176658ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:16Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration="767.554µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:16Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration=1.446749ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" [GIN] 2025/06/04 - 11:24:16 | 200 | 4.746966ms | ip | GET "/api/v1/info?refresh_cookie=true" 2025/06/04 11:24:16 http: TLS handshake error from ip:63681: remote error: tls: alert(255) [GIN] 2025/06/04 - 11:24:16 | 200 | 5.584331ms | ip | POST "/api/v1/graphql" [GIN] 2025/06/04 - 11:24:16 | 200 | 637.409386ms | ip | POST "/api/v1/graphql" 2025/06/04 11:24:17 http: TLS handshake error from ip:63683: EOF time="2025-06-04T11:24:18Z" level=info msg="graphql websocket upgrade" component=pentagi-gql uid=1 [GIN] 2025/06/04 - 11:24:21 | 200 | 17.508674ms | ip | POST "/api/v1/graphql" [GIN] 2025/06/04 - 11:24:21 | 200 | 9.676759ms | ip | POST "/api/v1/graphql" [GIN] 2025/06/04 - 11:24:21 | 200 | 42.272375ms | ip | POST "/api/v1/graphql" time="2025-06-04T11:24:21Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=25.410685ms gql.errors="input: terminalLogs sql: no rows in result set\ninput: tasks sql: no rows in result set\ninput: screenshots sql: no rows in result set\ninput: messageLogs sql: no rows in result set\ninput: flow sql: no rows in result set\ninput: vectorStoreLogs sql: no rows in result set\ninput: agentLogs sql: no rows in result set\ninput: searchLogs sql: no rows in result set\n" operation_name=flow operation_type=query [GIN] 2025/06/04 - 11:24:21 | 200 | 724.818µs | ip | GET "/favicon/favicon.ico" time="2025-06-04T11:24:21Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.820971ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:21Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration="964.321µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:21Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration="780.517µs" rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" [GIN] 2025/06/04 - 11:24:21 | 200 | 4.376477ms | ip | GET "/api/v1/info?refresh_cookie=true" time="2025-06-04T11:24:22Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=2.4654ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:22Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration=2.067953ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" [GIN] 2025/06/04 - 11:24:22 | 200 | 6.702961ms | ip | GET "/api/v1/info?refresh_cookie=true" time="2025-06-04T11:24:22Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration=1.129629ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" 2025/06/04 11:24:26 http: TLS handshake error from ip:63686: EOF time="2025-06-04T11:24:28Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.453469ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:28Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.36326ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" [GIN] 2025/06/04 - 11:24:28 | 200 | 5.565768ms | ip | GET "/api/v1/info?refresh_cookie=true" time="2025-06-04T11:24:28Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration=1.219019ms rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" time="2025-06-04T11:24:29Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration=1.63688ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:29Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration=1.061124ms rows_returned=1 src="pentagi/pkg/server/services/auth.go:744" type=sql values="[1]" time="2025-06-04T11:24:29Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration="871.684µs" rows_returned=0 src="pentagi/pkg/server/services/auth.go:753" type=sql values="[1]" [GIN] 2025/06/04 - 11:24:29 | 200 | 4.527831ms | ip | GET "/api/v1/info?refresh_cookie=true" time="2025-06-04T11:24:33Z" level=info msg="flow created in DB" flow_id=15 provider=custom user_id=1 time="2025-06-04T11:24:34Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 403: Provider returned error" time="2025-06-04T11:24:34Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=412.531411ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 403: Provider returned error\n" operation_name=createFlow operation_type=mutation [GIN] 2025/06/04 - 11:24:34 | 200 | 416.930766ms | ip | POST "/api/v1/graphql" 2025/06/04 11:24:42 http: TLS handshake error from ip:63688: EOF ``` What could be the problem?
Author
Owner

@asdek commented on GitHub (Jun 4, 2025):

Hello @ilya-nem

I think it's related to OpenAI models, please, try to change it in openrouter yaml config and test this config by ctester tool.

<!-- gh-comment-id:2940575943 --> @asdek commented on GitHub (Jun 4, 2025): Hello @ilya-nem I think it's related to OpenAI models, please, try to change it in openrouter yaml config and test this config by ctester tool.
Author
Owner

@MohamedFadelMoumeni commented on GitHub (Jun 27, 2025):

Getting the following error
pentagi | 2025/06/27 21:02:11 http: TLS handshake error from 172.23.0.1:60626: remote error: tls: unknown certificate
pentagi | time="2025-06-27T21:02:11Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration="569.583µs" gql.errors="input: putUserInput flow not found\n" operation_name=putUserInput operation_type=mutation

<!-- gh-comment-id:3014347756 --> @MohamedFadelMoumeni commented on GitHub (Jun 27, 2025): Getting the following error pentagi | 2025/06/27 21:02:11 http: TLS handshake error from 172.23.0.1:60626: remote error: tls: unknown certificate pentagi | time="2025-06-27T21:02:11Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration="569.583µs" gql.errors="input: putUserInput flow not found\n" operation_name=putUserInput operation_type=mutation
Author
Owner

@asdek commented on GitHub (Jun 27, 2025):

hello @MohamedFadelMoumeni,

I think there is a mismatch between the frontend and backend versions. Could you please provide more details about the version of the product?

To start with, you can run docker compose pull && docker compose up -d and after that reload the frontend page by resetting the cache. Maybe these JS files were cached in your browser, but this hasn't happened before.

<!-- gh-comment-id:3014367910 --> @asdek commented on GitHub (Jun 27, 2025): hello @MohamedFadelMoumeni, I think there is a mismatch between the frontend and backend versions. Could you please provide more details about the version of the product? To start with, you can run `docker compose pull && docker compose up -d` and after that reload the frontend page by resetting the cache. Maybe these JS files were cached in your browser, but this hasn't happened before.
Author
Owner

@Ninja-savvy commented on GitHub (Apr 7, 2026):

I am not able to create a new flow in pentagi, error "failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 404: Resource not found"
Error log: pentagi | [GIN] 2026/04/07 - 11:00:43 | 200 | 171.199µs | 172.20.0.1 | POST "/api/v1/graphql"
pentagi | [GIN] 2026/04/07 - 11:00:43 | 200 | 358.975µs | 172.20.0.1 | GET "/fonts/inter-600.woff2"
pentagi | time="2026-04-07T11:00:43Z" level=info msg="SELECT * FROM "users" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration="384.658µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:831" type=sql values="[1]"
pentagi | time="2026-04-07T11:00:43Z" level=info msg="SELECT * FROM "roles" WHERE ("id" = '1')" component=pentagi-gorm duration="213.217µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:831" type=sql values="[1]"
pentagi | time="2026-04-07T11:00:43Z" level=info msg="SELECT name FROM "privileges" WHERE (role_id = '1')" component=pentagi-gorm duration="195.926µs" rows_returned=0 src="pentagi/pkg/server/services/auth.go:840" type=sql values="[1]"
pentagi | [GIN] 2026/04/07 - 11:00:43 | 200 | 1.081054ms | 172.20.0.1 | GET "/api/v1/info?refresh_cookie=true"
pentagi | time="2026-04-07T11:00:44Z" level=info msg="graphql websocket upgrade" component=pentagi-gql uid=1
pentagi | time="2026-04-07T11:00:47Z" level=info msg="flow created in DB" flow_id=15 provider_name=openai provider_type=openai user_id=1
pentagi | time="2026-04-07T11:00:48Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 404: Resource not found"
pentagi | time="2026-04-07T11:00:48Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=319.495574ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 404: Resource not found\n" operation_name=createFlow operation_type=mutation
pentagi | [GIN] 2026/04/07 - 11:00:48 | 200 | 319.762496ms | 172.20.0.1 | POST "/api/v1/graphql"
pentagi | time="2026-04-07T11:01:04Z" level=info msg="flow created in DB" flow_id=16 provider_name=openai provider_type=openai user_id=1
pentagi | time="2026-04-07T11:01:04Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 404: Resource not found"
pentagi | time="2026-04-07T11:01:04Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=151.579166ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 404: Resource not found\n" operation_name=createFlow operation_type=mutation

I am using azure openai API key

<!-- gh-comment-id:4198610268 --> @Ninja-savvy commented on GitHub (Apr 7, 2026): I am not able to create a new flow in pentagi, error "failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 404: Resource not found" Error log: pentagi | [GIN] 2026/04/07 - 11:00:43 | 200 | 171.199µs | 172.20.0.1 | POST "/api/v1/graphql" pentagi | [GIN] 2026/04/07 - 11:00:43 | 200 | 358.975µs | 172.20.0.1 | GET "/fonts/inter-600.woff2" pentagi | time="2026-04-07T11:00:43Z" level=info msg="SELECT * FROM \"users\" WHERE (id = '1') LIMIT 1" component=pentagi-gorm duration="384.658µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:831" type=sql values="[1]" pentagi | time="2026-04-07T11:00:43Z" level=info msg="SELECT * FROM \"roles\" WHERE (\"id\" = '1')" component=pentagi-gorm duration="213.217µs" rows_returned=1 src="pentagi/pkg/server/services/auth.go:831" type=sql values="[1]" pentagi | time="2026-04-07T11:00:43Z" level=info msg="SELECT name FROM \"privileges\" WHERE (role_id = '1')" component=pentagi-gorm duration="195.926µs" rows_returned=0 src="pentagi/pkg/server/services/auth.go:840" type=sql values="[1]" pentagi | [GIN] 2026/04/07 - 11:00:43 | 200 | 1.081054ms | 172.20.0.1 | GET "/api/v1/info?refresh_cookie=true" pentagi | time="2026-04-07T11:00:44Z" level=info msg="graphql websocket upgrade" component=pentagi-gql uid=1 pentagi | time="2026-04-07T11:00:47Z" level=info msg="flow created in DB" flow_id=15 provider_name=openai provider_type=openai user_id=1 pentagi | time="2026-04-07T11:00:48Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 404: Resource not found" pentagi | time="2026-04-07T11:00:48Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=319.495574ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 404: Resource not found\n" operation_name=createFlow operation_type=mutation pentagi | [GIN] 2026/04/07 - 11:00:48 | 200 | 319.762496ms | 172.20.0.1 | POST "/api/v1/graphql" pentagi | time="2026-04-07T11:01:04Z" level=info msg="flow created in DB" flow_id=16 provider_name=openai provider_type=openai user_id=1 pentagi | time="2026-04-07T11:01:04Z" level=error msg="failed to get flow provider" error="failed to get primary docker image: API returned unexpected status code: 404: Resource not found" pentagi | time="2026-04-07T11:01:04Z" level=error msg="graphql request handled with errors" component=pentagi-gql duration=151.579166ms gql.errors="input: createFlow failed to create flow worker: failed to get flow provider: failed to get primary docker image: API returned unexpected status code: 404: Resource not found\n" operation_name=createFlow operation_type=mutation I am using azure openai API key
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vxcontrol/pentagi#24