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

Smoldot has panicked while executing task connections #317

Closed
wirednkod opened this issue Mar 20, 2023 · 0 comments · Fixed by #318
Closed

Smoldot has panicked while executing task connections #317

wirednkod opened this issue Mar 20, 2023 · 0 comments · Fixed by #318

Comments

@wirednkod
Copy link
Contributor

wirednkod commented Mar 20, 2023

When trying to test this Substrate Connect issue with Astar, with Substrate Connect Extension (including Smoldot v.1.0) the following errors appear:

Smoldot has panicked while executing task `connections`. This is a bug in smoldot. Please open an issue at https://github.com/smol-dot/smoldot/issues with the following message:
panicked at 'assertion failed: request.len() <= max_size', /__w/smoldot/smoldot/lib/src/libp2p/connection/established/single_stream.rs:801:17

and

content.js:2 Uncaught Error: panicked at 'assertion failed: request.len() <= max_size', /__w/smoldot/smoldot/lib/src/libp2p/connection/established/single_stream.rs:801:17
    at Object.onWasmPanic (content.js:2:2943130)
    at Object.onPanic (content.js:2:2893904)
    at panic (content.js:2:2894242)
    at 0105409e:0xb137c
    at 0105409e:0x2a470d
    at 0105409e:0x2a3b5b
    at 0105409e:0x2a3ad2
    at 0105409e:0x2a41fb
    at 0105409e:0x2a9f28
    at 0105409e:0x2aa450

Replication steps:
1- Make sure latest Substrate Connect Extension is added in browser (v0.2.3);
2- Open https://staging.portal.astar.network/astar/dashboard and open up the console;
3- Connect to a wallet (top right) and switch to light client;

(p.s. I know there is a //TODO there - just mentioning a case that this is actually happening and a replication method)

image

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

Successfully merging a pull request may close this issue.

1 participant