PageSpeed Insights and Search Console return 502 when blocking countries

On two of our client’s websites we are restricting unwanted access from several countries. This causes PageSpeed Insights and Search Console to return a 502, making it impossible to run a web test and to verify the ownership in Search Console (no matter the method). The websites only allow traffic from European, Australian/NZ and North American countries and when we removed the restrictions for testing purposes, PageSpeed Insights worked just fine. However, the access logs for Lighthouse returned an American IP address – and we allow traffic from the US. Would anyone know which countries we’d have to remove from the excluded ones to fix this?

Thanks in advance.