Hi @venky thanks for reporting,
this issue is already covered on Skipping Galaxy server https://galaxy.ansible.com/api/
You need to be using ansible-core >=2.13.9 to be able to download content from the new galaxy,
The https://old-galaxy.ansible.com is still available for users who need to point to that server until able to upgrade.