How to fix 502 Bad Gateway error in Windows

Browsing the internet doesn’t always go smoothly, you might encounter ads, pop-ups, viruses, malware, and even errors. In this post, we’ll walk you through how you can fix the 502 Bad Gateway error that you might encounter in browsing the internet. This kind of error suggests the server which is the one that’s acting as a gateway to facilitate in taking your request to the server and bring some response back has received an invalid response or even no response at all. It could be that the connection is broken or that there is an issue on the server-side that returns an invalid response. Even though the 502 Bad Gateway error is a server-related error, there are still a few things you can try that might help resolve it, if tapping the Ctrl + F5 keys does not resolve the problem.

Keep in mind that it doesn’t matter what website you open as this error can appear on any website. To resolve the problem, you need to follow the options prepared below.

Option 1 – Check the network cable connections and restart your router

As with other connection problems, this is the most basic thing to do before you try other troubleshooting options because the root cause of the problem might be as simple as a cable not connected properly or a router that just needs to be restarted. Thus, checking the network cable connection to see if there is anything out of order can help as well as restarting your router.

Option 2 – Reset Winsock, TCP/IP & Flush DNS

Resetting Winsock, TCP/IP, and flushing DNS might help you resolve the issue. To do so, follow these steps:

  • Right-click on the Start button and click on Command Prompt (administrator) so you can pull up an elevated Command Prompt.
  • After that, execute each one of the commands listed below. And after you typed in one after the other, you have to hit Enter.
  1. netsh winsock reset – type in this command to reset Winsock
  2. netsh int ip reset resettcpip.txt – type in this command to reset TCP/IP
  3. ipconfig /flushdns– type in this command to flush the DNS cache
  • Next, restart your PC and check if the problem’s fixed.

Option 3 – Change the DNS

Changing the DNS server for your network can also help you fix the 502 Bad Gateway error. You can use a public DNS like the Google Public DNS, Open DNS, Yandex DNS, Comodo Secure DNS, and many more. All you have to do is to override the default DNS settings on your PC so that you can specify which DNS server is used as well as which IP address should be used for a specific domain.

Option 4 – Try updating the Network Adapter Driver

Follow the steps below to update your Network Adapter Driver:

  • Tap the Win + R keys to launch the Run window and then type in the “devmgmt.msc” command and hit Enter to open the Device Manager window.
  • From there, expand the list of all the network drives and update each one of them.

Note: If updating the network drivers didn’t help in fixing the problem, you can also try to uninstall the very same drivers and restart your Windows 10 PC. After that, the system itself will reinstall the drivers you just uninstalled. Alternatively, you can also download and install the drivers from the manufacturer’s website directly.

Option 5 – Try a Network Reset

When all else fails, you might have to consider resetting your entire network settings. Simply follow the steps below to do so.

  • Click on the Start button and then click on the gear-like icon for Settings to open it.
  • Next, select Network and Internet.
  • Then scroll down and look for “Network Reset” – click on it and then click on the Reset now button.

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Not enough USB controller resources Error
As you know, USB is now being widely used in all devices with USB A as the leading type with most devices based on it. Peripheral devices such as Pen Drives, External Hard disks, and many more also use a USB port. On the other hand, USB C is also coming up to be the next big standard in the computing world because of its high transfer speeds, wider compatibility as well as support for external Graphics Processing Units. However, just recently, USB 3.0 ports have been reported to cause the following error to pop up on Windows 10 computers every time a USB device is plugged in.
“Not enough USB controller resources. The controller does not have enough resources for this device.”
To fix this error, here are some guidelines you can check out. Make sure to follow them carefully.

Option 1 – Try to use a lower generation USB port

The first thing you can do is to try using a lower generation USB port as this issue mostly occurs when a device is connected to a USB 3,0 port. This means that you have to plug in your device to a USB 2.0 port and then see if it fixes the error or not. You can easily decipher a USB 3.0 port from a USB 2.0 port as the former is in blue.

Option 2 – Try to use a dock

