Helicone Community Page

Updated 4 months ago

Weird SSL errors from local

I'm getting SSL errors when trying to connect to the Helicone API. What's strange is that it's only happening on my local environment, seemingly randomly started happening yesterday, and doesn't have an issue if I send requests to OpenAI directly. Did anything change on your end that might help my investigation?

I'm using the ruby-openai library for this
1
J
S
r
9 comments
Hi! Yes - we are speaking with Cloudflare to resolve this issue- in the meantime you can use oai.helicone.ai instead
Hey team, I've been getting errors locally as well the past week or so - for both Anthropic and OpenAI.

Any update from Cloudflare?
Hi Thanks for messaging - can you try oai.helicone.ai instead?
That works! Thanks for the update!
This temporary fix worked for me ^. There may be another cloudflare issue or something.
Having this same issue with oai -
Plain Text
 export const openai = createOpenAI({
  apiKey: env.OPENAI_API_KEY,
  baseURL: "https://oai.hconeai.com",
  headers: {
    "Helicone-Auth": `Bearer ${env.HELICONE_API_KEY}`,
    "Helicone-Property-Environment": process.env.NODE_ENV ?? "development",
  },
});
Hi please use oai.helicone.ai instead
Getting APICallError [AI_APICallError]: Unknown request URL: POST /chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.
https://oai.helicone.ai/v1
Add a reply
Sign up and join the conversation on Discord