Displaying 20 results from an estimated 40000 matches similar to: "Intermittent 404 errors when developing in webrick"
2006 Mar 29
0
Intermittent error - undefined method ''destroy_without_callbacks''
When testing my app locally I''m getting intermittent errors which are
driving me mad!
The error is:
NameError ((eval):1:in `alias_method'': undefined method
`destroy_without_callbacks'' for class `Exercise''):
Refreshing the browser sometimes fixes it, as does restarting WEBrick.
Annoying to debug as it only happens intermittently.
Any ideas on why this is
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
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 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 Aug 09
0
WEBrick over SSL returning empty 404s
Hi,
I''m running a rails system on WEBrick, and have recently changed over to
using the built in SSL.
Now, rather sporadically, WEBrick is returning an empty 404 when the
user tries to POST to a certain create controller. Any ideas why this
could be happening?
Here''s an extract from the log where one minute everything works (the
302 is returned) and a minute later
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 Mar 16
2
WEBrick and OS X 10.4.5 problems?
Has anyone who is running OS X 10.4.5 and the security patches
thereafter noticed that WEBrick is no longer functioning? I have a
machine at school that I believe to be patched with 10.4.5 but not
with the latest security patch and WEBrick seems to run fine for it.
However, on my machine at home I can''t get WEBrick to successfully
run even freshly generated apps.
For both
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
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]
2004 Jul 08
1
Intermittent SIP 404 Not Found response?
I have several SIP devices (Sipuras) that are working fine with *, except
for one annoying little problem. Occassionally, after being registered
for some period of time, the Sipura returns a 404 Not Found to (I assume)
an INVITE request. Of course, this makes the extension appear busy.
When this happens, I check the Sipura and it is thinks it is still
registered and I check * and it shows
2006 Apr 06
3
Apache as proxy for webrick
Hello,
We have a webrick server running our nice app, and an apache server
being used to serve the rest of the site and act as a proxy for the
webrick app.
<code>
<IfModule mod_proxy.c>
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /appname http://server.com:3000
ProxyPassReverse /appname
2007 Aug 17
4
Intermittent failure in file server
Hi, I''ve just turned email reporting on for my Puppet installation, and
discovered that I''m receiving intermittent failures on files being copied
from the file server. Puppet is running every 30 seconds, but I''m getting
these errors maybe 12 times in 24 hours. Any thoughts on the significance
of this? The error message is a bit opaque for me.
Thu Aug 16 18:17:56
2003 Aug 19
0
smbfs: intermittent failures when accessing W2K server
I think I am experiencing a problem with samba 2.2.8 and kernel 2.4.20.
I am using these versions on a number of computers in a render farm. These
(Linux) computers use smbfs to access a Windows 2000 file server.
Two things that I notice:
1) The rendering application (Maya) fails due to a failure to access files on
the file server when first run after the Linux machine is started.
2006 Jan 04
10
Is Webrick good enough?
Hi all,
On the rails list I''ve seen that it''s hard to integrate Rails with Apache
(especially apache2), that it''s hard to change the default port (3000), and
that Apache runs Rails stuff slowly.
Is it reasonable to run Rails stuff on Webrick while simultaneously running
other stuff on Apache? How does one simultaneously run two rails applications
on Webrick, when
2006 Aug 06
3
Bug or feature: WEBrick threading (vs script/console thread)
I don''t know whether this is a bug or feature, and I don''t know whether
this belongs to Gmailer (http://rubyforge.org/projects/gmailutils) in
specific or Rails/Ruby in general.
I have an instance method in an ActiveRecord model, that upon a web
request using WEBrick, spawns off a thread, in which it invokes Gmailer
to perform some processing. What fails is that simply
2006 May 11
0
File upload works with webrick, but fails in lighttpd 1.4.11
I''ve been trying to add a basic file upload feature (just based on the
Rails Recipes example), but I find that it only works with the webrick
server and not my lighttpd 1.4.11 server.
I''m running Rails 1.1.2 on OSX. The upload silently fails with both
firefox and Safari, even with the useragent hack and with any size of
file/image. My lighttpd config is pretty standard as
2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi
WEBric won''t strat and showing the following errors:-
=> Booting WEBrick...
/mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/
lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem
jruby-openssl (>= 0.0.0) (RuntimeError)
from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/
rails-2.0.2/lib/initializer.rb:156:in
2008 Mar 15
1
my keys to google maps api only work in webrick
Hey there all,. i am developing three sites that run on the same code,
just different logos, different companies, etc..
i have a config file that i believe is how it should be and it works
on webrick, but i get application errors when i try to move it to the
apache FCGI .
looks like this
development:
ABQIAAAA8GzGL0c5HitzfNKYM4nk_BQODDn4SSK1uiT7GyxROHR1XtTV_RTBQrvsTtfZDFeAH2vzkOtXunHV9g
2006 Dec 08
5
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire
WEBrick using the development environment, it does not reload the app
with changed views. I have to shut down WEBrick and restart it to see
the changes. Has anyone else had this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2006 May 30
5
Implementing HTTPS with WEBrick?
All,
I would like to test some secure pages that I''m developing in my
WEBrick-based development environment.
I''ve done some research and it appears that I need to create a new
command that will start a HTTPS based WEBrick server. Is this correct?
Also, it appears that the https.rb module is not included with the
WEBrick bundled in Rails. So, I will need to go get that