You could also try to use a dock to resolve the error. Note that when too much power on laptops and notebooks are drawn from the USB ports and as a USB 3.0 port draws more power compared to a USB 2.0 port. Thus, if you plug in your USB storage device into a USB 2.0 port with the help of a dock, it should fix the problem.

Option 3 – Try disabling the xHCI Mode option in the BIOS

  • First, boot your computer into the BIOS.
  • Once your computer has booted, go to the Advanced tab.
  • Next, make sure that the entry for “xHCI Pre-boot mode” is set to Disabled under the USB Configuration section.
  • Now save the changes you’ve made and then restart your computer to Windows 10 and see if the error is now fixed.

Option 4 – Update or reinstall the Universal Serial Bus Controller driver

Since it could be a driver issue, you can try to update or reinstall the Universal Serial Bus Controller drivers using the Device Manager. Refer to the following steps:
  • First, click the Start button and type “device manager”.
  • Then click on the “Device Manager” from the search results to open it.
  • From there, look for the “Universal Serial Bus controllers” option and then right click on each one of the USB drivers, especially the Generic USB Hub driver, and then select the Update Driver from the menu.
  • Restart your PC and then click the “Search automatically for updated driver software” option.
Note: If updating the USB Controller drivers didn’t work, you can try to reinstall them instead.

Option 5 – Run the Hardware and Devices Troubleshooter

You could also run the Hardware and device Troubleshooter to try and fix the “Not enough USB controller resources” error.
  • The first thing you need to do is click on Start and then on the gear-like icon to pull up the window for Settings.
  • After opening Settings, look for the Update and Security option and select it.
  • From there, go to the Troubleshoot option located on the left-hand side of the list.
  • Next, select Hardware and Devices from the list and open the Troubleshooter and run it. Once it is doing its job, wait for it to complete the process and then restart the system.
  • After the system restarts, check if the problem’s now fixed. If not, refer to the next option given below.
Read More
uTorrent is not responding on Windows
As you probably know, uTorrent is one of the best software you can use to download torrents over the web. It has been around for many years now and is trusted by lots of users despite having competition here and there. Over the years, uTorrent has changed as it is now packed with tons of features. What’s more, is that this program is no longer the smallest client when it comes to file size. However, just like other software, it is not always working smoothly as there are instances when it’s not responding even when it’s already running. The first thing you can do is to close all the processes of uTorrent and then try opening it again. There are various reasons why your uTorrent program fails to respond. However, it is most likely caused by some virus that was brought on by the file you’ve just downloaded. On the other hand, it could also be caused by other factors as well but whichever the case is, here are some fixes you can check out to resolve the uTorrent issue.

Option 1 – Delete the file you’ve downloaded

As pointed out earlier, uTorrent might have failed to respond due to some file you’ve just downloaded which is why you have to delete it since there really is no point in keeping a file that’s causing this kind of issue. After deleting the file, try opening uTorrent again and see if it now works or not.

Option 2 – Allow uTorrent to run via Windows Defender Firewall

  • Click on the Cortana or the Start button and type “firewall” in the field.
  • From the search results that appear, click on the “Allow an app through Windows firewall”.
  • After that, a new window will pop up and from there, you will see a list of apps that can be allowed or disallowed using a Windows firewall. From this list, you have to search for uTorrent and once you find it, set it to Publick if you are on a public network or Private if you’re in a private network.

Option 3 – Uninstall or reinstall uTorrent software

You can also try to completely uninstall uTorrent from your computer and then reinstall it right back. to do so, follow the steps below.
  • In the search box, type in “control” and then click on Control Panel (desktop app) among the search results.
  • After that, select Programs and Features from the list which will give you a list of all the programs installed on your computer.
  • From there, look for uTorrent and select it and then uninstall it.
  • Once uTorrent is uninstalled, go to uTorrent’s official website and download its latest version.

Option 4 – Try scanning your computer using Windows Defender

  • Tap the Win + I keys to open Update & Security.
  • Then click on the Windows Security option and open Windows Defender Security Center.
  • Next, click on Virus & threat protection > Run a new advanced scan.
  • Now make sure that Full Scan is selected from the menu and then click the Scan Now button to get started.
Read More
How to Fix Error Code 0xc0000142

What is Error 0xc0000142?

Error 0xc0000142 can occur in any of the Windows versions and usually occurs when an application fails to properly initialize.

This error can be critical for a computer as it signifies that the system is unstable. Error 0xc0000142 can cause slow performance in a PC, system freeze, startup and shutdown issues, blue screen and errors in installation.

Solution

Restoro box imageError Causes

Windows/Application Error 0xc0000142 can occur because of a number of reasons.

When a computer is an overload with data, or when system files get broken or missing, this error can occur and will result in startup and shutdown issues as well as the blue screen. Another reason, and one which is quite common, is improper computer maintenance.

This will cause a PC to perform slow, system freezes, and installation errors. This error displays ‘failed to initialize’ on either a Windows error box or the blue screen of death.

Further Information and Manual Repair

Error 0xc0000142 can occur at any time, but there are many ways to resolve it. For instance:

1) Clean the Registry

A corrupted registry is one of the major reasons why this error occurs. The registry is used by Windows to store information and settings on the computer, which is why it has a large database.

This database contains emails, wallpapers, saved passwords and much more in ‘file path references’. These allow Windows to run the common files in your system. A registry cleaner can fix any errors in the registry database.

2) Malware Scan

Viruses can cause certain applications to not function properly. Hence, download a strong antivirus and run a deep scan on your system and remove any potential infections and spyware.

3) Reinstall Applications

Non-critical applications in a computer are those that are installed by the user. If error 0xc0000142 displays in any of your installed programs, then you should reinstall these programs. Often applications have damaged or corrupted files which can slow them down. To resolve this, follow these steps:

  • From Start, click on Control Panel
  • Go to Add/Remove Programs and uninstall the programs
  • Restart your PC and reinstall the program

The third step is not recommended in case the error is caused by cmd.exe

4) Repair Windows

If the error is still on display despite following the previous steps, then you can repair Windows. This process allows Windows to retain all your data and information by simply replacing the program files and settings with fresh ones. This can stop error 0xc0000142 by allowing the programs access to use necessary files smoothly and effectively.

If you cannot resolve the error in any of these steps, then there is another way to do so if you have a computer that runs the Microsoft Internet Security and Acceleration (ISA) Server 2000. Follow these steps in order to resolve it:

  • Make sure that in Program Files and Microsoft ISA Server, a Clients folder exists. The ISA Server service will run on this folder
  • Confirm that Administrators and SYSTEM have Full Control assigned in the Program Files/Microsoft ISA Server/Clients folder
  • Confirm that Msplat.txt file is in the Clients folder. You can copy this file from other ISA Server computers if it is missing
  • If the Clients folder is damaged or is missing, or if you can’t copy the Msplat.tct file from another ISA Server computer, then reinstall the ISA Server 2000
Read More
Fix cannot open IPv4 Properties in Windows 10
Many Windows 10 users often change the IP addresses of their computers’ network adapter in order to connect to the internet or network they belong to in times when there is no automatic connection for their computers. In most cases, access to modifying this setting is restricted for some odd reason even if you are an administrator. So if you are one of the users whose Windows 10 VPN IPv4 Properties are not working, this post can help you remedy that so that you can open and edit the IPv4 Properties on your Windows 10 PC. The common way to change IP settings is by going to Settings > Network and then to Internet > Change adapter options > Select Network adapter > right click and open Properties. From there, you can select TCP/IP 4 and modify it. If you aren’t able to do this, refer to the instructions laid out below to troubleshoot the problem in accessing the IPv4 Properties.

Option 1 – Try using PowerShell to manually set the IPv4 properties

As you are not able to set it using the interface, you can do so using PowerShell instead. Note that this option will only work for you if you run PowerShell with administrator privileges. After opening PowerShell, according to many users, you have to run the this command – set-DnsClientServerAddress -InterfaceAlias “Ethernet” -ServerAddresses xxx.xx.xxx.xxx,x.x.x.x,xxx.xx.xxx.xxx,x.x.x.x Usually, Ethernet is the name of your network adapter which is set by default. If you want to see the actual name of your network adapter, you can just type this command and tap Enter after doing so – Get-NetAdapter -physical | where status -eq 'up' After entering the given command, you will see a list of active Ethernet adapter in your computer as you can see on the image above. Note that the 4 sets of X like the one on the image below should match with the sequence:

Option 2 – Try editing the rasphone.pbk files

The rasphone.pbk files stores property for the connections and since you are not able to access the IPv4 properties, it is most likely that it has been disabled here. The good thing is that you can open these files and edit them using Notepad. Refer to the steps below to do so.
  • Open the Windows Explorer and then enable the show hidden files option.
  • After that, look for the files at this location – C:Users <username>AppDataRoamingMicrosoftNetworkConnectionsPbk_hiddenPbkrasphone.pbk
  • Then right-click on it and select the “Open with” option and choose the Notepad app.
  • After opening the file, look for “IpPrioritizeRemote” from the long list.
  • Once you found it, set its value from “1” to “0”.
  • After that, look for “IPInterfaceMetric” and set its value to “1” and tap Ctrl + S to save the changes you’ve made, and then exit and try accessing the IPv4 properties again. It should work, but if you’re still unable to access it, try the next option below.

Option 3 – Enable the Split Tunneling if you use VPN

All data goes back and forth when you are using a VPN service on your computer. And since you are using VPN, it could be that it disables the IPv4 interface. If that’s the case, you need to stay connected with both the local network and VPN and to do so, you have to enable Split Tunneling. How? Follow these steps:
  • Open PowerShell with administrator privileges.
  • Next, type in “Get-VpnConnection” and tap Enter. After doing so, it will give you the exact name of your VPN.
  • After that, type in “Set-VpnConnection -Name “yourVPNName” -SplitTunneling $True” and tap Enter. Once you enter the command, it will free your IPv5 settings so that you can change it to connect with your local network if you prefer it to.
Read More
Rebuild Search Index in Windows 10
If by any chance your search result in Windows is misleading, missing, or incorrect then it is a high probability that your search index is out of date. To repair this issue follow this guide step by step. Please take note that rebuilding the whole search index can take a long time on some systems depending on the size of the index itself, CPU speed, HD speed, etc. Sometimes it can take even hours on large drives. First, press ⊞ WINDOWS + R to open the run dialog and type in it Control panel to open the control panel. keyboard with windows and r markedrun dialog with control panel typed in Once you are in the control panel, switch your view to large icons and locate Indexing options. Control panel with indexing options selectedInside indexing options, click on advanced. indexing options advanced button markedIn advanced options click on the rebuild and confirm. indexing options rebuild button markedLeave your computer to finish and your searches should be working fine now.
Read More
Open specific pages each time Chrome starts
When we are working on our computer, we have tendencies to make it look and behave to our best needs and however, best suits us. The Internet has crawled into our lives and made itself a must-have in modern society, internet browsers as a crucial piece of software for viewing the web have also grown and made themselves to be more open for user settings and personalization, Chrome, one of the most popular browser has the option to open a specific set of pages one it is opened and that is what we will cover today in this tutorial. No matter would you like to by default open some online store, maybe an email or news website, you can open each of them or all of them once Chrome is run, making your daily routine more enjoyable and stress-free. The first thing, of course, is to start Chrome itself, once Chrome is up, click on three dots in the upper right corner of the Chrome window and select settings. Google chrome settingsWhen you are in settings, on the left side move toward the bottom until you run into a tab that says On Startup and click on it. On right, a new section will open, click on Open a specific page or set of pages. Chrome startup pagesYou will be presented with the option to add a new page by typing its URL or getting it from bookmarks or using a specific opened one. You can repeat this process until you have added all pages that you wish to be automatically opened once Chrome is opened for the first time.

BONUS:

If you have noticed right above the setting that we have used for opening a specific set of pages there is the option Continue where you left off, this option will open each page exactly where it was when Chrome was shut down letting you keep viewing where you have left off. This is useful if by any chance your battery ran out or you had to quickly turn the computer off for whatever reason.
Read More
An Easy Guide to Fixing Error Code 800b0100

Error Code 800b0100 - What is it?

800b0100 is a typical Windows Update error. This error message occurs when you try to install the latest updates from Microsoft Updates and Windows Updates. The error message is displayed in the following format:
“Code 800B0100 Windows Update encountered an unknown error.”

Solution

Restoro box imageError Causes

Error code 800b0100 may pop up on your computer screen due to different reasons. However, some of the common causes include:
  • The file needed by Windows Update is corrupt or missing
  • Security software conflict such as Firewall
  • Incorrect Registry keys
  • Windows security .dll files are registered incorrectly

Further Information and Manual Repair

To resolve error code 800b0100 on your system, you don’t have to hire a professional. This error is quite easy to repair and requires no technical expertise. In other words, you don’t need to be a computer programmer or technically sound to repair this issue. Here are some of the easy and effective DIY methods that you can try to resolve error code 800b0100 on your system:

Method 1

Download System Update Readiness Tool from Microsoft’s website on your PC. This tool can help you fix this problem that might prevent Windows Updates from installing. Typically it will take 15 minutes or less to scan your entire PC.  The System Update Readiness Tool will scan your computer for inconsistencies that may cause errors to occur.

Method 2

Disable Security Software on your PC for example if you use Windows Vista then you will have Firewall already built in. Disable it to resolve error 800b0100. To do this, simply go to the start menu and open the control panel and then select security. Now locate the option Windows Firewall and upon finding, simply choose the option Turn Windows Firewall on or off. Select off (not recommended) option, then click Apply and OK to reset and confirm changes. After that, go back to the Windows Update screen and then click the try again button. The download and installation would start. After the installation is complete, restart your PC to activate changes. Once the updates are successfully installed, not re-enable the Firewall, to ensure your PC is not exposed to potential security threats or viruses.

Method 3

Remove Invalid Keys from the Registry by downloading Restoro. This is a PC Fixer deployed with a registry cleaner. It scans your entire PC and removes all the obsolete and unnecessary files like cookies, bad and invalid registry keys. It cleans and repairs the registry in a few clicks. Click here to download Restoro.
Read More
Could not start Diagnostic Policy Service
If you are trying to run a Windows Service like the Diagnostic Policy Service and encounter an error instead that says, “Windows could not start the Diagnostic Policy Service”, worry not for this post will guide you on what you can do of the Diagnostic Policy Service is not running in your Windows 10 computer. As you know, the Diagnostic Policy Service enables problem detection, troubleshooting, and resolution for Windows components on your Windows operating system. When you encounter this kind of problem, you will also see the “Access is denied” error message. This occurs when the “MpsSvc” process does not have the permissions needed for the Registry keys. This kind of problem happens when the TrustedInstaller account is missing the permissions for a Registry key and so to fix this issue, you need to take full control and ownership of the Registry keys. You need to create a System Restore point first before you get started. This way, you can always undo the changes you’re about to make in case anything goes wrong. Once you’re done creating a System Restore point, refer to the following instructions to fix the “Windows could not start the Diagnostic Policy Service” error. Step 1: Tap the Win + R key combination to open the Run utility. Step 2: Type in “Regedit” in the field and tap Enter to open the Registry Editor. Step 3: After opening the Registry Editor, navigate to this registry path:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesDPSParameters
Step 4: After that, look for the “Parameters” registry key and select Permissions. Step 5: Now select your account under Group or user names. Step 6: Next, make sure that the “Full Control” and “Read” boxes are both checked, and then click on the Apply and OK buttons to save the changes. Step 7: Afterwards, navigate to this registry key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlWDIConfig Step 8: From there, look for the Config key and right-click on it and select Permissions and then click on Add and type “NT Service/DPS in the box and click OK. Step 9: Now select “DPS” and check the Full control box, click OK and exit the Registry Editor. Step 10: Reboot your computer and check if the error is now fixed.
Read More
Fix Operating System Loader has no signature
Booting up your Windows 10 computer does not always go smoothly as it is a complex process and you may encounter some issues along the way. There are various files that get loaded and executed while the Windows 10 operating system is loaded. You might encounter a page that displays the following error message:
“Operating System Loader has no signature. Incompatible with SecureBoot. All bootable devices failed Secure Boot verification.”
There are two main causes for this error – it could be that your computer is using a bad unauthentic Boot Image File or the Windows operating system is installed in the BIOS Mode. To fix this error, you can try performing a “cold” boot or reset the BIOS or reset your Windows 10 computer.

Option 1 – Try to perform a Cold Boot

To perform a cold boot, all you have to do is press and hold the power button of your CPU until it goes off. Once it’s off, boot your computer normally and then check if the problem is now fixed.

Option 2 – Try resetting the BIOS

If performing a cold boot did nothing to fix the problem, you can try to reset the BIOS instead.
  • Start your computer and tap the F10 key during the booting process to enter the BIOS. If it does not work, you can try tapping the F1 or F2 key as well as the Del key.
  • Once you’re already in the BIOS, tap the F9 key to get the prompt to RestoreLoad default configuration now for the BIOS.
  • Next, click on Yes and then follow the next on-screen instructions that appear to set the BIOS back to its default settings.
  • Once you’re done restoring the default settings of the BIOS, restart your computer and then check if it now boots properly.

Option 3 – Try to change the Boot Sequence

You could also try to change the Boot Sequence to fix the error. To change the Boot Sequence, follow these steps:
  • Open Windows Settings and then go to Update & Security > Recovery Advanced Startup and then click on Restart Now.
  • Once your computer has restarted, you should see the Advanced Options.
  • Next, select Troubleshoot > Advanced Options. This will offer another set of options and from there, select the UEFI Firmware Settings and it will let your restart your computer.
  • After the restart, it will take you to the Firmware settings and from there, switch to the Boot tab where you’ll see the “Boot Priority” which contains the list of the connected hard drive, CD/DVD, ROM, and USB drive.
  • Use the arrow keys on your keyboard to change the boot sequence.
  • Once you’re done, save and exit.

Option 4 – Reset your computer

  • Tap the Win key or click on the Start button located in the Taskbar.
  • Then click on the Power button at the bottom right portion of the screen.
  • Next, press and hold the Shift key on your keyboard and then click on Restart. This will restart your Pc into the Advanced Startup options.
Note: Once you have access to the Advanced Startup options, you have to go to the setting which allows you to Reset your Windows 10 PC. All you have to do is select Troubleshoot > Reset this PC to reach the following screen
  • Afterward, select either the “Keep my files” option and then proceed to the next on-screen instructions that follow to reset your Windows 10 computer without losing your files.
Read More
How to place control panel in File explorer
Recent Windows updates have been slowly but surely moved a lot of control panel features into settings. This indicates that in the long term goal is probably to get rid of the control panel altogether. No matter how the setting app is easy to use and good there are still things in the control panel that we need and we will still need until they are all moved in the setting application. There are several ways to open and get to the control panel from run dialog to shortcut keys but one perhaps more convenient and easiest way is to just simply have in file explorer right beside hard drives double click away. In order to place the control panel icon inside file explorer, we will need the help of our old friend: the registry editor. As always playing with the registry editor can cause some instability and it is always a smart thing to back up it first before attempting any kind of edits.

Registry editor adding a key

To open registry editor press ⊞ WINDOWS + R to open the run dialog and inside type in REGEDIT followed by ENTER Once the registry editor is opened locate the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer Right-click on the NameSpace folder on the left navigation pane and then select New > Key Rename the key with {21EC2020-3AEA-1069-A2DD-08002B30309D} (This CLSID code will add access to the Category view of the Windows 10 Control Panel) or with {26EE0668-A00A-44D7-9371-BEB064C98683} (This CLSID code will add access to the large icons view of the Windows 10 Control Panel) Save and exit the registry editor Now when opened, file explorer will show a control panel icon for easy access.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status