GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
6.66k stars 794 forks source link

PentestGPT throws strange error #153

Closed shakil1819 closed 8 months ago

shakil1819 commented 9 months ago

Describe the bug Here is the output when i am executing pentesting image

To Reproduce Steps to reproduce the behavior: 1.pip install pentestgpt 2.export OPENAI_KEY='<mine>' 3.export CHATGPT_COOKIE='mine' 4.pentestgpt

Expected behavior Expected to perfectly answer as the prompt passes on.

Version Whether you're using API or cookies? = BOTH Version = Latest

GreyDGL commented 9 months ago

Can you provide the output for pentestgpt-connection?

Ritz0101 commented 9 months ago

Quite a few have experienced this issue including myself, and we haven't found a fix. We've done some troubleshooting in the discord channel bugs-report.

L1nker2 commented 8 months ago

Quite a few have experienced this issue including myself, and we haven't found a fix. We've done some troubleshooting in the discord channel bugs-report.

hi, maybe u copy this material from discord to this issues? pleese

L1nker2 commented 8 months ago

im watch on the log file(chatgpt.log) 2023-10-16 12:09:15.192 | WARNING | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:92 - Token size limit reached. The recent message is compressed 2023-10-16 12:09:15.193 | ERROR | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:93 - Token size error; will retry with compressed message 2023-10-16 12:12:11.396 | WARNING | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:83 - Rate limit reached. Waiting for 5 seconds 2023-10-16 12:12:11.396 | WARNING | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:83 - Rate limit reached. Waiting for 5 seconds 2023-10-16 12:12:11.396 | WARNING | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:83 - Rate limit reached. Waiting for 5 seconds 2023-10-16 12:12:11.396 | ERROR | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:84 - Rate Limit Error: 2023-10-16 12:12:11.396 | ERROR | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:84 - Rate Limit Error: 2023-10-16 12:12:11.396 | ERROR | pentestgpt.utils.APIs.chatgpt_api:_chat_completion:84 - Rate Limit Error: 2023-10-16 12:12:19.591 | ERROR | pentestgpt.utils.pentest_gpt:initialize:242 - You exceeded your current quota, please check your plan and billing details. 2023-10-16 12:12:19.591 | ERROR | pentestgpt.utils.pentest_gpt:initialize:242 - You exceeded your current quota, please check your plan and billing details. 2023-10-16 12:12:19.591 | ERROR | pentestgpt.utils.pentest_gpt:initialize:242 - You exceeded your current quota, please check your plan and billing details.

but im not understand why repo dont work, because online chat working not problem... sorry for my english)

GreyDGL commented 8 months ago

As mentioned in the debug info, this is because you have not linked a proper payment method to OpenAI API, or you have exceeded the quota.

GreyDGL commented 8 months ago

I'll update the README to document this.