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

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

Open
Alan-huan opened this issue Jan 19, 2024 · 0 comments
Open

Comments

@Alan-huan
Copy link

代码分析结果:
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

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

1 participant