Web error 104

Error 104 Error 104 (net: : ERR_CONNECTION_FAILED) errors can freeze or crash your computer and may lead to possible malware infections. Follow these easy steps to fix your Runtime Errors errors quickly and simply.

This article features error number Code 104, commonly known as Error 104 (net: : ERR_CONNECTION_FAILED) described as Error 104 (net: : ERR_CONNECTION_FAILED). Google Chrome is unable to find and load the requested webpage.

About Runtime Code 104

Runtime Code 104 happens when Google Chrome fails or crashes whilst it’s running, hence its name. It doesn’t necessarily mean that the code was corrupt in some way, but just that it did not work during its run-time. This kind of error will appear as an annoying notification on your screen unless handled and corrected. Here are symptoms, causes and ways to troubleshoot the problem.

Definitions (Beta)

Here we list some definitions for the words contained in your error, in an attempt to help you understand your problem. This is a work in progress, so sometimes we might define the word incorrectly, so feel free to skip this section!

  • Find — This tag has multiple meanings
  • Google chrome — Google Chrome is a web browser that uses the Blink rendering engine Questions should relate to development using Chrome or for Chrome
  • Load — A measure of the amount of work a computer is performing
  • Webpage — A web page or webpage is a document or information resource that is accessible via the Internet or a local file that can be accessed through a web browser and displayed on a monitor or mobile device.
  • Google+ — Integrate applications or websites with the Google+ platform

Symptoms of Code 104 — Error 104 (net: : ERR_CONNECTION_FAILED)

Runtime errors happen without warning. The error message can come up the screen anytime Google Chrome is run. In fact, the error message or some other dialogue box can come up again and again if not addressed early on.

There may be instances of files deletion or new files appearing. Though this symptom is largely due to virus infection, it can be attributed as a symptom for runtime error, as virus infection is one of the causes for runtime error. User may also experience a sudden drop in internet connection speed, yet again, this is not always the case.

Fix Error 104 (net: : ERR_CONNECTION_FAILED) (Error Code 104)
(For illustrative purposes only)

Causes of Error 104 (net: : ERR_CONNECTION_FAILED) — Code 104

During software design, programmers code anticipating the occurrence of errors. However, there are no perfect designs, as errors can be expected even with the best program design. Glitches can happen during runtime if a certain error is not experienced and addressed during design and testing.

Runtime errors are generally caused by incompatible programs running at the same time. It may also occur because of memory problem, a bad graphics driver or virus infection. Whatever the case may be, the problem must be resolved immediately to avoid further problems. Here are ways to remedy the error.

Repair Methods

Runtime errors may be annoying and persistent, but it is not totally hopeless, repairs are available. Here are ways to do it.

If a repair method works for you, please click the upvote button to the left of the answer, this will let other users know which repair method is currently working the best.

Please note: Neither ErrorVault.com nor it’s writers claim responsibility for the results of the actions taken from employing any of the repair methods listed on this page — you complete these steps at your own risk.

Method 6 — Reinstall Your Graphics Driver

If the error is related to a bad graphics driver, then you may do the following:

  • Open your Device Manager, locate the graphics driver
  • Right click the video card driver then click uninstall, then restart your computer

Method 1 — Close Conflicting Programs

When you get a runtime error, keep in mind that it is happening due to programs that are conflicting with each other. The first thing you can do to resolve the problem is to stop these conflicting programs.

  • Open Task Manager by clicking Ctrl-Alt-Del at the same time. This will let you see the list of programs currently running.
  • Go to the Processes tab and stop the programs one by one by highlighting each program and clicking the End Process buttom.
  • You will need to observe if the error message will reoccur each time you stop a process.
  • Once you get to identify which program is causing the error, you may go ahead with the next troubleshooting step, reinstalling the application.

Method 2 — Update / Reinstall Conflicting Programs

Using Control Panel

  • For Windows 7, click the Start Button, then click Control panel, then Uninstall a program
  • For Windows 8, click the Start Button, then scroll down and click More Settings, then click Control panel > Uninstall a program.
  • For Windows 10, just type Control Panel on the search box and click the result, then click Uninstall a program
  • Once inside Programs and Features, click the problem program and click Update or Uninstall.
  • If you chose to update, then you will just need to follow the prompt to complete the process, however if you chose to Uninstall, you will follow the prompt to uninstall and then re-download or use the application’s installation disk to reinstall the program.

Using Other Methods

  • For Windows 7, you may find the list of all installed programs when you click Start and scroll your mouse over the list that appear on the tab. You may see on that list utility for uninstalling the program. You may go ahead and uninstall using utilities available in this tab.
  • For Windows 10, you may click Start, then Settings, then choose Apps.
  • Scroll down to see the list of Apps and features installed in your computer.
  • Click the Program which is causing the runtime error, then you may choose to uninstall or click Advanced options to reset the application.

Method 3 — Update your Virus protection program or download and install the latest Windows Update

Virus infection causing runtime error on your computer must immediately be prevented, quarantined or deleted. Make sure you update your virus program and run a thorough scan of the computer or, run Windows update so you can get the latest virus definition and fix.

Method 4 — Re-install Runtime Libraries

You might be getting the error because of an update, like the MS Visual C++ package which might not be installed properly or completely. What you can do then is to uninstall the current package and install a fresh copy.

  • Uninstall the package by going to Programs and Features, find and highlight the Microsoft Visual C++ Redistributable Package.
  • Click Uninstall on top of the list, and when it is done, reboot your computer.
  • Download the latest redistributable package from Microsoft then install it.

Method 5 — Run Disk Cleanup

You might also be experiencing runtime error because of a very low free space on your computer.

  • You should consider backing up your files and freeing up space on your hard drive
  • You can also clear your cache and reboot your computer
  • You can also run Disk Cleanup, open your explorer window and right click your main directory (this is usually C: )
  • Click Properties and then click Disk Cleanup

Method 7 — IE related Runtime Error

If the error you are getting is related to the Internet Explorer, you may do the following:

  1. Reset your browser.
    • For Windows 7, you may click Start, go to Control Panel, then click Internet Options on the left side. Then you can click Advanced tab then click the Reset button.
    • For Windows 8 and 10, you may click search and type Internet Options, then go to Advanced tab and click Reset.
  2. Disable script debugging and error notifications.
    • On the same Internet Options window, you may go to Advanced tab and look for Disable script debugging
    • Put a check mark on the radio button
    • At the same time, uncheck the «Display a Notification about every Script Error» item and then click Apply and OK, then reboot your computer.

If these quick fixes do not work, you can always backup files and run repair reinstall on your computer. However, you can do that later when the solutions listed here did not do the job.

Other languages:

Wie beheben Fehler 104 (Fehler 104 (netto: : ERR_CONNECTION_FAILED)) — Fehler 104 (net: : ERR_CONNECTION_FAILED). Google Chrome kann die angeforderte Webseite nicht finden und laden.
Come fissare Errore 104 (Errore 104 (net: : ERR_CONNECTION_FAILED)) — Errore 104 (net: : ERR_CONNECTION_FAILED). Google Chrome non è in grado di trovare e caricare la pagina web richiesta.
Hoe maak je Fout 104 (Fout 104 (netto: : ERR_CONNECTION_FAILED)) — Fout 104 (netto:: ERR_CONNECTION_FAILED). Google Chrome kan de gevraagde webpagina niet vinden en laden.
Comment réparer Erreur 104 (Erreur 104 (réseau : : ERR_CONNECTION_FAILED)) — Erreur 104 (réseau : : ERR_CONNECTION_FAILED). Google Chrome ne parvient pas à trouver et à charger la page Web demandée.
어떻게 고치는 지 오류 104 (오류 104(순: ERR_CONNECTION_FAILED)) — 오류 104(net: : ERR_CONNECTION_FAILED). Google 크롬이 요청한 웹페이지를 찾아 로드할 수 없습니다.
Como corrigir o Erro 104 (Erro 104 (rede:: ERR_CONNECTION_FAILED)) — Erro 104 (rede:: ERR_CONNECTION_FAILED). O Google Chrome não conseguiu localizar e carregar a página da web solicitada.
Hur man åtgärdar Fel 104 (Fel 104 (net: : ERR_CONNECTION_FAILED)) — Fel 104 (net:: ERR_CONNECTION_FAILED). Google Chrome kan inte hitta och ladda den begärda webbsidan.
Как исправить Ошибка 104 (Ошибка 104 (сеть:: ERR_CONNECTION_FAILED)) — Ошибка 104 (сеть: ERR_CONNECTION_FAILED). Google Chrome не может найти и загрузить запрошенную веб-страницу.
Jak naprawić Błąd 104 (Błąd 104 (sieć: : ERR_CONNECTION_FAILED)) — Błąd 104 (sieć: : ERR_CONNECTION_FAILED). Google Chrome nie może znaleźć i załadować żądanej strony internetowej.
Cómo arreglar Error 104 (Error 104 (red:: ERR_CONNECTION_FAILED)) — Error 104 (red:: ERR_CONNECTION_FAILED). Google Chrome no puede encontrar y cargar la página web solicitada.

