private void handleProxyConnectionError(Throwable error) {
        log.warn("Can't connect to origin: {}", error.getMessage());
        respond(HttpStatus.BAD_GATEWAY, "connection error to origin");
    }
Called when proxy failed to connect to the origin.
server/src/main/java/com/epam/aidial/core/server/controller/DeploymentFeatureController.java