Weird error in webrick on windows xp when accessing through IE 6

Hello All.

I'm developing and an app on my Windows XP machine using ruby 1.9.2 & Rails 3.0.5 Everything is running along just fine, unless I try to open my app under IE 6 - everything works fine under Chrome, FF, Safari, IE 7 & 8. I tried accessing from multiple computers to make sure it's not my IE setup ( I'm using Utilu IE Collection for multiple IE setup) . I am using pie.htc hack, but not sure why would it cause a problem.

I'm getting the strangest error:

[2011-03-08 15:11:53] ERROR Errno::ECONNABORTED: An established connection was aborted by the software in your host machine.         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `eof?'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `run'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' [2011-03-08 15:11:53] ERROR Errno::ECONNABORTED: An established connection was aborted by the software in your host machine.         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `eof?'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `run'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' [2011-03-08 15:11:53] ERROR Errno::ECONNABORTED: An established connection was aborted by the software in your host machine.         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `eof?'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `run'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' [2011-03-08 15:11:53] ERROR Errno::ECONNRESET: An existing connection was forcibly closed by the remote host.         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `eof?'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `run'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' [2011-03-08 15:11:53] ERROR Errno::ECONNABORTED: An established connection was aborted by the software in your host machine.         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `eof?'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/httpserver.rb:56:in `run'         C:/ruby/Ruby192/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

Does anyone know what might be causing it?

Thank you

Not sure if this will solve your problem, but I would try the following:

1. Use Passenger instead of Webrick. You won't be using Webrick in production, right? I've never configured it on Windows XP, which leads to the next point. 2. Don't use Windows XP - Setup a Linux VM.

Eric

Hello All.

I’m developing and an app on my Windows XP machine using ruby 1.9.2 &

Rails 3.0.5

Everything is running along just fine, unless I try to open my app

under IE 6 - everything works fine under Chrome, FF, Safari, IE 7 & 8.

I tried accessing from multiple computers to make sure it’s not my IE

setup ( I’m using Utilu IE Collection for multiple IE setup) . I am

using pie.htc hack, but not sure why would it cause a problem.

Not sure if this will solve your problem, but I would try the

following:

  1. Use Passenger instead of Webrick. You won’t be using Webrick in

production, right? I’ve never configured it on Windows XP, which leads

to the next point.

  1. Don’t use Windows XP - Setup a Linux VM.

Do tell… seems that even machines don’t like IE 6 either

And yes, do go on a vm. In fact I am at this moment resolving a deployment difference between my OSX dev env and my Ubuntu server. Was just thinking a few minutes ago that maybe I will switch to linux to develop to avoid these little deployment surprises.

Yes my production env is on Debian Lenny with Passenger. As I said the question is about my dev environment. Also ruby is supposed to be cross-platform, but every time I ask a question about windows, somebody suggests I switch to Linux. Suppose you went to Chipotle and asked for a burrito, but every time you do somebody would suggest you switch to frozen yogurt cause it's healthier. It would be pretty tiresome, even if they were right, wouldn't it be?

I can't switch to a linux vm. For multiple reasons. If I could I wouldn't be asking. I use macbook at home, but at work I HAVE TO use windows at work for multiple other reasons. Running Dev in a debian VM ( like through VirtualBox) is also a bit annoying. And I have to interact with legacy windows apps in windows environment.

Plus the error is happening even if I push my app to staging ( on Debian Lenny as well). It somehow has something to do with Internet Explorer 6 and pie.htc file.