Skip to content

bug: Error: could not detect network (event="noNetwork", code=NETWORK_ERROR #1133

@soccerarenadev

Description

@soccerarenadev

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

0.7.5

Current Behavior

I'm constantly getting this error:

Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.1)

image

I have alchemyProvider as my first provider.
Changing back to the default API doesn't change anything, but removing from providers does.

However, I have also infuraProvider. But unless I remove alchemyProvider, it doesn't fallback to infureProvider.

Expected Behavior

Fallback to other providers if the first provider fails.

Steps To Reproduce

No response

Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions