-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
We're using the Substrate Connect (SC) extension to speed up blockchain connections, but our app still loads slowly in production, often taking 10+ seconds.
- On localhost, the app connects in less than 5 seconds.
- On deployed instances, the connection speed is inconsistent and mostly slow, similar to not using SC at all.
- As a workaround, we tried using createScProvider directly, but no chain or parachain would connect with it, rendering app totally useless.
Steps to reproduce the issue
Steps to Reproduce the Issue
- Get to deployed instances
- App will take some time to load, as usual
- Install Substrate Connect extension (0.14.2).
- Run the app locally and observe the fast connection.
- Get to deployed instance.
- App may or may not load faster. Reload nornally or bypassing cache.
- Whenevber you reload, app's URL won't show up in SC addon UI, until it seems to get loaded.
Describe the results you received
- With SC extension installed:
- Localhost: Fast connection (<2s)
- Deployed instance: Mostly 10+ seconds, sometimes faster as expected, but it feels as though SC wasn't installed for the most part.
- With
createScProviderdirectly:- No connection at all (no chain or parachain connects)
Describe the results you expected
- With the SC extension installed, the app should consistently load faster both locally and when deployed.
- Using
createScProvidershould allow us to connect directly.
Substrate-Connect version
0.14.2 (latest release & GitHub tag)
Provider
Chrome
Browser version
Brave Version 1.76.74 Chromium: 134.0.6998.89 (Official Build) (64-bit)
Additional environment details
No response
Additional information
- Issue #2607 β Related to SC API not connecting.
- ReactiveDOT Issue #568 β Related issue.
Key Question:
Why does the app fail to load quickly in production despite the SC extension? Could this be an issue with how the extension interacts with deployed environments?
This keeps the focus on the slow loading issue, while mentioning the direct API attempt as a failed workaround. Let me know if you'd like further refinements! π
Screenshots
- Video of the issue: Watch here.
- Result of using the API directly
Would appreciate any insights or fixes! π
Metadata
Metadata
Assignees
Labels
No labels
