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. Quote
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. Quote
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? Quote
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. Quote
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? Quote
TechTurbine Posted June 8, 2013 Author Posted June 8, 2013 I have the latest java, I checked to make sure. Quote
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? Quote
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 Quote
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. Quote
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? Quote
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) Quote
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 +. Quote
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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.