cycurl icon indicating copy to clipboard operation
cycurl copied to clipboard

OverflowError: Python int too large to convert to C int

Open invoke888 opened this issue 3 months ago • 1 comments

Traceback (most recent call last): File "/root/python//myenv/lib64/python3.9/site-packages/cycurl/requests/websockets.py", line 537, in run_forever chunk, frame = self.recv_fragment() File "/root/python//myenv/lib64/python3.9/site-packages/cycurl/requests/websockets.py", line 365, in recv_fragment chunk, frame = self.curl.ws_recv() File "cycurl/_curl.pyx", line 295, in cycurl._curl.Curl.ws_recv File "cycurl/_curl.pyx", line 316, in cycurl._curl.Curl.ws_recv File "cycurl/_curl.pyx", line 385, in cycurl._curl.Curl._check_error cycurl._curl.CurlError: Failed to WS_RECV, curl: (81) . See https://curl.se/libcurl/c/libcurl-errors.html first for more details.

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/python//.py", line 45, in asyncio.run(test_cycurl()) File "/usr/lib64/python3.9/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/usr/lib64/python3.9/asyncio/base_events.py", line 647, in run_until_complete return future.result() File "/root/python//.py", line 44, in test_cycurl ws.run_forever(url,headers=headers,impersonate='chrome') File "/root/python/*/myenv/lib64/python3.9/site-packages/cycurl/requests/websockets.py", line 571, in run_forever _, _, _ = select([sock_fd], [], [], 0.5) OverflowError: Python int too large to convert to C int

invoke888 avatar Oct 14 '25 21:10 invoke888

Amazing. Can you provide a minimal example to reproduce this?

synodriver avatar Oct 21 '25 10:10 synodriver