didi / didi/AgileTC

打开一个内容很大的脑图,前端提示“连接异常,请刷新重试”

Open
#117 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
727
Forks
284
PR merge metrics
No merged PRs in 30d

Description

后端case-server日志:
![lALPD26eQKRGN2HMkM0HFQ_1813_144](https://user-images.githubusercontent.com/25030068/131495810-aec2178b-aa7f-494f-91fb-698b6076bf21.png)
前端network信息:
![1630409270633_99715650-2359-485c-9818-204587E56B17](https://user-images.githubusercontent.com/25030068/131495904-dd6ae9c5-1a30-403a-a25c-9a438190170f.png)
前端console信息:
![1630409286954_250C513D-F5C7-4bb7-9F2A-BB229122CD30](https://user-images.githubusercontent.com/25030068/131495981-88fa3dc5-933a-44b4-abcc-c6540f5e6f29.png)

从后端日志来看,是挺正常的,用户建立连接后,将脑图的json发到前端,但后端日志显示发送脑图json完成后,前端的network是没有看到接受到该message的(可能是前端处理中或者接受中),直到前端提示异常,network才看到脑图json的message,后端日志显示连接被关闭。前端console显示错误信息。

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem by opening a very large mind map, then inspect the case-server logs alongside the frontend Network and Console information mentioned in the issue. Done means the mind map JSON is received and displayed without the frontend reporting a connection error or the server connection closing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend-api-design, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.