504 is a server timeout - and the dialog box effectively says the index [and therefore the asset] cannot be installed - one, of course, may be causing the other - it could be something else such as a simple network delay, or a corruption from the previous install
I would wait a while and see if it resolves itself server-side - make sure your computer is shut down and then cold booted up again
Bookmarks