Failed to create detector Request timeout after 30000ms Opensearch 3.3.0

Hello, I have the following problem:
When I try to create a detector in the Threat detectors subsection, I get the error: Failed to create detector: Request timeout after 30000.
Also, when creating a detector, the rules search takes a long time and the same error appears twice:
Failed to retrieve rules
Request timeout after 30000.