How to fix invalid session error in minecraft. Fixing the error "Invalid session, try restarting the game. Login error "Invalid session" in Minecraft - what to do

So, some Minecraft players are starting to complain about the message "Login failed: invalid session. Try restarting the game." Why does this problem appear? How to deal with it? And in general, is it worth it? Let's try to understand this issue. After all, it is far from always due to some kind of malfunction that it is worth abandoning the entire toy as a whole. So, you still need to fight for it. But how exactly? Where to begin?

We follow the rules

Well, we decided to play Minecraft and saw an invalid session. Try restarting the game. "A very unpleasant surprise, but worth fighting for. And let's start with, perhaps, the simplest scenario.

It's about following the directions in the error text. Does the game ask you to restart? So do it. Maybe there was some kind of glitch during the connection that is interfering with the gameplay. And after a restart it will be gone. And you can fully enjoy the game. The option is a little silly, but it has a place to be. Especially if you are working on a new computer that could not yet be infected with viruses.

Hamachi

Did not help? Then think about why it appears in the game Quickly and simply, it is extremely difficult to understand the reasons for such behavior. Nevertheless, it is worth guessing a little. Maybe the game is ok? But with the application for its network version - not really?

It may be enough for you to reinstall or reboot Hamachi. And, of course, after that go to Minecraft. Try again to create and connect to the session. Happened? Most likely, you will be lucky.

Not? Then you will have to think further about why a message like "Login failed: invalid session. Try restarting the game" appears. But we are not finished working with Hamachi yet. In order to get things back on track again, try completely uninstalling and reinstalling the app. Log in to it, and then retry connecting to Minecraft. Let your friend, whose session you are trying to join, do the same. Such events very often help to fix all the problems. And you can enjoy the world again

Deleting a game

The next scenario is to remove the game and then reinstall it. It's no secret that Minecraft is a game that is notable for its instability. And for this reason, sometimes you have to delete it and install it again.

Did you see "Login Failed: Invalid Session" in Minecraft? Try the tricks above. And then, if they don't work, uninstall the game. Of course, do not forget to install it again, and then go through authorization. Now what? Create your own gaming session or try to join an existing one. Surely this will help.

This kind of error often occurs on older computers. For what reasons, no one knows. But players with weak hardware are struggling with a login error in this way. Oddly enough, it works.

Registry

The next method helps, but is extremely rare. And then, when you know for sure that everything is in order with the game and the operating system. If you had to face today's problem, you can try to clean the computer's system registry. For what? So it will be cleared, the performance of some applications will improve, and access to Minecraft will be restored.

Your best bet is to install CCleaner. This utility is used to clean the computer registry and optimize it. Install, run, and then mark all hard disk partitions, browsers and removable media. In the right part of the window, click on "Analysis", then on "Cleaning". And there will be no problems.

You can restart your computer just in case. Now try to connect to the Minecraft game. "Login Failed: Invalid Session" still pops up? Then you should seriously think about the problems of your computer. After all, in this situation, as practice shows, the game has nothing to do with it. Fix the problem in the operating system, and then try again.

Viruses

For example, it is worth checking your computer for various infections. Quite often, it is she who can not only disrupt the performance of some applications, but also harm the data stored in the system.

Run the antivirus, conduct a deep scan of all hard disk partitions. Take a look at the output results. Try to cure everything And what did not succumb to the process - delete. By the way, it is worth deleting Minecraft in advance. And install it directly after checking the computer. Often, game files can appear as malicious or dangerous objects.

Ready? Then we restart the computer, if we deleted "Minecraft" - we put it again, and then we resume the attempt to connect to the game session. This is how you can quite easily and simply solve the situation when the computer writes: "Login error: invalid session."

Version

But we forgot one more, not the most frequent, but important point. also plays a role when trying to connect to sessions. For example, the last "parts" differ in that they have a lot of bugs and shortcomings. And for this reason, it is worth waiting for their correction.

Among other things, you and your friend with whom you plan to play online must have the same version of the application installed. Otherwise, it will not be possible to solve today's problem. Replace "Minecraft" with an older or newer one (agree with a friend). Now connect to the session and enjoy the process. The problem with the message "Login failed: invalid session. Please try restarting the game" will not bother you.

Let's try to solve the problem "Invalid session. Try restarting the Minecraft game 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, Hamachi 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 Minecraft game by 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 strict 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 on a local network, you need to purchase a license. But our advanced gamers found a way out here too.

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. Particular attention should be paid 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.

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.

Fixing Minecraft game launch error.

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 upgrade to a paid version, because, for any problem, this gives you the right to get help from the support service and not rack your brains 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 the appearance of 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, the higher the number, 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 the maximum number of 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.

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 follow the steps indicated in the error text itself, that is, restart the game. It is possible that during the connection there was some kind of failure that 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 a 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 the 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.

Related articles: