Credential validation was not successful: Timed out stalled task

Hi, I am creating providers but getting error as “Credential validation was not successful: Timed out stalled task.”. Also, in evm logs the same error is displayed. My openstack environement is working fine and also I have disabled firewall on both the environment. I tried creating both cloud and infrastructure provider but ended in getting the same error. Have anybody found or encountered such scenario??
Please find the image for reference.

This worked for me on GCP timeout
modify /var/www/miq/vmdb/app/models/mixins/verify_credentials_mixin.rb
and override the task timeout.

task_id = MiqTask.generic_action_with_callback(task_opts, queue_opts)
task = MiqTask.wait_for_taskid(task_id, :timeout => 300 ) ##jst from 30 to 300