JARVIS icon indicating copy to clipboard operation
JARVIS copied to clipboard

azure openAI connectivity issues

Open vrajroutu opened this issue 1 year ago • 0 comments

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='cog-sddbdbqqs.openai.azure.com', port=443): Max retries exceeded with url: //openai/deployments/davinci/completions?api-version=2022-12-01 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f29ce9662b0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

I was able to ping the Azure OpenAI endpoint and telnet to 443

config.azure.yaml

azure: api_key: <api_key> base_url: https://cog-sddbdbqqs.openai.azure.com/ deployment_name: davinci api_version: "2022-12-01" huggingface: token: hf_syJSgOddqwdwdqdwdf33cedwdkAj # required: huggingface token @ https://huggingface.co/settings/tokens dev: false debug: false log_file: logs/debug.log model: text-davinci-003 # currently only support text-davinci-003, gpt-4, we will support more open-source LLMs in the future use_completion: true inference_mode: huggingface # local, huggingface or hybrid, prefer hybrid local_deployment: full

vrajroutu avatar May 08 '23 06:05 vrajroutu