CodeAnalysis icon indicating copy to clipboard operation
CodeAnalysis copied to clipboard

客户端本地分析失败,HTTP Error 500: Internal Server Error

Open Alan-huan opened this issue 1 year ago • 0 comments
trafficstars

代码分析结果: HTTPError: HTTP Error 500: Internal Server Error


2024-01-19 17:20:33,597-INFO: json report: /workspace/client/scan_status.json 2024-01-19 17:20:33,597-ERROR: HTTPError: HTTP Error 500: Internal Server Error Traceback (most recent call last): File "/workspace/client/node/localtask/localrunner.py", line 420, in run run_task_mgr.scan_project(cur_execute_request_list, proj_conf) File "/workspace/client/node/localtask/runlocaltask.py", line 140, in scan_project proj_scan_result, self._org_sid, self._team_name) File "/workspace/client/node/localtask/resultsender.py", line 147, in send_result_to_server proj_result, org_sid, team_name) File "util/wrapper.py", line 28, in util.wrapper.c.c.call File "util/wrapper.py", line 63, in util.wrapper.d.d._call_method File "util/wrapper.py", line 65, in util.wrapper.d.d._call_method File "util/wrapper.py", line 92, in util.wrapper.e.e.call File "util/wrapper.py", line 163, in util.wrapper.f.f.__retry_call File "util/wrapper.py", line 148, in util.wrapper.f.f.__retry_call File "/workspace/client/util/api/dogapi.py", line 121, in send_proj_result rsp = CodeDogHttpClient(self._server_url, rel_url, headers=self._headers, json_data=scan_result).post() File "/workspace/client/util/api/httpclient.py", line 79, in post response = HttpRequest.request(url=self.url, headers=self.headers, body=self.data, method="POST") File "/workspace/client/util/api/httpclient.py", line 44, in request response = urlopen(request, context=ssl._create_unverified_context()) File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 500: Internal Server Error

Alan-huan avatar Jan 19 '24 09:01 Alan-huan