Skip to content

Conversation

@d0lb33
Copy link

@d0lb33 d0lb33 commented Feb 25, 2022

I've been having issues lately with shodan.count with the python client.
It seems to hang at this get request. I went ahead and gave the get request a timeout of 1, while allowing retries up to five times.
This works for me, if there is a better way please feel free to let me know!

Most of the time, it simply needs one retry. I played with the timeout time, and anything above1 takes way to long, 1 seemed to be the best.

I've been having issues lately with shodan.count with the python client.
It seems to hang at this get request. I went ahead and gave the get request a timeout of 1, while allowing retries up to five times.
This works for me, if there is a better way please feel free to let me know!

Most of the time, it simply needs one retry. I played with the timeout time, and anything above1 takes way to long, 1 seemed to be the best.
@d0lb33
Copy link
Author

d0lb33 commented Feb 25, 2022

Fixes #167

@d0lb33
Copy link
Author

d0lb33 commented Feb 25, 2022

I should note this is after consecutively running a program I am writing that calls this count method.

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

Successfully merging this pull request may close these issues.

1 participant