Welcome to Portkey Forum

Updated 2 months ago

Api Connection Issues On Portkey

At a glance
Hi, I am seeing a lot of APIConnection issues on portkey today, happening very frequently. Is this a known issue you guys are resolving? logs:
File "/Users/sood2105/Library/Caches/pypoetry/virtualenvs/backend-core-v2-cfH2HE-5-py3.10/lib/python3.10/site-packages/portkey_ai/api_resources/apis/chat_complete.py", line 190, in create
return await self._post(
File "/Users/sood2105/Library/Caches/pypoetry/virtualenvs/backend-core-v2-cfH2HE-5-py3.10/lib/python3.10/site-packages/portkey_ai/api_resources/apis/api_resource.py", line 34, in _post
return await self._client._post(*args, **kwargs)
File "/Users/sood2105/Library/Caches/pypoetry/virtualenvs/backend-core-v2-cfH2HE-5-py3.10/lib/python3.10/site-packages/portkey_ai/api_resources/base_client.py", line 521, in _post
res = await self._request(
File "/Users/sood2105/Library/Caches/pypoetry/virtualenvs/backend-core-v2-cfH2HE-5-py3.10/lib/python3.10/site-packages/portkey_ai/api_resources/base_client.py", line 682, in _request
raise APIConnectionError(request=request) from err
portkey_ai.api_resources.exceptions.APIConnectionError: Connection error.
V
t
v
12 comments
Hi @thismlguy checking
cc @visarg @Griphook | Portkey
Confirming that your existing requests that were working previously are failing? We are seeing our logs, so far haven't seen any elevated errors today, so double checking
the product is live in US market. so customers are not using it durng our day time
but during local development, we are seeing a lot of issues today
wanna make sure this doesn't happen when users come on the platform
We're checking this on priority and will let you know
Hey! Can you please share the code snippet which is being used to make the request? And can you please also confirm the version of the SDK being used.
we didn't really change anything on this side and this has been working well for a few months
Are you making bulk concurrent requests to Portkey?
not necessarily. we tried 1 prompt 5 times and got this error in2 of them
Would it be possible to try direct REST API request to Portkey without SDK. I am trying to reproduce the error
Add a reply
Sign up and join the conversation on Discord