How to Fix the Error Code 502 on Epic Games

First, restart your computer & router

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • To fix the error code 502 on Epic Games, ensure the language for the launcher set is also the system default language and has a stable internet connection, or run it as admin.
  • Keep reading to learn more about it!
Epic Games - Fix the Error Code 502 on Epic Games

If you have encountered a Bad gateway with an error code 502 message on the Epic Games launcher stopping you from downloading a game, this guide can help! We will explain the probable causes and offer WR experts-recommended solutions to unblock the access.

What causes the error code 502?

  • Weak internet connection.
  • Server facing downtime

How can I fix the error code 502 on Epic Games?

Before performing any steps to fix the error code 502 on Epic Games, restart your PC & router to refresh the connection, disable VPN if using one, and check Epic Games server status to see if everything is up and running.

1. Force close the app

  1. Press Ctrl + Shift + Esc to launch Task Manager.
  2. Go to the Processes tab, locate Epic Games Launcher and other related processes, right-click it, and select End task.End task - Fix the Error Code 502 on Epic Games
  3. Now go to the Epic Games Launcher shortcut and double-click it to open.

Closing the app forcefully using Task Manager could be the first step to fixing the game launcher if it is not loading properly; read this guide to learn more.

2. Change the Language to System Default

  1. Press the Windows key, type epic games launcher, and click Open.EpicGamesLauncher - Fix the Error Code 502 on Epic Games
  2. Click your Profile icon and select Settings.Settings - Epic Games Launcher
  3. Look for Language and select the System Default option; as my system language is set to English -US, the option looks like System Default- English United States.System Default
  4. Close Epic Games Launcher.
  5. Right-click on the Epic Games Launcher and select Run as administrator.Epic Games Launcher - Run as administrator

3. Disable the Windows Firewall

  1. Press the Windows key, type the control panel, and click Open.Control Panel start menu - Fix the Error Code 502 on Epic Games
  2. Select Category as View by and click System and Security.System and security - Fix the Error Code 502 on Epic Games
  3. Click Windows Defender Firewall.Windows Defender -Fix the Error Code 502 on Epic Games
  4. Select the Turn Windows Defender Firewall on or off option.explorer_Turn off Defender
  5. Place a checkmark next to Turn off Windows Defender Firewall (not recommended) for both Private and Public network settings, and click OK to save the changes.explorer_Turn off Windows Defender

4. Change the DNS server addresses to Google DNS

  1. Press Windows + R to open the Run dialog box.NCPA run command  -Error Code 502 on Epic Games
  2. Type ncpa.cpl and click OK to open the Network Connections window.
  3. Right-click the network connection and select Properties.Network Connection properties - Error Code 502 on Epic Games?
  4. From the Properties window, select Internet Protocol Version 4 (TCP/IP) and click the Properties button.Internet Protocol Version 4(TCPIPv4) Properties
  5. Select the radio button next to the Use the DNS server addresses option.
  6. Now, for the Preferred DNS server, type 8.8.8.8, and the Alternate DNS server, type 8.8.4.4.
  7. Click OK, then OK to confirm the changes.DNS server

5. Unblock the network ports

  1. Press the Windows key, type cmd, and click Run as administrator.CMD elevated - Fix the Error Code 502 on Epic Games
  2. Type the following command and hit Enter: ipconfigcmd_ipconfig - Fix the Error Code 502 on Epic Games
  3. Locate Default Gateway and IPv4 and make a note of these details.
  4. Launch your preferred browser, and type in the Default gateway in the address bar.
  5. Type in the username and password for your router, which is usually admin and password, or you can check the back of the router to be sure.
  6. Go to Services, then Firewall, and click the Port Forwarding page.
  7. Click Enable next to Port Forwarding.chrome_Port Forwarding - Error Code 502 on Epic Games
  8. Next, you need to enter the ports and port ranges below with the correct protocol and local IP of which you took note of – 80 (TCP/UDP), 433 (TCP), 443 (TCP), 3478 (TCP/UDP), 3479 (TCP/UDP), 5060 (TCP/UDP), 5062 (TCP/UDP), 5222 (TCP), 6250 (TCP/UDP), & 12000-65000 (TCP/UDP).
  9. Click Apply Changes.

If Epic Games Launcher throws you other errors, it is best to reinstall it; however, sometimes, you might not be able to uninstall the app; read this guide to learn how to deal with that.

6. Edit the Engine.ini file

  1. Press Windows + R to open the Run dialog box.explorer_localappdata - Fix the Error Code 502 on Epic Games
  2. Type %localappdata% and click OK to open the Local folder in the Appdata directory.
  3. Locate the EpicGamesLauncher folder, go to this path: Saved\Config\Windowsexplorer_save the engine.ini
  4. Locate and double-click the Engine.ini to open the Notepad, and add these lines to the file: Notepad_Engine.ini - Error Code 502 on Epic Games
    [HTTP]
    HttpTimeout=10
    HttpConnectionTimeout=10
    HttpReceiveTimeout=10
    HttpSendTimeout=10

    [Portal.BuildPatch]
    ChunkDownloads=3
    ChunkRetries=20
    RetryTime=0.5
  5. Press Ctrl + S to save the changes.

Remember that to avoid getting connection errors, you must keep your Epic Games Launcher app updated, check if you have a stable internet connection, and make sure the Firewall is not blocking access.

Speaking of Firewall permissions, if you are facing something went wrong while launching Epic Games Launcher, it could be Firewall interference.

Of other like errors, Notion also has an error 502, so do check out our article on how to bypass it.

If you have any questions or suggestions, please feel free to mention them in the comments section below. We’ll be happy to help!

More about the topics: Windows 11

User forum

0 messages