Minecraft server invalid session. Fix "Invalid session, try restarting the game" error

Exploring the cubic expanses of Minecraft, you can come across several unpleasant mistakes. This mainly happens when the player tries to connect to a server. In this case, it is not uncommon to encounter a login error in Minecraft " Invalid session". Let's deal with everything in order and try to find a solution to this problem.

First, we will talk about how to connect to the server using an unlicensed launcher. And after that, we will gradually approach the problem of how to fix the invalid session error.

Downloading and entering the game

You can get a link to download the Minecraft client on almost any thematic forum, and you just need to choose the version that suits your operating system. You can often find clients that are used for both licensed and pirated use. In order to play on licensed servers, you need to purchase a paid subscription.

Now let's look at the entrance to the pirated version of the game, since errors often occur in it. Think of a username and create a new account. Then select any server you like (they can also be found on the forums) and check its version, which is immediately after the address. The same version must be found in the launcher itself, and then select the installation. After the download is completed, the game window will pop up automatically.

We go to the server

After starting the game, click on the "Multiplayer" button. Then select "Add Server" and fill in the following fields:

  1. The column "Server name" can be left empty. It is used to later find the required server.
  2. In the "Server Address" column, insert the IP address of the server you selected earlier.

Ready? Then click "Join Server".

Login error "Invalid session" in Minecraft - what to do?

It often happens that when connecting, instead of the server, the player sees only a window with an error. Each error requires its own approach and solution, but today we will analyze one of the most common ones - the "Invalid session" login error in Minecraft. Often the problem can be hidden in:

1. Problems with the Internet connection to the computer. It's worth checking the connection.

2. Firewalls, antiviruses and firewalls. Try turning them off for a while.

3. Incorrectly selected version of the game. Be careful when choosing.

4. An attempt to connect to a licensed server through a pirated launcher.

We hope that our small guide helped you deal with the "Invalid session" login error in Minecraft. If you run into other problems, try asking the online community for advice.

Very often we install software from unknown manufacturers on our computers. And everything seems to be working. But if errors are rare in official programs, then pirated versions give them out quite often. Today we will try to solve the problem " Invalid session. Try restarting the game in Minecraft" to return to your favorite game again. The first step is to do as the system message says, i.e. restart. Perhaps the cause of the error is indeed a system failure. If this did not lead to the desired result, then we read on and do everything that depends on us.

Minecraft error message

Fighting viruses in case of problems with launching the game

It will never be superfluous to check your computer for malware infections. A virus can not only disrupt the performance of a game or other software, but also damage serious data, both personal and systemic.

We act in order:


We try to reconnect to an existing one or create a new game session. If malicious codes were the cause of the invalid session error in Minecraft, then the above steps will help fix it.

Resolving "Invalid session, try restarting the game" error over the network

So, a simple restart of the game did not help, and after checking with an antivirus, the problem did not disappear. We go further. If you play Minecraft with friends online and use, for example, software, then the problem may be in the functionality of the latter.

An application for a network game in Minecraft

We do the following:

  1. We restart the application for the network game itself and reconnect to Minecraft.
  2. We are trying to restart the game, while leaving Hamachi open.
  3. If the error persists, remove the Hamachi application and reinstall it. The same should be done by the player whose session we want to join. Both gamers go through authorization again and connect to the game.

These steps should help resolve the issue.

Uninstalling Minecraft to fix launch issue

Let's try to solve the error "Invalid session. Try restarting the game in Minecraft" deleting the game and reinstalling it. After successful installation, we will go through authorization again and create a game session (or join an existing one). Users note that outdated PCs may not “pull” the game and give various errors. What is the reason for this is unknown, because Minecraft does not have hard system requirements. But still, a simple reinstallation can often help fix the problem.

Creating a world in Minecraft

If the cause of the error is in different versions of the game

There is one significant point that many gamers overlook. If 2 players are using different versions of the game, then they will not be able to join each other. To prevent Minecraft from giving an error, we use the same options. A lot of errors are given out by recently released versions of the game, which, so to speak, have not yet been “run-in”. Therefore, we are not in a hurry to install the latest versions and mods, let's wait a bit until the developers fix all possible bugs.

air world minecraft

Pirated version of the Minecraft client

In addition to all of the above, one of the reasons for the error may be a pirated version of the Minecraft client. The developers have made updates that have changed the authorization system. Now in order to play local network you need to purchase a license. But our advanced gamers found a way out here too.

Procedure:


Line online-mode=true

Thanks to these actions, the license check is disabled, which, of course, is not in the pirated version. This will help to cope with the problem, because not everyone can afford to install a licensed version of Minecraft.

Conclusion

Today we looked at ways that can help solve the error “Invalid session. Try restarting the Minecraft game." The easiest of them is to restart the game, and the rest of the methods are not difficult. Each user is able to independently scan the computer with an antivirus program, reinstall Minecraft and the application for online play. And also check with a friend if they use the same version of the client. And finally, I would like to remind you that there are much fewer bugs in official software than in pirated programs.

In this article, we will try to figure out why this error appears and what needs to be done to solve it.

If you get the error "Invalid session. Try restarting the game" or "Login error: invalid session", then the first step is to try to perform the actions indicated in the error text itself, that is, restart the game. It is possible that some kind of failure occurred during the connection, which prevents the game from starting, and after restarting it, the problem will disappear by itself. At first glance, this solution may not seem effective, but in some cases it can help in solving the problem.

Hamachi

If restarting the game did not help and the error still appears on the screen, this does not always mean that the problem is with the game. There may be a problem with the online game application.

Try restarting Hamachi, after which, most likely, you will be able to create a session and connect to it.

If this did not help and still an error appears with the text “Invalid session. Try restarting the game", you can try restarting the game without closing Hamachi. Sometimes such a solution can help in connecting to a network game.


It is also worth trying to completely remove Hamachi and reinstall it. Then go through the authorization process and resume the connection attempt in Minecraft. The same action should be taken by your friend whose session you are trying to join. These actions very often solve the problem with the error.

Deleting a game

The next possible solution to the problem is to uninstall the game and then reinstall it. Given that Minecraft is an extremely unstable game, this method has the right to life. After reinstalling the game, log in and try to create a game session again or join an existing one.

Also, it is worth noting that such problems can occur on computers with outdated hardware. What causes this, no one knows, because Minecraft itself does not have serious system requirements, but reinstalling the game very often helps to get rid of errors.

Viruses

The cause of various kinds of errors may be infection of the computer with some kind of virus or viruses. It is no secret that viruses can not only disrupt the performance of applications, but also cause serious damage to data.


To rid your computer of malware, run an antivirus and perform a thorough scan of all hard drive partitions. If you find any doubtful elements - try to cure them with an antivirus. Before all these actions, it is worth uninstalling the Minecraft client in advance, and installing a new one after curing the detected files. After installing the new client, try connecting to the game session again. If the cause is in viruses, this option will undoubtedly help you get rid of the error “Invalid session. Try restarting the game."

Game version

Also very important point is the version of the game itself, that is, when using different versions, players cannot connect to each other. Also, it is worth noting that latest versions may have a sufficient number of bugs due to which there may be a problem in connecting to the session. Thus, if you and your friend with whom you want to play have different versions of Minecraft, then the error “Invalid session. Try restarting the game." Ideally, you should use the same versions to solve this problem.

Pirated version

In addition to all of the above, the reason for the error “Invalid session. Try restarting the game" may be a pirated version of the client. The fact is that in version 1.7.5 the authorization system has changed, which is why it is impossible to play on a local network without a license. Want to play with a friend, but on a pirate? There is a way out!

In the folder with the game, use the search to find the file “server.properties”, the line “online-mode=true” will be located there. In it, you need to change the word true to false. These manipulations disable the license agreement check, which is not available in pirated versions. Thus, you can get rid of the error "Invalid session. Try restarting the game" and play with a friend on a pirate.

Minecraft. Most often this happens to those who use cracked copies, but sometimes to owners of paid software. When you select "world" and try to load it, a window appears with a message about the failure. Contrary to the advice contained in the text of the error notification, restarting the game does not change anything. Read on to find out what can be done in this case.

Launch error fix minecraft games.

What causes the error

By and large, the login error with the explanation “Invalid session, try restarting the game” is provoked by the developers themselves, who wished to protect their commercial rights from hackers and strengthened the verification of the rights of authorized users. It was not difficult, because the game requires an Internet connection and the use of a shared server. Sometimes there are other circumstances behind the problem:

  • the game is not updated on time;
  • the distribution does not contain the necessary elements (if you downloaded it from a dubious source);
  • the launcher can't display game content correctly.

Of course, you will make it easier for yourself if you try to switch to a paid version, because, for any problem, this gives you the right to get help from the support service and not puzzle over a solution. But if you don't have that option, read on.

What to do with the "Invalid session" error

First of all, try to level the verification of your account. For this:

  1. Remember where you downloaded the server and open the root folder.
  2. Open it and find the server.properties component to copy.
  3. Now open Notepad and press Ctrl+V.
  4. In the text you will see the word "true" referring to Online-Mode - erase it and write "false".

