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

Timeout Issue with get_indicator_details_full #49

Open
baalgar opened this issue Feb 27, 2020 · 2 comments
Open

Timeout Issue with get_indicator_details_full #49

baalgar opened this issue Feb 27, 2020 · 2 comments

Comments

@baalgar
Copy link

baalgar commented Feb 27, 2020

When passing in anything other than URLs like hashes into otx.get_indicator_details_full for type IndicatorTypes.URL it hangs and there's no way to control timeout

@rustybrooks
Copy link
Contributor

Yeah so what's actually happening here is that it's retrying over and over with increasing timeouts, because it's getting a 500 from the server. Probably:
a) we shouldn't retry on 500 errors
b) we should fix the 500 error - it should probably give a 400 instead
I will fix b) right away, a) will go out in the next release.

@baalgar
Copy link
Author

baalgar commented Mar 17, 2020

Thanks, I'll try that out. I temporarily bypassed that issue by actively parsing indicator types as they come in and then doing something like eval(IndicatorTypes.type)

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

2 participants