-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error accessing the openai interface: TimeoutError #11
Comments
Hello, what lines are you running specifically? Can you send a screenshot of your notebook? |
Execute this command: %chat_models Report the following error: File F:\miniconda\envs\jupyterlab-extension\lib\site-packages\IPython\core\interactiveshell.py:2417, in InteractiveShell.run_line_magic(self, magic_name, line, _stack_depth) File F:\miniconda\envs\jupyterlab-extension\lib\site-packages\ipython_gpt_init_.py:39, in IPythonGPT.chat_models(self, line) File F:\miniconda\envs\jupyterlab-extension\lib\site-packages\ipython_gpt\subcommands.py:52, in BaseIPythonGPTCommand.execute(self, line, cell) File F:\miniconda\envs\jupyterlab-extension\lib\site-packages\ipython_gpt\subcommands.py:142, in ChatModelsBrowserCommand._execute(self, client, args, line, cell) File F:\miniconda\envs\jupyterlab-extension\lib\site-packages\ipython_gpt\api_client.py:70, in OpenAIClient.request(self, method, path, headers, query_params, json_body) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:1282, in HTTPConnection.request(self, method, url, body, headers, encode_chunked) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:1328, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:1277, in HTTPConnection.endheaders(self, message_body, encode_chunked) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:1037, in HTTPConnection._send_output(self, message_body, encode_chunked) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:975, in HTTPConnection.send(self, data) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:1447, in HTTPSConnection.connect(self) File F:\miniconda\envs\jupyterlab-extension\lib\http\client.py:941, in HTTPConnection.connect(self) File F:\miniconda\envs\jupyterlab-extension\lib\socket.py:847, in create_connection(address, timeout, source_address) File F:\miniconda\envs\jupyterlab-extension\lib\socket.py:833, in create_connection(address, timeout, source_address) TimeoutError: [WinError 10060] The connection attempt failed because the connecting party did not respond correctly after a period of time or the connected host did not respond. |
Hi,
I am trying to use iPhone GPT with Jupyterab, which is launched locally.
I got this message when running the example chat: TimeoutError: [WinError 10060]
But I have no problem directly executing the same request using a Python program.
How to handle this situation?
The text was updated successfully, but these errors were encountered: