Skip to content

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

@mmmjie

Description

@mmmjie

插件版本为截止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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions