Failed API call /zones?name=DOMAIN.COM; got unexpected HTTP code -1



I am using ansible module cloudflare_dns to access cloudflare API. Previously it was working fine but now I am getting error “Failed API call /zones?name=DOMAIN.COM; got unexpected HTTP code -1” every now and then after few request. Can someone point me in the right direction what is the actual problem?


I am reproducing this issue; standard usage of the cloudflare_dns Ansible module, all of my Python libraries are up to date.


I had also created a support ticket. I will update when they will reply.