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

报错“出错了,请稍后再试” #45

Open
mmmjie opened this issue Oct 28, 2024 · 2 comments
Open

报错“出错了,请稍后再试” #45

mmmjie opened this issue Oct 28, 2024 · 2 comments

Comments

@mmmjie
Copy link

mmmjie commented Oct 28, 2024

插件版本为截止2024年10月28日最新的3d3318b66e23694a6c2f28dbf5124d96fc7470d5

日本的服务器,我尝试使用了这个服务器为代理,
然后真机chrome访问这个网页的抽老婆功能,可以正常使用,没有被墙IP

尝试了“抽老婆”,“英灵召唤”,“抽舰娘”均提示这个报错
nb.ver:2.3.3
playwright.ver:1.46.0

后台日志:
10-28 17:59:57 [SUCCESS] nonebot | OneBot V11 3688039382 | [message.group.normal]: Message -2009497629 from 752378743@[群:492460063] '抽老婆'
10-28 17:59:57 [INFO] nonebot | Event will be handled by Matcher(type='message', module=zhenxun.builtin_plugins.chat_history.chat_message, lineno=39)
10-28 17:59:58 [INFO] nonebot | Matcher(type='message', module=zhenxun.builtin_plugins.chat_history.chat_message, lineno=39) running complete
10-28 17:59:59 [INFO] nonebot | Event will be handled by AlconnaMatcher(type='', module=mod.nonebot_plugin_shindan, lineno=197)
10-28 18:00:00 [WARNING] nonebot_plugin_shindan | Traceback (most recent call last):
File "/home/ubuntu/zhinai/mod/nonebot_plugin_shindan/init.py", line 164, in handler
res = await make_shindan(shindan.id, name, shindan.mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/zhinai/mod/nonebot_plugin_shindan/shindanmaker.py", line 66, in make_shindan
resp = await get(client, url)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/zhinai/mod/nonebot_plugin_shindan/shindanmaker.py", line 39, in get
return await request(client, "GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/zhinai/mod/nonebot_plugin_shindan/shindanmaker.py", line 34, in request
resp.raise_for_status()
File "/home/ubuntu/zhinai/zhinai/lib/python3.11/site-packages/httpx/_models.py", line 759, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '403 Forbidden' for url 'https://shindanmaker.com/1075116'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

10-28 18:00:01 [INFO] nonebot | AlconnaMatcher(type='', module=mod.nonebot_plugin_shindan, lineno=197) running complete

@SonderXiaoming
Copy link

同样的问题

@TrinityLeaves
Copy link

同 403报错

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

3 participants