APIConnectionError: Connection error.
I have installed the docker image and I have tested that my via curl and my API key can talk to Anthropic. When I run the docker container, noVNC starts and I can even browse the web, but when I run a prompt for the API to work, I get this error message:
File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() ^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.dict) File "/home/computeruse/computer_use_demo/streamlit.py", line 357, in asyncio.run(main()) File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/computeruse/.pyenv/versions/3.11.6/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/computeruse/computer_use_demo/streamlit.py", line 213, in main st.session_state.messages = await sampling_loop( ^^^^^^^^^^^^^^^^^^^^
Thanks in advance for guidance on how to fix this issue.
Source: anthropics/claude-quickstarts