Re: Heroku down time today, about 30 minutes total
So, 3 nine's is what to expect from Heroku? On Oct 28, 3:50 am, Peter Marklund peter_markl...@fastmail.fm wrote: Regardless with hosting option you choose you will have downtime. I have found more often than not the reason is to do with infrastructure like power, networking, hardware, routing etc. that will most likely be out of your control. I think the downtime I've seen with Heroku is tolerable and you shouldn't necessarily assume you'll have less downtime if you move somewhere else. Peter On Oct 27, 9:46 pm, oma ole.morten.amund...@gmail.com wrote: unexpected downtown is way different than planned downtown. This is really discomforting. I'm not looking forward in moving my production app to more stable place... heroku should really answer this. On Oct 27, 7:19 pm, Jimmy Thrasher ji...@jimmythrasher.com wrote: Interesting. So, back of the envelope, from a dev perspective: ruby-1.8.7-p302 elapsed = (Time.local(2010,10,26,16) - Time.local(2010,8,1)) / 60 =124800.0 ruby-1.8.7-p302 (elapsed - 45 - 28 - 45) / elapsed = 0.999054487179487 About 99.9% uptime over the elapsed time. It's still way cheaper for me to use Heroku, but the cost of 30 minutes of downtime in a month is fairly low. Folks with higher uptime requirements are likely just going to have to shell out the $$$ no matter which way you slice it. Jimmy On Wed, Oct 27, 2010 at 12:54 PM, John Norman j...@7fff.com wrote: Below is the data I have for one app (similar data from two other apps). So, for September, 28 minutes of downtime . . . better than 3 nines: http://en.wikipedia.org/wiki/High_availability#Percentage_calculation But I would much rather report to my customers official data from Heroku. The times below are central time zone, I think. AUGUST - Total unavailable minutes: 45 unavail at avail at elapsed 8/4/2010 17:06:00 8/4/2010 17:51:00 0:45:00 SEPTEMBER - Total unavailable minutes: 28 9/13/2010 8:46:00 9/13/2010 8:55:00 0:09:00 9/13/2010 14:26:00 9/13/2010 14:36:00 0:10:00 9/21/2010 1:16:00 9/21/2010 1:21:00 0:05:00 9/28/2010 22:26:00 9/28/2010 22:30:00 0:04:00 OCTOBER - Total unavailable minutes so far: 45 10/4/2010 15:41:00 10/4/2010 15:51:00 0:10:00 10/5/2010 11:56:00 10/5/2010 12:01:00 0:05:00 10/26/2010 12:16:00 10/26/2010 12:26:00 0:10:00 10/26/2010 14:41:00 10/26/2010 14:46:00 0:05:00 10/26/2010 15:21:00 10/26/2010 15:36:00 0:15:00 On Wed, Oct 27, 2010 at 9:53 AM, Jimmy Thrasher ji...@jimmythrasher.comwrote: I'd be curious to find out what the actual uptime percentage is, and what it would cost you to maintain that on a different platform with comparable services. :) Jimmy On Wed, Oct 27, 2010 at 9:55 AM, JDeville jeffdevi...@gmail.com wrote: Al, I'm afraid Heroku's had a fair bit of downtime since I've joined earlier this year. The status link mattsly gave you paints a pretty grim picture. I figure I'll probably have to come up with something else once my site's uptime becomes important to me. I'm hoping they stop adding new features, and instead pour themselves into stability. On Oct 27, 8:11 am, mattsly matt...@gmail.com wrote: You can browse the incident archive here:http://status.heroku.com/past Most of the issues seems to be related to tooling, but there was at least one other case of app outage earlier in the month (Oct. 4) Does Heroku publish uptime numbers? Does anyone running an app in production (I'm still not yet...) have app uptime numbers they're willing to share? On Oct 26, 7:03 pm, Shane Becker veganstraighte...@gmail.com wrote: How can we be sure this won't happen again? No -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- +1-919-627-7546 -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to
Re: Full Logging Solutions
Hey John! Thanks for the tip about capped collections, I had missed that. I now have a 20GB capped collection on MongoHQ for my logging... I've added a note to the README about this. Cheers Peter On Oct 29, 12:20 am, John Barnette jbarne...@gmail.com wrote: On Oct 28, 2010, at 3:13 PM, Peter Marklund wrote: I've experimented with logging to MongoDB lately and I've found it to work really well. The MongoDB performance along with its query capabilities opens up a lot of possibilities. I'm doing my logging to MongoHQ now through a Rack middleware and am monitoring the performance (time overhead) of the logging and it's looking really good so far. I've packaged up my code in a gem: Good stuff. We're doing some similar things. You may want to look at Mongo's capped collections for some of your logging if you're not already: The natural ordering and fixed max size can be really useful. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Abridged summary of heroku@googlegroups.com - 25 Messages in 9 Topics
K Sent via BlackBerry from T-Mobile -Original Message- From: heroku+nore...@googlegroups.com Sender: heroku@googlegroups.com Date: Thu, 28 Oct 2010 10:34:58 To: Abridged Recipientsheroku+dig...@googlegroups.com Reply-To: heroku@googlegroups.com Subject: Abridged summary of heroku@googlegroups.com - 25 Messages in 9 Topics = Today's Topic Summary = Group: heroku@googlegroups.com Url: http://groups.google.com/group/heroku/topics - Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT? [1 Update] http://groups.google.com/group/heroku/t/913e4e9ff8c5ec00 - Has anyone got pony working with gmail on heroku? [5 Updates] http://groups.google.com/group/heroku/t/b3eafb2e981f5a33 - Delayed_job worker + paperclip + s3 error [2 Updates] http://groups.google.com/group/heroku/t/92e68a9c6310f3d1 - Heroku down time today, about 30 minutes total [8 Updates] http://groups.google.com/group/heroku/t/fc45c0b5d2a363e - Postmortem on Tuesday's outage [1 Update] http://groups.google.com/group/heroku/t/105f581cbe762528 - RubyAMF [1 Update] http://groups.google.com/group/heroku/t/6e7c9d872868a673 - Heroku has a read-only filesystem [2 Updates] http://groups.google.com/group/heroku/t/32cbeb0597113f22 - Background job processing [4 Updates] http://groups.google.com/group/heroku/t/5dc70ba0edb85523 - Dalli memcached not hitting the cache [1 Update] http://groups.google.com/group/heroku/t/a85372b7717b3ab = Topic: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT? Url: http://groups.google.com/group/heroku/t/913e4e9ff8c5ec00 = -- 1 of 1 -- From: Peter Marklund peter_markl...@fastmail.fm Date: Oct 28 03:12AM -0700 Url: http://groups.google.com/group/heroku/msg/e1f8013be072b279 Hi! According to the Heroku documentation at http://docs.heroku.com/bundler you can use this config var setting: heroku config:add BUNDLE_WITHOUT=development test It will exclude the = Topic: Has anyone got pony working with gmail on heroku? Url: http://groups.google.com/group/heroku/t/b3eafb2e981f5a33 = -- 1 of 5 -- From: Phil Pirozhkov pirjs...@gmail.com Date: Oct 27 04:23AM -0700 Url: http://groups.google.com/group/heroku/msg/adb5ec3372ef1845 look at padrino mailer if you are using sinatra, or active mailer if rails tmail gem is outdated, and pony depends on it you can either patch tmail or use patched as provided by tools i've -- 2 of 5 -- From: Richard Conroy richard.con...@gmail.com Date: Oct 27 12:32PM +0100 Url: http://groups.google.com/group/heroku/msg/184b664483f5f098 you can either patch tmail or use patched as provided by tools i've mentioned you can also use SendGrid or any alternative addon I got sendgrid working. It was pretty straightforward. -- 3 of 5 -- From: Jimmy moxley.ja...@googlemail.com Date: Oct 27 05:01AM -0700 Url: http://groups.google.com/group/heroku/msg/d93f56f8b283cd8d I figured it out, I had used an example from http://github.com/benprew/pony Works locally, doesn't work on heroku Pony.mail :to = ENV['TO_EMAIL'], :from = params[:email], -- 4 of 5 -- From: Pedro Del Gallego pedro.delgall...@gmail.com Date: Oct 27 09:32AM +0200 Url: http://groups.google.com/group/heroku/msg/40a5aac9e4d9848a Pony works locally, but on heroku I get the following: It's working fine for me. Have you declared the gem smtp_tls in your .gems file? Here you have the code. -- 5 of 5 -- From: morgoth w.wnetr...@gmail.com Date: Oct 28 02:45AM -0700 Url: http://groups.google.com/group/heroku/msg/53a8d5080be57b9f You can also use mail gem. You can find my configuration of mail gem in sinatra applicaion in: http://github.com/morgoth/kasia/blob/master/app.rb = Topic: Delayed_job worker + paperclip + s3 error Url: http://groups.google.com/group/heroku/t/92e68a9c6310f3d1 = -- 1 of 2 -- From: Mark Wang mark.w...@gmail.com Date: Oct 27 03:40AM -0700 Url: http://groups.google.com/group/heroku/msg/3d8dfa77fee1a7a0 Hi all, I'm implementing a simple photo upload test app that uses paperclip 2.3.5 for the upload, S3 for storage, and delayed_job + ImageMagick for photo resizing. It works fine on my local -- 2 of 2 -- From: Mark Wang mark.w...@gmail.com Date: Oct 27 05:03PM -0700 Url:
Re: Bundler upgrade to 1.0.3 to support BUNDLE_WITHOUT?
My slug used to be about 85 MB (!), but around the time that Heroku started recognizing BUNDLE_WITHOUT, my slug size dropped to 35 MB. I also noticed that Heroku's bundler reinstalls all the gems on EVERY deploy, whereas is used to only run if my gemlock changed. Thats ~5mins instead of 15seconds. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Sendgrid questions
* What happens if I exceed my quota? * How do we access the Sendgrid web interface from our Heroku account? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Sendgrid questions
I've been playing with Sendgrid for a while. I think they eventually start rejecting messages, but I've also heard they might hunt you down with a furious wrath that no one can comprehend. On Fri, Oct 29, 2010 at 3:09 PM, Russell Quinn m...@russellquinn.comwrote: * What happens if I exceed my quota? * How do we access the Sendgrid web interface from our Heroku account? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- = Brandon Casci Loudcaster http://loudcaster.com = -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
heroku routing issues
Hi there, I'm having problems with routing in my heroku environment heroku. I have this redirect in the index method of the application controller. class ApplicationController ActionController::Base . def index redirect_to root_url end end this works perfectly in my local environment yet in heroku it fails (does not get redirectly). All other routing is functioning correctly, all except for the index method of ApplicationController. Is there something that is causing this in the heroku environment that I have overlooked? Thanks in advance, I'm new to the heroku environment. Thanks, Cris -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
First S3 upload works, subsequent uploads do not
My app works perfectly on my development server with Amazon S3 but once deployed to Heroku, it breaks AFTER one successful upload. I am able to create one post which has one attached image. Once uploaded, the image file can be accessed without a problem. The problem arises when trying to create additional posts with attached files or when trying to upload a different file attachment for the original working post. I have spent all day on this and can't figure out why Heroku always throws an error one any second upload to S3 after the app is rebuilt. I have included the log that shows the successful creation of the first post that includes an upload and the second post with an upload that fails. Processing MicropostsController#create (for 24.202.155.203 at 2010-10-28 16:41:18) [POST] Parameters: {commit=Submit, micropost={start_date(1i)=2010, start_date(2i)=10, start_date(3i)=30, title=Bright Eyes, start_date(4i)=23, start_date(5i)=39, poster=#File:/home/ slugs/333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ RackMultipart20101028-11999-6tjb14-0, link1=http:// www.youtube.com/watch?v=o5rhhQbyYV0, link2=http://www.youtube.com/ watch?v=o5rhhQbyYV0, content=Details, venue=il Motore}, action=create, authenticity_token=gDBmWuBjv9PDjlLJMPJr1eL3w/ NXZ1jdsreIYQ0EUcU=, controller=microposts} [paperclip] identify -format %wx%h '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0.jpg[0]' [paperclip] convert '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0.jpg[0]' -resize '375x550' '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0,11999,0' [paperclip] identify -format %wx%h '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0.jpg[0]' [paperclip] convert '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0.jpg[0]' -resize '200x' -crop '200x200+0+50' +repage '/ home/slugs/333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/ mnt/tmp/stream,11999,0,11999,1' [paperclip] Saving attachments. [paperclip] saving /assets/posters/1/original/bright-eyes.jpg [paperclip] saving /assets/posters/1/large/bright-eyes.jpg [paperclip] saving /assets/posters/1/thumb/bright-eyes.jpg Redirected to http://gigkong.com/users/1 Completed in 628ms (DB: 23) | 302 Found [http://gigkong.com/gigs] ***The first post was successful. The second upload fails below where [paperclip] Saving attachments should be. Code is the same on my dev server and works*** Processing MicropostsController#create (for 24.202.155.203 at 2010-10-28 16:42:58) [POST] Parameters: {commit=Submit, micropost={start_date(1i)=2010, start_date(2i)=10, start_date(3i)=30, title=Caribou, start_date(4i)=23, start_date(5i)=42, poster=#File:/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ RackMultipart20101028-11999-eah7cl-0, link1=http:// www.youtube.com/watch?v=o5rhhQbyYV0, link2=http://www.youtube.com/ watch?v=o5rhhQbyYV0, content=Details, venue=Casa del Popolo}, action=create, authenticity_token=gDBmWuBjv9PDjlLJMPJr1eL3w/NXZ1jdsreIYQ0EUcU=, controller=microposts} [paperclip] identify -format %wx%h '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0.jpg[0]' [paperclip] convert '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0.jpg[0]' -resize '375x550' '/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/tmp/ stream,11999,0,11999,0' NoMethodError (undefined method `[]' for nil:NilClass): app/controllers/microposts_controller.rb:27:in `create' /home/heroku_rack/lib/static_assets.rb:9:in `call' /home/heroku_rack/lib/last_access.rb:15:in `call' /home/heroku_rack/lib/date_header.rb:14:in `call' thin (1.2.6) lib/thin/connection.rb:76:in `pre_process' thin (1.2.6) lib/thin/connection.rb:74:in `catch' thin (1.2.6) lib/thin/connection.rb:74:in `pre_process' thin (1.2.6) lib/thin/connection.rb:57:in `process' thin (1.2.6) lib/thin/connection.rb:42:in `receive_data' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine' eventmachine (0.12.10) lib/eventmachine.rb:256:in `run' thin (1.2.6) lib/thin/backends/base.rb:57:in `start' thin (1.2.6) lib/thin/server.rb:156:in `start' thin (1.2.6) lib/thin/controllers/controller.rb:80:in `start' thin (1.2.6) lib/thin/runner.rb:177:in `send' thin (1.2.6) lib/thin/runner.rb:177:in `run_command' thin (1.2.6) lib/thin/runner.rb:143:in `run!' thin (1.2.6) bin/thin:6 /usr/ruby1.8.7/bin/thin:19:in `load' /usr/ruby1.8.7/bin/thin:19 Rendering /disk1/home/slugs/ 333722_0c2b1ab_b46f-600809c5-4d87-4421-89b0-e07def6f4256/mnt/public/ 500.html (500 Internal Server Error) === def create @current_user = current_user @micropost = current_user.microposts.build(params[:micropost]) line 27 if @micropost.save flash[:success] = Micropost created!
Re: heroku routing issues
I should have also added the routing problems occur in the production environment (on heroku) but not in dev environment. Thanks On Oct 29, 2:15 pm, Cris cristinarand...@gmail.com wrote: Hi there, I'm having problems with routing in my heroku environment heroku. I have this redirect in the index method of the application controller. class ApplicationController ActionController::Base . def index redirect_to root_url end end this works perfectly in my local environment yet in heroku it fails (does not get redirectly). All other routing is functioning correctly, all except for the index method of ApplicationController. Is there something that is causing this in the heroku environment that I have overlooked? Thanks in advance, I'm new to the heroku environment. Thanks, Cris -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku routing issues
Can you explain what is actually happening? Is there an error message? Also, actions aren't typically defined in the ApplicationController, so I wouldn't be surprised if putting them there makes things iffy. You can try running your app in production mode on your local machine is order to see whether the problem is the environment or Heroku (try rails s production at the command line). On Oct 29, 12:33 pm, Cris cristinarand...@gmail.com wrote: I should have also added the routing problems occur in the production environment (on heroku) but not in dev environment. Thanks On Oct 29, 2:15 pm, Cris cristinarand...@gmail.com wrote: Hi there, I'm having problems with routing in my heroku environment heroku. I have this redirect in the index method of the application controller. class ApplicationController ActionController::Base . def index redirect_to root_url end end this works perfectly in my local environment yet in heroku it fails (does not get redirectly). All other routing is functioning correctly, all except for the index method of ApplicationController. Is there something that is causing this in the heroku environment that I have overlooked? Thanks in advance, I'm new to the heroku environment. Thanks, Cris -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Sendgrid questions
Pretty sure they'll just charge you... their regular plans ( http://sendgrid.com/pricing.html ) all have a Price per email thereafter To access the Sendgrid web interface, run 'heroku config' and look for the ENV variables SENDGRID_PASSWORD and SENDGRID_USERNAME. Use those to login at sendgrid.com ! On Oct 29, 3:09 pm, Russell Quinn m...@russellquinn.com wrote: * What happens if I exceed my quota? * How do we access the Sendgrid web interface from our Heroku account? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku routing issues
Hi there, thanks for the reply. The actions are defined in index of ApplicationController. There is no error message, simply that the code within index is not invoked. I ran in production mode locally, and it indeed gives the same error. I checked the routes and they are the same, after running rake routes. Also I'm running rails 2.3.8 It doesn't appear that code should be used in the index method of Action Controller... On Oct 29, 4:00 pm, Chris Hanks christopher.m.ha...@gmail.com wrote: Can you explain what is actually happening? Is there an error message? Also, actions aren't typically defined in the ApplicationController, so I wouldn't be surprised if putting them there makes things iffy. You can try running your app in production mode on your local machine is order to see whether the problem is the environment or Heroku (try rails s production at the command line). On Oct 29, 12:33 pm, Cris cristinarand...@gmail.com wrote: I should have also added the routing problems occur in the production environment (on heroku) but not in dev environment. Thanks On Oct 29, 2:15 pm, Cris cristinarand...@gmail.com wrote: Hi there, I'm having problems with routing in my heroku environment heroku. I have this redirect in the index method of the application controller. class ApplicationController ActionController::Base . def index redirect_to root_url end end this works perfectly in my local environment yet in heroku it fails (does not get redirectly). All other routing is functioning correctly, all except for the index method of ApplicationController. Is there something that is causing this in the heroku environment that I have overlooked? Thanks in advance, I'm new to the heroku environment. Thanks, Cris -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Sendgrid questions
You know...I just remembered I'm not using the Sendgrid addon. I'm still using my own Sendgrid account I set up before moving to Heroku. I'm pretty sure I encountered a hard limit there, but that was before Sendgrid launched the new site and some other things. On Fri, Oct 29, 2010 at 5:05 PM, chris mcclellan...@gmail.com wrote: Pretty sure they'll just charge you... their regular plans ( http://sendgrid.com/pricing.html ) all have a Price per email thereafter To access the Sendgrid web interface, run 'heroku config' and look for the ENV variables SENDGRID_PASSWORD and SENDGRID_USERNAME. Use those to login at sendgrid.com ! On Oct 29, 3:09 pm, Russell Quinn m...@russellquinn.com wrote: * What happens if I exceed my quota? * How do we access the Sendgrid web interface from our Heroku account? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- = Brandon Casci Loudcaster http://loudcaster.com = -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Sendgrid questions
If you exceed the quota with the add-on, sendgrid will start giving you authentication errors. To access the web interface, run heroku config grab the username/password, and login to sendgrid. Oren On Fri, Oct 29, 2010 at 12:09 PM, Russell Quinn m...@russellquinn.com wrote: * What happens if I exceed my quota? * How do we access the Sendgrid web interface from our Heroku account? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku routing issues
Paste the full output of your output from when you run it locally in production mode into a gist (gist.github.com) and paste that here. Oren On Fri, Oct 29, 2010 at 2:40 PM, Cris cristinarand...@gmail.com wrote: Hi there, thanks for the reply. The actions are defined in index of ApplicationController. There is no error message, simply that the code within index is not invoked. I ran in production mode locally, and it indeed gives the same error. I checked the routes and they are the same, after running rake routes. Also I'm running rails 2.3.8 It doesn't appear that code should be used in the index method of Action Controller... On Oct 29, 4:00 pm, Chris Hanks christopher.m.ha...@gmail.com wrote: Can you explain what is actually happening? Is there an error message? Also, actions aren't typically defined in the ApplicationController, so I wouldn't be surprised if putting them there makes things iffy. You can try running your app in production mode on your local machine is order to see whether the problem is the environment or Heroku (try rails s production at the command line). On Oct 29, 12:33 pm, Cris cristinarand...@gmail.com wrote: I should have also added the routing problems occur in the production environment (on heroku) but not in dev environment. Thanks On Oct 29, 2:15 pm, Cris cristinarand...@gmail.com wrote: Hi there, I'm having problems with routing in my heroku environment heroku. I have this redirect in the index method of the application controller. class ApplicationController ActionController::Base . def index redirect_to root_url end end this works perfectly in my local environment yet in heroku it fails (does not get redirectly). All other routing is functioning correctly, all except for the index method of ApplicationController. Is there something that is causing this in the heroku environment that I have overlooked? Thanks in advance, I'm new to the heroku environment. Thanks, Cris -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku routing issues
My advice would be to drop the index action entirely from ApplicationController, since its not very good practice (ApplicationController isn't meant to define actions - it's more for collecting before_filters and things like that). If you'd like to talk a bit more about what you're trying to do with the index action there, we can certainly give you some advice on what to replace it with. On Oct 29, 2:40 pm, Cris cristinarand...@gmail.com wrote: Hi there, thanks for the reply. The actions are defined in index of ApplicationController. There is no error message, simply that the code within index is not invoked. I ran in production mode locally, and it indeed gives the same error. I checked the routes and they are the same, after running rake routes. Also I'm running rails 2.3.8 It doesn't appear that code should be used in the index method of Action Controller... On Oct 29, 4:00 pm, Chris Hanks christopher.m.ha...@gmail.com wrote: Can you explain what is actually happening? Is there an error message? Also, actions aren't typically defined in the ApplicationController, so I wouldn't be surprised if putting them there makes things iffy. You can try running your app in production mode on your local machine is order to see whether the problem is the environment or Heroku (try rails s production at the command line). On Oct 29, 12:33 pm, Cris cristinarand...@gmail.com wrote: I should have also added the routing problems occur in the production environment (on heroku) but not in dev environment. Thanks On Oct 29, 2:15 pm, Cris cristinarand...@gmail.com wrote: Hi there, I'm having problems with routing in my heroku environment heroku. I have this redirect in the index method of the application controller. class ApplicationController ActionController::Base . def index redirect_to root_url end end this works perfectly in my local environment yet in heroku it fails (does not get redirectly). All other routing is functioning correctly, all except for the index method of ApplicationController. Is there something that is causing this in the heroku environment that I have overlooked? Thanks in advance, I'm new to the heroku environment. Thanks, Cris -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.