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

ConnectionError: HTTPConnectionPool(host='base', port=8000): Max retries exceeded with url: /streamer-sales/plugins_info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f15b02bd4b0>: Failed to establish a new connection: [Errno 111] Connection refused')) #22

Open
fishfree opened this issue Aug 22, 2024 · 0 comments

Comments

@fishfree
Copy link

fishfree commented Aug 22, 2024

执行docker-compose up -f compose.yaml -d, 然后打开 http://****:7860 报错:

ConnectionError: HTTPConnectionPool(host='base', port=8000): Max retries exceeded with url: /streamer-sales/plugins_info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f15b02bd4b0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Traceback:
File "/opt/conda/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
    exec(code, module.__dict__)
File "/workspace/Streamer-Sales/app.py", line 463, in <module>
    main()
File "/workspace/Streamer-Sales/app.py", line 288, in main
    init_tts()
File "/workspace/Streamer-Sales/app.py", line 235, in init_tts
    st.session_state.gen_tts_checkbox = get_server_plugins_info_api()["tts"]
File "/workspace/Streamer-Sales/utils/api.py", line 161, in get_server_plugins_info_api
    res = requests.get(API_CONFIG.PLUGINS_INFO_URL).json()
File "/opt/conda/lib/python3.10/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/requests/adapters.py", line 700, in send
    raise ConnectionError(e, request=request)
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