lexiforest / curl_cffi

Python binding for curl-impersonate fork via cffi. A http client that can impersonate browser tls/ja3/http2 fingerprints.
https://curl-cffi.readthedocs.io/
MIT License
2.54k stars 269 forks source link

Failed to perform, ErrCode: 92, Reason: 'HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)' #287

Closed user-pppp closed 8 months ago

user-pppp commented 8 months ago

Failed to perform, ErrCode: 92, Reason: 'HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)' Traceback (most recent call last): File "/usr/local/lib64/python3.9/site-packages/curl_cffi/requests/session.py", line 391, in request c.perform() File "/usr/local/lib64/python3.9/site-packages/curl_cffi/curl.py", line 187, in perform self._check_error(ret, action="perform") File "/usr/local/lib64/python3.9/site-packages/curl_cffi/curl.py", line 80, in _check_error raise error curl_cffi.curl.CurlError: Failed to perform, ErrCode: 92, Reason: 'HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/python/worker/LFBeeworker3/tools/s6eweb_flights_cache_builder.py", line 294, in creat_token response = session.post( File "/usr/local/lib64/python3.9/site-packages/curl_cffi/requests/session.py", line 393, in request raise RequestsError(e) curl_cffi.requests.errors.RequestsError: Failed to perform, ErrCode: 92, Reason: 'HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)'

pip3 show curl_cffi Name: curl-cffi Version: 0.5.2

perklet commented 8 months ago

Duplicate of #165

user-pppp commented 8 months ago

感谢