jack886 發表於 2025-4-13 10:49

黑盒子錯誤訊息請益[核心版本:伊薇381]

各位大神

請問這段錯誤訊息有解嗎?


ERROR - The last packet successfully received from the server was 54,556,425 mil
liseconds ago.The last packet sent successfully to the server was 54,556,425 m
illiseconds ago. is longer than the server configured value of 'wait_timeout'. Y
ou should consider either expiring and/or testing connection validity before use
in your application, increasing the server configured values for client timeout
s, or using the Connector/J connection property 'autoReconnect=true' to avoid th
is problem.


我有試著去config裡面找這段 'autoReconnect=true' 相關設定,
但我找不到,雖然可以玩,但是跳這個錯誤就想把它處理掉,
還請各位大神指導,感謝。

zycpig22 發表於 2025-4-13 12:24

看报错,就是两个封包之间间隔时间太长,具体原因还是要看核心代码,或者问问遇到过的大佬了,而且如果没啥异常就不用管吧?

yasioukon 發表於 2025-4-13 14:45

你是不是伺服器開著就去睡覺

造成閒置過久沒有變動

把你說的那段 補到你SQL讀取那邊

z0958450906 發表於 2025-4-13 19:54

來看看~~~~~~~~~

shine90812 發表於 2025-4-17 15:57

恭喜發財

shine90812 發表於 2025-4-17 16:01

可以玩就好
頁: [1]
查看完整版本: 黑盒子錯誤訊息請益[核心版本:伊薇381]