Closed INSide-734 closed 1 year ago
提交 issue 前,请先确认:
表现 无法使用token登录chatgpt-web和poe且无法使用ping查看当前可用的AI
运行环境:
复现步骤 1.填写poe和chatgpt-web的token 2.重启容器 预期行为 描述你认为正常情况下应该看见的情况 正常登录
日志
2023-05-07T05:49:31.766647081Z 2023-05-07 13:49:31.759 | SUCCESS | config:scan_presets:540 - 检查预设:猫娘 <==> presets/catgirl.txt [成功] 2023-05-07T05:49:31.766757965Z 2023-05-07 13:49:31.760 | SUCCESS | config:scan_presets:540 - 检查预设:雌小鬼 <==> presets/cixiaogui.txt [成功] 2023-05-07T05:49:31.766804616Z 2023-05-07 13:49:31.760 | SUCCESS | config:scan_presets:540 - 检查预设:丁真 <==> presets/DJ.txt [成功] 2023-05-07T05:49:31.766818756Z 2023-05-07 13:49:31.760 | SUCCESS | config:scan_presets:540 - 检查预设:白丝魅魔 <==> presets/PG13succubus.txt [成功] 2023-05-07T05:49:31.766830695Z 2023-05-07 13:49:31.761 | SUCCESS | config:scan_presets:540 - 检查预设:张维为 <==> presets/zhangweiwei.txt [成功] 2023-05-07T05:49:31.766842017Z 2023-05-07 13:49:31.761 | SUCCESS | config:scan_presets:553 - 注册预设:cixiaogui <==> ./presets/cixiaogui.txt [成功] 2023-05-07T05:49:31.766882526Z 2023-05-07 13:49:31.761 | SUCCESS | config:scan_presets:553 - 注册预设:PG13succubus <==> ./presets/PG13succubus.txt [成功] 2023-05-07T05:49:31.766900006Z 2023-05-07 13:49:31.761 | SUCCESS | config:scan_presets:553 - 注册预设:zhangweiwei <==> ./presets/zhangweiwei.txt [成功] 2023-05-07T05:49:31.766911545Z 2023-05-07 13:49:31.762 | SUCCESS | config:scan_presets:553 - 注册预设:catgirl <==> ./presets/catgirl.txt [成功] 2023-05-07T05:49:31.766923518Z 2023-05-07 13:49:31.762 | SUCCESS | config:scan_presets:553 - 注册预设:DJ <==> ./presets/DJ.txt [成功] 2023-05-07T05:49:32.056536231Z 2023-05-07 13:49:32.056 | INFO | manager.bot:login_bing:193 - 正在解析第 1 个 Bing 账号 2023-05-07T05:49:32.056859579Z 2023-05-07 13:49:32.056 | SUCCESS | manager.bot:login_bing:198 - 解析成功! 2023-05-07T05:49:32.057160551Z 2023-05-07 13:49:32.056 | SUCCESS | manager.bot:login_bing:204 - 成功解析 1/1 个 Bing 账号! 2023-05-07T05:49:32.062094846Z 2023-05-07 13:49:32.061 | INFO | manager.bot:login_poe:244 - 正在解析第 1 个 poe web 账号 2023-05-07T05:49:42.078622235Z 2023-05-07 13:49:42.076 | ERROR | manager.bot:login_poe:252 - 解析失败: 2023-05-07T05:49:42.123256279Z 2023-05-07 13:49:42.080 | ERROR | manager.bot:login_poe:253 - HTTPSConnectionPool(host='poe.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) 2023-05-07T05:49:42.123566645Z Traceback (most recent call last): 2023-05-07T05:49:42.123951041Z 2023-05-07T05:49:42.124323072Z File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn 2023-05-07T05:49:42.124877814Z conn = connection.create_connection( 2023-05-07T05:49:42.124972158Z │ └ <function create_connection at 0x7f8405d74cc0> 2023-05-07T05:49:42.125201278Z └ <module 'urllib3.util.connection' from '/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py'> 2023-05-07T05:49:42.125297751Z File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection 2023-05-07T05:49:42.125394791Z for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): 2023-05-07T05:49:42.125412936Z │ │ │ │ │ │ └ <SocketKind.SOCK_STREAM: 1> 2023-05-07T05:49:42.125563978Z │ │ │ │ │ └ <module 'socket' from '/usr/local/lib/python3.11/socket.py'> 2023-05-07T05:49:42.125595427Z │ │ │ │ └ <AddressFamily.AF_INET: 2> 2023-05-07T05:49:42.125610354Z │ │ │ └ 443 2023-05-07T05:49:42.125659653Z │ │ └ 'poe.com' 2023-05-07T05:49:42.125712164Z │ └ <function getaddrinfo at 0x7f8407a0ab60> 2023-05-07T05:49:42.125929997Z └ <module 'socket' from '/usr/local/lib/python3.11/socket.py'> 2023-05-07T05:49:42.125946430Z File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo 2023-05-07T05:49:42.126344080Z for res in _socket.getaddrinfo(host, port, family, type, proto, flags): 2023-05-07T05:49:42.126365778Z │ │ │ │ │ │ │ └ 0 2023-05-07T05:49:42.126379869Z │ │ │ │ │ │ └ 0 2023-05-07T05:49:42.126569946Z │ │ │ │ │ └ <SocketKind.SOCK_STREAM: 1> 2023-05-07T05:49:42.126585150Z │ │ │ │ └ <AddressFamily.AF_INET: 2> 2023-05-07T05:49:42.126765210Z │ │ │ └ 443 2023-05-07T05:49:42.127352788Z │ │ └ 'poe.com' 2023-05-07T05:49:42.127448811Z │ └ <built-in function getaddrinfo> 2023-05-07T05:49:42.127479870Z └ <module '_socket' from '/usr/local/lib/python3.11/lib-dynload/_socket.cpython-311-x86_64-linux-gnu.so'> 2023-05-07T05:49:42.127506768Z 2023-05-07T05:49:42.127533549Z socket.gaierror: [Errno -3] Temporary failure in name resolution 2023-05-07T05:49:42.127559990Z 2023-05-07T05:49:42.127582467Z 2023-05-07T05:49:42.127605492Z During handling of the above exception, another exception occurred: 2023-05-07T05:49:42.127632062Z 2023-05-07T05:49:42.127657643Z 2023-05-07T05:49:42.127713842Z Traceback (most recent call last): 2023-05-07T05:49:42.127744177Z 2023-05-07T05:49:42.127768934Z File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen 2023-05-07T05:49:42.127805743Z httplib_response = self._make_request( 2023-05-07T05:49:42.127830741Z │ └ <function HTTPConnectionPool._make_request at 0x7f8405de51c0> 2023-05-07T05:49:42.127887996Z └ <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f8404d73450> 2023-05-07T05:49:42.127915417Z File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request 2023-05-07T05:49:42.127943788Z self._validate_conn(conn) 2023-05-07T05:49:42.127968463Z │ │ └ <urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0> 2023-05-07T05:49:42.127992364Z │ └ <function HTTPSConnectionPool._validate_conn at 0x7f8405de58a0> 2023-05-07T05:49:42.128014371Z └ <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f8404d73450> 2023-05-07T05:49:42.128039698Z File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn 2023-05-07T05:49:42.128064616Z conn.connect() 2023-05-07T05:49:42.128087944Z │ └ <function HTTPSConnection.connect at 0x7f8405dbc040> 2023-05-07T05:49:42.128110392Z └ <urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0> 2023-05-07T05:49:42.128133216Z File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 363, in connect 2023-05-07T05:49:42.128156977Z self.sock = conn = self._new_conn() 2023-05-07T05:49:42.128179558Z │ │ │ └ <function HTTPConnection._new_conn at 0x7f8405dbb9c0> 2023-05-07T05:49:42.128206625Z │ │ └ <urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0> 2023-05-07T05:49:42.128233206Z │ └ None 2023-05-07T05:49:42.128258847Z └ <urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0> 2023-05-07T05:49:42.128283652Z File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn 2023-05-07T05:49:42.128306040Z raise NewConnectionError( 2023-05-07T05:49:42.128329427Z └ <class 'urllib3.exceptions.NewConnectionError'> 2023-05-07T05:49:42.128353885Z 2023-05-07T05:49:42.128380220Z urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution 2023-05-07T05:49:42.128412434Z 2023-05-07T05:49:42.128435682Z 2023-05-07T05:49:42.128458166Z During handling of the above exception, another exception occurred: 2023-05-07T05:49:42.128479273Z 2023-05-07T05:49:42.128500274Z 2023-05-07T05:49:42.128522294Z Traceback (most recent call last): 2023-05-07T05:49:42.128545032Z 2023-05-07T05:49:42.128569770Z File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 489, in send 2023-05-07T05:49:42.128592101Z resp = conn.urlopen( 2023-05-07T05:49:42.128615425Z │ └ <function HTTPConnectionPool.urlopen at 0x7f8405de5440> 2023-05-07T05:49:42.128672940Z └ <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f8404d73450> 2023-05-07T05:49:42.128737137Z File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen 2023-05-07T05:49:42.128764195Z retries = retries.increment( 2023-05-07T05:49:42.128787939Z │ └ <function Retry.increment at 0x7f8405d771a0> 2023-05-07T05:49:42.128812707Z └ Retry(total=0, connect=None, read=False, redirect=None, status=None) 2023-05-07T05:49:42.128839031Z File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment 2023-05-07T05:49:42.128868405Z raise MaxRetryError(_pool, url, error or ResponseError(cause)) 2023-05-07T05:49:42.128897200Z │ │ │ │ │ └ 'unknown' 2023-05-07T05:49:42.128922851Z │ │ │ │ └ <class 'urllib3.exceptions.ResponseError'> 2023-05-07T05:49:42.128950576Z │ │ │ └ NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0>: Failed to establish a new connection: [Err... 2023-05-07T05:49:42.128979364Z │ │ └ '/' 2023-05-07T05:49:42.129009145Z │ └ <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f8404d73450> 2023-05-07T05:49:42.129036232Z └ <class 'urllib3.exceptions.MaxRetryError'> 2023-05-07T05:49:42.129062897Z 2023-05-07T05:49:42.129087378Z urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='poe.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) 2023-05-07T05:49:42.129115209Z 2023-05-07T05:49:42.129148514Z 2023-05-07T05:49:42.129177205Z During handling of the above exception, another exception occurred: 2023-05-07T05:49:42.129203579Z 2023-05-07T05:49:42.129224234Z 2023-05-07T05:49:42.129244800Z Traceback (most recent call last): 2023-05-07T05:49:42.129265775Z 2023-05-07T05:49:42.129287052Z File "/app/bot.py", line 17, in <module> 2023-05-07T05:49:42.129309350Z loop.run_until_complete(botManager.login()) 2023-05-07T05:49:42.129337508Z │ │ │ └ <function BotManager.login at 0x7f840514c4a0> 2023-05-07T05:49:42.129364629Z │ │ └ <manager.bot.BotManager object at 0x7f8407014fd0> 2023-05-07T05:49:42.129387336Z │ └ <function BaseEventLoop.run_until_complete at 0x7f84072391c0> 2023-05-07T05:49:42.129409524Z └ <_UnixSelectorEventLoop running=True closed=False debug=False> 2023-05-07T05:49:42.129468030Z 2023-05-07T05:49:42.129494017Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete 2023-05-07T05:49:42.129519138Z self.run_forever() 2023-05-07T05:49:42.129541873Z │ └ <function BaseEventLoop.run_forever at 0x7f8407239120> 2023-05-07T05:49:42.129565710Z └ <_UnixSelectorEventLoop running=True closed=False debug=False> 2023-05-07T05:49:42.129589148Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever 2023-05-07T05:49:42.129612479Z self._run_once() 2023-05-07T05:49:42.129635063Z │ └ <function BaseEventLoop._run_once at 0x7f840723af20> 2023-05-07T05:49:42.129657331Z └ <_UnixSelectorEventLoop running=True closed=False debug=False> 2023-05-07T05:49:42.129712700Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once 2023-05-07T05:49:42.129744390Z handle._run() 2023-05-07T05:49:42.129769662Z │ └ <function Handle._run at 0x7f840777bd80> 2023-05-07T05:49:42.129795129Z └ <Handle <TaskStepMethWrapper object at 0x7f840503a950>()> 2023-05-07T05:49:42.129850023Z File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run 2023-05-07T05:49:42.129882140Z self._context.run(self._callback, *self._args) 2023-05-07T05:49:42.129906941Z │ │ │ │ │ └ <member '_args' of 'Handle' objects> 2023-05-07T05:49:42.129935035Z │ │ │ │ └ <Handle <TaskStepMethWrapper object at 0x7f840503a950>()> 2023-05-07T05:49:42.129962733Z │ │ │ └ <member '_callback' of 'Handle' objects> 2023-05-07T05:49:42.129989631Z │ │ └ <Handle <TaskStepMethWrapper object at 0x7f840503a950>()> 2023-05-07T05:49:42.130016618Z │ └ <member '_context' of 'Handle' objects> 2023-05-07T05:49:42.130044122Z └ <Handle <TaskStepMethWrapper object at 0x7f840503a950>()> 2023-05-07T05:49:42.130070391Z 2023-05-07T05:49:42.130092235Z File "/app/manager/bot.py", line 99, in login 2023-05-07T05:49:42.130119025Z self.login_poe() 2023-05-07T05:49:42.130144997Z │ └ <function BotManager.login_poe at 0x7f840514f100> 2023-05-07T05:49:42.130172905Z └ <manager.bot.BotManager object at 0x7f8407014fd0> 2023-05-07T05:49:42.130199663Z 2023-05-07T05:49:42.130222341Z > File "/app/manager/bot.py", line 247, in login_poe 2023-05-07T05:49:42.130244454Z bot = PoeClient(token=account.p_b, proxy=account.proxy) 2023-05-07T05:49:42.130267455Z │ │ │ │ └ None 2023-05-07T05:49:42.130297601Z │ │ │ └ PoeCookieAuth(p_b='O3TEIoiLwjQeGVCZoMFLSQ%3D%3D', proxy=None) 2023-05-07T05:49:42.130357026Z │ │ └ 'O3TEIoiLwjQeGVCZoMFLSQ%3D%3D' 2023-05-07T05:49:42.130387653Z │ └ PoeCookieAuth(p_b='O3TEIoiLwjQeGVCZoMFLSQ%3D%3D', proxy=None) 2023-05-07T05:49:42.130412298Z └ <class 'poe.Client'> 2023-05-07T05:49:42.130436679Z 2023-05-07T05:49:42.130461410Z File "/usr/local/lib/python3.11/site-packages/poe.py", line 88, in __init__ 2023-05-07T05:49:42.130486981Z self.setup_connection() 2023-05-07T05:49:42.130511662Z │ └ <function Client.setup_connection at 0x7f8405596f20> 2023-05-07T05:49:42.130535807Z └ <poe.Client object at 0x7f840519a590> 2023-05-07T05:49:42.130559197Z File "/usr/local/lib/python3.11/site-packages/poe.py", line 93, in setup_connection 2023-05-07T05:49:42.130581961Z self.next_data = self.get_next_data(overwrite_vars=True) 2023-05-07T05:49:42.130604753Z │ │ └ <function Client.get_next_data at 0x7f8405597060> 2023-05-07T05:49:42.130632874Z │ └ <poe.Client object at 0x7f840519a590> 2023-05-07T05:49:42.130659264Z └ <poe.Client object at 0x7f840519a590> 2023-05-07T05:49:42.130719970Z File "/usr/local/lib/python3.11/site-packages/poe.py", line 124, in get_next_data 2023-05-07T05:49:42.130758388Z r = request_with_retries(self.session.get, self.home_url) 2023-05-07T05:49:42.130785046Z │ │ │ │ │ └ 'https://poe.com' 2023-05-07T05:49:42.130810801Z │ │ │ │ └ <poe.Client object at 0x7f840519a590> 2023-05-07T05:49:42.130834755Z │ │ │ └ <function Session.get at 0x7f8405c919e0> 2023-05-07T05:49:42.130905825Z │ │ └ <requests.sessions.Session object at 0x7f8405cbab50> 2023-05-07T05:49:42.130935223Z │ └ <poe.Client object at 0x7f840519a590> 2023-05-07T05:49:42.130962187Z └ <function request_with_retries at 0x7f84055289a0> 2023-05-07T05:49:42.130991178Z File "/usr/local/lib/python3.11/site-packages/poe.py", line 47, in request_with_retries 2023-05-07T05:49:42.131016852Z r = method(*args, **kwargs) 2023-05-07T05:49:42.131041027Z │ │ └ {} 2023-05-07T05:49:42.131065394Z │ └ ('https://poe.com',) 2023-05-07T05:49:42.131090262Z └ <bound method Session.get of <requests.sessions.Session object at 0x7f8405cbab50>> 2023-05-07T05:49:42.131116590Z File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 600, in get 2023-05-07T05:49:42.131142171Z return self.request("GET", url, **kwargs) 2023-05-07T05:49:42.137302280Z │ │ │ └ {'allow_redirects': True} 2023-05-07T05:49:42.137528185Z │ │ └ 'https://poe.com' 2023-05-07T05:49:42.137641853Z │ └ <function Session.request at 0x7f8405c91940> 2023-05-07T05:49:42.137775503Z └ <requests.sessions.Session object at 0x7f8405cbab50> 2023-05-07T05:49:42.137877284Z File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request 2023-05-07T05:49:42.137918545Z resp = self.send(prep, **send_kwargs) 2023-05-07T05:49:42.138535463Z │ │ │ └ {'timeout': None, 'allow_redirects': True, 'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} 2023-05-07T05:49:42.139029196Z │ │ └ <PreparedRequest [GET]> 2023-05-07T05:49:42.139077908Z │ └ <function Session.send at 0x7f8405c91e40> 2023-05-07T05:49:42.139109963Z └ <requests.sessions.Session object at 0x7f8405cbab50> 2023-05-07T05:49:42.139140154Z File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 701, in send 2023-05-07T05:49:42.139214170Z r = adapter.send(request, **kwargs) 2023-05-07T05:49:42.139259405Z │ │ │ └ {'timeout': None, 'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} 2023-05-07T05:49:42.139288066Z │ │ └ <PreparedRequest [GET]> 2023-05-07T05:49:42.139316708Z │ └ <function HTTPAdapter.send at 0x7f8405c911c0> 2023-05-07T05:49:42.139343438Z └ <requests.adapters.HTTPAdapter object at 0x7f8404d72a10> 2023-05-07T05:49:42.139368406Z File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 565, in send 2023-05-07T05:49:42.139396304Z raise ConnectionError(e, request=request) 2023-05-07T05:49:42.139426353Z │ └ <PreparedRequest [GET]> 2023-05-07T05:49:42.139453850Z └ <class 'requests.exceptions.ConnectionError'> 2023-05-07T05:49:42.139479638Z 2023-05-07T05:49:42.139505479Z requests.exceptions.ConnectionError: HTTPSConnectionPool(host='poe.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8404d5ecd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) 2023-05-07T05:49:42.139534333Z 2023-05-07 13:49:42.131 | ERROR | manager.bot:login_poe:255 - 所有 Poe 账号均解析失败! 2023-05-07T05:49:42.139561654Z 2023-05-07 13:49:42.132 | SUCCESS | manager.bot:login_poe:256 - 成功解析 0/1 个 poe web 账号! 2023-05-07T05:49:42.139591932Z 2023-05-07 13:49:42.133 | INFO | manager.bot:login_slack:228 - 正在解析第 1 个 Claude (Slack) 账号 2023-05-07T05:49:42.139618886Z 2023-05-07 13:49:42.133 | SUCCESS | manager.bot:login_slack:232 - 解析成功! 2023-05-07T05:49:42.139651375Z 2023-05-07 13:49:42.134 | SUCCESS | manager.bot:login_slack:238 - 成功解析 1/1 个 Claude (Slack) 账号! 2023-05-07T05:49:42.160247471Z 2023-05-07 13:49:42.136 | INFO | manager.bot:login:118 - 当前的 browserless_endpoint 为:https://chatgpt-proxy.lss233.com/api/ 2023-05-07T05:49:42.160326567Z 2023-05-07 13:49:42.156 | INFO | manager.bot:login:134 - 当前的 api_endpoint 为:https://api.openai.com/v1 2023-05-07T05:49:42.160357038Z 2023-05-07 13:49:42.156 | INFO | manager.bot:login_openai:299 - 正在登录第 1 个 OpenAI 账号 2023-05-07T05:49:42.160383179Z 2023-05-07 13:49:42.157 | INFO | manager.bot:__login_V1:389 - 模式:无浏览器登录 2023-05-07T05:49:42.175305079Z 2023-05-07 13:49:42.171 | INFO | manager.bot:__login_V1:414 - 尝试使用 access_token 登录中... 2023-05-07T05:49:47.508473268Z 2023-05-07 13:49:47.507 | ERROR | manager.bot:login_openai:318 - 登录失败! 连接 OpenAI 服务器失败,请更换代理节点重试! 2023-05-07T05:49:47.510133777Z 2023-05-07 13:49:47.509 | INFO | manager.bot:login_openai:299 - 正在登录第 2 个 OpenAI 账号 2023-05-07T05:49:47.510812803Z 2023-05-07 13:49:47.510 | INFO | manager.bot:__login_V1:389 - 模式:无浏览器登录 2023-05-07T05:49:47.511683079Z 2023-05-07 13:49:47.510 | INFO | manager.bot:__login_V1:414 - 尝试使用 access_token 登录中... 2023-05-07T05:49:52.524937848Z 2023-05-07 13:49:52.523 | ERROR | manager.bot:login_openai:318 - 登录失败! 连接 OpenAI 服务器失败,请更换代理节点重试! 2023-05-07T05:49:52.529989580Z 2023-05-07 13:49:52.527 | INFO | manager.bot:login_openai:299 - 正在登录第 3 个 OpenAI 账号 2023-05-07T05:49:52.532057915Z 2023-05-07 13:49:52.529 | INFO | manager.bot:__login_openai_apikey:451 - 尝试使用 api_key 登录中... 2023-05-07T05:49:52.532114601Z 2023-05-07 13:49:52.529 | INFO | manager.bot:__login_openai_apikey:455 - 当前检查的 API Key 为:sk-Tdc3x******lffL 2023-05-07T05:49:52.532145946Z 2023-05-07 13:49:52.530 | WARNING | manager.bot:__login_openai_apikey:458 - 在查询 API 额度时遇到问题,请自行确认额度。 2023-05-07T05:49:52.536973533Z 2023-05-07 13:49:52.531 | SUCCESS | manager.bot:login_openai:313 - 登录成功! 2023-05-07T05:49:52.537294390Z 2023-05-07 13:49:52.531 | SUCCESS | manager.bot:login_openai:332 - 成功登录 1/3 个 OpenAI 账号! 2023-05-07T05:49:52.543549748Z 2023-05-07 13:49:52.532 | INFO | manager.bot:login:148 - AI 类型:chatgpt-web - 可用账号: 0 个 2023-05-07T05:49:52.543887138Z 2023-05-07 13:49:52.532 | INFO | manager.bot:login:148 - AI 类型:openai-api - 可用账号: 1 个 2023-05-07T05:49:52.544291895Z 2023-05-07 13:49:52.533 | INFO | manager.bot:login:148 - AI 类型:poe-web - 可用账号: 0 个 2023-05-07T05:49:52.545048106Z 2023-05-07 13:49:52.533 | INFO | manager.bot:login:148 - AI 类型:bing-cookie - 可用账号: 1 个 2023-05-07T05:49:52.545207568Z 2023-05-07 13:49:52.534 | INFO | manager.bot:login:148 - AI 类型:bard-cookie - 可用账号: 0 个 2023-05-07T05:49:52.545591531Z 2023-05-07 13:49:52.534 | INFO | manager.bot:login:148 - AI 类型:yiyan-cookie - 可用账号: 0 个 2023-05-07T05:49:52.546180647Z 2023-05-07 13:49:52.535 | INFO | manager.bot:login:148 - AI 类型:chatglm-api - 可用账号: 0 个 2023-05-07T05:49:52.546591163Z 2023-05-07 13:49:52.535 | INFO | manager.bot:login:148 - AI 类型:slack-accesstoken - 可用账号: 1 个 2023-05-07T05:49:52.551037277Z 2023-05-07 13:49:52.536 | INFO | __main__:<module>:27 - 检测到 Onebot 配置,将启动 Onebot 模式…… 2023-05-07T05:49:54.537364811Z 2023-05-07 13:49:54.536 | INFO | __main__:<module>:47 - [Edge TTS] 读取 Edge TTS 可用音色列表…… 2023-05-07T05:49:54.546581279Z 2023-05-07 13:49:54.545 | SUCCESS | platforms.onebot_bot:startup:349 - 启动完毕,接收消息中…… 2023-05-07T05:49:54.560261460Z INFO:quart.serving:Running on http://0.0.0.0:8566 (CTRL + C to quit) 2023-05-07T05:49:54.561762937Z [2023-05-07 13:49:54,555] Running on http://0.0.0.0:8566 (CTRL + C to quit) 2023-05-07T05:49:55.244003682Z INFO:quart.serving:192.168.0.1:34158 GET /ws 1.1 101 - 2704 2023-05-07T05:49:55.244441536Z [2023-05-07 13:49:55,243] 192.168.0.1:34158 GET /ws 1.1 101 - 2704 2023-05-07T05:50:04.594775756Z 2023-05-07 13:50:04.571 | ERROR | __main__:<module>:51 - Cannot connect to host speech.platform.bing.com:443 ssl:default [Temporary failure in name resolution] 2023-05-07T05:50:04.594959480Z Traceback (most recent call last): 2023-05-07T05:50:04.595000748Z 2023-05-07T05:50:04.595027123Z File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1152, in _create_direct_connection 2023-05-07T05:50:04.595055964Z hosts = await asyncio.shield(host_resolved) 2023-05-07T05:50:04.595084594Z │ │ └ <Task finished name='Task-5' coro=<TCPConnector._resolve_host() done, defined at /usr/local/lib/python3.11/site-packages/aioh... 2023-05-07T05:50:04.595115692Z │ └ <function shield at 0x7f84077e0540> 2023-05-07T05:50:04.595143740Z └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'> 2023-05-07T05:50:04.595272866Z File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 874, in _resolve_host 2023-05-07T05:50:04.595310627Z addrs = await self._resolver.resolve(host, port, family=self._family) 2023-05-07T05:50:04.595336271Z │ │ │ │ │ │ └ 0 2023-05-07T05:50:04.595362589Z │ │ │ │ │ └ <aiohttp.connector.TCPConnector object at 0x7f8400b246d0> 2023-05-07T05:50:04.595389637Z │ │ │ │ └ 443 2023-05-07T05:50:04.595414294Z │ │ │ └ 'speech.platform.bing.com' 2023-05-07T05:50:04.595439789Z │ │ └ <function ThreadedResolver.resolve at 0x7f84062de7a0> 2023-05-07T05:50:04.595465446Z │ └ <aiohttp.resolver.ThreadedResolver object at 0x7f8400b24750> 2023-05-07T05:50:04.595490717Z └ <aiohttp.connector.TCPConnector object at 0x7f8400b246d0> 2023-05-07T05:50:04.595516142Z File "/usr/local/lib/python3.11/site-packages/aiohttp/resolver.py", line 33, in resolve 2023-05-07T05:50:04.595540919Z infos = await self._loop.getaddrinfo( 2023-05-07T05:50:04.595565154Z │ │ └ <function BaseEventLoop.getaddrinfo at 0x7f8407239c60> 2023-05-07T05:50:04.595593641Z │ └ <_UnixSelectorEventLoop running=False closed=False debug=False> 2023-05-07T05:50:04.595624290Z └ <aiohttp.resolver.ThreadedResolver object at 0x7f8400b24750> 2023-05-07T05:50:04.595651471Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 867, in getaddrinfo 2023-05-07T05:50:04.595677479Z return await self.run_in_executor( 2023-05-07T05:50:04.595708446Z │ └ <function BaseEventLoop.run_in_executor at 0x7f8407239a80> 2023-05-07T05:50:04.595736434Z └ <_UnixSelectorEventLoop running=False closed=False debug=False> 2023-05-07T05:50:04.595762012Z File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run 2023-05-07T05:50:04.595787219Z result = self.fn(*self.args, **self.kwargs) 2023-05-07T05:50:04.595811077Z │ │ └ None 2023-05-07T05:50:04.595835042Z │ └ None 2023-05-07T05:50:04.595858972Z └ None 2023-05-07T05:50:04.595921201Z File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo 2023-05-07T05:50:04.595950646Z for res in _socket.getaddrinfo(host, port, family, type, proto, flags): 2023-05-07T05:50:04.595975960Z │ │ │ │ │ │ │ └ <AddressInfo.AI_ADDRCONFIG: 32> 2023-05-07T05:50:04.596003455Z │ │ │ │ │ │ └ 0 2023-05-07T05:50:04.596028563Z │ │ │ │ │ └ <SocketKind.SOCK_STREAM: 1> 2023-05-07T05:50:04.596085625Z │ │ │ │ └ 0 2023-05-07T05:50:04.596113319Z │ │ │ └ 443 2023-05-07T05:50:04.596138177Z │ │ └ 'speech.platform.bing.com' 2023-05-07T05:50:04.596163435Z │ └ <built-in function getaddrinfo> 2023-05-07T05:50:04.596189239Z └ <module '_socket' from '/usr/local/lib/python3.11/lib-dynload/_socket.cpython-311-x86_64-linux-gnu.so'> 2023-05-07T05:50:04.596215397Z 2023-05-07T05:50:04.596238721Z socket.gaierror: [Errno -3] Temporary failure in name resolution 2023-05-07T05:50:04.596263272Z 2023-05-07T05:50:04.596286693Z 2023-05-07T05:50:04.596309870Z The above exception was the direct cause of the following exception: 2023-05-07T05:50:04.596334585Z 2023-05-07T05:50:04.596358120Z 2023-05-07T05:50:04.596381997Z Traceback (most recent call last): 2023-05-07T05:50:04.596405948Z 2023-05-07T05:50:04.596429191Z > File "/app/bot.py", line 48, in <module> 2023-05-07T05:50:04.596454199Z loop.run_until_complete(load_edge_tts_voices()) 2023-05-07T05:50:04.596478524Z │ │ └ <function load_edge_tts_voices at 0x7f8405127380> 2023-05-07T05:50:04.596503701Z │ └ <function BaseEventLoop.run_until_complete at 0x7f84072391c0> 2023-05-07T05:50:04.596539403Z └ <_UnixSelectorEventLoop running=False closed=False debug=False> 2023-05-07T05:50:04.596565417Z 2023-05-07T05:50:04.596590301Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete 2023-05-07T05:50:04.596617982Z return future.result() 2023-05-07T05:50:04.596646511Z │ └ <method 'result' of '_asyncio.Task' objects> 2023-05-07T05:50:04.596672295Z └ <Task finished name='Task-3' coro=<load_edge_tts_voices() done, defined at /app/utils/edge_tts.py:11> exception=ClientConnect... 2023-05-07T05:50:04.596698765Z 2023-05-07T05:50:04.603391108Z File "/app/utils/edge_tts.py", line 14, in load_edge_tts_voices 2023-05-07T05:50:04.603461861Z for el in await edge_tts.list_voices(): 2023-05-07T05:50:04.603495035Z │ └ <function list_voices at 0x7f8404fd7240> 2023-05-07T05:50:04.603525630Z └ <module 'edge_tts' from '/usr/local/lib/python3.11/site-packages/edge_tts/__init__.py'> 2023-05-07T05:50:04.603554967Z 2023-05-07T05:50:04.603582118Z File "/usr/local/lib/python3.11/site-packages/edge_tts/list_voices.py", line 24, in list_voices 2023-05-07T05:50:04.603609982Z async with session.get( 2023-05-07T05:50:04.603679425Z │ └ <function ClientSession.get at 0x7f840635d1c0> 2023-05-07T05:50:04.603712404Z └ <aiohttp.client.ClientSession object at 0x7f8400b24690> 2023-05-07T05:50:04.603741588Z File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1141, in __aenter__ 2023-05-07T05:50:04.603770376Z self._resp = await self._coro 2023-05-07T05:50:04.603797410Z │ │ │ └ <member '_coro' of '_BaseRequestContextManager' objects> 2023-05-07T05:50:04.603828148Z │ │ └ <aiohttp.client._RequestContextManager object at 0x7f8400b1ab30> 2023-05-07T05:50:04.603855469Z │ └ <member '_resp' of '_BaseRequestContextManager' objects> 2023-05-07T05:50:04.603927739Z └ <aiohttp.client._RequestContextManager object at 0x7f8400b1ab30> 2023-05-07T05:50:04.603963207Z File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 536, in _request 2023-05-07T05:50:04.603991238Z conn = await self._connector.connect( 2023-05-07T05:50:04.604017143Z │ └ None 2023-05-07T05:50:04.604042977Z └ <aiohttp.client.ClientSession object at 0x7f8400b24690> 2023-05-07T05:50:04.604071329Z File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 540, in connect 2023-05-07T05:50:04.604100916Z proto = await self._create_connection(req, traces, timeout) 2023-05-07T05:50:04.604127751Z │ │ │ │ └ ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=None) 2023-05-07T05:50:04.604155981Z │ │ │ └ [] 2023-05-07T05:50:04.604182489Z │ │ └ <aiohttp.client_reqrep.ClientRequest object at 0x7f8401a3d650> 2023-05-07T05:50:04.604209383Z │ └ <function TCPConnector._create_connection at 0x7f8406304ae0> 2023-05-07T05:50:04.604237191Z └ <aiohttp.connector.TCPConnector object at 0x7f8400b246d0> 2023-05-07T05:50:04.604265192Z File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 901, in _create_connection 2023-05-07T05:50:04.604298098Z _, proto = await self._create_direct_connection(req, traces, timeout) 2023-05-07T05:50:04.604327262Z │ │ │ │ └ ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=None) 2023-05-07T05:50:04.604357309Z │ │ │ └ [] 2023-05-07T05:50:04.604384194Z │ │ └ <aiohttp.client_reqrep.ClientRequest object at 0x7f8401a3d650> 2023-05-07T05:50:04.604411971Z │ └ <function TCPConnector._create_direct_connection at 0x7f84063051c0> 2023-05-07T05:50:04.604438709Z └ <aiohttp.connector.TCPConnector object at 0x7f8400b246d0> 2023-05-07T05:50:04.604497126Z File "/usr/local/lib/python3.11/site-packages/aiohttp/connector.py", line 1166, in _create_direct_connection 2023-05-07T05:50:04.604528800Z raise ClientConnectorError(req.connection_key, exc) from exc 2023-05-07T05:50:04.604555471Z │ │ └ <property object at 0x7f84062d6fc0> 2023-05-07T05:50:04.604586269Z │ └ <aiohttp.client_reqrep.ClientRequest object at 0x7f8401a3d650> 2023-05-07T05:50:04.604614339Z └ <class 'aiohttp.client_exceptions.ClientConnectorError'> 2023-05-07T05:50:04.604643614Z 2023-05-07T05:50:04.604668645Z aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host speech.platform.bing.com:443 ssl:default [Temporary failure in name resolution] 2023-05-07T05:50:04.604780397Z 2023-05-07 13:50:04.599 | ERROR | __main__:<module>:52 - [Edge TTS] 读取失败! 2023-05-07T05:52:21.860514480Z 2023-05-07 13:52:21.855 | DEBUG | platforms.onebot_bot:_:181 - 群聊消息:#bin 你好 2023-05-07T05:52:31.901889028Z 2023-05-07 13:52:31.884 | ERROR | universal:handle_message:295 - [Errno -3] Temporary failure in name resolution 2023-05-07T05:52:31.901939099Z Traceback (most recent call last): 2023-05-07T05:52:31.901962059Z 2023-05-07T05:52:31.901977453Z File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 10, in map_exceptions 2023-05-07T05:52:31.901985304Z yield 2023-05-07T05:52:31.901991647Z File "/usr/local/lib/python3.11/site-packages/httpcore/backends/sync.py", line 94, in connect_tcp 2023-05-07T05:52:31.901998299Z sock = socket.create_connection( 2023-05-07T05:52:31.902004612Z │ └ <function create_connection at 0x7f8407a0a980> 2023-05-07T05:52:31.902012515Z └ <module 'socket' from '/usr/local/lib/python3.11/socket.py'> 2023-05-07T05:52:31.902018888Z File "/usr/local/lib/python3.11/socket.py", line 827, in create_connection 2023-05-07T05:52:31.902025248Z for res in getaddrinfo(host, port, 0, SOCK_STREAM): 2023-05-07T05:52:31.902031535Z │ │ │ └ <SocketKind.SOCK_STREAM: 1> 2023-05-07T05:52:31.902038555Z │ │ └ 443 2023-05-07T05:52:31.902044742Z │ └ 'edgeservices.bing.com' 2023-05-07T05:52:31.902050934Z └ <function getaddrinfo at 0x7f8407a0ab60> 2023-05-07T05:52:31.902057315Z File "/usr/local/lib/python3.11/socket.py", line 962, in getaddrinfo 2023-05-07T05:52:31.902063766Z for res in _socket.getaddrinfo(host, port, family, type, proto, flags): 2023-05-07T05:52:31.902070335Z │ │ │ │ │ │ │ └ 0 2023-05-07T05:52:31.902076747Z │ │ │ │ │ │ └ 0 2023-05-07T05:52:31.902083046Z │ │ │ │ │ └ <SocketKind.SOCK_STREAM: 1> 2023-05-07T05:52:31.902089425Z │ │ │ │ └ 0 2023-05-07T05:52:31.902095652Z │ │ │ └ 443 2023-05-07T05:52:31.902124214Z │ │ └ 'edgeservices.bing.com' 2023-05-07T05:52:31.902130939Z │ └ <built-in function getaddrinfo> 2023-05-07T05:52:31.902136709Z └ <module '_socket' from '/usr/local/lib/python3.11/lib-dynload/_socket.cpython-311-x86_64-linux-gnu.so'> 2023-05-07T05:52:31.902142688Z 2023-05-07T05:52:31.902148190Z socket.gaierror: [Errno -3] Temporary failure in name resolution 2023-05-07T05:52:31.902153903Z 2023-05-07T05:52:31.902159250Z 2023-05-07T05:52:31.902164653Z During handling of the above exception, another exception occurred: 2023-05-07T05:52:31.902170243Z 2023-05-07T05:52:31.902175626Z 2023-05-07T05:52:31.902180969Z Traceback (most recent call last): 2023-05-07T05:52:31.902186399Z 2023-05-07T05:52:31.902191823Z File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions 2023-05-07T05:52:31.902197668Z yield 2023-05-07T05:52:31.902205309Z File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 218, in handle_request 2023-05-07T05:52:31.902211996Z resp = self._pool.handle_request(req) 2023-05-07T05:52:31.902217597Z │ │ │ └ <Request [b'GET']> 2023-05-07T05:52:31.902223461Z │ │ └ <function ConnectionPool.handle_request at 0x7f8405b149a0> 2023-05-07T05:52:31.902229241Z │ └ <httpcore.ConnectionPool object at 0x7f8400b76750> 2023-05-07T05:52:31.902234933Z └ <httpx.HTTPTransport object at 0x7f8401a51750> 2023-05-07T05:52:31.902240588Z File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 253, in handle_request 2023-05-07T05:52:31.902246375Z raise exc 2023-05-07T05:52:31.902251787Z File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 237, in handle_request 2023-05-07T05:52:31.902257674Z response = connection.handle_request(request) 2023-05-07T05:52:31.902263114Z │ │ └ <Request [b'GET']> 2023-05-07T05:52:31.902268803Z │ └ <function HTTPConnection.handle_request at 0x7f8405a89760> 2023-05-07T05:52:31.902274555Z └ <HTTPConnection [CONNECTION FAILED]> 2023-05-07T05:52:31.902280275Z File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 86, in handle_request 2023-05-07T05:52:31.902286019Z raise exc 2023-05-07T05:52:31.902291362Z File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 63, in handle_request 2023-05-07T05:52:31.902297039Z stream = self._connect(request) 2023-05-07T05:52:31.902309203Z │ │ └ <Request [b'GET']> 2023-05-07T05:52:31.902315589Z │ └ <function HTTPConnection._connect at 0x7f8405b03c40> 2023-05-07T05:52:31.902321434Z └ <HTTPConnection [CONNECTION FAILED]> 2023-05-07T05:52:31.902327070Z File "/usr/local/lib/python3.11/site-packages/httpcore/_sync/connection.py", line 111, in _connect 2023-05-07T05:52:31.902562498Z stream = self._network_backend.connect_tcp(**kwargs) 2023-05-07T05:52:31.902626833Z │ │ │ └ {'host': 'edgeservices.bing.com', 'port': 443, 'local_address': None, 'timeout': 30} 2023-05-07T05:52:31.902665373Z │ │ └ <function SyncBackend.connect_tcp at 0x7f8405a8b880> 2023-05-07T05:52:31.902784601Z │ └ <httpcore.backends.sync.SyncBackend object at 0x7f8401a3f4d0> 2023-05-07T05:52:31.902840095Z └ <HTTPConnection [CONNECTION FAILED]> 2023-05-07T05:52:31.902969293Z File "/usr/local/lib/python3.11/site-packages/httpcore/backends/sync.py", line 93, in connect_tcp 2023-05-07T05:52:31.903039467Z with map_exceptions(exc_map): 2023-05-07T05:52:31.903060992Z │ └ {<class 'TimeoutError'>: <class 'httpcore.ConnectTimeout'>, <class 'OSError'>: <class 'httpcore.ConnectError'>} 2023-05-07T05:52:31.903076304Z └ <function map_exceptions at 0x7f8405a89260> 2023-05-07T05:52:31.903088756Z File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__ 2023-05-07T05:52:31.903145681Z self.gen.throw(typ, value, traceback) 2023-05-07T05:52:31.903155826Z │ │ │ │ │ └ <traceback object at 0x7f8400b86c40> 2023-05-07T05:52:31.903161978Z │ │ │ │ └ gaierror(-3, 'Temporary failure in name resolution') 2023-05-07T05:52:31.903197927Z │ │ │ └ <class 'socket.gaierror'> 2023-05-07T05:52:31.903207340Z │ │ └ <method 'throw' of 'generator' objects> 2023-05-07T05:52:31.903213318Z │ └ <generator object map_exceptions at 0x7f8400b39b40> 2023-05-07T05:52:31.903218855Z └ <contextlib._GeneratorContextManager object at 0x7f8400b86b10> 2023-05-07T05:52:31.903224363Z File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions 2023-05-07T05:52:31.903230009Z raise to_exc(exc) 2023-05-07T05:52:31.903235181Z └ <class 'httpcore.ConnectError'> 2023-05-07T05:52:31.903240489Z 2023-05-07T05:52:31.903245621Z httpcore.ConnectError: [Errno -3] Temporary failure in name resolution 2023-05-07T05:52:31.903285614Z 2023-05-07T05:52:31.903294035Z 2023-05-07T05:52:31.903299239Z The above exception was the direct cause of the following exception: 2023-05-07T05:52:31.903316964Z 2023-05-07T05:52:31.903322792Z 2023-05-07T05:52:31.903327824Z Traceback (most recent call last): 2023-05-07T05:52:31.903332972Z 2023-05-07T05:52:31.903337961Z File "/app/bot.py", line 54, in <module> 2023-05-07T05:52:31.903343625Z loop.run_until_complete(asyncio.gather(*bots)) 2023-05-07T05:52:31.903366885Z │ │ │ │ └ [<Task pending name='Task-2' coro=<start_task() running at /app/platforms/onebot_bot.py:356> wait_for=<_GatheringFuture pendi... 2023-05-07T05:52:31.903374732Z │ │ │ └ <function gather at 0x7f84077e0360> 2023-05-07T05:52:31.903380228Z │ │ └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'> 2023-05-07T05:52:31.903385803Z │ └ <function BaseEventLoop.run_until_complete at 0x7f84072391c0> 2023-05-07T05:52:31.903391225Z └ <_UnixSelectorEventLoop running=True closed=False debug=False> 2023-05-07T05:52:31.903396678Z 2023-05-07T05:52:31.903401731Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 640, in run_until_complete 2023-05-07T05:52:31.903407269Z self.run_forever() 2023-05-07T05:52:31.903412478Z │ └ <function BaseEventLoop.run_forever at 0x7f8407239120> 2023-05-07T05:52:31.903417932Z └ <_UnixSelectorEventLoop running=True closed=False debug=False> 2023-05-07T05:52:31.903423299Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever 2023-05-07T05:52:31.903444253Z self._run_once() 2023-05-07T05:52:31.903454200Z │ └ <function BaseEventLoop._run_once at 0x7f840723af20> 2023-05-07T05:52:31.903460610Z └ <_UnixSelectorEventLoop running=True closed=False debug=False> 2023-05-07T05:52:31.903466226Z File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once 2023-05-07T05:52:31.903471919Z handle._run() 2023-05-07T05:52:31.903477014Z │ └ <function Handle._run at 0x7f840777bd80> 2023-05-07T05:52:31.903482411Z └ <Handle <TaskStepMethWrapper object at 0x7f8400b1a140>()> 2023-05-07T05:52:31.903487848Z File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run 2023-05-07T05:52:31.903493136Z self._context.run(self._callback, *self._args) 2023-05-07T05:52:31.903498341Z │ │ │ │ │ └ <member '_args' of 'Handle' objects> 2023-05-07T05:52:31.903503840Z │ │ │ │ └ <Handle <TaskStepMethWrapper object at 0x7f8400b1a140>()> 2023-05-07T05:52:31.903525766Z │ │ │ └ <member '_callback' of 'Handle' objects> 2023-05-07T05:52:31.903532971Z │ │ └ <Handle <TaskStepMethWrapper object at 0x7f8400b1a140>()> 2023-05-07T05:52:31.903546930Z │ └ <member '_context' of 'Handle' objects> 2023-05-07T05:52:31.903552902Z └ <Handle <TaskStepMethWrapper object at 0x7f8400b1a140>()> 2023-05-07T05:52:31.903558355Z 2023-05-07T05:52:31.903563411Z File "/app/platforms/onebot_bot.py", line 183, in _ 2023-05-07T05:52:31.903568731Z await handle_message( 2023-05-07T05:52:31.903573830Z └ <function handle_message at 0x7f8401d2a5c0> 2023-05-07T05:52:31.903579271Z 2023-05-07T05:52:31.903584295Z > File "/app/universal.py", line 252, in handle_message 2023-05-07T05:52:31.903606539Z conversation_context = await conversation_handler.first_or_create(ai_type) 2023-05-07T05:52:31.903613146Z │ │ └ 'bing-c' 2023-05-07T05:52:31.903618875Z │ └ <function ConversationHandler.first_or_create at 0x7f8400b05440> 2023-05-07T05:52:31.903624656Z └ <conversation.ConversationHandler object at 0x7f8401a22b50> 2023-05-07T05:52:31.903630140Z 2023-05-07T05:52:31.903635192Z File "/app/conversation.py", line 267, in first_or_create 2023-05-07T05:52:31.903640673Z conversation = ConversationContext(_type, self.session_id) 2023-05-07T05:52:31.903645930Z │ │ │ └ 'group-909014372' 2023-05-07T05:52:31.903651504Z │ │ └ <conversation.ConversationHandler object at 0x7f8401a22b50> 2023-05-07T05:52:31.903657073Z │ └ 'bing-c' 2023-05-07T05:52:31.903662305Z └ <class 'conversation.ConversationContext'> 2023-05-07T05:52:31.903682296Z 2023-05-07T05:52:31.903689567Z File "/app/conversation.py", line 94, in __init__ 2023-05-07T05:52:31.903696151Z self.adapter = BingAdapter(self.session_id, ConversationStyle.creative) 2023-05-07T05:52:31.903710182Z │ │ │ │ │ └ <ConversationStyle.creative: ['nlu_direct_response_filter', 'deepleo', 'disable_emoji_spoken_text', 'responsible_ai_policy_23... 2023-05-07T05:52:31.903724730Z │ │ │ │ └ <enum 'ConversationStyle'> 2023-05-07T05:52:31.903737572Z │ │ │ └ 'group-909014372' 2023-05-07T05:52:31.903779982Z │ │ └ <conversation.ConversationContext object at 0x7f8400b26c50> 2023-05-07T05:52:31.903793682Z │ └ <class 'adapter.ms.bing.BingAdapter'> 2023-05-07T05:52:31.903799558Z └ <conversation.ConversationContext object at 0x7f8400b26c50> 2023-05-07T05:52:31.903805075Z 2023-05-07T05:52:31.903819359Z File "/app/adapter/ms/bing.py", line 47, in __init__ 2023-05-07T05:52:31.903825364Z self.bot = EdgeChatbot(cookies=self.cookieData, proxy=account.proxy) 2023-05-07T05:52:31.903830655Z │ │ │ │ │ └ None 2023-05-07T05:52:31.903854957Z │ │ │ │ └ BingCookiePath(cookie_content='[{"domain":".bing.com","expirationDate":1716637823.154843,"hostOnly":false,"httpOnly":false,"n... 2023-05-07T05:52:31.903945597Z │ │ │ └ [{'domain': '.bing.com', 'expirationDate': 1716637823.154843, 'hostOnly': False, 'httpOnly': False, 'name': 'SRCHUSR', 'path'... 2023-05-07T05:52:31.903971559Z │ │ └ <adapter.ms.bing.BingAdapter object at 0x7f8400b27490> 2023-05-07T05:52:31.903977500Z │ └ <class 'EdgeGPT.Chatbot'> 2023-05-07T05:52:31.903982987Z └ <adapter.ms.bing.BingAdapter object at 0x7f8400b27490> 2023-05-07T05:52:31.903988385Z 2023-05-07T05:52:31.903993503Z File "/usr/local/lib/python3.11/site-packages/EdgeGPT.py", line 597, in __init__ 2023-05-07T05:52:31.903998919Z _Conversation(self.cookies, self.proxy), 2023-05-07T05:52:31.904004102Z │ │ │ │ └ None 2023-05-07T05:52:31.904028133Z │ │ │ └ <EdgeGPT.Chatbot object at 0x7f8400b5bf50> 2023-05-07T05:52:31.904035333Z │ │ └ [{'domain': '.bing.com', 'expirationDate': 1716637823.154843, 'hostOnly': False, 'httpOnly': False, 'name': 'SRCHUSR', 'path'... 2023-05-07T05:52:31.904041206Z │ └ <EdgeGPT.Chatbot object at 0x7f8400b5bf50> 2023-05-07T05:52:31.904046674Z └ <class 'EdgeGPT._Conversation'> 2023-05-07T05:52:31.904053454Z File "/usr/local/lib/python3.11/site-packages/EdgeGPT.py", line 319, in __init__ 2023-05-07T05:52:31.904059321Z response = self.session.get( 2023-05-07T05:52:31.904064646Z │ │ └ <function Client.get at 0x7f8405997b00> 2023-05-07T05:52:31.904070243Z │ └ <httpx.Client object at 0x7f8400b5be90> 2023-05-07T05:52:31.904075587Z └ <EdgeGPT._Conversation object at 0x7f8400b5bc10> 2023-05-07T05:52:31.904080994Z File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1045, in get 2023-05-07T05:52:31.904119148Z return self.request( 2023-05-07T05:52:31.904138217Z │ └ <function Client.request at 0x7f84059976a0> 2023-05-07T05:52:31.904150884Z └ <httpx.Client object at 0x7f8400b5be90> 2023-05-07T05:52:31.904161470Z File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 821, in request 2023-05-07T05:52:31.904172355Z return self.send(request, auth=auth, follow_redirects=follow_redirects) 2023-05-07T05:52:31.904210776Z │ │ │ │ └ <httpx._client.UseClientDefault object at 0x7f8405986590> 2023-05-07T05:52:31.904218814Z │ │ │ └ <httpx._client.UseClientDefault object at 0x7f8405986590> 2023-05-07T05:52:31.904224477Z │ │ └ <Request('GET', 'https://edgeservices.bing.com/edgesvc/turing/conversation/create')> 2023-05-07T05:52:31.904230019Z │ └ <function Client.send at 0x7f8405997880> 2023-05-07T05:52:31.904235367Z └ <httpx.Client object at 0x7f8400b5be90> 2023-05-07T05:52:31.904240677Z File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 908, in send 2023-05-07T05:52:31.904245998Z response = self._send_handling_auth( 2023-05-07T05:52:31.904251249Z │ └ <function Client._send_handling_auth at 0x7f8405997920> 2023-05-07T05:52:31.904256601Z └ <httpx.Client object at 0x7f8400b5be90> 2023-05-07T05:52:31.904280109Z File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 936, in _send_handling_auth 2023-05-07T05:52:31.904287367Z response = self._send_handling_redirects( 2023-05-07T05:52:31.904292764Z │ └ <function Client._send_handling_redirects at 0x7f84059979c0> 2023-05-07T05:52:31.904298382Z └ <httpx.Client object at 0x7f8400b5be90> 2023-05-07T05:52:31.904303750Z File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 973, in _send_handling_redirects 2023-05-07T05:52:31.904309230Z response = self._send_single_request(request) 2023-05-07T05:52:31.904314584Z │ │ └ <Request('GET', 'https://edgeservices.bing.com/edgesvc/turing/conversation/create')> 2023-05-07T05:52:31.904322158Z │ └ <function Client._send_single_request at 0x7f8405997a60> 2023-05-07T05:52:31.904328405Z └ <httpx.Client object at 0x7f8400b5be90> 2023-05-07T05:52:31.904333719Z File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1009, in _send_single_request 2023-05-07T05:52:31.904339158Z response = transport.handle_request(request) 2023-05-07T05:52:31.904361424Z │ │ └ <Request('GET', 'https://edgeservices.bing.com/edgesvc/turing/conversation/create')> 2023-05-07T05:52:31.904368202Z │ └ <function HTTPTransport.handle_request at 0x7f8405994ae0> 2023-05-07T05:52:31.904373746Z └ <httpx.HTTPTransport object at 0x7f8401a51750> 2023-05-07T05:52:31.904379165Z File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 217, in handle_request 2023-05-07T05:52:31.904384742Z with map_httpcore_exceptions(): 2023-05-07T05:52:31.904389858Z └ <function map_httpcore_exceptions at 0x7f8405aa2ac0> 2023-05-07T05:52:31.904402424Z File "/usr/local/lib/python3.11/contextlib.py", line 155, in __exit__ 2023-05-07T05:52:31.904408223Z self.gen.throw(typ, value, traceback) 2023-05-07T05:52:31.904413436Z │ │ │ │ │ └ <traceback object at 0x7f8400b86e00> 2023-05-07T05:52:31.904418896Z │ │ │ │ └ ConnectError(gaierror(-3, 'Temporary failure in name resolution')) 2023-05-07T05:52:31.904528945Z │ │ │ └ <class 'httpcore.ConnectError'> 2023-05-07T05:52:31.904535551Z │ │ └ <method 'throw' of 'generator' objects> 2023-05-07T05:52:31.904540948Z │ └ <generator object map_httpcore_exceptions at 0x7f8400b39540> 2023-05-07T05:52:31.904546383Z └ <contextlib._GeneratorContextManager object at 0x7f8401beb490> 2023-05-07T05:52:31.904551774Z File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions 2023-05-07T05:52:31.904557272Z raise mapped_exc(message) from exc 2023-05-07T05:52:31.904562420Z │ └ '[Errno -3] Temporary failure in name resolution' 2023-05-07T05:52:31.904567774Z └ <class 'httpx.ConnectError'> 2023-05-07T05:52:31.904572990Z 2023-05-07T05:52:31.904577971Z httpx.ConnectError: [Errno -3] Temporary failure in name resolution 2023-05-07T05:52:31.909415847Z 2023-05-07 13:52:31.901 | DEBUG | platforms.onebot_bot:respond:112 - [OneBot] 尝试发送消息:出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚会话” 来回溯到上一条对话,你上一条说的我就当作没看见。 2023-05-07T05:52:31.909470851Z [Errno -3] Temporary failure in name resolution
httpx.ConnectError: [Errno -3] Temporary failure in name resolution
你的 DNS 出现错误了,需要你自己解决。
httpx.ConnectError: [Errno -3] Temporary failure in name resolution 你的 DNS 出现错误了,需要你自己解决。
好的好的
提交 issue 前,请先确认:
表现
无法使用token登录chatgpt-web和poe且无法使用ping查看当前可用的AI
运行环境:
复现步骤
1.填写poe和chatgpt-web的token 2.重启容器 预期行为
描述你认为正常情况下应该看见的情况 正常登录
日志