Client Portal unable to view or download PDF, spinning red-black circle

Since no real solution has been proposed since the start of this thread, I worked around the problem by migrating to a subdomain, following these steps: Data migration to another server - #6 by Gerasimos