The Author About The Author: Phil Hart has been a Microsoft Community Contributor since 2010. With a current point score over 100,000, they’ve contributed more than 3000 answers in the Microsoft Support forums and have created almost 200 new help articles in the Technet Wiki.

Follow Us: Facebook Youtube Twitter

Last Updated:

17/11/22 11:59 : A iPhone user voted that repair method 6 worked for them.

Recommended Repair Tool:

This repair tool can fix common computer problems such as blue screens, crashes and freezes, missing DLL files, as well as repair malware/virus damage and more by replacing damaged and missing system files.

STEP 1:

Click Here to Download and install the Windows repair tool.

STEP 2:

Click on Start Scan and let it analyze your device.

STEP 3:

Click on Repair All to fix all of the issues it detected.

DOWNLOAD NOW

Compatibility

Requirements

1 Ghz CPU, 512 MB RAM, 40 GB HDD
This download offers unlimited scans of your Windows PC for free. Full system repairs start at $19.95.

Article ID: ACX03994EN

Applies To: Windows 10, Windows 8.1, Windows 7, Windows Vista, Windows XP, Windows 2000

Speed Up Tip #24

Use Wired Over Wireless Connection:

Speed up data transfer across your network by forcing Windows to use a wired connection over a wireless connection. You can do this by either changing the network adapter bindings or by changing the metric on each network connection.

Click Here for another way to speed up your Windows PC

When you are attempting to log into any website, you get Error 104 Connection Reset by Peer shows like, ‘The Information you have entered is not valid.’ So, if you are getting or facing this type of error code problem, you must check out this post once sufficiently to get the best and right solutions for your this error problem. So check out,

It shows an error code message like,

Error 104

This webpage is not available

The webpage might be temporarily down, or it may have moved permanently to a new web address.

Error 104 (net::ERR_CONNECTION_FAILED). The attempt to connect to the server failed.

This error may occur when your PC or the router cannot find the internet connection. This error may also result in a fault in the router’s settings or the modem. It is mainly found on the D-Link router & modems. It is a standard error that most users face. & it mostly showed in the google chrome browser. This Error Code 104 includes PC crashes, freezes & malware, or virus infection.

Causes of Error 104 Connection Reset by Peer Issue:

  • Connection reset by peer
  • Windows PC error problem
  • Google Chrome Browser error issue

So, here are the guide and some solutions for fixing and solving this type of Error 104 Connection Reset by Peer problem from you completely.

How to Fix Error 104 Connection Reset by Peer Windows Issue

1. Clear your Internet Browser Cache & Cookies on your PC –

Clear your Browsing Data cookies and cache

  • Go to your Browser
  • Click on the Settings tab or click on the History option
  • Go to the “Clear Browsing Data” option there
  • Tick the ‘Cookies‘ and ‘Caches‘ options there
  • If you want any more to delete, then tick that option too
  • Now click on their drop-down menu
  • Select the ‘from the beginning‘ option there
  • Now, click on the “Clear Browsing Data” button there
  • Wait for some minutes to delete it
  • Now, close the tab
  • That’s it, done

Clearing your browser’s browsing data can eliminate this WebEx Error 104 (connection reset by peer) problem from you.

2. Run a Full Scan of your Windows PC for Viruses/Malware –

Scan your PC for Virus/Malware - Error 104

  • Go to the start menu.
  • Search or go to the “Microsoft Security Essentials” there
  • Click on it and opens it there
  • A Pop-up will open there
  • Check the ‘Full‘ option there to scan thoroughly
  • After, click on the ‘Scan Now‘ option to scan carefully
  • After scanning, close the tab
  • That’s it, done

