Wow - thanks for digging in Matt - that's crazy :P I added the 'net-dns' gem to my rails app and it seems to be doing much better on Heroku :)
thank you so much for the help! On Apr 4, 9:21 am, Matthew Todd <matt...@matthewtodd.org> wrote: > > Unfortunately, I get the exact same connection error message > > from Heroku when using an IP that dig has no problem connecting to > > (e.g. Google's public DNS server 8.8.8.8): > > I just dug some more -- > > Turns out the Errno::ECONNREFUSED has nothing to do with the nameserver > you're querying. For some reason, dnsruby is trying to connect back to > localhost when the error is raised (on line 87 of select_thread.rb): > > https://github.com/pupeno/dnsruby/blob/master/lib/Dnsruby/select_thre... > > Indeed, it seems appropriate that the EC2 server hosting your dyno should > refuse that connection! > > So, I think this means dnsruby is a no-go on Heroku. > > smime.p7s > 4KViewDownload -- 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 heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.