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

instantiation failed: unknown import when linking module: "rustls_client" , function name: "new_codec" #18

Open
holmes89 opened this issue Sep 6, 2023 · 1 comment

Comments

@holmes89
Copy link

holmes89 commented Sep 6, 2023

I was trying to follow this demo for a personal usecase and was running into an error. I then copied the HTTPs example line for line and I'm getting the following stack when running the WASM file:

[2023-09-06 15:23:47.397] [error] instantiation failed: unknown import, Code: 0x62
[2023-09-06 15:23:47.397] [error]     When linking module: "rustls_client" , function name: "new_codec"
[2023-09-06 15:23:47.397] [error]     At AST node: import description
[2023-09-06 15:23:47.397] [error]     At AST node: import section
[2023-09-06 15:23:47.397] [error]     At AST node: module

Not sure what the issue is here. I'm running this on a Github Codespace with the following system information:

uname -a
Linux codespaces-61c5b6 5.15.0-1041-azure #48-Ubuntu SMP Tue Jun 20 20:34:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
@apepkuss
Copy link

I ran into the same issue. You can follow the instructions in the TLS plugin section to deploy the TLS plugin. After that, the issue should be solved.

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

2 participants