Here’s How to Fix “http/1.1 Service Unavailable” Error

The ‘http/1.1 service unavailable’ error occurs when your computer is not connecting to the backend of the website. This error prevents you from accessing the website entirely. It can be because your computer’s or the website’s network settings are not configured properly.

In some cases, simply giving it some time can be an effective solution. However, there are some solutions you can try from your end to make sure the error is not related to your PC. Stick with us to know more about how you can fix this issue.

Possible Causes of the Error

The ‘service unavailable’ error is usually server related and appears when there are more traffic requests than the server can handle. Apart from this, there are also other probable causes for this issue.

  • Bad DNS configuration
  • Malware and virus
  • Poor internet connection
  • Wrong date and time
  • Conflicting web browser cache

How to Fix the “http/1.1 Service Unavailable” Error?

If it is a server-side issue, it’ll probably get resolved on its own after some time. When all the traffic is dealt with and the server load decreases, the web page will be back to normal. As such, the first few fixes detail what you can do to fix it on the backend, whereas the rest detail what you can do as a normal user.

Fix WordPress Service Unavailable Error

The issue usually automatically resolves with time after the website traffic becomes normal. This may also occur if your web server can’t communicate with the PHP scripts properly. 

Try disabling the scripts one at a time until you find the unresponsive script. You can use the FTP client to change the settings. Here’s another solution you can try to solve the issue :

Deactivate Conflicting WordPress Plugins

Some plugins can cause conflict with the website. You can disable them by following these steps.

  1. Open the WordPress root folder and look for the public directory.
  2. Search and click on the wp-content directory.
  3. It will contain a folder named ‘Plugins.’
  4. You can either change the name of this folder to disable all plugins at once. Or you can also go into this folder and rename individual plugins.

This will cause the server to not recognize the plugin at all. Try renaming them to something easily recognizable.

Check Application Crash Logs

The HTTP error may happen if the server itself has crashed and cannot take any requests. You can check your application and system’s logs in the Event Viewer program to check the cause of that crash. 

Normally, the most probable cause is a highly busy website. The default maximum requests queue is 1000. If the server reaches this capacity, it will show users a ‘service unavailable’ error. 

Troubleshoot Netscaler Reachability

If you’re facing this error when accessing the Unified Gateway, the following steps will be helpful:

  1. The first step is to include a service. Then Add storefront server to it.
  2. Use multiple monitors like the tcp-default or icmp to test for possible connection and port issues.
  3. Allow the Storefront IP through the firewall for port 443.
  4. Go to storefront settings and Match the port and protocol with the Unified Gateway configuration.
  5. Input this expression in the content switch policy of Unified Gateway if it’s missing.
    HTTP.REQ.URL.PATH.SET_TEXT_MODE(IGNORECASE).STARTSWITH("/Citrix/STORE_NAME")

Run Windows Troubleshooter

The windows troubleshooter can pinpoint a problem and fix the issue automatically. It is divided into specific categories of the computer so you can easily figure out the issue.

  1. Press Win + I to go to settings.
  2. Click on Update & Security.
  3. Click troubleshoot on the left panel and  then go to ‘Additional troubleshooters.’
  4. Navigate to Internet Connections and click on Run the troubleshooter.internet-connection-run-the-troubleshooter
  5. It will start detecting problems and notify you to fix them if any issues are found.

Reset Network Stack

You can also try resetting your computer network stack to overcome this issue. The network stack includes your computer system’s DNS cache, IP subnet mask, and IP protocol settings. You can clear your computer’s network stack by following these steps:

  1. Press Win + R, type cmd and press Enter.
  2. Type these commands and Press Enter after each line of code:
    • ipconfig /flushdns
    • ipconfig /release
    • ipconfig /renew
    • ipconfig /registerdnsflushdnscommands
  3. Now enter the following commands and press Enter after each line of commands.
    • netsh winsock reset
    • netsh int ip resetnetsh-winsock-reset-and-ip-reset
  1. Restart your computer.

Clear Browser Cache

Your internet browser saves cache files of websites so it can load that website faster in the future. If any browser has made changes, the old cache files cause conflict, resulting in a dysfunctioning website. Clearing caches are generally a good idea as the browser will generate caches again when necessary. Clearing caches are different for every browser, but the general way is very similar.

  1. Open your browser and go to Settings.
  2. Navigate to the Privacy section.
  3. Look for the Browsing data section and click on Clear browsing data.
    clear browsing data
  4. Tick on Cached files and click Clear now.

Clear SSL Cache

The SSL certificates are responsible for protecting any data that is being exchanged in a network. It prevents data theft and prying from an unauthorized party. Incorrect SSL certificates can also cause issues with connecting to the internet. You can try clearing SSL caches to fix any possibilities.

  1. Go to the windows search bar and search for Internet Options.
  2. Navigate to Content.
  3. Click on Clear SSL state.clear-ssl-state

Change DNS settings

Changing your default DNS settings can also solve this error. These steps will guide you on how to clear your default DNS settings.

  1. Right-click on the Network icon in the system tray and click on Open Network and Internet settings.
  2. Click on Change Adapter Settings.
  3. Right-click on your Current Internet connection type (LAN or WIFI) and click Properties.
  4. Navigate to Internet Protocol Version 4(TCP/IPv4) and click on Properties. Careful not to click on the tickbox in front of it.
  5. Click on ‘Use the following DNS server automatically.
  6. Type the following IP Address:
    • Preferred DNS server: 8.8.8.8
    • Alternate DNS server: 8.8.4.4
      preferred and alternate dns
  7. Press on ok to save and exit. 
  8. Restart your PC.

Scan for Viruses and Malware

Windows has a built-in antivirus software called Window defender to tackle viruses and malware. Here’s how you scan for threats on your computer using Windows defender:

  1. Press Windows key + I to open settings.
  2. Go to Update and security > Windows Security.
  3. Click on Virus & Threat protection.
  4. You can click on Quick scan to scan for the most common viruses.Quick-Scan
  5. However, if you want a more thorough scan of your computer, click on Scan options and choose ‘Microsoft Defender Offline Scan’ and Click on ‘scan now.
    microsoft-defender-offline-scan-scan-now
  6. Restart your device.

You can also choose the ‘Full scan’ to do a complete scan of your system. It takes some time to complete and may even extend depending on your hard drive’s size.

Change Date and Time

A mismatched or incorrect date and time is one of the most common causes of internet connectivity issues.

You can change your computer’s date and time by following these steps:

  1. Right-click on the date/time indicator in the taskbar and click ‘Adjust date/time.
  2. Click on Change.
  3. Set the current date and time and click ‘Change.
    change date and time pop up

You can also auto-set the date and time of your computer by turning on the ‘Set time automatically.’ However, if your date and time settings are reset every time you restart your PC, you need to replace your CMOS battery.

Add a Comment

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