mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-21 08:15:23 -04:00
[GH-ISSUE #43] [Bug]: #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.

Tell me, please, what the problem might be and how to fix it?
Steps to Reproduce
System Configuration
kali linux 2025.1
Logs and Artifacts
No response
Screenshots or Recordings
No response
Verification
@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:
A few troubleshooting suggestions:
docker pull booyaabes/kali-linux-full:latest- this can save significant time when starting your first test.envfile to ensure all API keys and configurations are correct@andrey-yalta commented on GitHub (May 30, 2025):
what is my logs:
[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"
@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:
@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.
Error :
What could be the problem? please help
@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:
Then enter the container:
And test your OpenRouter API connection directly:
Alternatively, you can run the built-in tests:
For more detailed test output for one
simpleagent: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.ymlor 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:
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:
@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:
And the first scan was successful.
Then I changed the settings in the .env file to the following:
And the scanning stopped working. Here is the result of executing the command docker logs --tail=1000 pentagi:
What could be the problem?
@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.
@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
@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 -dand 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.@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