MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.84k stars 4.83k forks source link

Developer Version of MM with support for Plugins works on Brave, but not Chrome. #7393

Closed crazyrabbitLTC closed 3 years ago

crazyrabbitLTC commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

I am working through the setup for MetaMask Snaps: https://github.com/MetaMask/metamask-snaps-beta/wiki

Once I have followed all the instructions and gotten to the point where I can finally test the Snap by clicking "Connect" in the hello-snaps example, I receive an error on Chrome:

"Error: Problem loading plugin http://localhost:8081/package.json: Failed to fetch at t.exports._add (chrome-extension://ahmmkdkgafgiekpghibhoijklffjdppi/background.js:1:51836)"

However when using Brave Browser and following the same steps (actually when trying brave browser at the same time- I am not doing two seperate setups which might leave room for an error), Brave performs as expect. I am able to connect to the plugin and test it.

To Reproduce Steps to reproduce the behavior:

I tested the setup instructions against Brave and Chrome.

Expected behavior A clear description of what you expected to happen.

I would expect Chrome to function the same as Brave, and to work.

Screenshots If applicable, add screenshots to help explain your problem. Screen Shot 2019-11-12 at 2 43 02 PM

Browser details (please complete the following information):

MetaMask 7.2.1 ID: ahmmkdkgafgiekpghibhoijklffjdppi From: https://github.com/MetaMask/metamask-snaps-beta Commit: 6c27672

Brave Version:Version 0.68.132 Chromium: 76.0.3809.132 (Official Build) (64-bit)

Chrome: Version 78.0.3904.97 (Official Build) (64-bit) Additional context Add any other context about the problem here.

crazyrabbitLTC commented 4 years ago

Adding Logs:

metamask Logs: https://gist.github.com/crazyrabbitLTC/62cd74868efd0f5e6f79826afd45923d

Gudahtt commented 3 years ago

Thanks for the report!

If you're still experiencing this issue, please report it on the snaps repo instead: https://github.com/MetaMask/metamask-snaps-beta. We're tracking snaps-specific bugs there at the moment.