Displaying 20 results from an estimated 20000 matches similar to: "WEBrick::HTTPStatus::LengthRequired Error"
2007 Jan 21
1
Strange Ajax Error Since Upgrade
Hi All
I''m getting the following very strange Ajax error and I''ve searched
Google, this group and various other places to no avail. So I''m
desperately hoping someone here can help.
Whenever I try to execute any Ajax call whether as a form request or a
link_to_remote link I get the following error:
------------------- FORM REQUEST -------------------
[2007-01-21
2006 Feb 22
0
Can you make an HTTP request inside an Ajax action?
I have a regular controller action which, when called, makes an HTTP
GET request to another server. That works fine. I''d like to throw
that inside an action called with link_to_remote, but that''s having
problems. The error I get follows. Any ideas?
Pat
http://localhost:3000/main/ -> /javascripts/prototype.js
[2006-02-22 06:08:11] ERROR ThreadError: timeout within
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32]
latest version of edge rails - patched to make the server work with
win32 (http://dev.rubyonrails.org/ticket/4139)
On some pages WEBrick is crashing with the following:
d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object
when you
didn''t expect it! (NoMethodError)
You might have expected an instance of Array.
The error occured
2006 Jul 20
0
Routing error
Hi!
I''ve appended this to the standard config/routing.rb:
map.connect '':id/:action'', :controller => ''cms/publish''
and it works but gives an error with every single HTTPrequest, even the
ones matching the standard (and higher priority) routes.
As an alternative I tried implementing it using
map.connect ''*path'', :controller
2006 Jun 27
1
Errno::EINVAL: Invalid arguments - IE crash
Hi,
When I run my app on IE, it crashes everytime. However, when running
on Firefox, it is perfectly fine. I saw the following error on the my
server.
[2005-11-15 10:45:20] ERROR Errno::EINVAL: Invalid argument
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `gets''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `__send__''
2006 Mar 20
1
RJS & IE Woes
Hi,
I''m trying to do a very simple slide_down effect with RJS templates.
Basically a user selects a check box and a text box slides down.
This works great in firefox, but causes IE to crash. The text box appears
and slides down. Then the browser crashes.
the in the partial is
<div id=''forklift_div''>
<label for=''incident_forklift''>Was
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid
I am doing wrong as I am pretty much a newbie...
1. I added a varchar column to my table called "image"
2. This is my class:
class User < ActiveRecord::Base
file_column :image, :magick => { :geometry => "80x80>" }
attr_accessor :new_password
... rest of class
3. In my controller I
2006 Nov 04
0
page caching urls with space characters broken in webrick and mongrel
Page caching of urls with spaces in them using WEBrick and Mongrel is
broken in Edge Rails (and Rails 1.1.6, where I started). This is due
to the dispatch flow of control in both servers converting ''+'' in
requested paths into '' '' chars, whereas the page caching system writes
cache files for URLs with spaces in them out as encoded ''+''
2006 Feb 20
0
vpimd, a personal information server
This isn''t even close to ready for release, but in case anybody is
interested, has feedback, finds it useful as is, or even wants to
collaborate...
I''ve been working on a "personal information server", something of a
protocol multiplexer. Right now it serves calendar feeds for:
- a local calendar folder (iCal 1.x''s Library/Calendars)
- rss for local todos
2006 Mar 26
4
edge and 1.8.2/1.8.4 issues
I recently upgraded to 1.8.4 to try out mongrel, and so far have been in
a kind of hell where I can''t get my app working!
Currently running (or trying to run):
Ruby version 1.8.4 (i386-mswin32)
RubyGems version 0.8.11
Rails version 1.0.0
Active Record version 1.13.2
Action Pack version 1.11.2
Action Web Service version 1.0.0
Action Mailer version 1.1.5
Active Support version
2007 Mar 17
0
webrick failing with "NameError: cannot remove Object::UnknownPropertyMethod"
Hi,
I just downloaded the latest rails, and tried to run webrick. I get
this strange
set of error messages. It looks like the real error is
NameError: cannot remove Object::UnknownPropertyMethod
I never had this problem with older versions, and the ''fastcgi''
variant, running
under lighttpd runs fine. Any ideas why webrick appears to be
broken?
Thanks,
David
2009 Feb 02
9
ActiveRecord Unexplainable SystemStackError - Only in WEBrick
This SystemStackError is driving me crazy. It only takes place when
testing with WEBrick - I can''t reproduce it with any tests. It is
caused by calling the "missing" id method (base.rb:2435) on my
ActiveRecord class.
WEBrick and my tests are running as the same user, with a `ulimit -s`
of 10240. Plus the query works sometimes so I don''t think this
matters.
2008 Jul 21
2
webrick needs 80 seconds for starting
ruby script/console webrick
after 23 seconds:
=> Booting WEBrick...
after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000
2007 Jun 24
1
Cant test 404 pages in webrick
I tried running webrick in production mode with -e production option. I
changed development database name so as to make sure webrick was running
in production mode.
Now I wanted to test my new 404.html page so I typed an invalid URL, I
still get some routing error instead of my 404.html page.
Why is this happening with webrick in production. I haven''t even changed
any of the environment
2008 Jul 08
8
POST instead of GET gives 404 (newbie)
Hi,
Using JRuby 1.1 and Rails 2.0, I created a small project in NetBeans
that allows me to generate a dynamic dialplan in XML. In case it
matters, I''m using builder-2.1.2 and activerecord-2.0.2.
Going in the browser to:
http://localhost:3000/routing/dialplan?Caller-Destination-Number=0
Does exactly what I want:
<document type="freeswitch/xml">
<section
2007 Apr 04
0
Webrick startup problem
I had my application running perfectly in the 1.8.2th version of ruby.
Now I have updated the version of ruby to 1.8.6(through the one-click
installer). I again installed the rails,uuid, and all other plugins.
I am able to start the application of some applications. But for this
application it is giving this error.
Can some body help me................THANKS in advance.
=> Booting WEBrick...
2007 Mar 15
2
WEBrick freezes overnight
Each morning when I return to work, I find that my WEBrick server has
stopped working. The process is still running, but when I try to
connect to it with a web browser, the browser doesn''t get any response
back. Usually when this happens I cannot control-c the process to
shut it down, and not even "kill" works-- I have to get rid of it with
kill -9. I then restart it and it
2005 Aug 25
0
multiple refreshs clicks cause errors in WEBrick
Hi all
I am new to rails, so I hope it is not a trivial question...
I am using rails with webrick and MySql4.1 on win XP.
I enter a simple action (with a post method) which fetches some data from a ''users'' table and present it in a rhtml view.
Now when I press the refresh button quickly a few times I get in the command line window errors such as this:
[2005-08-25 17:08:55]
2007 Dec 15
1
script/server hangs webrick and mongrel
When I script/server, both webrick and mongrel hang until I ctrl-c.
If I''m using webrick, it will start normally, but if I''m using mongrel
it will appear to start and then hang again. Any idea why this
behavior?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2006 Apr 07
0
webrick, cross-thread violation on rb_thread_schedule()
Hi all,
Anyone else seen this? Although it happened while serving Rails, I figured a
core dump caused by webrick should be posted to ruby-talk as well. It happened
after I hit Ctrl-C to kill the webrick server, after a failed attempt to invoke
a web service through a web page. Below are the last two log entries from the
development.log file.
Any ideas?
Dan
>/opt/bin/ruby