Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Errno:ECONNREFUSED - DNS query
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Craayzie  
View profile  
 More options Jul 3 2012, 7:50 pm
From: Craayzie <flesh...@gmail.com>
Date: Tue, 3 Jul 2012 16:50:39 -0700 (PDT)
Local: Tues, Jul 3 2012 7:50 pm
Subject: Re: Errno:ECONNREFUSED - DNS query

Jonathan Siegel posted a patch on his blog for this Rubydns issue on
Heroku. It works great!!!
http://www.jsiegel.com/2011/12/workaround-dnsruby-gem-not-working-on....

Thanks Jonathan!

On Monday, April 4, 2011 5:31:13 PM UTC-7, craayzie wrote:

> 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.