snaps icon indicating copy to clipboard operation
snaps copied to clipboard

`The Snaps execution environment failed to start` error appears after any RPC call in the most recent Chrome versions

Open ihordiachenko opened this issue 1 year ago • 6 comments

Hi, team! RariMe snap has stopped working in the latest Google Chrome versions, with any RPC calls returning an error message The Snaps execution environment failed to start. The snap hadn't been changed for a few months before the issue was first reported, and it still works fine in Firefox. We couldn't locate any issues on our side. Could you take a look?

Steps to reproduce:

  1. Install the latest Google Chrome version and MM
  2. Go to https://robotornot.mainnet-beta.rarimo.com/
  3. Install RariMe snap
  4. Press Create profile
  5. Get verified using Civic captcha
  6. Get the verifiable credential
  7. Hit "Generate Proof"
  8. RPC call gets stuck indefinitely, no errors in the browser console or the network tab
  9. Reload page
  10. Any RPC call to snap or snap installation returns this error: photo1718899661

The issue is reproducible in: Chrome Version 126.0.6478.61 (Official Build) (arm64) MetaMask versions: 11.16.12, 11.16.10-flask.0

ihordiachenko avatar Jun 25 '24 14:06 ihordiachenko

Added a few missing steps to reproduce

ihordiachenko avatar Jun 26 '24 15:06 ihordiachenko

Having the same issue. Also began with recent chrome updates.

seniorjoinu avatar Jul 30 '24 08:07 seniorjoinu

@seniorjoinu we've mitigated this issue by splitting all files over 65MB into smaller chunks and glueing them back in the runtime. Hope it helps you

ihordiachenko avatar Jul 30 '24 09:07 ihordiachenko

@ihordiachenko

@seniorjoinu we've mitigated this issue by splitting all files over 65MB into smaller chunks and glueing them back in the runtime. Hope it helps you

Thanks for the advice! But it seems unrelated, since our bundle is 1.2MB total

seniorjoinu avatar Jul 31 '24 08:07 seniorjoinu

@seniorjoinu which version of MetaMask or Flask are you on?

Montoya avatar Jul 31 '24 14:07 Montoya

@Montoya 11.16.16 regular orange MetaMask

seniorjoinu avatar Aug 05 '24 15:08 seniorjoinu

This was a symptom of the bundle size being too large, this will now result in an error following https://github.com/MetaMask/snaps/pull/2527

FrederikBolding avatar Aug 29 '24 14:08 FrederikBolding