bot挂在服务器上几小时后会自动退出,退出时log上代码显示是
2022-12-10 06:21:16 E/console: Error in reading next command
java.io.IOError: java.io.IOException: Input/output error
at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:170)
at org.jline.keymap.BindingReader.readBinding(BindingReader.java:110)
at org.jline.keymap.BindingReader.readBinding(BindingReader.java:61)
at org.jline.reader.impl.LineReaderImpl.doReadBinding(LineReaderImpl.java:923)
at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:956)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:651)
at net.mamoe.mirai.console.terminal.JLineInputDaemon.run(JLineInputDaemon.kt:78)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Input/output error
at java.base/java.io.FileInputStream.read0(Native Method)
at java.base/java.io.FileInputStream.read(Unknown Source)
at org.jline.terminal.impl.AbstractPty$PtyInputStream.read(AbstractPty.java:73)
at org.jline.utils.NonBlockingInputStream.read(NonBlockingInputStream.java:62)
at org.jline.utils.NonBlocking$NonBlockingInputStreamReader.read(NonBlocking.java:168)
at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:57)
at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:160)
... 7 more
2022-12-10 06:21:16 W/console: Closing input service...
2022-12-10 06:21:16 V/Bot.1077191600: Event: BotOfflineEvent.Active(bot=Bot(1077191600), cause=null, reconnect=false)
2022-12-10 06:21:16 I/Bot.1077191600: Bot is closed manually
2022-12-10 06:21:16 I/Bot.1077191600: Bot cancelled: Job was cancelled