Open aditya9729 opened 3 months ago
Hi @aditya9729!
It looks to me like the issue could be related to https://github.com/MetaMask/snaps/issues/2324. Are you testing Masca on localhost
? One of the solutions to this specific problem is using ngrok temporarily until the MM team has fixed this.
Additionally as of today the latest connector shouldn't have been causing any more problems so you can update the masca-connector
to v1.3.2
.
Describe the bug
We are using masca connector version 1.1.0 in our dapp. In Chrome, we see that when we enableMasca and try to query a particular credentialSubject Type or even query all credentials, queryCredentials promise doesn't resolve and gives us an error : {success:False, error:'Object[object]'}, its not very clear what's the error. Note we are behind corporate VPN and have seen that disabling usage of ceramic credential store doesn't help.
Code below: ` const enableResult = await enableMasca(address, { snapId: 'npm:@blockchain-lab-um/masca', version: '1.1.0', supportedMethods: ['did:key'] } );
`
To Reproduce
Expected behavior
Maybe its because of packet filtering, when we are behind the VPN, what version of masca connector should we use? What addresses should we whitelist such that we don't see metamask RPC timeout errors or even promise resolution errors?