Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : WebAssembly.instantiate(): expected magic word #2428

Open
dlwlrma00 opened this issue Jun 1, 2022 · 2 comments
Open

Error : WebAssembly.instantiate(): expected magic word #2428

dlwlrma00 opened this issue Jun 1, 2022 · 2 comments

Comments

@dlwlrma00
Copy link

Does someone experience this error when enabling E2E ?

CompileError: WebAssembly.instantiate(): expected magic word 00 61 73 6d, found 3c 21 44 4f @+0

Client parameters :
const client = sdk.createClient({ baseUrl: "https://awsmatrixx.ml", accessToken: UserData.loginData.access_token, deviceId : UserData.loginData.device_id, userId : UserData.loginData.user_id, timelineSupport: true, sessionStore: new sdk.WebStorageSessionStore(window.localStorage), cryptoStore: new sdk.MemoryCryptoStore() });

And start client by this :
client .initCrypto() .then(async () => await client.startClient({ initialSyncLimit: 1 })) .catch((err) => { console.error('err', err); });

@t3chguy
Copy link
Member

t3chguy commented Jun 1, 2022

@dlwlrma00 WebAssembly/spec#1031 that looks to be an issue with the way the files are hosted

@Dan86de
Copy link

Dan86de commented Jun 27, 2022

Have same issue when trying to activate E2E in matrix client in cra. Anyone found solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants