TechTurbine Posted June 5, 2013 Posted June 5, 2013 Hello, I am having server issues, as whenever my friend tries to connect, there is an error that is cause by: java.net.SocketException: Socket closed. Is this just due to a poor internet connection or is this something that I can fix? Also, I sent the server over to my friend so that he could host it, but I ended up disconnecting due to the same problem.
TechTurbine Posted June 5, 2013 Author Posted June 5, 2013 By the way, the server host can connect properly, its just the person attempting to connect that disconnects.
Magister Posted June 6, 2013 Posted June 6, 2013 is the server being hosted on your computer or a different one you connect to? when you sent it to your friend did you just send the server program files? have you set up any need port forwarding and firewall exceptions?
TechTurbine Posted June 8, 2013 Author Posted June 8, 2013 I'm fairly certain I port forwarded it properly, and I'll need to re check my firewall exceptions. As for the server, I sent all the files to him, not just the program files. The server is hosted on my computer, with a .bat file allocating about 1-2gb to the server. I have a USB with readyboost, combined with my 6gb ram makes about 10gb of ram total.
Magister Posted June 8, 2013 Posted June 8, 2013 first off readyboost does not work that way, secondly what version of java are you currently using? have you tried updating?
TechTurbine Posted June 8, 2013 Author Posted June 8, 2013 I have the latest java, I checked to make sure.
Magister Posted June 8, 2013 Posted June 8, 2013 if you can post a full server log that might help figure out what is going on, have you tried to redownload and use a fresh server?
TechTurbine Posted June 8, 2013 Author Posted June 8, 2013 This is the shortened log, starting from where the server is finished loading the world. This server is custom made, so that might be the problem behind this. http://pastebin.com/xpxSa4pe
Magister Posted June 8, 2013 Posted June 8, 2013 disconnect.overflow is showing when a player is trying to connect, that can be caused by a few reasons but generally i have seen it when alot of information is sent either by a mod or by what is in the area the player is logging into, you also have memory leaks which by itself isnt that bad of an issue but can compound issues, what i would suggest is that since the server is custom made you need to rebuild the jar from scratch and check each mod a few at a time till you find the one causing the problem, you may also want to see how much network information is being sent or recieved when a player connects.
TechTurbine Posted June 8, 2013 Author Posted June 8, 2013 How should I remake the jar? And how do I see how much information is being sent/received?
TechTurbine Posted June 8, 2013 Author Posted June 8, 2013 The way I built my server.jar is combining the files for the vanilla server with the latest minecraft forge, and it seemed to have worked, since the server does function and loads up all the mods properly (i tested the mods in the server after it started up)
31trainman Posted June 8, 2013 Posted June 8, 2013 first off switch to mcpc + for whatever version of mc your pack is built with. as for errors post a new error log from mcpc +.
Magister Posted June 9, 2013 Posted June 9, 2013 you need to test your upload speed on your server, also try reducing the view distance in the server properties, you are getting an overflow error and only a few things cause that, all of which are basicly more data being sent than the client is able to handle what the server is built upon should not matter and generally it is related to mod or something in the world causing it. seeing how much data is being sent can be done with the netstat command in a terminal, this command does vary in function based on your OS and you may need to look up the various switches or arguments for it based on your OS
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now