-
Notifications
You must be signed in to change notification settings - Fork 301
unhandledRejection: Promise { <rejected> TypeError [ERR_MISSING_ARGS]: The "options" or "port" or "path" argument must be specified #252
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
Comments
I would move the Line 360 in 4a6669c
|
Maybe only reopening one at a time would work.. I think multiple are trying to be reopened (due to multiple |
Thanks a lot for the good description @700software .. I'm currently in the process of a reimplementation of the connection handling since the current implementation doesn't hold up to the requirement of the features it needs to support, as well as more options for dynamic queries, cancellation of queries, max connection lifetime etc. The goal is to resolve issues like these at the same time. |
Also, just to be sure, this is with beta 11 correct? |
correct, just verified |
I'll think about removing the failover logic for now since it's buggy and affecting regular usage.. |
beta8 seems to be fine |
This error occurs intermittently.
I have an unusual config here:
{ ..., idle_timeout:1, max:5 }
Error is occuring here:
postgres/lib/connection.js
Line 390 in 4a6669c
When error occurs it is because
i == 1
but I only have one host and port sonet.connect
is called with optionsundefined, undefined
instead of the port number.I think what is happening is multiple connections are trying to be reopened simultaneously
The text was updated successfully, but these errors were encountered: