# Strange Webrick Error

**URL:** <https://www.ruby-forum.com/t/strange-webrick-error/139661>\
**Category:** Ruby\
**Created:** [June 5, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/strange-webrick-error/139661 "2008-06-05T21:46:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sealedsun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Post date:** [June 5, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/strange-webrick-error/139661/1 "2008-06-05T21:46:33Z")

</div>

On some Systems i get a strange Error when accessing a webrick server:

An established connection was aborted by the software in your host  
computer

This happens on a Windows XP Sp2 System and a Vista System, but on a  
second XP SP2 system, i don’t get this error.

Any Ideas?

Thx

---

<div class="post-metadata">

**Author:** ![sealedsun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Post date:** [June 5, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/strange-webrick-error/139661/2 "2008-06-05T22:17:23Z")

</div>

On Jun 5, 2008, at 12:45 PM, Christian K. wrote:

> On some Systems i get a strange Error when accessing a webrick server:
> 
> An established connection was aborted by the software in your host  
> computer
> 
> This happens on a Windows XP Sp2 System and a Vista System, but on a  
> second XP SP2 system, i don’t get this error.
> 
> Any Ideas?

I’ve seen this error when attaching to an Apache web server via  
Net::HTTP. I think that WinXP will terminate the connection from the  
local end (without your permission) when some internal timeout is hit.

---

<div class="post-metadata">

**Author:** ![sealedsun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Post date:** [June 5, 2008, 10:36pm UTC](https://www.ruby-forum.com/t/strange-webrick-error/139661/3 "2008-06-05T22:36:30Z")

</div>

Eric H. wrote:

> I’ve seen this error when attaching to an Apache web server via  
> Net::HTTP. I think that WinXP will terminate the connection from the  
> local end (without your permission) when some internal timeout is hit.

i have a background thread in my application (that one that runs the  
webrick server) that connects via Net:HTTP to a Tomcat Server on the web  
for data retrieval.  
Any suggestions to get rid of this error?

thx

---

<div class="post-metadata">

**Author:** ![sealedsun](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e68b1a/32.png) [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Post date:** [June 6, 2008, 2:30am UTC](https://www.ruby-forum.com/t/strange-webrick-error/139661/4 "2008-06-06T02:30:50Z")

</div>

On Jun 5, 2008, at 13:35 PM, Christian K. wrote:

> Any suggestions to get rid of this error?  
> The only one I could think of was to rescue and retry.
