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

测试失败 #130

Open
qqhsx opened this issue Jan 25, 2022 · 2 comments
Open

测试失败 #130

qqhsx opened this issue Jan 25, 2022 · 2 comments

Comments

@qqhsx
Copy link

qqhsx commented Jan 25, 2022

执行摘要测试失败
请求ID
e20b8e6a-cf0f-4c13-b46a-98d2d7b3f05a
运行时间
10ms
运行内存
16.63MB
返回结果

Text
没有日志输出

执行日志
START RequestId: e20b8e6a-cf0f-4c13-b46a-98d2d7b3f05a

Init Report RequestId: e20b8e6a-cf0f-4c13-b46a-98d2d7b3f05a Coldstart: 718ms (PullCode: 93ms InitRuntime: 9ms InitFunction: 616ms) Memory: 64MB MemUsage: 16.37MB

配置文件读取完毕

ERROR RequestId:e20b8e6a-cf0f-4c13-b46a-98d2d7b3f05a Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File "/var/user/index.py", line 362, in main\n taskPool()\n File "/var/user/index.py", line 340, in taskPool\n check() # 每天对api做一次检查\n File "/var/user/index.py", line 328, in check\n respones = requests.get(url)\n File "/var/lang/python3/lib/python3.6/site-packages/requests/api.py", line 75, in get\n return request('get', url, params=params, **kwargs)\n File "/var/lang/python3/lib/python3.6/site-packages/requests/api.py", line 60, in request\n return session.request(method=method, url=url, **kwargs)\n File "/var/lang/python3/lib/python3.6/site-packages/requests/sessions.py", line 519, in request\n prep = self.prepare_request(req)\n File "/var/lang/python3/lib/python3.6/site-packages/requests/sessions.py", line 462, in prepare_request\n hooks=merge_hooks(request.hooks, self.hooks),\n File "/var/lang/python3/lib/python3.6/site-packages/requests/models.py", line 313, in prepare\n self.prepare_url(url, params)\n File "/var/lang/python3/lib/python3.6/site-packages/requests/models.py", line 387, in prepare_url\n raise MissingSchema(error)\nrequests.exceptions.MissingSchema: Invalid URL '?do=check': No schema supplied. Perhaps you meant http://?do=check?","statusCode":430}

END RequestId:e20b8e6a-cf0f-4c13-b46a-98d2d7b3f05a

Report RequestId:e20b8e6a-cf0f-4c13-b46a-98d2d7b3f05a Duration:10ms Memory:64MB MemUsage:16.625496MB

@nichanglan
Copy link

nichanglan commented Feb 23, 2022

我也遇到了类似的问题,后来参考https://zaincheung.gitee.io/netease-cloud/#/api/github 填了init.config里的api就成功了。

@blueskyseal
Copy link

我也遇到了类似的问题,后来参考https://zaincheung.gitee.io/netease-cloud/#/api/github 填了init.config里的api就成功了。

谢谢了

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