Skip to content

Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. #434

@icculp

Description

@icculp

Describe the bug
Wallet balances showing zero for US customers. Console logs the following error: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

To Reproduce
Steps to reproduce the behavior:
Log into the wallet from US, see the error in the console

Expected behavior
Wallet balance reflects current state of the chain at all times, no matter what.

Screenshots
image

Access to XMLHttpRequest at 'https://mainnet.gateway.pokt.network/v1/lb/60a2ac11b1747c6552385c61/v1/query/node' from origin 'https://wallet.pokt.network' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Desktop (please complete the following information):
Multiple clients have reported this issue, but I have confirmed using chrome on windows, vpn connects to dallas.

Additional context
It is alarming for anyone interacting with this ecosystem to log into their wallet and see their funds missing and the account unstaked, or so it may appear to them at first... It is my hope that whatever bug caused it this time, or last, or the time before that maybe we can find a way to ensure changes are caught in real time, before users freak out and tell us about it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions