Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Security Alerts API - GET request to get supportedChains blocks the Send Flow until resolved #28255

Open
seaona opened this issue Nov 4, 2024 · 0 comments
Assignees
Labels
regression-RC-12.7.0 release-blocker This bug is blocking the next release Sev2-normal Normal severity; minor loss of service or inconvenience. team-confirmations Push issues to confirmations team type-bug

Comments

@seaona
Copy link
Contributor

seaona commented Nov 4, 2024

Describe the bug

Whenever we start a Send flow, there is a request send to the host security-alerts.api.cx.metamask.io to get the supportedChains. The problem is that the Send flow is blocked until this request is resolved (either success or failed).

Expected behavior

We shouldn't block the Send flow until this API request is resolved. If the API is slow, this impacts the overall user experience.
We might want to have an initial value for that array, so this is non blocking, and update it when we get the response?

Screenshots/Recordings

security-alerts-api-block.mp4

Steps to reproduce

  1. Use a proxy to intercept requests (ie Burpsuite)
  2. Start a Send flow
  3. Intercep the request to security-alerts.api.cx.metamask.io
  4. See send flow cannot be initiated until we have a response to this request

Error messages or log output

No response

Detection stage

During release testing

Version

12.7.0

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

@seaona seaona added type-bug Sev2-normal Normal severity; minor loss of service or inconvenience. team-confirmations Push issues to confirmations team regression-RC-12.7.0 labels Nov 4, 2024
@bschorchit bschorchit added the release-blocker This bug is blocking the next release label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-RC-12.7.0 release-blocker This bug is blocking the next release Sev2-normal Normal severity; minor loss of service or inconvenience. team-confirmations Push issues to confirmations team type-bug
Projects
Status: To be fixed
Status: To be fixed
Development

No branches or pull requests

3 participants