OAuth Redirect error

Our app must have three active installs in the other Hubspot account sources before we can submit it. In order to install in the test account, we first created a test account. However, when we tried to log in using the install url in the create app, the page took a long time to load and returned a 504 gateway error. Please offer your ideas so we can resolve this problem.