Running a full scan of your PC can completely eliminate this Error 104 Connection reset by peer problem from your PC.

3. Uninstall the Unwanted Extensions from your Internet Browser –

Uninstall unwanted Extensions from your Browser

  • Go to the start menu
  • Search or go to your Browser
  • Click on it and opens it there
  • After that, click on the three dots signs there
  • & click on ‘More Tools‘ there
  • Now, click on the ‘Extensions‘ option there
  • Click on the extension which you do not want (Unwanted)
  • Click on the Trash sign there to remove it from the browser
  • After removing, close the tab
  • That’s it, done

Uninstalling unwanted extensions from your browser can quickly fix and solve this pad error 104 Netflix problems from your PC browsers.

4. Do a Windows Disk CleanUp on your PC –

Run a Disk Cleanup of your PC Error 104

  • Go to the start menu
  • Search or go to the Disk Cleanup
  • Opens it and after that
  • Select the Disk you want to clean
  • Now, tick & select the options which you want to clean it
  • Wait for some minutes to clean
  • After completing, close the tab
  • That’s it, done

Running a disk cleanup of your full PC can quickly fix and solve this Error 104 Connection reset by peer problem from your PC.

5. Create a System Restore Point on your Windows PC –

Fix System Restore Features

  • Go to the start menu
  • Search or go to the ‘System Restore.’
  • Clicks on it and open it there
  • After that, tick on the “Recommended settings” or ‘Select a restore point‘ there.
  • After selecting, click on the Next option there
  • Now, follow the wizard
  • After completing, close the tab
  • That’s it, done

By trying this guide and tips from here, you will eliminate this pad Error 104 problem issue.

OR

Run System Restore & Create a Restore Point Error 104

  • Go to the start menu
  • Search or go to the ‘System Properties.’
  • Click on it and opens it.
  • After that, go to the “System Protection” option there
  • Now, click on the “System Restore” option there
  • & Create a Restore point there
  • After completing, close the tab
  • That’s it, done

Running a system restore and creating a new restore point by any of these two methods can completely solve this Error 104 Netflix problem from your PC.

Conclusion:

These are some tips and guides for permanently removing this Error 104 Connection Reset by Peer problem from you. Hopefully, these solutions will help you get back from this Error 104 problem.

If you are facing any Error 104 Connection Reset by Peer problem or any problem while fixing it, then comment down the error problem below so that we can fix and solve it too by our quick guide solutions.

Icon Ex Error Number: Error 104
Error Name: Error 104 (net: : ERR_CONNECTION_FAILED)
Error Description: Error 104 (net: : ERR_CONNECTION_FAILED). Google Chrome is unable to find and load the requested webpage.
Developer: Google Inc.
Software: Google Chrome
Applies to: Windows XP, Vista, 7, 8, 10, 11

Examination of Error 104 (net: : ERR_CONNECTION_FAILED)

Error 104 (net: : ERR_CONNECTION_FAILED) is a standard sort of runtime error. Programmers work through different levels of debugging in attempt to make sure that Google Chrome is as close to error-free as possible. Regrettably, issues such as error 104 might not get fixed at this final stage.

Google Chrome users might run into the error 104 caused by normal use of the application, which might also read as, «Error 104 (net: : ERR_CONNECTION_FAILED). Google Chrome is unable to find and load the requested webpage.». Once bug has been reported, Google Inc. will react and quickly investigate the error 104 issues. The programming team can use this info to find and fix the issue (developing an update). To correct such error 104 errors, an installable software update will be released from the software provider.

What Actually Causes Runtime Error 104?

A failure during the execution of Google Chrome is generally when you will encounter Error 104 (net: : ERR_CONNECTION_FAILED) as a runtime error. The following three most significant causes of error 104 runtime errors include:

Error 104 Crash — This is a common error 104 runtime error that results in the program completely terminating. This usually happens when Google Chrome can’t handle the provided input, or when it doesn’t know what to output.

Error 104 (net: : ERR_CONNECTION_FAILED) Memory Leak — Error 104 memory leak results in Google Chrome increasing in size and horsepower utilized, causing poor systems efficiency. Potential triggers may be endless looping, which causes the program operation to run over and over again.

Error 104 Logic Error — Logic errors manifest when the user inputs the correct data but the device produces the wrong result. The culprit in this case is usually a flaw in Google Inc. source code that handles the input incorrectly.

The root causes of Google Inc. errors associated with Error 104 (net: : ERR_CONNECTION_FAILED) include a missing or corrupt file, or in some cases, a past or present Google Chrome-related malware infection. Replacing your Google Inc. file is generally a solution to fixing these issues. In some cases, the Windows registry is attempting to load a Error 104 (net: : ERR_CONNECTION_FAILED) file that no longer exists, therefore we recommend running a registry scan to repair any invalid file path references.

Common Error 104 (net: : ERR_CONNECTION_FAILED) Issues

Partial List of Error 104 (net: : ERR_CONNECTION_FAILED) Google Chrome Errors:

  • «Error 104 (net: : ERR_CONNECTION_FAILED) Software Error.»
  • «Error 104 (net: : ERR_CONNECTION_FAILED) not valid.»
  • «Error 104 (net: : ERR_CONNECTION_FAILED) has encountered a problem and needs to close. We are sorry for the inconvenience.»
  • «Sorry, we can’t find Error 104 (net: : ERR_CONNECTION_FAILED).»
  • «Error 104 (net: : ERR_CONNECTION_FAILED) is missing.»
  • «Problem starting application: Error 104 (net: : ERR_CONNECTION_FAILED).»
  • «Error 104 (net: : ERR_CONNECTION_FAILED) not working.»
  • «Error 104 (net: : ERR_CONNECTION_FAILED) quit.»
  • «Faulting Application Path: Error 104 (net: : ERR_CONNECTION_FAILED).»

Usually Error 104 (net: : ERR_CONNECTION_FAILED) errors with Google Chrome happen during startup or shutdown, while Error 104 (net: : ERR_CONNECTION_FAILED) related programs are running, or rarely during the OS update sequence. Notating when Error 104 (net: : ERR_CONNECTION_FAILED) errors occur is paramount in finding the cause of the Google Chrome problems and reporting them to Google Inc. for help.

Origins of Error 104 (net: : ERR_CONNECTION_FAILED) Troubles

Error 104 (net: : ERR_CONNECTION_FAILED) issues are caused by a corrupt or missing Error 104 (net: : ERR_CONNECTION_FAILED), invalid registry keys associated with Google Chrome, or a malware infection.

Especially, Error 104 (net: : ERR_CONNECTION_FAILED) errors stem from:

  • Corrupted or invalid Error 104 (net: : ERR_CONNECTION_FAILED) registry entry.
  • Malware infestation corrupted Error 104 (net: : ERR_CONNECTION_FAILED) file.
  • A different program (not related with Google Chrome) deleted Error 104 (net: : ERR_CONNECTION_FAILED) maliciously or by mistake.
  • Another software in conflict with Google Chrome, Error 104 (net: : ERR_CONNECTION_FAILED), or shared references.
  • Incomplete or corrupt Google Chrome (Error 104 (net: : ERR_CONNECTION_FAILED)) from download or installation.

Product by Solvusoft

Download Now
WinThruster 2022 — Scan your PC for computer errors.

Compatible with Windows 11, 10, 8, 7, Vista, XP and 2000

Optional Offer for WinThruster by Solvusoft | EULA | Privacy Policy | Terms | Uninstall

I have a server which was working ok until 3rd Oct 2013 at 10:50am when it began to intermittently return «502 Bad Gateway» errors to the client.

Approximately 4 out of 5 browser requests succeed but about 1 in 5 fail with a 502.

The nginx error log contains many hundreds of these errors;

2013/10/05 06:28:17 [error] 3111#0: *54528 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 66.249.66.75, server: www.bec-components.co.uk  request: ""GET /?_n=Fridgefreezer/Hotpoint/8591P;_i=x8078 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.bec-components.co.uk"

However the PHP error log does not contain any matching errors.

Is there a way to get PHP to give me more info about why it is resetting the connection?

This is nginx.conf;

user              www-data;
worker_processes  4;
error_log         /var/log/nginx/error.log;
pid               /var/run/nginx.pid;

events {
   worker_connections  1024;
}

http {
  include          /etc/nginx/mime.types;
  access_log       /var/log/nginx/access.log;

  sendfile               on;
  keepalive_timeout      30;
  tcp_nodelay            on;
  client_max_body_size   100m;

  gzip         on;
  gzip_types   text/plain application/xml text/javascript application/x-javascript text/css;
  gzip_disable "MSIE [1-6].(?!.*SV1)";

  include /gvol/sites/*/nginx.conf;

}

And this is the .conf for this site;

server {

  server_name   www.bec-components.co.uk bec3.uk.to bec4.uk.to bec.home;
  root          /gvol/sites/bec/www/;
  index         index.php index.html;

  location ~ .(js|css|png|jpg|jpeg|gif|ico)$ {
    expires        2592000;   # 30 days
    log_not_found  off;
  }

  ## Trigger client to download instead of display '.xml' files.
  location ~ .xml$ {
    add_header Content-disposition "attachment; filename=$1";
  }

   location ~ .php$ {
      fastcgi_read_timeout  3600;
      include               /etc/nginx/fastcgi_params;
      keepalive_timeout     0;
      fastcgi_param         SCRIPT_FILENAME  $document_root$fastcgi_script_name;
      fastcgi_pass          127.0.0.1:9000;
      fastcgi_index         index.php;
   }
}

## bec-components.co.uk ##
server {
   server_name   bec-components.co.uk;
   rewrite       ^/(.*) http://www.bec-components.co.uk$1 permanent;
}

Recently Nginx reverse agent encountered «104: Connection Reset by Peer» error, Google, record it.

This article is formed in accordance with the content of many Internet s, the copyright of the reference content is owned by the original author, limited to learning research.

1 Error reason: Check if the link is already a close.

Upstream sends RST to reset the connection.

Errno=104 Error indicates that you call WRITE or SEND method on a connection to a peer Socket, in which case the WRITE or SOCKET will send a RESET signal to this SOCKET, After this, if the WRITE or SEND operation is continued, Errno is 104, and the error is described as Connection Reset by Peer.

If the other party Socket has executed a CLOSE operation, this Socket continues to send and receive data on this connection, trigger the peer Socket to send RST packets. According to the four handshake principles of TCP, this time SOCKET should also start executing the CLOSE’s operational process, not the data.

2 possible reasons

2.1 Links have been disconnected

This should be the most fundamental reason.

2.2 Data length is inconsistent

If the transmitting end and the receiving end are not uniformly caused, the receiving end is notified that the data length to be received is less than the data length actually transmitted in the transmitting end.

2.3 Nginx cache is small, TIMEOUT is too small.

Nginx’s buffer is too small, TIMEOUT is too small.

Nginx HTTP module Add the following parameter configuration:

  client_header_buffer_size 64k;
Large_client_header_buffers 4 64k;
Client_body_buffer_size 20m;
Fastcgi_buffer_size 128k;
Fastcgi_buffers 4 128k;
Fastcgi_busy_buffers_size 256k;
Gzip_buffers 16 8K;
Proxy_buffer_size 64k;
Proxy_buffers 4 128k;
Proxy_busy_buffers_size 256k;

Keepalive_Timeout 240;
Fastcgi_connect_timeout 600;
Fastcgi_send_timeout 600;
FastCGi_Read_Timeout 600;

Proxy_connect_timeout 600s;
Proxy_send_timeout 1200;
Proxy_read_timeout 1200;  

2.3 Nothing set KeePalive

NGX_HTTP_UPSTREAM_CHECK_MODULE This module, when using the TCP to detect the bacterm, only the three handshakes of TCP, no active disconnection, but waiting for the server to disconnect. When the backend is Nginx or Tomcat (on Linux), the rear end will send a FIN package to close this connection.

This error log rv () failed (104: connection reset by peer) is thrown in the rear end for IIS, the captain discovery IIS does not send FIN bag to disconnect the link, but after timeout, RST The package reset is connected, so this problem has led to this problem.

From this question, the NGX_HTTP_UPSTREAM_CHECK_MODULE does still need to improve the detection mechanism, if it takes the connection to the connection after the rear end state, there should be no connection if connect reset

This problem has been solved by modifying the source code

Static NGX_CHECK_CONF_T NGX_CHECK_TYPES []={

{NGX_HTTP_CHECK_TCP,

NGX_String («TCP»),

NGX_NULL_STRING,

0,

NGX_HTTP_UPSTREAM_CHECK_PEEK_HANDLER,

NGX_HTTP_UPSTREAM_CHECK_PEEK_HANDLER,

NULL,

NULL,

NULL,

0,

1 },

Change 1 of the last line to 0, according to data structural analysis, this 1 means enables KeePalive, so the client will not actively disconnect the connection, because this is the port connectivity check of TCP, do not need KeePalived, Change it to 0 to prohibit KeePalived.

The code after the modification is as follows:

Static NGX_CHECK_CONF_T NGX_CHECK_TYPES []={

{NGX_HTTP_CHECK_TCP,

NGX_String («TCP»),

NGX_NULL_STRING,

0,

NGX_HTTP_UPSTREAM_CHECK_PEEK_HANDLER,

NGX_HTTP_UPSTREAM_CHECK_PEEK_HANDLER,

NULL,

NULL,

NULL,

0,

0},

2.4 settings
lingeering_close

Even if you disable HTTP Keepalive, Nginx will still try to process the request for HTTP 1.1 PipeLine. You can configure

Lingering_close OFF disables this behavior, but this is not a recommended approach because it will violate the HTTP protocol. see

http://nginx.org/en/docs/http/ngx_http_core_module.html#lingering_close

3 Nginx fast positioning exception

Error message

Wrong description

«UPSTREAM Prematurely» Closed Connection »

The exception that appears when the URI is requested, because the UPSTREAM has not returned to the user, and the user has no effect, it has no effect on the system, which can be ignored.

«RECV () failed (104: connection reset by peer»

(1) The number of concurrent connections of the server exceeds its carrier, and the server will connect some of them;

(2) The customer turns off the browser, and the server is still sending data to the client;

(3) The browser is pressed by STOP.

«(111: Connection Refused) While Connecting to Upstream»

When the user is connected, if the backend UPSTREAM is encountered or not, it will receive the error.

«(111: Connection Refused) While Reading Response Header from Upstream»

When the user reads the data after the connection is successful, if the backend UPSTREAM hangs or not, it will receive the error.

«(111: Connection Refused) While Sending Request to Upstream»

When the NGINX and UPSTREAM are successfully sent, if the backend UPSTREAM is encountered or not, it will receive the error.

«(110: Connection Timed Out) While Connecting to Upstream

When the UPSTREAM after the Nginx connection is timeout

«(110: Connection Timed Out) While Reading Upstream

Nginx reads the response from UPSTREAM

«(110: Connection Timed Out) While Reading Response Header from Upstream

Nginx reads the response head from UPSTREAM

«(110: Connection Timed Out) While Reading Upstream

Nginx reads the response from UPSTREAM

«(104: Connection Reset by peer) While Connecting to Upstream»

Upstream sends RST to reset the connection

«Upstream Sent Invalid Header While Reading Response Header from Upstream»

The response header sent by the UPSTream is invalid

Upstream Sent No Valid HTTP/1.0 Header While Reading Re Sponse header from upstream »

The response header sent by the UPSTream is invalid

«Client Intended to Send Too Large Body»

The maximum value used to set the client request content, the default value is 1M, the Body sent by the client exceeds the setting value.

Reopening logs

User sends a kill -usr1 command

«GRACEFULLY SHUTTING DOWN»,

User sends a kill -winch command

«No Servers Are Inside Upstream»

No Server is configured under UPSTREAM

«no live upstreams while connection to upstream»

Server under UPSTREAM hangs

«SSL_DO_HANDSHAKE () FAILED»

SSL handshake failed

«NGX_SLAB_ALLOC () Failed: No Memory In SSL Session Shared Cache

SSL_SESSION_CACHE is not enough, etc.

«Could not add new ssl session to the session cache while ssl handshaking»

SSL_SESSION_CACHE is not enough, etc.

reference:

Https://github.com/alibaba/tengine/issues/901

Https://my.oschina.net/u/1024107//1838968

Https://..net/zjk2752/Article/details/21236725

http://nginx.org/en/docs/http/ngx_http_core_module.html#lingering_close

Https://..net/crj121624/Article/details/79956283

Please drink coffee

If you think that the article is good, you can help you, you can scan my WeChat QR code, please drink coffee ~~ haha ​​~~

Понравилась статья? Поделить с друзьями:
  • Web api error not found
  • Web api 500 internal server error
  • Web compiler found an error in compilerconfig json
  • Wearable lanterns ошибка профиль чтение запись поврежден
  • Web client error