Api error 504

GET /api/v4/zones/e047623bed409dca6dd5b6dbc8f19c10/speed_testing?host=gatistwam.com (504)

Getting this type of error when i click on speed tab
My site is live but the image is not load properly after activate cloudfare ssl