alibaba / alibaba/lowcode-engine

注入本地物料调试,websocket报错

Open
#3,081 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

在编辑器项目中,注入本地物料进行调试。当**本地**物料发生更新 > 保存时,**在线**编辑器与本地物料服务间的 websocket 连接失败。

- 如果物料和编辑器项目**都在本地**,websocket 能正常连接。

- 但如果**物料在本地,编辑器项目在线**,当调试物料发生变更时,会报 WebSocket Connection to 'ws://xxxx.com:3333/socket-node' 错误,导致在线编辑器无法得知物料已更新。请问有什么解决方法吗?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the local-material/online-editor setup described in the report and inspect the WebSocket connection to ws://xxxx.com:3333/socket-node in browser logs. Compare it with the all-local case, then document or fix the connection failure so the online editor receives local material updates.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.