I just uploaded my app to heroku and activated sendgrid:free, since I
just anted a quick email setup. However, sending mail raises the
following error:

SocketError (getaddrinfo: Name or service not known):
  /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `initialize'
  /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `new'
  /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'
  /usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout'
  /usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout'
  /usr/local/lib/ruby/1.8/net/protocol.rb:206:in `old_open'
  /usr/local/lib/ruby/1.8/net/smtp.rb:392:in `do_start'
  /usr/local/lib/ruby/1.8/net/smtp.rb:377:in `start'
  app/models/user_observer.rb:3:in `after_create'
  /usr/local/lib/ruby/1.8/observer.rb:185:in `notify_observers'
  /usr/local/lib/ruby/1.8/observer.rb:184:in `each'
  /usr/local/lib/ruby/1.8/observer.rb:184:in `notify_observers'
  app/controllers/users_controller.rb:17:in `create'
  /home/heroku_rack/lib/static_assets.rb:9:in `call'
  /home/heroku_rack/lib/last_access.rb:25:in `call'
  /home/heroku_rack/lib/date_header.rb:14:in `call'
  thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
  thin (1.0.1) lib/thin/connection.rb:78:in `catch'
  thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
  thin (1.0.1) lib/thin/connection.rb:57:in `process'
  thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
  eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
  thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
  thin (1.0.1) lib/thin/server.rb:150:in `start'
  thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
  thin (1.0.1) lib/thin/runner.rb:173:in `send'
  thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
  thin (1.0.1) lib/thin/runner.rb:139:in `run!'
  thin (1.0.1) bin/thin:6
  /usr/local/bin/thin:20:in `load'
  /usr/local/bin/thin:20

sendgrid supposedly gets configured automatically, so I don't know
where this error could come from.

Thank you very much for any help!

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to