-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: getaddrinfo ENOTFOUND #47
Comments
Is there any other information you can provide here - This doesn't look to be an issue with knex, as there's no reference to the library or anything database related here... some googling turned up this on stack overflow - have you taken a look there? |
I've looked at every SO issue on this, and I'm not able to apply any of them to this situation. The This is my entire program. Not too complicated.
It fails with |
Found out something interesting. So I'm just trying to connect to Heroku postgres, I'm just using their dev server as a test. This does not work, and throws the error above: This does work: Using the hostname fails. I obviously don't have DNS issues since I'm typing to this to you right now on github.com, and I can connect fine to that hostname via pgAdmin. Why would this only happen in knex? |
That's really odd... Knex's initialize basically just passes through to pg's |
I haven't tried going directly through -tjw On Sat, Aug 24, 2013 at 5:22 PM, Tim Griesser notifications@github.comwrote:
|
Is there any more on this? I haven't been able to figure this out. I'm trying to do something very similar to the script above (but with BookshelfJS). I think I have all of the right values from my heroku postgresql |
Can you open a new issue and post your full config? |
Why a new issue? |
This might be related or they might not — my preference is usually for a new issue if it's not clear that it's an identical problem. That way the new issue is open and it's clear that it needs discussion. |
Might be a good policy to leave a comment on old issues, linking to the new one. I'm currently wrestling with this problem and would love to read the issue that (I assume) @tgriesser created. |
For future readers: My issue was running too many concurrent selects. |
I get this error when trying to do anything:
I have confirmed that I am passing the correct connection values, and I am not behind a proxy. OSX 10.8, using "pg"
The text was updated successfully, but these errors were encountered: