Fix League of Legends There Was an Unexpected Error with the Login Session

Many users have complained about there was an unexpected error with the login session League of Legends issue while launching the game or even in the middle of the game. It disrupts the current login session and prevent access to the game. troubleshooting methods will help you fix LoL error There was an unexpected error with the login session problem without any hustle. So, continue reading!

Fix League of Legends There Was an Unexpected Error with the Login Session

How to Fix League of Legends There Was an Unexpected Error with the Login Session

Several reasons contribute to LoL Unexpected Error With Login Session on your Windows 10 PC, such as:

  • Game does not have administrative rights
  • Installation and configuration files are corrupt
  • Outdated Windows 10 operating system and drivers.
  • Inappropriate network settings and DNS address configurations.

Method 1: Basic Network Troubleshooting Methods

Following are a few basic troubleshooting methods to resolve the issue.

1A. Restart PC & Router – The general trick to resolve all the temporary glitches associated with League of Legends is to restart your computer or router.

1B. Check Server Status – To check whether the server is offline or it has some technical problems,

1. visit the official Riot-server status update page.

Visit the official Riot server status update page

2. Then, scroll down and select League of Legends.

select League of Legends

3. Then, select your Region and Language to continue.

4. On the next page, you can see any notifications for server end errors. If there are any, you have to wait until they are resolved.

notifications for server end errors

1C. Use VPN – If you are confused how to set up a VPN on your Windows 10 PC, follow our guide and implement the same.

connect to a vpn in windows. Fix League of Legends There Was an Unexpected Error with the Login Session

1D. Change DNS Address – Several users have suggested that switching to Google DNS addresses may help you fix LoL There was an unexpected error with the login session issue. If you launch the game properly and face an error prompt, follow our guide to change the DNS address to launch the game without any hustles.

Select the icon Use the following DNS server addresses. Fix League of Legends There Was an Unexpected Error with the Login Session

1E. Clear DNS Cache & Data – Few users have suggested that clearing the DNS cache and data on your PC has helped them fix LoL attempt to join queue failed issue. Here’s how you can flush & reset DNS settings too:

1. Hit the Windows key and type cmd, then click on Open.

open command prompt

2. Now, type the following commands one by one and hit the Enter key after each command.

ipconfig/flushdns
ipconfig/registerdns
ipconfig/release
ipconfig/renew
netsh winsock reset

ipconfig flushdns. Fix League of Legends There Was an Unexpected Error with the Login Session

3. Wait for the commands to be executed and restart the PC.

Must Read: Fix Avast Blocking League of Legends (LOL)

Method 2: Run League of Legends as Administrator

To avoid LoL error There was an unexpected error with the login session on your Windows 10 computer, run League of Legends as an administrator as instructed below:

1. Right-click on the League of Legends shortcut on the desktop or navigate the installation directory and right-click on it.

2. Now, select the Properties option.

select the Properties option

3. Then, switch to the Compatibility tab and check the box Run this program as an administrator.

check the Run this program as an administrator option under the Settings section. Fix League of Legends There Was an Unexpected Error with the Login Session

4. Finally, click on Apply > OK to save the changes.

Method 3: Run League of Legends Manually

If your computer takes some additional time to patch up League of Legends, you will face LoL unexpected error with login session issue. Yet, you can manually patch the game:

1. Press the Windows + E keys together to open File Explorer.

2. Now, navigate to the following location path.

C:\Riot Games\League of Legends\RADS\projects\lolpatcher\releases\deploy

C Riot Games League of Legends RADS projects lolpatcher releases deploy. Fix League of Legends There Was an Unexpected Error with the Login Session

3. In the Deploy folder, right-click on the LoLPatcher.exe executable file and click on Run as administrator.

click on Run as administrator

Once you have launched your game manually, check if you face the issue in League of Legends again.

Also Read: How To Fix League Of Legends Client Not Opening Issues

Method 4: Delete LoL_air_client Folder (If Applicable)

Another simple way to fix there was an unexpected error with the login session League of Legends is to delete this folder to remove corrupt components in your Windows 10 associated with the game.

1. Launch the File Explorer.

2. Now, navigate to the following location path.

C:\Riot Games\League of Legends\RADS\projects\lol_air_client 

Note: You may also find the lol_air_client folder in some other location too. Pay a bit extra attention to finding the folder.

find the lol air client folder

3. Now, right-click on the lol_air_client folder and click on the Delete option.

click on the Delete option. Fix League of Legends There Was an Unexpected Error with the Login Session

Once you have deleted the folder, restart your computer and check if you have fixed the issue in League of Legends.

Method 5: Tweak Hosts File

If the host file has edited entries of League of Legends, you will face there was an unexpected error with the login session League of Legends issue. Hence, you have to remove such entries to resolve the same

1. In the File Explorer, switch to the View tab and check the Hidden items box in the Show/hide section.

switch to the View tab and check the Hidden items box in the Show hide section

2. Now, go to the following path in the File Explorer.

C:\Windows\System32\drivers\etc

copy and paste the following path in the navigation path

3. Now, select and right-click on the hosts file and select the Open with option as shown.

select the Open with option. Fix League of Legends There Was an Unexpected Error with the Login Session

4. Now, select the Notepad option from the list and click on OK as depicted.

select the Notepad option from the list and click on OK

5. Now, the hosts file will be opened in Notepad as follows.

the hosts file will be opened in Notepad. Fix League of Legends There Was an Unexpected Error with the Login Session

6. Add this line 67.69.196.42 l3cdn.riotgames.com to the bottom of the file.

