Comments (12)
报错详细信息:
Traceback (most recent call last):
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_backends/sync.py", line 206, in connect_tcp
sock = socket.create_connection(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/socket.py", line 844, in create_connection
raise err
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/socket.py", line 832, in create_connection
sock.connect(sa)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 67, in map_httpcore_exceptions
yield
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 231, in handle_request
resp = self._pool.handle_request(req)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 268, in handle_request
raise exc
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 251, in handle_request
response = connection.handle_request(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
raise exc
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
stream = self._connect(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 124, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_backends/sync.py", line 213, in connect_tcp
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/gradio/analytics.py", line 61, in _do_normal_analytics_request
data["ip_address"] = get_local_ip_address()
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/gradio/analytics.py", line 117, in get_local_ip_address
ip_address = httpx.get(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_api.py", line 196, in get
return request(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_api.py", line 104, in request
return client.request(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 828, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 915, in send
response = self._send_handling_auth(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 943, in _send_handling_auth
response = self._send_handling_redirects(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 980, in _send_handling_redirects
response = self._send_single_request(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 1016, in _send_single_request
response = transport.handle_request(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 231, in handle_request
resp = self._pool.handle_request(req)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 84, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout: timed out
Exception in thread Thread-6:
Traceback (most recent call last):
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions
yield
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_backends/sync.py", line 206, in connect_tcp
sock = socket.create_connection(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/socket.py", line 844, in create_connection
raise err
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/socket.py", line 832, in create_connection
sock.connect(sa)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 67, in map_httpcore_exceptions
yield
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 231, in handle_request
resp = self._pool.handle_request(req)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 268, in handle_request
raise exc
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection_pool.py", line 251, in handle_request
response = connection.handle_request(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 99, in handle_request
raise exc
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 76, in handle_request
stream = self._connect(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_sync/connection.py", line 124, in _connect
stream = self._network_backend.connect_tcp(**kwargs)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_backends/sync.py", line 213, in connect_tcp
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
raise to_exc(exc) from exc
httpcore.ConnectTimeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/gradio/analytics.py", line 61, in _do_normal_analytics_request
data["ip_address"] = get_local_ip_address()
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/gradio/analytics.py", line 117, in get_local_ip_address
ip_address = httpx.get(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_api.py", line 196, in get
return request(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_api.py", line 104, in request
return client.request(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 828, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 915, in send
response = self._send_handling_auth(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 943, in _send_handling_auth
response = self._send_handling_redirects(
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 980, in _send_handling_redirects
response = self._send_single_request(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_client.py", line 1016, in _send_single_request
response = transport.handle_request(request)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 231, in handle_request
resp = self._pool.handle_request(req)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/anaconda/envs/foundation_models/lib/python3.9/site-packages/httpx/_transports/default.py", line 84, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ConnectTimeout: timed out
from codegeex2.
已解决
from codegeex2.
已解决
这是什么原因呢?
from codegeex2.
已解决
请问是什么原因?当我部署到AWS也遇到这样相似的错误
from codegeex2.
怎么解决的呢?
from codegeex2.
怎么解决的呢?
我是proxy的问题
from codegeex2.
怎么解决的呢?
我是proxy的问题
是关掉proxy? 我已经关掉了proxy 但是还是有这个问题。很奇怪。 还有h11 timed out。 好无语啊
from codegeex2.
怎么解决的呢?
我是proxy的问题
是关掉proxy? 我已经关掉了proxy 但是还是有这个问题。很奇怪。 还有h11 timed out。 好无语啊
我设置了本地访问时候的no _proxy,但是外界用户访问的时候仍然使用原本已有的proxy
from codegeex2.
怎么解决的呢?
我是proxy的问题
是关掉proxy? 我已经关掉了proxy 但是还是有这个问题。很奇怪。 还有h11 timed out。 好无语啊
我设置了本地访问时候的no _proxy,但是外界用户访问的时候仍然使用原本已有的proxy
我全部用的是本地访问,没有外界用户访问,也没有远程访问,不知道为啥gradio 会这样抽风
from codegeex2.
怎么解决的呢?
我是proxy的问题
是关掉proxy? 我已经关掉了proxy 但是还是有这个问题。很奇怪。 还有h11 timed out。 好无语啊
我设置了本地访问时候的no _proxy,但是外界用户访问的时候仍然使用原本已有的proxy
我全部用的是本地访问,没有外界用户访问,也没有远程访问,不知道为啥gradio 会这样抽风
你试一试只设置允许no_proxy的本地地址,但是不去设置proxy内容,及我下面注释的部分
import os
os.environ["no_proxy"] = "127.0.0.1,localhost"
# os.environ["http_proxy"] = ""
# os.environ["https_proxy"] = ""
from codegeex2.
只设置允许no_proxy的本地地址
嗯 我试试 多谢
from codegeex2.
还是不行 还是各种timed out
from codegeex2.
Related Issues (20)
- 用Ask问问题生成其他语言代码不太对 HOT 1
- CodeGeeX无法登录 HOT 2
- 非量化版本的codegeex2-6B,16GB显存下最大推理的max_new_tokens约为多少?微调后经常推着推着就OOM了 HOT 1
- Performance Issue, Difficult running Notebooks
- 请问怎么样用TGI来部署CodeGeex2模型,有同学试过吗?
- hbuilider x 编辑器 coodgeex助手文本复制不支持
- Mac vscode 无法登录 HOT 3
- 这个仓库只回答关于商业插件的问题吗,关于开源的权重问题好像没有回复
- chatglm-cpp推理加速比transformer推理慢很多
- 多次请求接口,输出结果会出现异常的情况
- About local deployment and running on Ollama
- ide集成的插件也是用CodeGeeX2吗?
- 插件的账户问题 HOT 3
- 在vscode插件中,允许用户决定是否将codegeex作为快速修复选项 HOT 1
- 我更习惯使用Ctrl+Enter发送,请给我一个设置发送快捷键的选项
- 希望可以像GitHub Copilot一样能够引用我正在编写的源文件
- 答非所问
- [Bug] 在设置中将"Candidate Num"设置为3后,给出的建议依然只有1条。 HOT 2
- 插件的接口文档是啥?
- 本插件会需要在远程主机中安装 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codegeex2.