Skip to content

Abort when losing proxy connection #8753

@ss71651

Description

@ss71651

Hi,

I use a proxy for downloading from TikTok, occasionally it fails to connect to the proxy. Would it be possible to add an option that aborts the process when that happens? Otherwise it will get my ip blocked by half the websites if I don't use a proxy for TikTok.

After some time without proxy:

Unable to download webpage: Failed to perform, curl: (28) Connection timed out after 30005 milliseconds. See https://curl.se/libcurl/c/libcurl-errors.html first for more details. (caused by TransportError('Failed to perform, curl: (28) Connection timed out after 30005 milliseconds. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.'))

After some time with proxy:

Unable to download webpage: Failed to perform, curl: (28) Failed to connect to xxx.xxx.xxx.xxx port 59100 after 21044 ms: Could not connect to server. See https://curl.se/libcurl/c/libcurl-errors.html first for more details. (caused by TransportError('Failed to perform, curl: (28) Failed to connect to xxx.xxx.xxx.xxx port 59100 after 21044 ms: Could not connect to server. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.'))

Both lead to connection problems with many websites, as soon as I close the command line the connection problems stop.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions