Filebeat Setup error: error loading index pattern: returned 408 to import file

Hi
I'm currently using a 14-day free trial of elastic cloud.
I was trying to get my local apache logs shipped to the hosted elastic cluster.
So I decided to setup a Filebeat on my local machine ( Mac OS Catalina) according to the steps described in the apache logs tutorial at:

<kibana url>/app/home#/tutorial/apacheLogs

When I run ./filebeat setup, it throws this error:

./filebeat setup
Index setup finished.
Loading dashboards (Kibana must be running and reachable)
Exiting: 1 error: error loading index pattern: returned 408 to import file: <nil>. Response: {"statusCode":408,"error":"Request Time-out","message":"Request Time-out"}

The hosted kibana dashboard url is accessible from my local machine.
Any ideas on what am I doing wrong?

Thanks
Jaydeep

It's definitely not an issue with Beats or Kibana code. I suspect it's related with your cluster setup. Is there any proxy server between both ends that may cut the stream due to a timeout? Loading dashboards into Kibana is a quite long operation.

Thanks @mtojek for your prompt response.
There is no proxy server between my local machine and the elastic cloud cluster.