Privacera Platform master publication

Increase Privacera portal timeout for large requests
:

If you have a large number of users, groups, roles, or another defined in Privacera, the portal may timeout while retrieving the data. You can increase the request timeout to ensure that these requests do not timeout.

Prerequisites

  • You are logged in to the machine where you have Privacera Manager installed

Procedure

  1. In a terminal, enter the ~/privacera/privacera-manager directory.

  2. Add the following variables to the config/custom-properties/portal-custom.properties file:

    • hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: Specifies the length of time in milliseconds that a thread may run.

    • ribbon.ConnectTimeout: Specifies the TCP connection timeout in milliseconds.

    • ribbon.ReadTimeout: Specifies the HTTP response timeout in milliseconds.

    • zuul.host.connect-timeout-millis: Specifies the TCP connection timeout in milliseconds.

    • zuul.host.socket-timeout-millis: Specifies the TCP socket timeout in milliseconds.

    For example:

    hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=300000
    ribbon.ConnectTimeout=60000
    ribbon.ReadTimeout=300000
    zuul.host.connect-timeout-millis=60000
    zuul.host.socket-timeout-millis=300000
  3. Invoke Privacera Manager to apply the update:

    ./privacera-manager.sh update