You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What issue is being seen? Describe what should be happening instead of the bug, for example: Cartography should not crash, the expected value isn't returned, the data schema is wrong, etc.
The CVE module crashes with a readtimeout.
To Reproduce:
Steps to reproduce the behavior. Provide all data and inputs required to reproduce the issue.
Run the CVE module at a time when the service or network conditions are unstable
Logs:
If applicable, copy and paste your console log with the failing stack trace.
File ".../cartography/intel/cve/feed.py", line 166, in get_modified_cves
cves = get_cves_in_batches(
File ".../cartography/intel/cve/feed.py", line 144, in get_cves_in_batches
batch_cves = _call_cves_api(nist_cve_url, api_key, params)
File ".../cartography/intel/cve/feed.py", line 89, in _call_cves_api
res = requests.get(
File ".../requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File ".../requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File ".../lyft_requests/requests_utils.py", line 273, in session_request_wrapper
res = requests._before_session_request_wrapper( # type: ignore
File ".../requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File ".../requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File ".../requests/adapters.py", line 713, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='services.nvd.nist.gov', port=443): Read timed out. (read timeout=10)
Please complete the following information::
Cartography release version or commit hash [e.g. 0.12.0 or 95e8e11]
0.92.0
The text was updated successfully, but these errors were encountered:
Description:
The CVE module crashes with a readtimeout.
To Reproduce:
Run the CVE module at a time when the service or network conditions are unstable
Logs:
Please complete the following information::
0.92.0
The text was updated successfully, but these errors were encountered: