You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error: getaddrinfo ENOTFOUND (postgres hostname with port) #355
Throwing Same error like above, But it is resolved when i pass my db credentials as object not as string.
Am i Doing wrong before.. or still a bug? confused
Activity
pensierinmusica commentedon Oct 13, 2013
👍
Please fix it :)
Fixes connection strings being parsed by url module to don't forget a…
dresende commentedon Oct 14, 2013
Please test this commit.
pensierinmusica commentedon Oct 14, 2013
Hi Diogo, thanks for the fix, it seems to work fine now!
The npm package still needs to be updated though :)
Please let me know when it's all done, so I can use the latest version. Thanks
dresende commentedon Oct 14, 2013
Done.
2.1.3in npm now.nurrony commentedon Dec 2, 2013
found same problem still using 2.1.3 here is my code
Throwing Same error like above, But it is resolved when i pass my db credentials as object not as string.
Am i Doing wrong before.. or still a bug? confused
lewisoaten commentedon Dec 3, 2013
This could be by design. I solved it by URL encoding my connection string.