Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to do when I get a Timeout Error #1

Open
timothyjoh opened this issue Nov 2, 2009 · 3 comments
Open

What to do when I get a Timeout Error #1

timothyjoh opened this issue Nov 2, 2009 · 3 comments

Comments

@timothyjoh
Copy link

What to look at when I get the following
Timeout::Error (execution expired):
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/timeout.rb:60:in open' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/smtp.rb:551:indo_start'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/smtp.rb:551:in do_start' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/smtp.rb:525:instart'
app/models/build.rb:21:in after_create' haml (2.2.9) rails/./lib/sass/plugin/rails.rb:19:inprocess'

@dcrec1
Copy link
Owner

dcrec1 commented Nov 2, 2009

This error happens in some servers when the build is being created by the interface and it takes a little bit to complete.

This error doesn't seems to happen with Passenger, but if you're using Mongrel, you can set the timeout with -o, like this:

mongrel_rails start -o

When build is created by pinging /projects/name/build this error doesn't happen because the build is done in the background, with delajed_job. Maybe it's a good idea to also use it when the build is created by the interface.

@millisami
Copy link

I've setup the signal and used with Mongrel on my dev machine. The Timeout error.
Got on this page, setup with passenger but still the Timeout error.
This might be due to the project url on github, so go through net. How can I configure passenger (what config variable) to increase execution time?

@dcrec1
Copy link
Owner

dcrec1 commented Dec 19, 2009

Can you plz post here the stack trace? I think the error may be coming from a library and not from Passenger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants