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

跑本地测试节点,websocket接口连接不上 #536

Closed
tt-nb opened this issue Mar 16, 2021 · 2 comments
Closed

跑本地测试节点,websocket接口连接不上 #536

tt-nb opened this issue Mar 16, 2021 · 2 comments

Comments

@tt-nb
Copy link

tt-nb commented Mar 16, 2021

2021-03-16 09:07:18 ✨ Imported #87 (0x59cc…be1e)
2021-03-16 09:07:20 💤 Idle (1 peers), best: #87 (0x59cc…be1e), finalized #84 (0x6e78…aec4), ⬇ 0.3kiB/s ⬆ 0.2kiB/s
2021-03-16 09:07:24 🙌 Starting consensus session on top of parent 0x59cc2de60ac75b0585604afa03370df7c12a9dcbd206257657060a8a3c0abe1e
2021-03-16 09:07:24 🎁 Prepared block for proposing at 88 [hash: 0x6d10b30105b74d22579abdd906227a6c0db2e2de124f0c2856986c7f6d51e2bb; parent_hash: 0x59cc…be1e; extrinsics (1): [0x3b6b…1ab0]]
2021-03-16 09:07:24 🔖 Pre-sealed block for proposal at 88. Hash now 0x2c21ebe9fe5da617897b92fc44299a8d60ad95407006b405016db7a7ca656319, previously 0x6d10b30105b74d22579abdd906227a6c0db2e2de124f0c2856986c7f6d51e2bb.
2021-03-16 09:07:24 ✨ Imported #88 (0x2c21…6319)
2021-03-16 09:07:25 💤 Idle (1 peers), best: #88 (0x2c21…6319), finalized #85 (0x3c60…0bd5), ⬇ 0.3kiB/s ⬆ 0.4kiB/s
2021-03-16 09:07:26 Accepted a new tcp connection from 127.0.0.1:43446.
2021-03-16 09:07:26 Blocked connection to WebSockets server from untrusted origin: Some("https://apps.crust.network")

2021-03-16 09:07:27 Accepted a new tcp connection from 127.0.0.1:43448.
2021-03-16 09:07:27 Blocked connection to WebSockets server from untrusted origin: Some("https://apps.crust.network")
2021-03-16 09:07:28 Accepted a new tcp connection from 127.0.0.1:43450.
2021-03-16 09:07:28 Blocked connection to WebSockets server from untrusted origin: Some("https://apps.crust.network")
2021-03-16 09:07:29 Accepted a new tcp connection from 127.0.0.1:43452.
2021-03-16 09:07:29 Blocked connection to WebSockets server from untrusted origin: Some("https://apps.crust.network")
2021-03-16 09:07:30 🙌 Starting consensus session on top of parent 0x2c21ebe9fe5da617897b92fc44299a8d60ad95407006b405016db7a7ca656319
2021-03-16 09:07:30 ✨ Imported #89 (0x68ea…9d2a)
2021-03-16 09:07:30 🎁 Prepared block for proposing at 89 [hash: 0x7826cf01a8abf5dcaec6bc48de08e45a9b9338fa37c294309f9812c41ff3ca2d; parent_hash: 0x2c21…6319; extrinsics (1): [0x112a…e0fa]]
2021-03-16 09:07:30 🔖 Pre-sealed block for proposal at 89. Hash now 0x912719d7c470b94d3a6df9c711d450bb08371c625306795fc35ced44da4ac232, previously 0x7826cf01a8abf5dcaec6bc48de08e45a9b9338fa37c294309f9812c41ff3ca2d.
2021-03-16 09:07:30 ♻️ Reorg on #89,0x68ea…9d2a to #89,0x9127…c232, common ancestor #88,0x2c21…6319

因为没有本地部署的相对详细的文档,不知道是否是我理解有错误

@mmyyrroonn
Copy link
Member

https的域名只能连wss的链,你本地起来的local链的websocket地址不是wss的。你可以选择起一个dev链或者你要本地启动一个apps的前端

@mmyyrroonn
Copy link
Member

close it since it should be solved already.

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