I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost (http://localhost/myapp/controller/action)
and thus I am unable to access it
Quoting Geek Moth [EMAIL PROTECTED]:
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost
On 11/7/07, Brian Penrose [EMAIL PROTECTED] wrote:
Thanks Luis...
RubyGemsVersion 0.8.11
Oh, you should try update rubygems at least... version 0.9.4 is the
latest stable published.
But I'll try to get that version running on my sandbox and see what happens.
Too many version compatibility
Thanks Wayne. I will definitely let the group know.
This community is an awesome resource. When trying to get feedback
via other software forums (in this case lighttpd) it really makes me
appreciate the difference.
Cheers,
Pete
On Nov 7, 2007, at 10:26 AM, Wayne E. Seguin wrote:
On
We had something similar in Apache when proxying twice (slightly odd
internal architecture). We to brute-force the Host: header in my
site's httpd.conf:
RequestHeader set Host railsapp.example.com
And, as others have suggested, make sure your ServerName directive is
set properly.
-Nate
I'm assuming all of your configuration below is *not* in a VirtualHost
block? If so, what's the value of your ServerName directive? It should
read:
ServerName mymachinename
I know the same ProxyPass and ProxyPassReverse directives (with the
proper ServerName) work if you put it in a
Thanks Wayne. After some further investigation, my suspicion is on
the Lighttpd web-server.
When I run in development mode with Mongrel using web-brick the
timeouts don't happen at all. This indicates it's not a mongrel or
rails / ORM issue.
It makes sense that web-servers would have
On Mon, 5 Nov 2007 17:06:01 +0100
Thomas Balthazar [EMAIL PROTECTED] wrote:
Hello Kirk,
Thanks for your answer.
I'm using ruby 1.8.5 (2006-08-25) [i486-linux].
The Rails app uses those plugins :
* acts_as_taggable_on_steroids
* attachment_fu
* exception_notification
* localization
Hmm,
On Wed, 7 Nov 2007 09:47:50 -0600
Nathan Vack [EMAIL PROTECTED] wrote:
I think that SMTP makes absolutely no guarantee that I am actually
Nathan Vack [EMAIL PROTECTED], nor that you are actually David Vrensk
[EMAIL PROTECTED]. All unsigned email is fundamentally unverified
and should
On Nov 7, 2007, at 9:14 AM, David Vrensk wrote:
[1] I don't feel that I'm pointing fingers here, because I can't
see whom I am pointing at.
See? I can change two lines in my email client and I'm you! (Note:
this is HORRIBLE MANNERS... but essential to remember. Also, you can
usually
On Nov 7, 2007, at 9:14 AM, David Vrensk wrote:
My ceasing to answer anonymous questions won't lead to a huge dip
in the
traffic on this list, of course, but perhaps others have already
reacted in
the same way, and we are missing a lot of good traffic already.
What do you
think?
I
yes that helped!
i just needed to switch the drive letter with the UNC path :)
thanks for pointing that out.
years of using windows but never thought it worked that way
Am 07.11.2007 um 15:48 schrieb David Vrensk:
On Nov 7, 2007 3:01 PM, gmail [EMAIL PROTECTED] wrote:
i have an archive of
Forgive me if this has been asked before, but is there a reason
mongrel_rails cluster::restart stops all ports and then restarts them
again? Wouldn't it be better to restart each port one-by-one in
series so that upstream proxy servers can fail over while the restart
is occurring, or am I
i have an archive of documents (word, excel, jpeg, png, gif...)
residing on a network share that is accessed via send_file.
when running mongrel on the command line the files are properly
delivered.
with mongrel running as a service they don't.
now normally i would think that should be
On 11/2/07, Pete DeLaurentis [EMAIL PROTECTED] wrote:
Hi guys,
Does anyone know if mongrel has a built-in timeout for requests that
take too long? If so, how do you increase it?
I've found that some server requests are timing out. Complicated
requests are already being farmed out to
Here's a patch to Cluster::Restart based on some code that Eric Kolve
sent to me (I added check_wait):
http://rubyforge.org/tracker/index.php?func=detailaid=15427group_id=1306atid=5147
On 11/7/07, Wayne E. Seguin [EMAIL PROTECTED] wrote:
On 11/3/07, Eden Li [EMAIL PROTECTED] wrote:
Hi all,
Hi,
was wondering if anyone else had a similar problem and knows why or a solution.
basically my mongrels seems to work fine. i am running three clusters all
which are monitored by monit. monit has the ability to restart a mongrel if it
doesn't pass a port connection test. so the problem is
What do your logs say?
Why are the mongrels not responding?
Since you're not in production, you should be able to pinpoint exactly
when and why they stopped responding.
On Nov 7, 2007 1:15 PM, Eire Angel [EMAIL PROTECTED] wrote:
Hi,
was wondering if anyone else had a similar problem and knows
Hi Chris,
I hit this too at the same kind of timeframe you mentioned. In my
case, the mongrel processes do become non-responsive, making monit
necessary to keep my webapp living + breathing. The problem occurs
on multiple machines: some running OpenSuse 64-bit and some running
Ubuntu
On 11/7/07, Brian Penrose [EMAIL PROTECTED] wrote:
Hi Luis,
We still have not been able to get past this error. We do have OpenSSL
installed not the machine. Rake installed fine, which I thought also
needed SSL???
The Rake gem isn't signed, the Mongrel one is.
As I commented, it seems
On 11/7/07, Pete DeLaurentis [EMAIL PROTECTED] wrote:
I hit this too at the same kind of timeframe you mentioned. In my
That sort of a delay -- 6 to 20 hours is what the OP mentioned --
screams at me that the problem is probably related to the db handle
timing out. Even if you change the AR
That sort of a delay -- 6 to 20 hours is what the OP mentioned --
screams at me that the problem is probably related to the db handle
timing out. Even if you change the AR timeout value to 14400 (the
most often quoted value that I see), that is still just 4 hours. If
your process sits
On 11/7/07, Pete DeLaurentis [EMAIL PROTECTED] wrote:
Thanks Wayne. After some further investigation, my suspicion is on the
Lighttpd web-server.
When I run in development mode with Mongrel using web-brick the timeouts
don't happen at all. This indicates it's not a mongrel or rails / ORM
Quoting Vapor .. [EMAIL PROTECTED]:
what kind of info is required to clear it more?
Like my httpd-proxy.config file?
Thats the only thing I added to the system.
Give an example of the rails code that generates on of the links that
says localhost. Are you using link_to?
Then, yes, show us
On Nov 07, 2007, at 20:37, PA wrote:
But running examples/simpletest.rb hangs:
% ruby examples/simpletest.rb
The application sit there, not going any further than the require
'mongrel' statement.
Any thoughts one what I could be missing?
Never mind... after upgrading to ruby 1.8.6 and,
Hi David,
Thanks for all your help. It now makes sense how it all works. Unfortunately
for me it doesn't work and I don't think it is because of mongrel_cluster.
After you mentioned that I should have a symbolic link to
mongrel_cluster_ctl in /usr/bin, I realized that maybe the whole Ruby
Fellow mongrelians,
forgive a slightly off-topic rant; my hope is that it can lead to a better
world.
In the past few months, I have seen an increase in anonymous questions on
this list, anonymous in the sense that the sender names do not resemble
real human names, and also in the sense that the
On 11/7/07, Geek Moth [EMAIL PROTECTED] wrote:
I am using Apache2.2 + Mongrel on my machine.
Now I am accessing it over LAN. When I enter http://mymachinename/myapp
it opens fine but when I click on any link in my rails app, it replaces
mymachinename with localhost
On 11/3/07, Eden Li [EMAIL PROTECTED] wrote:
Hi all,
Forgive me if this has been asked before, but is there a reason
mongrel_rails cluster::restart stops all ports and then restarts them
again? Wouldn't it be better to restart each port one-by-one in
series so that upstream proxy servers
Cynthia Kiser wrote:
Quoting Vapor .. [EMAIL PROTECTED]:
what kind of info is required to clear it more?
Like my httpd-proxy.config file?
Thats the only thing I added to the system.
Give an example of the rails code that generates on of the links that
says localhost. Are you using link_to?
here it is...
===
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyRequests Off
Proxy *
Order deny,allow
Allow from all
/Proxy
Alias /myapp c:/rails/myapp/public
Alias /images c:/rails/myapp/public/images
Alias /stylesheets
On Nov 7, 2007 3:01 PM, gmail [EMAIL PROTECTED] wrote:
i have an archive of documents (word, excel, jpeg, png, gif...)
residing on a network share that is accessed via send_file.
when running mongrel on the command line the files are properly
delivered.
with mongrel running as a service
Hello,
I'm trying to run the latest/greatest mongrel version:
% sudo gem install mongrel
...
Successfully installed mongrel-1.1
% gem list mongrel
mongrel (1.1)
% ruby -v
ruby 1.8.4 (2005-12-24) [powerpc-darwin7.9.0]
% uname -a
Darwin NewYork.local 7.9.0 Darwin Kernel Version 7.9.0: Wed
Thanks Luis...
RubyGemsVersion 0.8.11
Mongrel version 1.0.4...we also have a Mongrel 1.1 folder but I don't
see a gem file with it.
The --debug install options below didn't generate anything.
Brian
Luis Lavena wrote:
On 11/7/07, Brian Penrose [EMAIL PROTECTED] wrote:
Hi Luis,
We still
I wonder... how many 64-bit mongrel users are out there?
My old servers are 32 bit machines, but my new ones are all 64 bit
machines.
All of our production boxes lately have been 64bit.
--
Jesse Proudman, Blue Box Group, LLC
___
Mongrel-users
sorry that wasn't posted anonymously on purpose.
i just set up my gmail account with imap in apple mail last night and
didn't even noticed it put gmail in the sender name. until i sent the
reply.
Am 07.11.2007 um 15:48 schrieb David Vrensk:
On Nov 7, 2007 3:01 PM, gmail [EMAIL PROTECTED]
yes that helped!
i just needed to switch the drive letter with the UNC path :)
thanks for pointing that out.
years of using windows but never thought it worked that way
Am 07.11.2007 um 15:48 schrieb David Vrensk:
On Nov 7, 2007 3:01 PM, gmail [EMAIL PROTECTED] wrote:
i have an archive of
On 11/7/07, Pete DeLaurentis [EMAIL PROTECTED] wrote:
Thanks for this Kirk. Yep, I was using 14400. I'm switching this to
2 weeks: 1209600 and we'll see if any further restarts are needed by
monit.
I've always wondered why 14400 is the number that is always passed
around when talking about
what kind of info is required to clear it more?
Like my httpd-proxy.config file?
Thats the only thing I added to the system.
--
Posted via http://www.ruby-forum.com/.
___
Mongrel-users mailing list
Mongrel-users@rubyforge.org
Hi Luis,
We still have not been able to get past this error. We do have OpenSSL
installed not the machine. Rake installed fine, which I thought also
needed SSL???
Any ideas?
Thanks,
Brian
Luis Lavena wrote:
On 11/5/07, Brian Penrose [EMAIL PROTECTED] wrote:
All other gems (including
Your Rails code looks fine and should give you normal urls as far as I
can see. I am afraid I don't use ProxyPass and Directory directives; I
use mod_rewrite + VirtualHost stanzas. So I hope someone else on the
list can see what is funky.
At a glance, this stanza looks fairly normal - though I
Maybe there is some db issue with a _really_ long timeout like 1209600?
that was my thought. i set it mine to 115200, 32 hours
more than enough but not too crazy
Kirk Haines [EMAIL PROTECTED] wrote: On 11/7/07, Pete DeLaurentis
wrote:
Thanks for this Kirk. Yep, I was using 14400. I'm
1.1 is fine for production although there is a (now) known bug with
mongrel_rails restart.
Evan
On Nov 7, 2007 2:01 PM, Luis Lavena [EMAIL PROTECTED] wrote:
On 11/7/07, Brian Penrose [EMAIL PROTECTED] wrote:
Thanks Luis...
RubyGemsVersion 0.8.11
Oh, you should try update rubygems at
If you need to auth the images then check out some of the
auth-before-redirect modules available for various web servers.
I think Danga's Perlbal was made for just this purpose.
Evan
On Nov 7, 2007 12:01 PM, Zed A. Shaw [EMAIL PROTECTED] wrote:
On Tue, 6 Nov 2007 14:34:25 +1100
Dave Cheney
Simpletest should probably be removed or at least audited; I don't
think anyone has looked at it in a while.
Evan
On Nov 7, 2007 3:11 PM, PA [EMAIL PROTECTED] wrote:
On Nov 07, 2007, at 20:37, PA wrote:
But running examples/simpletest.rb hangs:
% ruby examples/simpletest.rb
The
On Nov 7, 2007 9:13 PM, Tiberiu Motoc [EMAIL PROTECTED] wrote:
Hi David,
Thanks for all your help. It now makes sense how it all works.
Hi Tiberiu, thanks, I'm glad to hear that!
Unfortunately for me it doesn't work and I don't think it is because
of mongrel_cluster.
After you
Hello,
I am running mongrel 1.1 in production mode behind a lighttpd with mod_proxy.
At first everything works fine, however, after a few days, the mongrel servers
stop answering at all, even if I try to connect to them directly.
I have checked logs but there is no sign of anything at all, and
I also don't want git.
Evan
On Nov 7, 2007 11:40 PM, Luis Lavena [EMAIL PROTECTED] wrote:
On Nov 8, 2007 1:37 AM, Wayne E. Seguin [EMAIL PROTECTED] wrote:
On Nov 7, 2007 11:22 PM, Evan Weaver [EMAIL PROTECTED] wrote:
Sounds good. Let's wait for a few more suggestions and then later this
Sounds good. Let's wait for a few more suggestions and then later this
week you can hook us up.
What about the SVN mirror business? Would we just close the Rubyforge one?
Evan
On Nov 7, 2007 10:46 PM, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote:
Yeah I have a private ey namespace of
Yeah I have a private ey namespace of devjavu so it would be an
unlimited account.
-Ezra
On Nov 7, 2007, at 7:32 PM, Evan Weaver wrote:
Ezra, would that be the premium devjavu account? We already have more
than 5 committers.
Evan
On Nov 7, 2007 10:31 PM, Evan Weaver [EMAIL
On 11/8/07, Wayne E. Seguin [EMAIL PROTECTED] wrote:
Another option would be to setup a redmine instance. You can point it
at an SVN repo and specify how you'd like to associate items in the
commit logs. It has issue tracking, wiki, etc. http://redmine.org/
RedMine is too overkill and too
On Nov 7, 2007 10:31 PM, Evan Weaver [EMAIL PROTECTED] wrote:
Yeah... devjavu would require migrating the SVN too which is not a big
problem. I was thinking I would use svnmirror on my own server against
Rubyforge to support a Trac. I already run some tracs so that's not a
big deal.
But
Ezra, would that be the premium devjavu account? We already have more
than 5 committers.
Evan
On Nov 7, 2007 10:31 PM, Evan Weaver [EMAIL PROTECTED] wrote:
Yeah... devjavu would require migrating the SVN too which is not a big
problem. I was thinking I would use svnmirror on my own server
On Nov 8, 2007 12:28 AM, Wayne E. Seguin [EMAIL PROTECTED] wrote:
On Nov 7, 2007 10:24 PM, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote:
Evan-
I'd be happy to donate a devjavu account with trac and svn for the
project if you want.
I'd vote for that option.
Almost forgot: we
On Nov 8, 2007 12:08 AM, Evan Weaver [EMAIL PROTECTED] wrote:
Dear Mongrels,
The same questions keep coming up over and over on the list, which is
ok, but not really optimal. If we added a wiki to the Mongrel site to
handle FAQs, what wiki should it be?
Required features would be:
* Spam
Evan-
I'd be happy to donate a devjavu account with trac and svn for the
project if you want.
Cheers-
-Ezra
On Nov 7, 2007, at 7:08 PM, Evan Weaver wrote:
Dear Mongrels,
The same questions keep coming up over and over on the list, which is
ok, but not really optimal. If we
On Nov 7, 2007 9:33 PM, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote:
The way that I have put this issue to bed for people is with this
crunchy little hack in their environment.rb:
Thread.new { loop { sleep 60*60
ActiveRecord::Base.verify_active_connections! } }.priority = -10
I'm trying to sent a file to the iphone (which requires byte-range
request support) using the rails send_file method. However, this
fails, I think because of mongrel. I think so because if I send the
iphone a file handled by nginx, it plays it fine. But then when I
serve the file with rails the
Steve,
It sounds like you're referring to another setting on the MySQL
side. If the Rails timeout is just a little bit longer, then it will
automatically reconnect.
Is this right?
Thanks,
Pete
On Nov 7, 2007, at 3:56 PM, Steve Midgley wrote:
At 03:24 PM 11/7/2007, [EMAIL PROTECTED]
The way that I have put this issue to bed for people is with this
crunchy little hack in their environment.rb:
Thread.new { loop { sleep 60*60
ActiveRecord::Base.verify_active_connections! } }.priority = -10
That little baby will keep your database connected.
Cheers-
-Ezra
Nothing worked!
But the solution was somewhere else...It took me 4 hours to find that I
had to change BASE_URL in my 'reverse_proxy_fix' plugin from
http://localhost/myapp to http://mymachinename/myapp
:S
Gotta get some sleep
--
Posted via http://www.ruby-forum.com/.
Dear Mongrels,
The same questions keep coming up over and over on the list, which is
ok, but not really optimal. If we added a wiki to the Mongrel site to
handle FAQs, what wiki should it be?
Required features would be:
* Spam protection
* Doesn't look shitty
I would probably spring for Trac
On Nov 7, 2007 10:24 PM, Ezra Zygmuntowicz [EMAIL PROTECTED] wrote:
Evan-
I'd be happy to donate a devjavu account with trac and svn for the
project if you want.
I'd vote for that option.
~Wayne
___
Mongrel-users mailing list
On Nov 7, 2007 11:22 PM, Evan Weaver [EMAIL PROTECTED] wrote:
Sounds good. Let's wait for a few more suggestions and then later this
week you can hook us up.
What about the SVN mirror business? Would we just close the Rubyforge one?
Or... switch to git.
~Wayne
On Nov 8, 2007 1:37 AM, Wayne E. Seguin [EMAIL PROTECTED] wrote:
On Nov 7, 2007 11:22 PM, Evan Weaver [EMAIL PROTECTED] wrote:
Sounds good. Let's wait for a few more suggestions and then later this
week you can hook us up.
What about the SVN mirror business? Would we just close the
65 matches
Mail list logo