mrwadams / stride-gpt

An AI-powered threat modeling tool that leverages OpenAI's GPT models to generate threat models for a given application based on the STRIDE methodology.
https://stridegpt.streamlit.app
MIT License
494 stars 155 forks source link

Read Time out "langchain.llms.openai.completion_with_retry" #7

Closed ffaggiani closed 1 year ago

ffaggiani commented 1 year ago

Hey, some times the app seems experiencing a time-out issue and then the output its standard stride instead of web application description related:

Application log with timeout error:

Retrying langchain.llms.openai.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised Timeout: Request timed out: HTTPSConnectionPool(host='api.openai.com', port=443): Read timed out. (read timeout=600).

Description and output with default stride

Screenshot 2023-11-21 at 12 56 22

ffaggiani commented 1 year ago

Its just timeout but works ok, forget it