Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Fetching Web3 init on main thread #10

@rstormsf

Description

@rstormsf

If I try to get Web3 object not using Redux store, it works perfectly fine and I don't get any errors:
if I use it with 'https://ropsten.infura.io/metamask'
I cannot initialize it, I get errors, 405 POST , Invalid JSON rpc response
I assume it has something to do with the way web3 is being fetched.
I guess Redux store is trying to use it on main thread and for some reason is not ok to do this way.
httpprovider.js:61 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated

The same thing happens when I just run this repo with metamask.
It breaks initialization of web3.

Error: Invalid JSON RPC response: {"id":1,"jsonrpc":"2.0"} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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