Displaying 20 results from an estimated 3000 matches similar to: "TCPSocket in controller action"
2007 May 30
0
Headers munged into RAW_POST_DATA
Hi,
we''re seeing a really weird problem in our production environment.
"Connection: Keep-Alive\r\n" is being pre-pended to the RAW_POST_DATA,
which makes requests error out. This bug is seen infrequently and
*seems* to be browser-related, although I can''t reproduce it using the
browser reported in HTTP_USER_AGENT.
Set up is a apache 2.2 -> hardware load balancer
2007 May 29
1
Headers munged into RAW_POST_DATA
Hi,
we''re seeing a really weird problem in our production environment.
"Connection: Keep-Alive\r\n" is being pre-pended to the
RAW_POST_DATA, which makes requests error out. This bug is seen
infrequently and *seems* to be browser-related, although I can''t
reproduce it using the browser reported in HTTP_USER_AGENT.
Set up is a hardware load balancer (NetScaler)
2008 Apr 17
0
Error log, when using apache2.2.x modproxy with mongrel
Hi all
im new to use mongrel, my mongrel version is 1.1.4
and apache is 2.2.8
when i using apapche+mod_proxy+mongrel,
there are some error in my log file and make apache 502 prxoy error.
ex:
proxy: error reading status line from remote server localhost
proxy: Error reading from remote server returned by /test/show
But it works well if i access mongrel directly.
and the mongrel.log will have
2007 Oct 27
2
render_with_no_layout cause by Pingdom
Hi,
When I go to my homepage all is well, however when the Pingdom bot
arrives (every few seconds!), it throws the following error:
ActionController::RenderError occurred in home#index:
You called render with invalid options : available
[RAILS_ROOT]/vendor/rails/actionpack/lib/action_controller/base.rb:808:in
`render_with_no_layout''
My index action doesn''t call render, it
2007 Sep 25
0
TCPSocket.new Errno::EBADF: Bad file descriptor error
Im trying to use memcache-client, but there is a line in their where it
calls:
TCPSocket.new(host, port). It fails at this point. I''ve tried just
trying to establish a connection in my script/console with
TCPSocket.new("localhost", 11211)
TCPSocket.new("127.0.0.1", 11211)
TCPSocket.new("<my comp name>", 11211)
TCPSocket.new("<my ip
2006 Jun 16
0
rake spec controller test output hideus.
Is there any way to change the output of rake spec fails?
The errors are just totally over the top ugly and not helpful. First
of all the ruby -Ilib line always comes before each test and I find it
distracting. But if an error occurs on something that is not nil it
just gives me the entire contents of that object and that is no small
matter when the object is a HTTP request response.
Here is
2010 May 31
0
TCPSocket.new(host,port).readline hangs on windows :(
Hi Guys
I am starting a new thread as it seems my gripe isnt to do with
Juggernaut but with TCPSocket - which is used by Juggernaut.
Turns out that the thing that actually hangs up in Juggernaut after x
(130/1500/16000) iterations of
(1..1000).each {|i| Juggernaut.show_clients}
Is actually the line
res << @socket.readline(CR) if response
in juggernaut.rb.
Seems @socket.readline
2011 Oct 10
0
passenger , ruby on rails , apache 2.2.21
Hello,
I am configuring apache 2.2 to serve my rails app through passenger.
First, I redirect all http traffic to https with the following:
This is my web server apache conf file.
ServerName sampleapp
NameVirtualHost *:80
<VirtualHost *:80>
Options FollowSymLinks
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
2007 Jun 28
1
DRb server crashing
I''m having a problem where the DRb server seems to be disappearing
(crashing?) and I don''t know how to track down the cause or work around
the problem.
Unfortunately I haven''t found a way to reproduce the problem, but it
seems to happen fairly often (maybe once a day). Other then that ferret
seems to be working well.
I can''t seem to find any trace of the
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks,
There''s a nasty little bug in 0.3.13.3 when running in development mode
which could cause all sorts of problems.
Please grab the pre-release of 0.3.13.4 and tell me if it works for you:
gem install mongrel --source=http://mongrel.rubyforge.org/releases/
Thanks!
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need
2004 Aug 06
1
Compiling Darkice
I'm compiling Darkice on a FreeBSD 4.6.2 box.
Everything works up to this point after I type "make"...then I get this error. Any ideas?
Thanks,
Matt
teststream# make
make all-recursive
Making all in src
source='TcpSocket.cpp' object='TcpSocket.o' libtool=no depfile='.deps/TcpSocket.Po' tmpdepfile='.deps/TcpSocket.TPo' depmode=gcc /bin/sh
2004 Aug 06
1
Compiling Darkice
>Fromthe config.log file created by ./configure
configure:3326: checking for sys/types.h
configure:3339: gcc -c -g -O2 conftest.c >&5
configure:3342: $? = 0
configure:3345: test -s conftest.o
configure:3348: $? = 0
configure:3358: result: yes
configure:3627: checking sys/socket.h usability
configure:3636: gcc -c -g -O2 conftest.c >&5
configure:3639: $? = 0
configure:3642: test
2005 Jun 26
0
Bug in Mailman version 2.1.5
Bug in Mailman version 2.1.5
We're sorry, we hit a bug!
If you would like to help us identify the problem,
please email a copy of this page to the webmaster for
this site with a description of what happened. Thanks!
Traceback:
Traceback (most recent call last):
File "/var/mailman/scripts/driver", line 87, in
run_main
main()
File
2006 Oct 31
5
mongrel parser for server response
I''m taking a stab at creating a parser to parse the server response
using the mongrel parser as a base. Never having used a parser like
Ragel before in my life, I''d like some input on the following for
parsing an http server response. This is part of my modified version
of http11_parser.rl. In particular what would be better than using
''any'' to match the
2004 Feb 06
0
Bug (PR#6550)
Full_Name: Huan Huang
Version: 1.8.1
OS: WIN NT
Submission from: (NULL) (155.140.122.227)
Bug in Mailman version 2.1.4
We're sorry, we hit a bug!
If you would like to help us identify the problem, please email a copy of this
page to the webmaster for this site with a description of what happened. Thanks!
Traceback:
Traceback (most recent call last):
File
2004 Jan 06
0
bug report (PR#6394)
Full_Name: Huan Huang
Version:
OS:
Submission from: (NULL) (155.140.122.227)
Bug in Mailman version 2.1.4
We're sorry, we hit a bug!
If you would like to help us identify the problem, please email a copy of this
page to the webmaster for this site with a description of what happened. Thanks!
Traceback:
Traceback (most recent call last):
File
2007 Jan 26
0
Problems with assert_select in integration tests
I''ve been battling with assert_select in my integration tests for
several evenings now. I''m testing a multi-step form, and after
submitting the first step, my assert_selects fail on the attempts to
find the form on the next page. However if I print out the response
object, it has the exact text of what I''m trying to match.
Here is the complete integration test. The
2004 Aug 24
1
error when unsubscribe (PR#7198)
Full_Name: Huan Huang
Version: 1.9.1
OS: Win NT
Submission from: (NULL) (155.140.122.227)
Traceback:
Traceback (most recent call last):
File "/scratch/local/app/mailman-sfs/2.1.5/scripts/driver", line 87, in
run_main
main()
File "/scratch/local/app/mailman-sfs/2.1.5/Mailman/Cgi/options.py", line 91,
in main
language = cgidata.getvalue('language')
File
2005 Dec 18
8
Invoking Rails from an API
Hi,
I am trying to use ruby int an embedded web server. The environment
does not have the luxury of CGI or WebBrick. I find limited
documentation on how to get this to work. As a test program on windows,
I tried the code in the section below.
I have the issues.
1. Is public/dispatch.rb the right script to invoke a rails app? If
so, what is the right way to invoke dispatch.rb?
2.
2012 Nov 30
1
q@ request.request_method=='OPTIONS', ajax, post json
hi
im reading through the topic above and trying to apply it to my app.
as reference i found:http://leopard.in.ua/2012/07/08/using-cors-with-rails/
my prob is that i dont see the ''preflight'', meaning the first request
prior the actual post, which should(?) deliver this:
request.request_method==''OPTIONS''
the js code look like this:
$.ajax
({
type: