下载后docker构建后,运行报错,请教大佬,看看是哪里的问题。 #543
Replies: 1 comment
-
解决办法就是换centso |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2023-04-04 18:17:59,728 [INFO] [utils.py:313] 获取模板文件名列表
2023-04-04 18:17:59,729 [INFO] [utils.py:264] 获取文件名列表,目录为templates,文件类型为['.csv', 'json'],是否为纯文本列表True
2023-04-04 18:17:59,732 [INFO] [utils.py:287] 加载模板文件1 中文提示词.json,模式为2(0为返回字典和下拉菜单,1为返回下拉菜单,2为返回字典)
2023-04-04 18:17:59,732 [INFO] [utils.py:289] Loading template...
2023-04-04 18:17:59,737 [WARNING] [utils.py:388] 无法获取IP地址信息。
{'error': True, 'reason': '连接ipapi失败'}
/root/.local/lib/python3.9/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in Files, please remove them: {'multiple': True}
warnings.warn(
2023-04-04 18:17:59,767 [INFO] [utils.py:313] 获取模板文件名列表
2023-04-04 18:17:59,767 [INFO] [utils.py:264] 获取文件名列表,目录为templates,文件类型为['.csv', 'json'],是否为纯文本列表True
2023-04-04 18:17:59,768 [INFO] [utils.py:313] 获取模板文件名列表
2023-04-04 18:17:59,768 [INFO] [utils.py:264] 获取文件名列表,目录为templates,文件类型为['.csv', 'json'],是否为纯文本列表True
2023-04-04 18:17:59,769 [INFO] [utils.py:313] 获取模板文件名列表
2023-04-04 18:17:59,769 [INFO] [utils.py:264] 获取文件名列表,目录为templates,文件类型为['.csv', 'json'],是否为纯文本列表True
2023-04-04 18:17:59,770 [INFO] [utils.py:287] 加载模板文件1 中文提示词.json,模式为1(0为返回字典和下拉菜单,1为返回下拉菜单,2为返回字典)
2023-04-04 18:17:59,771 [INFO] [utils.py:289] Loading template...
2023-04-04 18:17:59,799 [INFO] [utils.py:282] 从用户 中获取历史记录文件名列表
2023-04-04 18:17:59,799 [INFO] [utils.py:264] 获取文件名列表,目录为history,文件类型为['.json'],是否为纯文本列表True
2023-04-04 18:17:59,800 [INFO] [utils.py:282] 从用户 中获取历史记录文件名列表
2023-04-04 18:17:59,800 [INFO] [utils.py:264] 获取文件名列表,目录为history,文件类型为['.json'],是否为纯文本列表True
2023-04-04 18:17:59,902 [INFO] [ChuanhuChatbot.py:381]
川虎的温馨提示:访问 http://localhost:7860 查看界面
Reloading javascript...
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/root/.local/lib/python3.9/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/root/.local/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/root/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 980, in send
self.connect()
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/root/.local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7effa88480d0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/requests/adapters.py", line 489, in send
resp = conn.urlopen(
File "/root/.local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "/root/.local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=1079): Max retries exceeded with url: http://localhost:7860/startup-events (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7effa88480d0>: Failed to establish a new connection: [Errno 111] Connection refused')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/app/ChuanhuChatbot.py", line 394, in
demo.queue(concurrency_count=CONCURRENT_COUNT).launch(
File "/root/.local/lib/python3.9/site-packages/gradio/blocks.py", line 1541, in launch
requests.get(f"{self.local_url}startup-events")
File "/root/.local/lib/python3.9/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/root/.local/lib/python3.9/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/root/.local/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/root/.local/lib/python3.9/site-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "/root/.local/lib/python3.9/site-packages/requests/adapters.py", line 559, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=1079): Max retries exceeded with url: http://localhost:7860/startup-events (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7effa88480d0>: Failed to establish a new connection: [Errno 111] Connection refused')))
Beta Was this translation helpful? Give feedback.
All reactions