7. Now, save the file by hitting the Ctrl + S keys together.

8. Exit Notepad and check if you have fixed the discussed issue.

Also Read: Fix League of Legends Frame Drops

Method 6: Additional Fixes

Additionally, you can implement the following solutions to fix said issue.

6A. Set Proper Date & Time Settings – Incorrect date and time settings in your computer may contribute to There was an unexpected error with the login session on Windows PC. To sync the date, region, and time settings follow the below-listed instructions:

1. Hit the Windows + I keys together to open Windows Settings.

2. Now, select the Time & Language option as shown.

click on Time Language setting. Fix League of Legends There Was an Unexpected Error with the Login Session

3. Next, in the Date & time tab, ensure the two values Set the time automatically and Set the time zone automatically options are toggled on.

make sure Set the time automatically and Set the time zone automatically options are toggled on

4. Then, click on Sync now as highlighted above. Check if the issue is resolved or not.

6B. Close All Background Processes – If there are too many tasks running on your Windows 10 PC, RAM and internet bandwidth consumption will slow down the game. Follow our guide t End Task in Windows 10.

right click on it and choose End Task to end it. Fix League of Legends There Was an Unexpected Error with the Login Session

6C. Update Windows – All the bugs and erroneous patches in your computer can be fixed by Windows update. Follow our guide How to Download and Install Windows 10 Latest Update

Update Windows

Also Read: How to Tell If Your Graphics Card is Dying

6D. Reinstall GPU & Network Drivers – If you still cannot fix There was an unexpected error with the login session issue, Uninstall and Reinstall Graphics and Network Drivers on Windows 10.

click on uninstall device. Fix League of Legends There Was an Unexpected Error with the Login Session

6E. Disable Windows Defender Firewall or Antivirus Temporarily (Not Recommended) – When your antivirus programs detect LoL files and folders as a threat, you will face several conflicts. So, implement our guide on How to Disable Antivirus Temporarily on Windows 10 to fix said issue. You can follow this guide Allow or Block Apps through the Windows Firewall to allow the game through the firewall.

turn off Windows Defender Firewall not recommended. Fix League of Legends There Was an Unexpected Error with the Login Session

Method 7: Clear Drive Space

If your PC does not have any drive space to install any new patches from the game, you cannot fix there was an unexpected error with the login session League of Legends. Hence, firstly check the drive space and clean the temporary files if necessary.

Step I: Check Drive Space

To check the drive space in your Windows 10 PC, follow the below-mentioned steps.

1. Open the File Explorer.

2. Now, click on This PC from the left pane.

3. Check the disk space under Devices and drives as shown. If they are in red, consider clearing the temporary files.

Check the disk space under Devices and drivers

Step II: Clear Temporary Files

If there is minimum available space in your computer contributing to the discussed problem, follow our guide 10 Ways to Free Up Hard Disk Space on Windows that helps you clear all unnecessary files in your computer.

click on Clean up… button under System Restore and Shadow Copies. Fix League of Legends There Was an Unexpected Error with the Login Session

Also Read: Fix League of Legends Black Screen in Windows 10

Method 8: Reinstall DirectX

Several gamers have confirmed that reinstalling DirectX on your PC helped them to fix there was an unexpected error with the login session League of Legends issue.

Select I accept the agreement and click on Next

Also Read: How to Change League Of Legends Summoner Name

Method 9: Reinstall Game

Now you have no other option than to reinstall the game as explained below:

1. Hit the Windows key and type apps and features, then click on Open.

open apps and features

2. Now, search League of Legends in the list and click on it. Then, select the Uninstall option.

select Uninstall option. Fix League of Legends There Was an Unexpected Error with the Login Session

3. If you are prompted, again click on Uninstall.

4. Wait for the game to be uninstalled, then click on Done.

Note: The game is tied up with your account and when you reinstall the game, you will not lose your progress.

click on Done. Fix League of Legends There Was an Unexpected Error with the Login Session

5. Hit the Windows key, type %appdata% and click on Open.

Open AppData Roaming folder

6. Double-click on the Riot Games to open the folder.

open Riot Games folder. Fix League of Legends There Was an Unexpected Error with the Login Session

7. Now, right-click on the Install League of Legends euw folder and delete it.

delete Install League of Legends euw folder

8. Press the Windows key, type %localappdata% and click on Open.

open AppData Local folder. Fix League of Legends There Was an Unexpected Error with the Login Session

9. Delete the League of Legends folder as done previously in Step 7 and reboot the PC.

Also Read: Fix League of Legends Directx Error in Windows 10

10. Then, go to the League of Legends official website download page and click on the Play For Free option.

go to the League of Legends official website download page and click on the Play For Free option

11.  Sign up for your account by entering email ID and clicking START.

Sign up for your account and click on Download for Windows option. Fix League of Legends There Was an Unexpected Error with the Login Session

12. Click on Download for Windows option. Then, click on the Install option.

13. Wait for the game to be installed. Navigate to My downloads in File Explorer and double-click on the setup file to run the application.

14. Follow the on-screen instructions to install the game on your Windows 10 PC.

Click on the Install button in the prompt

Pro Tip: Many users and online forums have reported that reinstalling the game with the Hextech Repair tool helped fix the error.

Recommended: Fix League of Legends Sound Issues

We hope that this guide was helpful and you could fix there was an unexpected error with the login session League of Legends issue on your device. Let us know what you want to learn about next. Also, if you have any queries/suggestions regarding this article, then feel free to drop them in the comments section.

Leave a Comment

Your email address will not be published. Required fields are marked *