The reality is that many employers and recruiters discriminate, either consciously or sub-consciously. It may not be racial discrimination, but it may be discrimination on the basis of
where you gained your qualifications and experience (there is a subtle difference).
I suspect this is particularly common with
HR because every country has different employment law and industrial relations systems, so if there are applicants with local
HR experience and/or qualifications, they will often be favoured (rightly or wrongly) over people with qualifications and experience in foreign countries.
Age discrimination is also very common and companies are often reluctant to employ people in junior positions when they have held more senior positions previously.
I'm sorry to say there is no easy way around this, you just have to persevere until you get a break. However, it may be worth seeking the help of a good career counsellor to make sure your resume and covers letters are as good as they can possibly be.