Closed xuhcc closed 4 years ago
Describe the bug
Metamask can't connect to a locally hosted plugin in Firefox:
MetaMask - RPC Error: Problem loading plugin http://localhost:8081/package.json: NetworkError when attempting to fetch resource. {…} code: -32603 data: Object { originalError: {} } message: "Problem loading plugin http://localhost:8081/package.json: NetworkError when attempting to fetch resource." stack: "_add@moz-extension://c34e7a7b-b3cb-40de-98b9-058c052ca5d2/background.js:1:51840\n" <prototype>: Object { … }
To Reproduce
develop
Expected behavior
Metamask should connect to a plugin.
Browser details (please complete the following information):
Additional context
I solved it by adding http://localhost/* to the manifest.json:permissions array.
http://localhost/*
manifest.json:permissions
@xuhcc, thank you for bringing this to our attention. We're deploying a fix here: https://github.com/MetaMask/metamask-snaps-beta/pull/109
Describe the bug
Metamask can't connect to a locally hosted plugin in Firefox:
To Reproduce
develop
branch.Expected behavior
Metamask should connect to a plugin.
Browser details (please complete the following information):
Additional context
I solved it by adding
http://localhost/*
to themanifest.json:permissions
array.