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

Need support for httpx.Client method (enterprise) #1283

Open
brianthomaslewis opened this issue Jul 17, 2024 · 0 comments
Open

Need support for httpx.Client method (enterprise) #1283

brianthomaslewis opened this issue Jul 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@brianthomaslewis
Copy link

System Info

python == 3.11.9
pandasai == 2.2.10
pandas == 1.5.3
numpy == 1.26.4

🐛 Describe the bug

Interested in using this at an enterprise and running into proxy issues. I saw the other issue listed here (#184) but this still doesn't solve the issue. Even though we're able to specify the http_client argument within AzureOpenAI(), we're still running into proxy issues because this API call looks like it is also reliant on using the PANDASAI_API_KEY which doesn't have an analogous argument for running a proxy.

The error we get isn't a proxy error with Azure OpenAI, but with api.domer.ai.

Error message:

Exception in APILogger: HTTPSConnectionPool(host='api.domer.ai', port=443): Max retries exceeded with url: /api/log/add (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))

Please add proxy support at the api.domer.ai level. This will be important to be able to smoothly onboard and adopt enterprise-grade clients

@dosubot dosubot bot added the bug Something isn't working label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant