pyupio / safety

Safety checks Python dependencies for known security vulnerabilities and suggests the proper remediations for vulnerabilities detected.
https://safetycli.com/product/safety-cli
MIT License
1.66k stars 141 forks source link

Document timeouts and make them configurable #487

Open Zeckie opened 6 months ago

Zeckie commented 6 months ago

Description

Running safety check often results in the error Check your network connection, the request timed out.. It isn't clear from the output what is timing out (eg was it while establishing the connection, or waiting for a response), how long it waited before timing out, what resource it was fetching, or even what server it was connecting to.

Also, is there a way to increase the timeout (seems to be hard coded here to 5 seconds)? I tried searching for timeout in the documentation, but there were no results.