Cannot connect to server
Here is the listed error:
Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_381]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_381]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_381]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_381]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_381]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_381]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_381]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_381]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_381]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_381]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_381]
at nz$2.run(SourceFile:100) [minecraft_server.1.12.2.jar:?]
4 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by norous#0
! Logs
Please check your server log for errors from your plugins.
If you need further help understanding the errors, please send us the whole log file.
Where can I find the server log?
Logs are stored in
<server_directory>/logs/
. Search for a file explorer in your server's management interface and navigate to that directory. Once you've opened that up, search for the latest.log
file. Some providers have a separate page for logs and may hide the "logs" folder.
On Aternos:
• Go to https://aternos.org/log/.
On Minehut and server.pro:
• Go to the "files" tab in the left menu.
• Navigate to the root directory of your server.
• From there navigate to /logs/latest.log
.
What should I do with the log?
• First of all, read it! I mean, that's what you do all the time when you run a server, isn't it? Try to locate any errors that have anything to do with the issue you are facing.
• If you got the latest.log
file or created a .txt
file with the necessary errors you can upload these directly to the channel, but we prefer if you upload them to https://mclo.gs/.
• If you have trouble downloading the log file, copy/paste the text to a paste service (like mclogs). Copy the link that it gives you and send it to us. (Don't worry, McLogs hides your users' IPs.)Admincraft Canned Responses
Send full logs