-
Notifications
You must be signed in to change notification settings - Fork 167
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 raised on search #173
Comments
ExplanationHi. This is happening because in the pip version of the package ( SolutionYou have two options
No matter what solution you decide to go with, make sure to increase the request timeout by setting |
I second this issue. Whatever parameters for retries or timeout I set, I did not manage to get one successful result.
|
@artjoms-formulevics from the code you provided it seems that you're using the pip version which has no parameter for retries. The pip version is really dependant on successful results from Genius, but timeouts and other errors are bound to happen and this version won't handle them. I recommend upgrading to the latest version ( |
@allerter, thanks for staying on top of these issues. I've had a busy few weeks but am hoping to get to your PRs and updating the PyPI package soon. I think the PyPI version is 2.0.2, and the latest version in our repo is also 2.0.2, meaning PyPI is preventing me from uploading a version with the same package number, even though the code has been updated. |
@johnwmillr, glad to be of help. I was thinking maybe we should just bump to 3.0 after finishing #109 and #171. |
Let's keep this open untill the release of v3.0 in case other people face this issue as well. |
Describe the bug
Timeouts are being raised when trying to search artists, making it impossible to use the package, sometimes it works sometimes it doesn't, maybe timeout time should be increased?
Expected behavior
It should find the artist via genius API, return a valid object without errors
To Reproduce
Version info
Additional context
The text was updated successfully, but these errors were encountered: