Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openai.error.APIConnectionError #3

Open
lemon1-ui opened this issue Oct 14, 2024 · 11 comments
Open

openai.error.APIConnectionError #3

lemon1-ui opened this issue Oct 14, 2024 · 11 comments

Comments

@lemon1-ui
Copy link

Hi,Dr.Dávid,when I ran the ./cigar.sh Chart 1, the errors as follow: how can I resolve it?
image

@khaes-kth
Copy link
Contributor

Hi @lemon1-ui

Have you set your API_KEY in the user_params.py file after runing bash install.sh?

@lemon1-ui
Copy link
Author

Yes, I have set the API_KEY in the user_crams. py file. And Chart 1 has been successfully fixed, but the above error occurred while fixing the defect in Chart 3. However, when I tried to repair the Closure 1,the following error has occurred.
image

@khaes-kth
Copy link
Contributor

The problem with Chart 3 should be related to connecting to OpenAI API. Please retry and let me know if you still face the same issue.

The problem with Closure should be related to extracting bug information for Closure bugs. I guess some setting is not set or library is not installed, and that's the problem. We will need to update the README to ensure all the requirements are installed for extracting bug info.

As a temporary solution, you can unzip the cache/cache.tar.gz.a* files and add their content to the existing cache content. That should fix this issue with Closure.

@lemon1-ui
Copy link
Author

I tried it again,but I still faced the same error as follows.About the Closure,I will try it with your method.
image

@lemon1-ui
Copy link
Author

@khaes-kth Hi,sorry to bother you again.I would like to ask how to decompress cache/cache. tar. gz. a * files?

@khaes-kth
Copy link
Contributor

No worries @lemon1-ui

You should be able to decompress the files following the instructions here. Particularly, I guess you can cd to cache and run cat cache.tar.gz.* | tar xzvf -.

@lemon1-ui
Copy link
Author

@khaes-kth The problem with Closure has been solved.But I still failed to connect to OpenAI API.How can I solved it?
image

@khaes-kth
Copy link
Contributor

@lemon1-ui Can you double check what model you are using in your prog_params.py file? It seems the gpt-3.5-turbo-0301 is deprecated, even though the timeout issue you are facing may not be related to the model.

@lemon1-ui
Copy link
Author

@khaes-kth I just tried to change gpt-3.5-turbo-0301 to gpt-3.5-turbo, but the same error still occurred.

@lemon1-ui
Copy link
Author

@khaes-kth Hi,I'm so sorry to bother you again.I tried to change gpt-3.5-turbo-0301 to other versions, Chart 1 could be repairred successfully, when I tried to fix other bugs, the error as followed.How can I solved it? Thanks so much!
image

@khaes-kth
Copy link
Contributor

Hi @lemon1-ui

We can set up a remote meeting if you want to check this out. It is hard to guess what is going on just by looking at these logs.
If you want to have a meeting, please send me an email. You can find my email in my GitHub profile page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants