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
Traceback (most recent call last):
File "/Users/mmomeni/Library/Caches/pypoetry/virtualenvs/syncedlyrics-oRcQejbK-py3.9/lib/python3.9/site-packages/curl_cffi/requests/session.py", line 843, in request
c.perform()
File "/Users/mmomeni/Library/Caches/pypoetry/virtualenvs/syncedlyrics-oRcQejbK-py3.9/lib/python3.9/site-packages/curl_cffi/curl.py", line 291, in perform
self._check_error(ret, "perform")
File "/Users/mmomeni/Library/Caches/pypoetry/virtualenvs/syncedlyrics-oRcQejbK-py3.9/lib/python3.9/site-packages/curl_cffi/curl.py", line 134, in _check_error
raise error
curl_cffi.curl.CurlError: Failed to perform, curl: (55) Recv failure: Connection reset by peer. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/mmomeni/Documents/Github/syncedlyrics/syncedlyrics/cli.py", line 45, in cli_handler
lrc = search(
File "/Users/mmomeni/Documents/Github/syncedlyrics/syncedlyrics/__init__.py", line 60, in search
_l = provider.get_lrc(search_term)
File "/Users/mmomeni/Documents/Github/syncedlyrics/syncedlyrics/providers/genius.py", line 26, in get_lrc
soup = generate_bs4_soup(self.session, url)
File "/Users/mmomeni/Documents/Github/syncedlyrics/syncedlyrics/utils.py", line 33, in generate_bs4_soup
r = session.get(url)
File "/Users/mmomeni/Library/Caches/pypoetry/virtualenvs/syncedlyrics-oRcQejbK-py3.9/lib/python3.9/site-packages/curl_cffi/requests/session.py", line 847, in request
raise RequestsError(str(e), e.code, rsp) from e
curl_cffi.requests.errors.RequestsError: Failed to perform, curl: (55) Recv failure: Connection reset by peer. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.
When I am writing Genius as:
I get this error when running tests:
When I change
to
it just works.
I would like to replace
cffi_curl
byrequests
again since it also did not have a problem with Deezer.The text was updated successfully, but these errors were encountered: