cp_mgmt_api_python_sdk icon indicating copy to clipboard operation
cp_mgmt_api_python_sdk copied to clipboard

connection timeout

Open sprootik opened this issue 3 years ago • 2 comments

Hello. How can I set the connection timeout? I don't see such a setting. The connection hangs if the api server is not available.

sprootik avatar Mar 24 '22 12:03 sprootik

Hi,

You can add to the payload parameter of the login functions the mapping of "session-timeout" to your required timeout value (in seconds).

Regards, Eden

chkp-edenbr avatar Mar 24 '22 14:03 chkp-edenbr

Thank you for answer. But i mean tcp connection timeout. In the sense when it is impossible to establish a tcp connection.

sprootik avatar Mar 28 '22 07:03 sprootik