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
So it's host vs hostname, and about ignoring the port when host is given. This error is quite annoying for several reasons:
In fairly complex applications, you first look for the error everywhere else (where more logic is involved).
host vs hostname is too easy to mix up.
There is no error message telling you that it doesn't make sense to provide a port if you use host instead of hostname.
So, to cut a long story short: Would verifying this be helpful?
What I'm thinking of is just a small test that checks whether you provide host and port. If so, it should tell you that port is ignored and you should either remove it, or use hostname instead.
What do you think?
The text was updated successfully, but these errors were encountered:
I have been using the code below:
All I get is an
EPIPE
error. Finally, after two hours (!), I figured out what the problem was: It should beand not:
So it's
host
vshostname
, and about ignoring the port whenhost
is given. This error is quite annoying for several reasons:host
vshostname
is too easy to mix up.host
instead ofhostname
.So, to cut a long story short: Would verifying this be helpful?
What I'm thinking of is just a small test that checks whether you provide
host
andport
. If so, it should tell you thatport
is ignored and you should either remove it, or usehostname
instead.What do you think?
The text was updated successfully, but these errors were encountered: