Skip to content

Readiness Check - AngularJS cancels requests, fails check #1640

Closed
@frehner

Description

@frehner

I'm running Magento2 through Docker right now, and I'm not on a very powerful machine which means that requests take about 1 second or so to process. The problem I'm having is that the readiness check's AngularJS code appears to cancel requests after 3 seconds, which causes the checks to fail for me for the most part.

Occasionally one or a couple of the readiness checks processes in time and I pass that particular check, but the others didn't process in time so overall my server fails the readiness check. I'm stuck on the readiness check page even though all the checks do actually pass if the server responds in time.

I can see a couple of solutions to this.

  1. Give the option or show where we can change the AngularJS timeout, so it can be longer.
  2. Give the option to run checks individually instead of sending all the requests at the same time.
  3. Make the "Try Again" button check only the ones that have failed, instead of checking all of them at the same time.

This isn't a big deal, since Magento2 in a production environment wouldn't be on this constrained of a machine, but it does make it so that I can't test and prototype on my local machine.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions