Smush not working in internal server

The images are appearing in the media library, though when manually smushing images from the media library, the scan is showing smushing in progress without completing it.

In Media WP Smush the plugin doesn't detect any images

Images are hosted at the Amazon S3 and Offload S3 option is enabled