FunctionCompute python3 runtime inited.
FC Invoke Start RequestId: 1-657681ad-38aa017e8711655f1af8fafc
11
2023-12-11 11:27:42 1-657681ad-38aa017e8711655f1af8fafc [ERROR] {
“errorMessage”: “HTTP Error 401: Unauthorized”,
“errorType”: “HTTPError”,
“stackTrace”: [
[
“File \”/code/index.py\””,
“line 20”,
“in handler”,
“response = urllib.request.urlopen(requestURL)”
],
[
“File \”/var/fc/lang/python3.10/lib/python3.10/urllib/request.py\””,
“line 216”,
“in urlopen”,
“return opener.open(url, data, timeout)”
],
[
“File \”/var/fc/lang/python3.10/lib/python3.10/urllib/request.py\””,
“line 525”,
“in open”,
“response = meth(req, response)”
],
[
“File \”/var/fc/lang/python3.10/lib/python3.10/urllib/request.py\””,
“line 634”,
“in http_response”,
“response = self.parent.error(“
],
[
“File \”/var/fc/lang/python3.10/lib/python3.10/urllib/request.py\””,
“line 563”,
“in error”,
“return self._call_chain(args)”
],
[
“File \”/var/fc/lang/python3.10/lib/python3.10/urllib/request.py\””,
“line 496”,
“in _call_chain”,
“result = func(args)”
],
[
“File \”/var/fc/lang/python3.10/lib/python3.10/urllib/request.py\””,
“line 643”,
“in http_error_default”,
“raise HTTPError(req.full_url, code, msg, hdrs, fp)”
]
]
}
FC Invoke End RequestId: 1-657681ad-38aa017e8711655f1af8fafc, Error: Unhandled function error
这是模拟网关测试函数计算,报错,是什么问题呢?
本文来自投稿,不代表新手站长_郑州云淘科技有限公司立场,如若转载,请注明出处:https://www.cnzhanzhang.com/11209.html