Outbound email settings
Hi, I am trying to figure out what the config is for setting up the ActionMailer. My app IS blessed so I should be OK sending email. I have this setting in my production and development.rb files ActionMailer::Base.delivery_method = :sendmail And Ive tried ActionMailer::Base.delivery_method = :smtp With the sendmail option I get this error while with the smtp option i get some other strange error. What is the proper delivery_method for Heroku outbound emails.? Errno::EPIPE in AccountsController#login Broken pipe RAILS_ROOT: /mnt/home/userapps/39864 Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:637:in `write' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:637:in `print' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:637:in `perform_delivery_sendmail' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:636:in `popen' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:636:in `perform_delivery_sendmail' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:508:in `__send__' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:508:in `deliver!' /usr/lib/ruby/gems/1.8/gems/actionmailer-2.1.0/lib/action_mailer/ base.rb:383:in `method_missing' app/controllers/accounts_controller.rb:19 /home/userapps_plugins/preload/request_timeout/lib/request_timeout.rb: 9 /home/userapps_plugins/preload/request_timeout/lib/request_timeout.rb: 8 /home/heroku_rack/lib/toolbar.rb:15 /home/heroku_rack/lib/static_assets.rb:9 /usr/bin/thin:19:in `load' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com 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 -~--~~~~--~~--~--~---
SMTP Email Results in RestClient HTTP Status Code
I have a blessed app and am trying to configure the email to be sent. I am using smtp as my rails delivery_method. I am getting this error ideas? private method `gsub' called for #RestClient::RequestFailed: HTTP status code 502 Extracted source (around line #7): 4: in %=h request.parameters['controller'].humanize %Controller % if request.parameters['action'] %#%=h request.parameters['action'] %% end % 5: % end % 6: /h1 7: pre%=h @exception.clean_message %/pre 8: 9: %= render_file(@rescues_path + /_trace.erb, false) % 10: RAILS_ROOT: /mnt/home/userapps/39864 Application Trace | Framework Trace | Full Trace /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ core_ext/pathname/clean_within.rb:7:in `clean_within' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/ core_ext/exception.rb:11:in `clean_message' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ templates/rescues/diagnostics.erb:7:in `_run_erb_47usr47lib47ruby47gems47146847gems47actionpack45246146047lib47action_controller47templates47rescues47diagnostics46erb' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb: 338:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb: 338:in `execute' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/ template_handlers/compilable.rb:29:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/ template_handlers/compilable.rb:29:in `render' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/ template.rb:35:in `render' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/ template.rb:22:in `render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/base.rb: 245:in `render_file' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ rescue.rb:181:in `rescue_action_locally' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ rescue.rb:125:in `rescue_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ rescue.rb:203:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ caching/sql_cache.rb:13:in `perform_action' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ connection_adapters/abstract/query_cache.rb:33:in `cache' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ query_cache.rb:8:in `cache' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ caching/sql_cache.rb:12:in `perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ base.rb:529:in `send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ base.rb:529:in `process_without_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ filters.rb:569:in `process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ session_management.rb:130:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ base.rb:389:in `process' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:149:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:107:in `dispatch' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:104:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:120:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/ dispatcher.rb:35:in `dispatch' /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails' /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call' /home/heroku_rack/lib/toolbar.rb:15 /home/heroku_rack/lib/static_assets.rb:9 /usr/bin/thin:19:in `load' /usr/bin/thin:19 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: I'm getting a 504 gateway time out
I get it too on occasion. I think its part of heroku being in beta... It usually works it self out. From my experiences it happens when the app has either: +Been idle for a long time and its coming back to like. I _THINK_ heroku hibernates apps some how... But i dont know. +I just redeployed a pile of code. So.. I have no answers for you... just letting you know that there are more people in the same raft as you. On Dec 4, 2:28 pm, Jeremy Lightsmith [EMAIL PROTECTED] wrote: onhttp://registrar.heroku.com/ why??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com 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 -~--~~~~--~~--~--~---
D'oh Internal Server Error
Hi, Starting last night I started getting the D'oh server error on : http://sastatus.heroku.com/ The error is: D'oh This app is temporarily offline due to an internal error. If it's not back in a few minutes, please email feedback at heroku dot com for assistance. Anything I can do on my end? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com 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 -~--~~~~--~~--~--~---
cname issue on my server
I have configured my cname for a sub domain to use heroku. for my app: sastatus.heroku.com if I try to save a custom domain name as: status.surveyanalytics.com I get an error stating my cname is not correct and I should run the following command. But from what I can see via the output of the command everything is checking out OK. host status.surveyanalytics.com status.surveyanalytics.com is an alias for heroku.com. heroku.com has address 75.101.142.103 heroku.com has address 75.101.141.116 heroku.com mail is handled by 10 aspmx5.googlemail.com. heroku.com mail is handled by 1 aspmx.l.google.com. heroku.com mail is handled by 5 alt1.aspmx.l.google.com. heroku.com mail is handled by 5 alt2.aspmx.l.google.com. heroku.com mail is handled by 10 aspmx2.googlemail.com. heroku.com mail is handled by 10 aspmx3.googlemail.com. heroku.com mail is handled by 10 aspmx4.googlemail.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com 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 -~--~~~~--~~--~--~---