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

Connection error when running an async mailer #12

Open
zinkkrysty opened this issue Apr 13, 2012 · 0 comments
Open

Connection error when running an async mailer #12

zinkkrysty opened this issue Apr 13, 2012 · 0 comments

Comments

@zinkkrysty
Copy link

I get this stack:


Exception
Errno::ECONNREFUSED
Error
Connection refused - connect(2)

/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:644:in `initialize'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:644:in `open'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:644:in `block in connect'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:44:in `timeout'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/timeout.rb:89:in `timeout'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:644:in `connect'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:637:in `do_start'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/net/http.rb:626:in `start'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:306:in `open_http'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:769:in `buffer_open'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:203:in `block in open_loop'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:201:in `catch'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:201:in `open_loop'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:146:in `open_uri'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:671:in `open'
/Users/cristianandrei/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/open-uri.rb:33:in `open'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:90:in `block in extract_css'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:239:in `block in each'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238:in `upto'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/nokogiri-1.5.0/lib/nokogiri/xml/node_set.rb:238:in `each'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:82:in `collect'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:82:in `extract_css'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:96:in `parse_css'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:61:in `nodes_with_rules'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:36:in `process'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style.rb:26:in `process'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/inline-style-0.5.0/lib/inline-style/mail-interceptor.rb:31:in `delivering_email'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/mail-2.3.0/lib/mail/mail.rb:230:in `block in inform_interceptors'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/mail-2.3.0/lib/mail/mail.rb:229:in `each'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/mail-2.3.0/lib/mail/mail.rb:229:in `inform_interceptors'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/mail-2.3.0/lib/mail/message.rb:218:in `inform_interceptors'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/mail-2.3.0/lib/mail/message.rb:228:in `deliver'
/Users/cristianandrei/.rvm/gems/ruby-1.9.2-p290@autouncle/gems/resque_mailer-2.0.2/lib/resque_mailer.rb:36:in `perform'

My config is:
Rails 3.1.3
gem 'resque_mailer', '~> 2.0.2'

I also have asset_sync in production, but I tested this only in development:
gem 'asset_sync', "~> 0.3.1"

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

1 participant