How to increase timeout duration for Remote_file resource?

Ohai Chef

I am trying to download around 500 MB file using remote_file resource but due to network latency, the package is not getting downloaded and I get timeout error.
Is there a way by which I can increase the timeout of remote_file resource to one hour?
What is the default timeout of remote_file resource?

Regards
Manish Mehra

I don’t believe there is a timeout on the client side. Searching the remote_file resource and also common functionality does not show a timeout.

It is possible that the server is closing the connection. Do you control the server?

remote_file source