# The connection was reset

**URL:** <https://boards.straightdope.com/t/the-connection-was-reset/633515>\
**Category:** About This Message Board\
**Created:** [September 3, 2012, 4:06am UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515 "2012-09-03T04:06:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kenm](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@Kenm](https://boards.straightdope.com/u/Kenm)\
**Post date:** [September 3, 2012, 4:06am UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/1 "2012-09-03T04:06:23Z")

</div>

What’s happening when the server says [**the connection was reset**](https://dl.dropbox.com/u/10105188/Reset.png)?

I can imagine all kinds of things. Getting its lunch or the hamsters’ lunch, yawning, madly checking between the chair’s cushion and arm for the cigarette it dropped while opening a beer or simply being ornery, dagnab it.

Or is “reset” a polite rephrasing of “I’m overloaded so your ass is outta here”?

---

<div class="post-metadata">

**Author:** ![janeslogin](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@janeslogin](https://boards.straightdope.com/u/janeslogin)\
**Post date:** [September 4, 2012, 10:44pm UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/2 "2012-09-04T22:44:01Z")

</div>

Happened to me about a dozen times between 1530 and 1540 PDT today. Interesting question.  
116

---

<div class="post-metadata">

**Author:** ![Khadaji](https://avatars.discourse-cdn.com/v4/letter/k/9e8a1a/32.png) [@Khadaji](https://boards.straightdope.com/u/Khadaji)\
**Post date:** [September 4, 2012, 11:38pm UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/3 "2012-09-04T23:38:21Z")

</div>

It has been happening to me with increasing frequency these last few weeks.

---

<div class="post-metadata">

**Author:** ![TreacherousCretin](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/treacherouscretin/32/476_2.png) [@TreacherousCretin](https://boards.straightdope.com/u/TreacherousCretin)\
**Post date:** [September 5, 2012, 12:13am UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/4 "2012-09-05T00:13:13Z")

</div>

Same here.

---

<div class="post-metadata">

**Author:** ![Fear\_Itself](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/fear_itself/32/19637_2.png) [@Fear\_Itself](https://boards.straightdope.com/u/Fear_Itself)\
**Post date:** [September 5, 2012, 12:23am UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/5 "2012-09-05T00:23:44Z")

</div>

I got a “Database Error” about 20 minutes ago.

---

<div class="post-metadata">

**Author:** ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)\
**Post date:** [September 5, 2012, 4:40pm UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/6 "2012-09-05T16:40:09Z")

</div>

Here’s the way computers talk to each other (I’m glossing over a LOT of details to make it understandable).

Computer: I’d like to open a connection  
Server: Ok, the connection is open  
Computer: Give me some data  
Server: Here’s your data  
Computer: Give me some more data  
Server: Here’s your data  
(repeated until you get all of the data you need from that server)  
Computer: Ok, I’m done. Close the connection.  
Server: Connection closed.

When you get a connection reset error, it instead went something like this:

Computer: I’d like to open a connection  
Server: Ok, the connection is open  
Computer: Give me some data  
Server: Here’s your data  
Computer: Give me some more data  
Server: Resetting (closing) connection  
Computer: wtf? Ok, close out the connection on my side and give the user an error

Or it could go something like this:

Computer: I’d like to open a connection  
Server: Ok, the connection is open  
Computer: Give me some data  
Server: Here’s your data  
Computer: Give me some more data  
Server: Error, connection was reset, didn’t you get my reset message?  
Computer: wtf? Ok, close out the connection on my side and give the user an error

While that is the mechanics of it, the underlying question is why is the server resetting and closing the connection? Sometimes the server gets overloaded, so to stop itself from crashing it just starts closing connections. It’s not a polite way of saying it’s overloaded. It’s basically (from a protocol point of view) a very rude way of saying “go away I’m not talking to you any more”.

Sometimes, though, it’s not the server’s fault. Comcast, for example, has been caught sneaking reset packets into connections, which is their sneaky underhanded way of reducing the traffic on their networks while making it look like it’s the other guy’s fault.

A connection reset occurs at the server’s operating system level or web server level. It is different from a “database error” which occurs when the message board software gets an error accessing the database that contains the straight dope messages. This can mean data corruption or it could mean that the database software is simply overloaded.

---

<div class="post-metadata">

**Author:** ![Kenm](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@Kenm](https://boards.straightdope.com/u/Kenm)\
**Post date:** [September 7, 2012, 9:40am UTC](https://boards.straightdope.com/t/the-connection-was-reset/633515/7 "2012-09-07T09:40:22Z")

</div>

> [@engineer\_comp\_geek](#):
>
> Here’s the way computers talk to each other (I’m glossing over a LOT of details to make it understandable). . . .

Thanks for the explanation. It’s appreciated.
