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

Search occasionally Returns 500 (unable to look up api.openai.com - no such host error) #46

Closed
rsharath opened this issue May 15, 2023 · 3 comments
Assignees

Comments

@rsharath
Copy link
Contributor

Search occasionally returns a 500

zep | time="2023-05-15T20:56:56Z" level=error msg="SummaryExtractor extract failed: extractor error: SummaryExtractor summarize failed (original error: Post "https://api.openai.com/v1/chat/completions\": dial tcp: lookup api.openai.com on 127.0.0.11:53: no such host)"
zep | time="2023-05-15T20:56:56Z" level=error msg="EmbeddingExtractor extract failed: extractor error: EmbeddingExtractor embed messages failed (original error: llm error: error while creating embedding (original error: Post "https://api.openai.com/v1/embeddings\": dial tcp: lookup api.openai.com on 127.0.0.11:53: no such host))"
zep | time="2023-05-15T20:56:56Z" level=error msg="SummaryExtractor extract failed: extractor error: SummaryExtractor summarize failed (original error: Post "https://api.openai.com/v1/chat/completions\": dial tcp: lookup api.openai.com on 127.0.0.11:53: no such host)"

@danielchalef
Copy link
Member

That's interesting. Does the hostname resolve before and after, hence stating the failure is "occasional"?

@danielchalef
Copy link
Member

Just saw the same thing running outside of a container. I think this may be a DNS resolution issue for openai, rather than Zep related. Will keep this open for a while to confirm.

@danielchalef
Copy link
Member

I've added a retry mechanism to OpenAI API calls. See PR referred to above.

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