With the server recommended by the developers, this trick is not always possible. Also, if you get an error marked "Invalid session, try restarting the game", you can try to create a personal server and invite gamemates. For this:

  1. Download any ready-made server file (only get positive feedback from other gamers so as not to get into trouble and read the requirements for the PC and version of the game).
  2. Save it to a folder and remember its name and location.
  3. Open the folder and transfer the contents of the properties file to Notepad.
  4. Set the following settings:
    • allow-nether - you can leave it as it is (TRUE or FALSE) - by choosing a value, you will allow or deny the portal to "hell";
    • level-name - enter the name of the "world" you created;
    • allow-flight - select TRUE or FALSE to control the ability to fly;
    • server-port - specify the port through which the server is available (5 digits);
    • level-type - select appearance your "world" (DEFAULT - standard, FLAT - flattened, LARGEBIOMES - extended "natural zones" in the game);
    • enable-rcon - choose whether or not to allow access to your server for other players (TRUE - yes, FALSE - no);
    • level-seed - Enter a character/numeric value to generate the "world". If you don't install it, it will be generated randomly;
    • server-ip - write the IP of your device;
    • max-build-height - specify the extent to which the height of objects in your "world" will reach (limit - 272);
    • spawn-npcs - choose if you want to see random characters (TRUE - yes, FALSE - no);
    • white-list - turn off this parameter with FALSE to have no trouble adding players;
    • spawn-animals - indicate if you want to see animals in your "world" (TRUE - yes, FALSE - no;
    • texture-pack - specify additional textures if you want;
    • online-mode - we are already familiar with this parameter, and it is better to turn it off so that it does not show that your game does not have a license;
    • pvp - specify whether you want your characters to fight with other gamers' characters (TRUE - yes, FALSE - no);
    • difficulty - select the difficulty level (from 0 to 3 than more figure, the more difficult the game);
    • gamemode - choose what you want to do in the game (0 - survive; 1 - create, build, be creative; 2 - seek adventure);
    • max-players - specify maximum amount people for a one-time joint game (up to a thousand);
    • spawn-monsters - specify whether you want to see monsters in your game (TRUE - yes, FALSE - no);
    • generate-structures - indicate whether you want to keep the ability to build buildings (TRUE - yes, FALSE - no);
    • view-distance - specify how wide the horizon will be (up to 10);
    • motd - write the name of your server.

And remember that to add a player you need to give him the IP address of your device. If you initiate the addition yourself, then the player must be online.

The specificity of the Minecraft game lies in its instability. Anyone can experience problems launching a single or multiplayer game, even if everything worked fine before. Of course, if single bugs are typical for official software, then pirated versions have errors very often. Next, we will talk about what to do when the message: “Invalid session (Restart launcher and game)” appears in Minecraft and how to fix it.

Reasons for login failure

The most common causes of login failure in versions 1.12.2 and 1.13.2 are:

  • connection problems or temporary failure;
  • mismatch between versions and pre-installed game mods;
  • an attempt to enter a licensed server from a pirated game;
  • struggle of developers using unlicensed software;
  • failure to create a local network;
  • viruses or security software in the system;
  • bugs of a specific version of the game.

To simplify the solution of the problem and reduce the time for fixes, you need to remember what changes have occurred with the system and the game since the last successful launch and try to find the cause. If this is not possible, you will have to try different methods.

Correction instructions

At this stage, it is worth checking out simple and quick solutions - they may fix the error in Minecraft. The list of useful actions includes the following.

  1. Let's start by restarting the game for all participants. After closing, it is recommended to check the processes in the task manager and stop them all.
  2. Restart PC.
  3. Turn off the router for 5-10 minutes or restart it. A particularly relevant tip for a dynamic IP connection.
  4. Delete temporary files and close all unnecessary processes. Special attention should be given to services connected to the Internet. The CCleaner utility will help with cleaning.
  5. Check the system with anti-virus scanners DrWeb CureIt, Malwarebytes, AdwCleaner and their analogues.
  6. Reinstall the game and make sure that the versions of both you and your friend are identical.
  7. Check the network card drivers and the date they were last updated.
  8. If you have tied custom mods to the game, delete them.

The use of licensed software and productive hardware looks like a logical solution to the problem. Alternative solutions are to use unofficial servers:

  • Hamachi local network, use of login / password in the public domain;
  • Authorization and skins network Ely.by.

In the case of Ely.by, you need to do the following:


How to disable license verification

Disable the security check that the Minecraft developers have built in. It is likely that in the future programmers will tighten the check. The shutdown instructions are as follows.

  1. Go to the game directory and find the file: server.properties. You can use the search bar for this.
  2. Right-click, select open in Notepad.
  3. Find the line: online-mode=true. Change true to false.
  4. Save and restart PC.

Configure port and IP for invalid session

When using a single local network, you can find out the address of your PC through the command line by typing: ipconfig. In order to find out the IP address on the Internet, it is not necessary to launch the console or open the router menu. There is a possibility that the real IP will differ from the one indicated in the menu, so you need to use any verification service. For example, 2ip.ru. It's much easier and faster. Please note that when using Homachi, the port and IP are assigned by the game itself - they must be passed to the user who wants to connect to the created world.

To ensure that the port is open, there is one interesting way.


If there are still problems with the connection, then try another launcher (for example, 1.12.2 to 1.13.2).

Summing up

Most often, owners of pirated software encounter the authorization error “Invalid session, restart the launcher and game” in Minecraft. Please note that if one of the participants in the game has a licensed version of the game installed, then it will be much easier for him to connect to the existing world. You can solve the problem in various ways, but which one will be effective depends on the cause of the error.