Ads.txt is not working

I had added the ads.txt content in Ad Plugin but the page mysite/ads.txt is not opening.
I am getting the Adsense alert due to not having ads.txt page.
Please help to resolve the matter.