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

Getting time out error #146

Open
Tizzzzy opened this issue Nov 27, 2023 · 0 comments
Open

Getting time out error #146

Tizzzzy opened this issue Nov 27, 2023 · 0 comments

Comments

@Tizzzzy
Copy link

Tizzzzy commented Nov 27, 2023

No idea why I get this error

Traceback (most recent call last):
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
    exec(code, module.__dict__)
  File "C:\Users\super\OneDrive\Desktop\Bridge_Legal\codeinterpreter-api\frontend\app.py", line 38, in <module>
    loop.run_until_complete(get_images(input_text, files=uploaded_files_list))
  File "C:\Users\super\anaconda3\envs\textgen\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "C:\Users\super\OneDrive\Desktop\Bridge_Legal\codeinterpreter-api\frontend\utils.py", line 25, in get_images
    async with CodeInterpreterSession(model="gpt-3.5-turbo") as session:
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\codeinterpreterapi\session.py", line 488, in __aenter__
    await self.astart()
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\codeinterpreterapi\session.py", line 97, in astart
    status = SessionStatus.from_codebox_status(await self.codebox.astart())
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\codeboxapi\box\localbox.py", line 187, in astart
    await self._aconnect()
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\codeboxapi\box\localbox.py", line 199, in _aconnect
    self.ws = await ws_connect(f"{self.ws_url}/kernels/{self.kernel_id}/channels")
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\websockets\legacy\client.py", line 654, in __await_impl_timeout__
    async with asyncio_timeout(self.open_timeout):
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\websockets\legacy\async_timeout.py", line 169, in __aexit__
    self._do_exit(exc_type)
  File "C:\Users\super\anaconda3\envs\textgen\lib\site-packages\websockets\legacy\async_timeout.py", line 252, in _do_exit
    raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant