LeekHub / leek-fund

:chart_with_upwards_trend: 韭菜盒子——VSCode 里也可以看股票 & 基金实时数据,做最好用的投资插件 🐥
http://leek.fund
BSD 3-Clause "New" or "Revised" License
2.94k stars 422 forks source link

运行五六分钟后会卡住不更新界面 #440

Closed jgs555 closed 2 months ago

jgs555 commented 4 months ago

V3.7.1版本或者前一个版本都试过了,5月13号开始,打开vscode后,运行大约5分钟后,所有数据面板会卡住不更新,但是点到扩展管理后,底部的当日盈利情况就会更新,切到其它标签就不会更新了。A Stock里一直卡着不动,退出vscode再进后也是会在五六分钟后卡住。重新卸载安装后还是不行。

jgs555 commented 4 months ago

image 打开的时候窗口输出: 2024-05-14 13:31:25.109 [info] Started local extension host with pid 79640. 2024-05-14 13:31:25.275 [warning] [redhat.java]: 无法注册“redhat.telemetry.enabled”。此属性已注册。 2024-05-14 13:31:29.588 [info] [perf] Render performance baseline is 153ms 2024-05-14 13:31:40.012 [error] [Extension Host] Error: Request failed with status code 404 at createError (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\core\createError.js:16:15) at settle (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\adapters\http.js:236:11) at IncomingMessage.emit (node:events:529:35) at IncomingMessage.emit (node:domain:489:12) at endReadableNT (node:internal/streams/readable:1368:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-05-14 13:31:40.253 [error] [Extension Host] Error: Request failed with status code 404 at createError (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\core\createError.js:16:15) at settle (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\adapters\http.js:236:11) at IncomingMessage.emit (node:events:529:35) at IncomingMessage.emit (node:domain:489:12) at endReadableNT (node:internal/streams/readable:1368:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-05-14 13:31:40.343 [error] [Extension Host] Error: Request failed with status code 403 at createError (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\core\createError.js:16:15) at settle (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\core\settle.js:17:12) at IncomingMessage.handleStreamEnd (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\axios\lib\adapters\http.js:236:11) at IncomingMessage.emit (node:events:529:35) at IncomingMessage.emit (node:domain:489:12) at endReadableNT (node:internal/streams/readable:1368:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) 2024-05-14 13:32:01.681 [error] connect ETIMEDOUT 150.107.3.176:443: Error: connect ETIMEDOUT 150.107.3.176:443 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)

扩展宿主一直在报错: 2024-05-14 13:48:13.682 [error] TypeError: Converting circular structure to JSON --> starting at object with constructor 'TLSSocket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle at stringify () at stringifySafely (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\defaults.js:41:37) at Object.transformRequest (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\defaults.js:76:14) at transform (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\core\transformData.js:18:15) at Object.forEach (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\utils.js:245:10) at Object.transformData (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\core\transformData.js:17:9) at dispatchRequest (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\core\dispatchRequest.js:35:31) at Axios.request (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\core\Axios.js:108:15) at Axios. [as post] (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\core\Axios.js:140:17) at Function.wrap (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\node_modules\axios\lib\helpers\bind.js:9:15) at Amplitude.track (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\amplitude\dist\amplitude.js:104:14) at Telemetry.sendEvent (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\out\shared\telemetry.js:63:24) at WebSocket. (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\out\output\flash-news\impl\Jin10FlushService.js:45:45) at WebSocket.onError (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\ws\lib\event-target.js:140:16) at WebSocket.emit (node:events:517:28) at WebSocket.emit (node:domain:489:12) at abortHandshake (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\ws\lib\websocket.js:956:15) at ClientRequest. (c:\Users\JIANGGUISHENG.vscode\extensions\giscafer.leek-fund-3.7.1\node_modules\ws\lib\websocket.js:783:7) at ClientRequest.emit (node:events:529:35) at ClientRequest.emit (node:domain:489:12) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:700:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) at TLSSocket.socketOnData (node:_http_client:541:22) at TLSSocket.emit (node:events:517:28) at TLSSocket.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:335:12) at readableAddChunk (node:internal/streams/readable:308:9) at TLSSocket.Readable.push (node:internal/streams/readable:245:10) at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)

jgs555 commented 4 months ago

image 好像是接口不稳定引起的,上次的还没返回,下次就发起请求。加上这个好像可以,明天再看看。

giscafer commented 4 months ago

别开VPN,接口不支持外网访问

jgs555 commented 4 months ago

别开VPN,接口不支持外网访问

未开vpn,之前正常使用了一两年。就这个星期开始出现异常,可能是公司网络问题。卡住后,切换到手机热点,过一会儿上面的滚动条就会刷刷刷的滚动几次后正常,应该是一个调用接口一直在调用没有关闭,后面的堵塞了吧。

ALongLi commented 3 months ago

我的也是,开了这个公司网络直接不行了,直接session爆了 image

把这个插件关了,就行了

giscafer commented 3 months ago

我的也是,开了这个公司网络直接不行了,直接session爆了 image

把这个插件关了,就行了

446 #447

giscafer commented 2 months ago

v3.9.2 版本已经修复卡顿问题