Proxy Error when try to use open AI API

GUO Ranfei (RBCC/BDO1) 20 Reputation points
2024-01-17T02:45:48.0933333+00:00

User's imageUser's image

After setting environment variable successfully, I still got this error.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,597 questions
{count} votes

2 answers

Sort by: Most helpful
  1. navba-MSFT 27,360 Reputation points Microsoft Employee
    2024-01-22T07:14:56.49+00:00

    @GUO Ranfei (RBCC/BDO1) I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer. .
    Issue:
    You are getting the below proxy error while using the Azure OpenAI service. ProxyError: 407 Proxy Authentication Required

    . Resolution: You found that the issue was related to the proxy and post changing its settings it is working fine now.

    0 comments No comments

  2. Uma 0 Reputation points
    2025-01-31T15:58:33.31+00:00

    Here is the setting in python that worked

    os.environ['NO_PROXY'] = 'azure openai endpoint'

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.