相关文章推荐
不开心的骆驼  ·  Max retries exceeded ...·  4 天前    · 
不开心的骆驼  ·  ACL 2018 | ...·  6 天前    · 
不开心的骆驼  ·  python tkinter ...·  11 月前    · 
不开心的骆驼  ·  python 3.x - Error ...·  1 年前    · 
腼腆的炒粉  ·  Supervised Learning ...·  1小时前    · 
要出家的吐司  ·  工具 | ...·  1小时前    · 
留胡子的煎饼  ·  类似 这种 ZMQ_DONTWAIT ...·  3 小时前    · 

Hello Team,

We are getting this error when deploying a proxy to Azure OpenAI service, earlier it was working fine. not able to find the root cause of this issue as host and url configured is correct.

We are using SAP AI Core to deploy a proxy service which helps us to connect to Azure OpenAI and gives a response in return.

Please help ASAP in resolving this error as its a blocker

ERROR

“””Error communicating with OpenAI: HTTPSConnectionPool(host='<hostname>', port=443): Max retries exceeded with url: //openai/deployments/"engine name"/chat/completions?api-version=2023-05-15 (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x7f8d8096ea70>: Failed to resolve '<hostname>.openai.azure.com' ([Errno -3] Temporary failure in name resolution)"))'} {'_content': b'{"error":"Error communicating with OpenAI: HTTPSConnectionPool(h'              b"ost='<host>.openai.azure.com', port=443): Max ret"              b'ries exceeded with url: //openai/deployments/<engine>/chat/'              b'completions?api-version=2023-05-15 (Caused by NameResolutionErro'              b'r( \\"<urllib3.connection.HTTPSConnection object at 0x7f8d8096'              b"ea70>: Failed to resolve '<host>.openai.azure.com"              b'' ([Errno -3] Temporary failure in name resolution) \\"))"}\n )%22%7d/n)', '_content_consumed': True”””.

Balur, Harsha Just checking to see if you had a chance to review the below response.

Do let us know if that helps or have any other queries.

If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further queries do let us know.

Balur, Harsha Greetings!

Can you confirm if you are using the correct endpoint?

You have mentioned it was working fine earlier. Did you change any proxy configurations?

The error message indicates that the hostname could not be resolved. This could be due to a temporary network issue or a misconfiguration in the hostname or DNS settings.

To resolve this issue, you can try the below troubleshooting steps.

  • Check and verify the hostname by checking the Azure portal or the configuration file of your SAP AI Core proxy service.
  • Check the DNS settings and make sure they are correct. You can try to ping the hostname from the machine where the proxy service is running to see if it can be resolved.
  • Check the network connectivity and make sure there are no network issues. You can try to access the OpenAI service directly from the machine where the proxy service is running to see if it is accessible.
  • Let me know if that helps.

    Balur, Harsha You can also try restarting the proxy service and see if that resolves the issue. Sometimes, a simple restart can fix issues related to network connectivity or DNS resolution.

    If that doesn't help, For a deeper investigation and immediate assistance on this issue, please file a support request @ https://aka.ms/azsupt ?

     
    推荐文章