-
Notifications
You must be signed in to change notification settings - Fork 116
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
[ BUG ] falconpy don't handle wrong http header #1209
Comments
Hi @kalidor - To confirm, you are using FalconPy v1.3.3? Can we see an example of the crash your describing (any error messages / tracebacks)? Thank you for the report! 😄 |
falconpy: 1.4.3 sorry, read the wrong line.... |
Ok got it. I said code crash, but no got error 500 as the data below shows: {
"status_code": 500,
"headers": {},
"body":
{
"errors": [
{
"message": "('Connection aborted.', BadStatusLine('\\n'))",
"code": 500
}
],
"resources": []
}
} |
I think this gives us enough to try and mock up the scenario. We're investigating this. |
Describe the bug
Using
getVulnerabilities
, withcommand
(aka: Uber Class API command method), the code requests/spotlight/entities/vulnerabilities/v2?ids=<some_uuid>&ids=<some_uuid>
. And i got sometimes the below response :Yes the first line is actually empty (i can see that in Burp proxy). And the code crash, it's like falcon handle this as error 500.
To Reproduce
unfortunately, not reproducible all the time, but i got this several times
Expected behavior
Falcon should handle this or retry the request.
My current workaround is to wait a small amount of time and perform the exact same request.
Environment (please complete the following information):
3.1.3[EDIT] 1.4.3 [/EDIT]Additional context
my point is to retrieve all vulnerabilities by device. I got > 38K devices. just to see the amount of ids i provided to each call, I limit it to 50 by the way.
The text was updated successfully, but these errors were encountered: