Displaying 20 results from an estimated 10000 matches similar to: "webrick periodically just dies"
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]
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection
from clients and redirect them to localhost:80. And on port 80 of my
server, WEBrick is running to accept HTTP connection.
In such situation, WEBrick generates URLs beginning with ''http://'',
not with ''https://''. So one can access to ''https://myserver/'', but
when he click on
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
Good day all.
This is one of the most frustrating days I have had with Rails in quite some
time now (almost 8 months actually).
Yesterday I complete my development and testing and everything is peachy.
I head home for the evening and do my things there.
This morning, I come back in and do my typical morning routine of starting
up eclipse and the usual "ruby script/server" command in
2005 Dec 18
0
Couldn''t find Login with ID
Hi,
I am a lerarner and i Am getting this problem when I try to delete.
I am not able to understand what is this ID and why its like this.
Any one explain me what does it mean and how to solve this . This is as also
with show/edit.
Thanks in advance
Couldn''t find Login with ID=30640940
RAILS_ROOT: ./script/../config/..
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
2006 Mar 07
2
webrick RoutingError
problem: webrick will start a rails server, but I cannot access my
application. I get the error:
Processing Base#index (for 127.0.0.1 at Tue Mar 07 19:16:58 CET 2006)
Parameters: {}
ActionController::RoutingError (Recognition failed for
"/keywordeditor"):
my application is called keywordeditor. I am starting the server from
the correct place with the correct command (I already
2006 Jul 25
0
Errors logged but not returned to browser, WEBrick hangs
An app I''ve been developing has been chugging along nicely, but around
the time I added a new join model a couple of commits ago, my
development environment has been acting screwy.
1. When there''s an error, the error messages and tracebacks are not
being returned to the browser. The browser keeps the connection alive
indefinitely.
2. Stopping the request from the browser
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it
as one file from the server.
If you run script/server and have lighttpd install it will start lighty
instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add
ARGV.unshift("webrick") to the init.rb file to force webrick to start:
ARGV.unshift("webrick")
load "script/server"
2005 Sep 02
0
RE: ActiveRecord::StatementInvalid error after app has beenrunning for a while
I have this problem as well... After so many hours of inactivity, I get
"statement invalid" and if I restart Apache or WEBrick, everything works
fine again.
What steps can I take to fix this? I don''t want to have to restart the
server!
-Brian
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Feb 26
2
Help - WEBrick won''t start - "Bad file descriptor" error
I have been working for a few days on a new (Windows) system, and
suddenly WEBrick won''t start. Full error text is at bottom of message.
It began after I followed Brian Hogan''s (terrific!) instructions for
setting up Eclipse w/Rails in Windows
(http://www.napcs.com/howto/railsonwindows.html). The server started
fine from w/in Eclipse when I reached that part of the instructions,
2006 Apr 15
0
ssl_requirement, https, webrick and ruby
My Rails application passwords were travelling over the network as
plain-text. Maybe the users wouldn''t like it (I surely wouldn''t), so I
decided to use some kind of encryption.
I have done my little research and found the ssl_requirement Rails
plugin and installed it. But when I try to access a secured page, I
can''t establish a connection to the server. I thought this
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination?
The sequence of actions I perform to consistently get WEBrick to hang is:
1. start WEBrick
2. list a table form my Oracle 10g DB
3. startup sqlplus and update a few records in the table
4. go back to my browser and reload the table
Here none of the chances I made directly to the table are reflected
in the listing.
2006 May 04
2
WEBrick initialisation problem
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server =>
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
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 Jun 21
1
WEBrick won''t answer
Hi
I''m starting with RoR, trying to get things working. I''m following the
onLamp tutorial for my first steps. At the point where i''m supposed to
start the server for the first time i''m not getting any further. WEBrick
seems to work:
=======================================
Microsoft Windows XP [versie 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
2006 Aug 14
1
AWDWR Chpt6: Webrick Get...200... then ...500...
Hi, Rails produces to diff Gets on the Webrick:
AWDWR Chpt 6 strange results:
First browser call to /Admin shows correct form; - And WEBrick reports:
"Get /admin HTTP/1.1" 200 485 - -> /admin
Subsequent browser calls to /Admin show:
NoMethodError in AdminController#index
undefined method `each'' for #<Mysql:0x37aba80>
- And WEBrick reports:
"Get /admin
2005 Oct 14
1
Detecting Webrick // determining application "root" directory
Is there a way to detect Webrick at runtime? I''ve
noticed a couple of differences between my dev
environment (Webrick) and the production environment
(Apache 2/FastCGI):
* stream must be false in send_file with webrick
* pwd is different
- Webrick: It''s where you run ruby
script/server from
- Apache: It''s the public directory
... unless someone
2006 Jan 06
5
Routing problems - Apache proxy vs. Webrick direct
I dropped the use of fastcgi because I could not get popen working (see
''[Rails] Apache2 and popen''). It works under WebBrick. Since CGI is too
slow, I thought I''d proxy to WebBrick via Apache.
I am having routing problems now with escaped slashes in the URL.
Here''s my routes.rb:
map.connect '''', :controller => "wiki"
2006 Feb 15
1
Webrick hangs rendering page with multiple link_to_remote
I''m hoping that somebody here can put me straight on what''s happening
here,
or give me a pointer on how to figure it out. Right now I''m at my wits
end!
I''m using rails 1.0, ruby 1.8.2, Windows XP and Firefox 1.5.0.1
and I''m using development mode with webrick.
The following text is in my view:
<div class=''directory''>