xieshang / AutoSpy

Other
257 stars 62 forks source link

报错[Errno -2] Name or service not known #42

Open liwenjie119 opened 1 year ago

liwenjie119 commented 1 year ago

2023-03-18 23:01:30,863 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 1-【【船长】关注店铺有礼-JK-1】创建成功 2023-03-18 23:01:30,864 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: spy 加载 ./plugins .py 插件----开始 2023-03-18 23:01:30,865 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 插件信息加载成功 2023-03-18 23:01:30,865 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 加载 ./plugins .py 插件----结束 2023-03-18 23:01:30,866 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: spy 加载 ./plugins/x86_tx .so 插件----开始 2023-03-18 23:01:30,867 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 插件信息加载成功 2023-03-18 23:01:30,867 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 加载 ./plugins/x86_tx .so 插件----结束 2023-03-18 23:01:30,929 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: [Errno -2] Name or service not known

liwenjie119 commented 1 year ago

删除容器重建以后,报错ymal无法安装 pip install -r requirements.txt直接报错

xieshang commented 1 year ago

初步怀疑你的DNS有问题,可以确认是否能够访问京东;

liwenjie119 @.***> 于2023年3月18日周六 23:52写道:

删除容器重建以后,报错ymal无法安装 pip install -r requirements.txt直接报错

— Reply to this email directly, view it on GitHub https://github.com/xieshang/AutoSpy/issues/42#issuecomment-1474883743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKYVLMTN4LTSKLSMSUQ4U3W4XK45ANCNFSM6AAAAAAV7QVO5U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

liwenjie119 commented 1 year ago

初步怀疑你的DNS有问题,可以确认是否能够访问京东; liwenjie119 @.> 于2023年3月18日周六 23:52写道: 删除容器重建以后,报错ymal无法安装 pip install -r requirements.txt直接报错 — Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKYVLMTN4LTSKLSMSUQ4U3W4XK45ANCNFSM6AAAAAAV7QVO5U . You are receiving this because you are subscribed to this thread.Message ID: @.>

访问京东无问题,容器内ping www.jd.com api.jd.com均无问题,curl 京东域名正常。主要问题应该在INFO: [Errno -2] Name or service not known这个报错,但是不知道是因为啥报错

smileDQYang commented 1 year ago

同样的问题 2023-03-25 23:16:10,210 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 1-【cj组队-1】创建成功 2023-03-25 23:16:10,213 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: spy 加载 ./plugins .py 插件----开始 2023-03-25 23:16:10,215 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 插件信息加载成功 2023-03-25 23:16:10,217 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 加载 ./plugins .py 插件----结束 2023-03-25 23:16:10,218 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: spy 加载 ./plugins/arm .so 插件----开始 2023-03-25 23:16:10,220 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 插件信息加载成功 2023-03-25 23:16:10,221 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: 加载 ./plugins/arm .so 插件----结束 2023-03-25 23:16:10,228 - /usr/local/lib/python3.6/asyncio/events.py[line:145] - INFO: [Errno -2] Name or service not known

liwenjie119 commented 1 year ago

初步怀疑你的DNS有问题,可以确认是否能够访问京东; liwenjie119 @.> 于2023年3月18日周六 23:52写道: 删除容器重建以后,报错ymal无法安装 pip install -r requirements.txt直接报错 — Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKYVLMTN4LTSKLSMSUQ4U3W4XK45ANCNFSM6AAAAAAV7QVO5U . You are receiving this because you are subscribed to this thread.Message ID: @.>

各种尝试仍旧没有解决这个问题,更新以后仍旧报错

liwenjie119 commented 1 year ago

经过持久测试,发现在2月21日版本以后,2月26日更新的auto_spy.so_x86_64_2文件已经无法正常跑任务。Name or service not known报错不是影响运行的报错。希望大佬看看哪出问题了

Silentely commented 1 year ago

一样的报错

2023-05-17 21:17:15,786 - /usr/local/lib/python3.6/asyncio/events.py - INFO: 加载插件:renxing 2023-05-17 21:17:15,786 - /usr/local/lib/python3.6/asyncio/events.py - INFO: 加载 ./plugins/x86_tx .so 插件----结束 2023-05-17 21:17:15,913 - /usr/local/lib/python3.6/asyncio/events.py - INFO: [Errno -2] Name or service not known 2023-05-17 21:17:15,914 - /usr/local/lib/python3.6/asyncio/events.py - INFO: Traceback (most recent call last): File "auto_spy.py", line 3565, in auto_spy.AuthThread File "auto_spy.py", line 3716, in get_token socket.gaierror: [Errno -2] Name or service not known

liwenjie119 commented 1 year ago

这么久了,还是同样的报错,到底是哪里的问题啊: 2023-06-10 23:44:42,924 - /usr/local/lib/python3.6/asyncio/events.py - INFO: [Errno -2] Name or service not known 2023-06-10 23:44:42,925 - /usr/local/lib/python3.6/asyncio/events.py - INFO: Traceback (most recent call last): File "auto_spy.py", line 3945, in auto_spy.AuthThread File "auto_spy.py", line 4096, in get_token socket.gaierror: [Errno -2] Name or service not known