Hello, I am receiving this error message. Do you have any idea how I can diagnose it?
I have already deleted the connector and created it again, but the problem persists.
Error calling connector: Status code: undefined. Message: Unexpected API Error: ECONNABORTED - timeout of 60000ms exceeded
Hello! A few clarifying questions so we can get to the bottom of this issue:
- Are you using Elastic Cloud or self-managed?
- Which connector type is configured for this model? (“OpenAI”, “OpenAI compatible”, “Azure OpenAI”, or a custom connector.)
- When you hit “Test connector” in Stack Management → Connectors for this OpenAI connector, does it succeed or return the same
ECONNABORTED?
- Does the connector return results if you ask different security question (what happens if you reduce the prompt size?)?
Hello, thank you for responding.
1. Self-managed
2. OpenAI
3. Image attached
4. Does not respond to any type of question
I went to https://platform.openai.com/settings/organization/api-keys and the API is active. I even deleted it and recreated it with another model, but I got the same result
Could it be related to the model tokens? I remember that I made a $5 deposit with the cheapest model in order to test it. At first it worked, but then suddenly it stopped working.
When I go to Billing https://platform.openai.com/settings/organization/billing/overview, I see that I still have $4.44 available.
The only thing that comes to mind is that if this expires monthly, it could be the cause. Otherwise, I have no idea what the cause of the error is or how to diagnose it.
With this command, I was able to identify the problem. It seems that the firewall is blocking it.
curl -v --connect-timeout 5 https://api.openai.com/v1/models
tail -1000 /var/log/kibana/kibana.log |grep -i "gpt"
I must request permissions from the firewall administrator so that the Kibana server can reach api.openai.com.
1 Like