Displaying 20 results from an estimated 700 matches similar to: "fastcgi upload - multipart problem"
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All,
I have run into a road block with my RoR project. The app works fine
without SSL but when I try to upload a file with the site running in
HTTPS, cgi.rb throws an EOFError:
[13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content
body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
2006 Sep 30
0
ActionPack CGI and Ruby 1.8.5
I know 1.8.5 isn''t officially sanctioned but something has changed in
it that is breaking the ActionPack unit tests for cgi.rb. Wasn''t able
to trace if it''s something in Rails that needs adjusted or if cgi.rb
picked up a bug.
The first run is the default OS X ruby 1.8.2, the second run is ruby
1.8.5
rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
Hi all,
I''ve a rails project which successfully uploads images on the
development server but fails to do it on production. The only difference
is that the production server is on https/ssl.
On the browser the error message is the followin:
''Application error
Rails application failed to start properly''
Whereas in the log/fastcgi.crash.log i found the followin error
2006 May 24
0
Mongrel errors on file upload
I did a spike in my sandbox to make sure I understood how to do file uploads using CGI and there seems to be a problem with Mongrel. WEBrick doesn''t display the problem, but I can reproduce it everytime with Mongrel. I''d really appreciate it if someone would try out the code below and see if they see the same thing.
The browser behavior is:
- under IE6, a Page Not Found error
2007 Dec 16
0
Integration Testing - hang with post parameters
I''m getting some weirdness with integration testing. The following
works fine if I don''t have parameters, but as soon as I add parameters I
get a hang. Not sure exactly where it is hanging.
NO HANG
post ''user/register''
HANG
post ''user/register'', :user => {:name => ''John Doe'', :email =>
2006 Jul 28
1
multipart/form-data support for Camping Apache/FastCGI
sorry I broke it for mongrel, but the programmer who did the work for
mongrel should not have much problem integrating the two I think. Apache/CGI
is different and still will not work.
I fuck around for a full day at the end of the day, I found Iowa another web
framework and I try using their code
but using Iowa::Request.new.read_multipart was more confusing than anything,
although it helped me
2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
Just upgrade from rails 1.0 to 1.1
Everytime I run the unit and/or functional tests, I got the following
messages. Is there something I need to do to remove? I am not sure where
to start. Thanks in advance.
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix
2007 Aug 19
3
fastcgi issue on production
I just deployed my rails app to my production server. It''s all working
locally, but when I switched it over to the production server (at
dreamhost) I get this error:
# Logfile created on Sun Aug 19 15:22:48 -0700 2007 by logger.rb/
1.5.2.9
[19/Aug/2007:15:22:48 :: 1841] starting
[19/Aug/2007:15:22:48 :: 1841] Dispatcher failed to catch: You have a
nil object when you didn''t
2006 Nov 04
0
rake db:migrate is semi-broken
Whenever I run rake db:migrate I get the following "error":
antrover:~/Sway/Projects/mi7/branches/sway_dev_mi7 dhoefler$ rake db:migrate
(in /Users/dhoefler/Sway/Projects/mi7/branches/sway_dev_mi7)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15.
Here are the errors:
gregg@gregg2 ~/user/DMS $ rake test
(in /home/gregg/user/DMS)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:2: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:11: warning: method
2006 Jan 10
1
File upload via SSL not possible
We use an apache server (version 2.0.54) with mod_ssl and the latest
rails version on a Gentoo Linux OS.
We tried to run our application in both, a virtual host using HTTP and
another using HTTPS with identical server configurations. With HTTP, we
did not have any problem, but HTTPS did not allow us to upload files in
rails into a database.
The log file displays a fcgi timeout and the HTTP
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2007 Mar 23
0
Error - Conflicting types for parameter containers
Hi,
I am trying to implement password-reset functionality.
I have an email sent out to a user when they request a password. The
URL in the email contains a cgi param, of which is a SHA 256 hex
digest. The user clicks on that link and the page is opened in a
separate window, when the user enters in their password. When I hit
submit, I get the following error, anyone run into this error before?
2006 Apr 17
3
help debugging an error
Hi, I''ve started getting an error I can''t debug. The error doesn''t generate
anything in my development log. A breakpoint set right at the beggining of
the controller method does not get triggered. It happens on a form
submission. I can make changes to the object model from with the console,
but not on this form submission. I thought maybe it was routing, because I
have
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error.
I have an action called ''commit_input'' on a controller called
''SiteVisitController''. This definately exists, and is called from the
functional test for it, and passes fine.
My problem is with the form that is supposed to call this action.
The form tag is:
<%=
2006 Jun 21
7
sortable tree problem
Hello,
I''m having a problem when I set the tree option to true on Sortable.
If I set the option to false my remote call works fine, but once I set
it to true, I get some weird log errors from Webrick...
undefined method `update'' for "11":String
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:214:in
`build_deep_hash''
2006 Jan 03
1
Max Execution Time with fastcgi (and in general). Getting it done.
The purpose of this email is not to argue that there is a need to
have the option of killing a single response if it
takes longer than say 30 seconds. This is a worthwhile feature, years
of work in php has shown me that it is.
Thanks to a bit of help from various source in the community, I''ve
been able to find something that works with fastcgi
and surely should work with webbrick.
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be
causing it. I''m sure the path to the ruby executable is correct so what
else could be causing it?
--
Posted via http://www.ruby-forum.com/.
2006 Jul 31
3
Problem in posting xml content.
When I post the XML data as the message content to my rails website, I
can see the exception info in the log file. The error message is "can''t
typecast" the element name in my xml document.
The first line in backtrace is:
"c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_ext/cgi_methods.rb:111:in`typecast_xml_value''"
Please give