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

[BUG提交]当网络中断以后,后端运行会一直输出日志 #154

Open
utrlman opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@utrlman
Copy link

utrlman commented Oct 30, 2024

Bug report(问题描述)

当网络中断以后,后端运行时会一直滚动输出控制台无法停止,手机热点恢复网络同样如此。 数据库在服务器国外数据库表一直能收到error,应该和这些没关系 。下面的内容以0.001s的速度滚动。老哥,告诉我怎么修改。

2024-10-31 05:38:29.777 [DEBU] {58cea408c2580318b65b166fb55c2d1b} E:/linshi/gitcangku/StarMatrix/server/internal/logic/sys/serve_log.go:136: [ 91 ms] [default] [hotgo] [rows:1 ] INSERT INTO hg_sys_serve_log(trace_id,level_format,content,stack,line,trigger_ns,status,created_at,updated_at) VALUES('6875ee6ef45503184d5088654827443a','ERRO','["[ 0 ms] [default] [hotgo] [rows:0 ] SHOW FULL COLUMNS FROM hg_sys_serve_log\nError: dial tcp 162.14.96.75:3715: connectex: A socket operation was attempted to an unreachable host."]','["1. hotgo/internal/logic/sys.(*sSysServeLog).RealWrite"," E:/linshi/gitcangku/StarMatrix/server/internal/logic/sys/serve_log.go:136","2. hotgo/internal/queues.(*qServeLog).Handle"," E:/linshi/gitcangku/StarMatrix/server/internal/queues/serve_log.go:40","3. hotgo/internal/library/queue.consumerListen.func1"," E:/linshi/gitcangku/StarMatrix/server/internal/library/queue/consumer.go:63","4. hotgo/internal/library/queue.(*DiskConsumerMq).ListenReceiveMsgDo.func1"," E:/linshi/gitcangku/StarMatrix/server/internal/library/queue/disk.go:56",""]','E:/linshi/gitcangku/StarMatrix/server/internal/logic/sys/serve_log.go:136',1730323055293433300,1,'2024-10-31 05:38:29','2024-10-31 05:38:29')

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

minimal reproduction(最小可还原代码)

System:
OS: Windows 11
Binaries:
Node: 20.18.0 -
npm: 10.9.0 -
pnpm: 9.12.2 -
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
npmPackages:
vue: 3.4.21 => 3.4.21

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

1 participant