Skip to content

connection timeout #41

@sprootik

Description

@sprootik

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.

Activity

chkp-edenbr

chkp-edenbr commented on Mar 24, 2022

@chkp-edenbr
Contributor

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

sprootik

sprootik commented on Mar 28, 2022

@sprootik
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sprootik@chkp-edenbr

        Issue actions

          connection timeout · Issue #41 · CheckPointSW/cp_mgmt_api_python_sdk