Legacy Dev Forum Posts

 View Only

Sign Up

Set connection timeout in platform SDK

  • 1.  Set connection timeout in platform SDK

    Posted 06-05-2025 18:25

    Atsushi.Y | 2023-02-22 05:02:16 UTC | #1

    There are the following methods for setting the connection timeout.

    ApiClient.Builder methods

    withConnectionTimeout(int connectionTimeout)

    ・Is the unit of the argument of this method seconds? Is it in milliseconds?

    ・Is this method a timeout value for sending a connection request to GenesysCloud and receiving a response that the connection was established? Or is it the timeout value after the connection to GenesysCloud is completed, the API request is sent, and the response is returned?

    Regards, Atsushi


    jacobshaw | 2023-02-28 06:48:18 UTC | #2

    Hi @Atsushi.Y

    The timeout unit is milliseconds.

    Atsushi.Y, post:1, topic:18516
    ・Is this method a timeout value for sending a connection request to GenesysCloud and receiving a response that the connection was established? Or is it the timeout value after the connection to GenesysCloud is completed, the API request is sent, and the response is returned?

    The value is applied to the timeout of a connection request to the connection manager, the timeout until a connection is established, and the max inactivity time between data packets.


    Atsushi.Y | 2023-02-28 06:48:17 UTC | #3

    Hi jacobshaw

    Thank you for your detailed explanation.

    Regards, Atsushi


    John_Carnell | 2023-02-28 16:24:05 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 18516