How to fix the “invalid session” error in Minecraft / Hamachi?
As a rule, this problem appears for those users who use new and broken versions of Minecraft. But it can also be the case for players who use only a paid distribution. This login error appears when the gamer chose the world and tried to enter it. The message “invalid session, please try restarting the game” appears on the screen. Moreover, it occurs both when entering through Hamachi, and without it. Despite the fact that the solution is in the crash itself, it does not work, restarting the game does not work, the message invalid session appears over and over again. Fortunately, experienced gamers have already found several effective methods on how to fix the problem and advised others what to do in this situation.
How do I fix the error?
First of all, if the client writes an invalid session, you need to make sure that there is an internet connection. It is necessary to understand that when trying to download the world, the client contacts the server where all the necessary information is stored. If the Internet connection is problematic, then the connection to this server will not work. Try to go to the browser and go to some sites, check the work of other network applications. If there are connection problems, then you need to restart the network equipment or you will have to contact your provider. You can also try connecting your laptop or computer to the network using a cable rather than a Wi-Fi connection.
Method 1: editing server config
A very effective method of solving this problem is to edit the server configuration file. This procedure may seem daunting at first, but there is nothing here that the average PC user cannot handle. Follow these steps:
- Go to the folder where the server is installed. This can be either a standard path or a modified one that you yourself set at the time of loading.
- Find the “server.properties” file in the server folder, and then copy it to your desktop.
- Open this archive with standard notepad for editing.
- You need to insert your parameters into this file. Their description is available here, just copy the parameters and apply for yourself.
- Next, you need to transfer the server settings file and agree to the replacement. The old one can be copied to another location to be able to put everything back.
After that, try to enter the game again, the error with an invalid session should be eliminated. Remember that if you add new server parameters, you need to be sure that they work. Use only proven parameters that other players or experts recommend to you. Those mentioned above have been repeatedly tested and are completely safe, so they can be safely applied.
Method 2: disable protection
As we said earlier, Minecraft requires a stable and completely free internet connection to run. This may be all right, the provider may also not give restrictions, but the system software is able to restrict access to the network by certain applications. Firewall, firewall and antivirus can block access to network resources, including this game client. You need to disable protection for a while to make sure that the problem is resolved.
If after turning off the firewall the error with the invalid session disappeared, then the problem has been found. Now you need to disable everything individually and monitor what exactly blocks access to network resources. If everything works after disabling the antivirus, then you need to add the Minecraft server to the exceptions. You need to go to the settings of your antivirus software, find the “Exceptions” item there, specify the path to the Minecraft server. After that, the antivirus will no longer block access to the network for this application. The same exception can be added to the firewall and firewall.
Method 3: install a different version of the game
Often the problem manifests itself on certain versions of the game client, while others work fine. Recently 1.7 10 was the most common cause of connectivity issues. To avoid this, you need to update the game client to the latest version in time. But if we are talking about those gamers who use unofficial releases, then the opportunity to receive timely updates disappears. That is why statistics show that unlicensed software most often leads to such problems.
You can independently install another version of the game and thereby get rid of the error. To do this, you need to find a newer version of the client, download it to your computer and initiate the installation. The update will use the new server settings, so there shouldn’t be any problems.
Method 4: reinstall Minecraft to the official version
Very often, users on the forums say that this problem appears at the moment when an attempt is made to connect to the licensed server of the game through a pirate launcher. If you have just such a situation, then you should reinstall Minecraft to the official version, with a licensed shell. To do this, completely remove the game client from the computer, then go to the official server and download the latest version of the launcher. Initially, you will install the shell, after which you can download the game client. In this case, the error will no longer appear.
Method 5: disable game license check
If you want to play not only from a licensed server, but also from a pirated one, then you need to disable license check. To do this, follow these steps:
- Go to the Minecraft launcher.
- Click on “File” in the upper left corner.
- Select “Open” and then click “Configurations”.
- Find “Server Settings” here.
- On the page that opened in front of you, in the “Online Mode” item, you need to change the parameter from “Enabled” to “Disabled”.
- Save all settings.
After that, you can run the application again and notice that the connection problem is gone. Disabling license check allows you to play freely on both licensed and pirated servers.