Codex-Decompiler icon indicating copy to clipboard operation
Codex-Decompiler copied to clipboard

Too many request error

Open tanishqdiwan111 opened this issue 2 years ago • 4 comments

i have installed plugin in ghidra after pressing ctrl+j clicking on the function , it shows the too many request error

tanishqdiwan111 avatar Aug 29 '23 06:08 tanishqdiwan111

Hi @tanishqdiwan111 ! I think that error is due to the number of calls you are making to OpenAI. Does the error always happen? Did you try after a bit to see if it disappeared?

ret2libc avatar Aug 29 '23 06:08 ret2libc

yes this error always happen and i have tried after few minutes but it always gives too many request error sometimes ghidra pops up with "multiple actions have been mapped to ctrl+j actions that can be enabled at the same time should be mapped to different keys" window

tanishqdiwan111 avatar Aug 29 '23 20:08 tanishqdiwan111

Hi @tanishqdiwan111, AFAIK the "multiple actions have been mapped to ctrl+j actions" error happens when you run the script from the script manager multiple times. You can restart your ghidra instance and run it just once. Also, the "too many request" error happens when your openai api_key has reached its usage limit. Try creating a new key or a key from a new account.

parikhakshat avatar Aug 30 '23 14:08 parikhakshat

i tried a new key with new openai account but it still showing error Collecting data about function. Sending data to OpenAI api. Error in accessing api: Too Many Requests Invalid output from api i also updated this in bashrc "export OPENAI_API_KEY="with my key"

tanishqdiwan111 avatar Aug 30 '23 22:08 tanishqdiwan111