Re: Getting Resque/Redis working
http://blog.redistogo.com/2010/07/26/resque-with-redis-to-go/ < this article helps me a lot. I just finished making my app with Resque working on Heroku yesterday with the help of this article. siong. On Fri, Oct 15, 2010 at 12:45 PM, TJ Singleton wrote: > We had to add in our send grid info for some reason. We ran into this a > week or so ago. We placed the following in our production.rb environment > file. > > ActionMailer::Base.smtp_settings = { > :address=> "smtp.sendgrid.net", > :port => "25", > :authentication => :plain, > :user_name => ENV['SENDGRID_USERNAME'], > :password => ENV['SENDGRID_PASSWORD'], > :domain => ENV['SENDGRID_DOMAIN'], > } > > Good luck! > > TJ Singleton > SalesCrunch.com > > On Oct 14, 2010, at 10:42 PM, rmontgomery429 wrote: > > > I suppose I should mention my app is Rails3 and I'm trying to use > > Resque for background jobs. > > > > The message I get is as follows: > > > > Errno::EAFNOSUPPORT (Address family not supported by protocol - > > socket(2)): > > /lib/session_processor.rb:109:in `process' > > /lib/session_processor.rb:103:in `each' > > /lib/session_processor.rb:103:in `process' > > app/controllers/messagings_controller.rb:6:in `create' > > > > Line 109 is where I call Resque.enqueue. > > > > > > Ryan > > > > On Oct 7, 12:39 am, Gabriel wrote: > >> I'm following this example, > http://github.com/brodyberg/heroku_redis_example > >> in order to get Resque/Redisworking and it seems pretty > >> straightforward. But when I try and call my super simple Resque class > >> I get this error / stack trace: > >> > >> Errno::EAFNOSUPPORT (Address family not supported by protocol - > >> socket(2)): > >> redis(2.0.10) lib/redis/client.rb:215:in `initialize' > >> redis(2.0.10) lib/redis/client.rb:215:in `new' > >> redis(2.0.10) lib/redis/client.rb:215:in `connect_to' > >> /home/slugs/289875_1f5b5b6_5f24/mnt/.gems/gems/system_timer-1.0/lib/ > >> system_timer.rb:28:in `timeout_after' > >> redis(2.0.10) lib/redis/client.rb:276:in `with_timeout' > >> redis(2.0.10) lib/redis/client.rb:214:in `connect_to' > >> redis(2.0.10) lib/redis/client.rb:23:in `connect' > >> redis(2.0.10) lib/redis/client.rb:242:in `ensure_connected' > >> redis(2.0.10) lib/redis/client.rb:268:in `ensure_connected' > >> /usr/ruby1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize' > >> redis(2.0.10) lib/redis/client.rb:264:in `synchronize' > >> redis(2.0.10) lib/redis/client.rb:268:in `ensure_connected' > >> redis(2.0.10) lib/redis/client.rb:61:in `process' > >> redis(2.0.10) lib/redis/client.rb:199:in `logging' > >> redis(2.0.10) lib/redis/client.rb:60:in `process' > >> redis(2.0.10) lib/redis/client.rb:34:in `call' > >> redis(2.0.10) lib/redis.rb:227:in `sadd' > >> /home/slugs/289875_1f5b5b6_5f24/mnt/.gems/gems/redis-namespace-0.8.0/ > >> lib/redis/namespace.rb:188:in `send' > >> /home/slugs/289875_1f5b5b6_5f24/mnt/.gems/gems/redis-namespace-0.8.0/ > >> lib/redis/namespace.rb:188:in `method_missing' > >> resque (1.10.0) lib/resque.rb:184:in `watch_queue' > >> resque (1.10.0) lib/resque.rb:129:in `push' > >> resque (1.10.0) lib/resque/job.rb:51:in `create' > >> resque (1.10.0) lib/resque.rb:206:in `enqueue' > >> app/controllers/tools_controller.rb:11:in `get_site_activity' > >> > >> This happens when I call Resque.enqueue. I've got theredisaddon > >> turned on and all of the rest of the config looks right, but obviously > >> there's something I'm missing. > >> > >> Any ideas? > >> > >> Gabriel > > > > -- > > 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. > > -- 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: inconsistent Memcache reads
are you sure that you are using the supported memcache gem? http://docs.heroku.com/memcache On Mon, Oct 4, 2010 at 3:43 PM, Brandon Casci wrote: > It's crazy making. > > >> Rails.cache.read "mykey" > => nil > >> Rails.cache.read "mykey" > => nil > >> Rails.cache.read "mykey" > => nil > >> Rails.cache.read "mykey" > => 1 > >> Rails.cache.read "mykey" > => nil > >> Rails.cache.read "mykey" > => nil > >> Rails.cache.read "mykey" > => 1 > >> Rails.cache.read "mykey" > => nil > >> Rails.cache.read "mykey" > => nil > > > On Sat, Oct 2, 2010 at 7:58 PM, Brandon Casci wrote: > >> Hello >> >> I'm new to Heroku, so I'm not sure if this is a problem, or normal >> behavior. >> >> I'm seeing a inconsistent memcache reads. Reading a key will sometimes >> alternate between nil and the value placed in memcache. Other times the >> value just seems to vanish, though that could be a sign that memcache is >> full, though I can't find a way to tell if it's full. >> >> What do es everyone think might be happening? >> >> >> >> -- >> = >> Brandon Casci >> Loudcaster >> http://loudcaster.com >> = >> > > > > -- > = > 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. > -- 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, Devise and Open Id
Like what I have mentioned in the previous post, if you are using OAuth with Federated Login, you might have to register your account and website with google. http://code.google.com/apis/accounts/docs/OpenID.html#settingup On Sun, Sep 26, 2010 at 8:07 AM, sshefer wrote: > correctly previously (in local development) errors would bubble up, so > -- 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, Devise and Open Id
is it possible that your open id key is only valid for localhost? On Sun, Sep 26, 2010 at 12:45 AM, sshefer wrote: > production and development locally and I haven't been able to get > -- 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: Queue limit?
it depends on how long your processing time for each request. usually, it is about 5 requests per second. On Wed, Sep 15, 2010 at 8:01 AM, Daniele wrote: > As subject, what is the limit above which appears the error "backlog > too deep"? > > -- > 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: Issues sending email from a Heroku app?
heroku don't actually do email now. but, you can try out the sendgrid plugin. i have really good experience with it now. correct me if i am wrong. : ) On Tue, Sep 7, 2010 at 3:41 PM, nimzo wrote: > Hi- > I'm developing a Rails app that operates from a VPS and have run into > problems with my emails to users getting sent to the junk folder, or > worse, not getting seen at all. I've spent many fruitless hours > pouring over the email acceptance procedures for Yahoo and Hotmail, > for example, in an attempt to craft the most compliant emails > possible. No luck. Would I get any relief from these problems if I > switched to Heroku? I've learned a tremendous amount administering my > own slice, but it's hard to be an expert in everything. I'm guessing > that since the Heroku servers must be a 'known quantity', it would be > smoother sailing for my app-generated emails. But then again, what do > I know? I'd be grateful for any insight on this. Thanks. > > -- > 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.