-
Notifications
You must be signed in to change notification settings - Fork 4.7k
suggest using default cluster port on internal server error #12654
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
suggest using default cluster port on internal server error #12654
Conversation
[test] |
When does this happen? |
it's unlikely 503 means "use another port" in most setups. It's more likely to mean "all servers are down". I would replace both lines with a message like "error: The server was unable to respond - verify you have provided the correct host and port and that the server is currently running." |
It happens when a client attempts to connect to a non-default (non-8443) open port and receives an error, as well as when a client attempts to connect to a non-default closed port. We were already suggesting that users try using the default cluster port if the client attempted to connect to a closed port.
Thanks, I have updated the error message to this one whenever a client attempts to connect to any open port and receives an error. Should this be the case as well for closed ports? |
1d04bf6
to
1b62f71
Compare
I don't think we should suggest the default cluster port. No OpenShift
installation I'm aware of except oc cluster up would use that port.
…On Tue, Jan 24, 2017 at 5:37 PM, OpenShift Bot ***@***.***> wrote:
continuous-integration/openshift-jenkins/test Running (
https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13269/) (Base
Commit: 2ea8719
<2ea8719>
)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12654 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG_p7Kr2oFiMKgmj6QbUH-oP7aR10Qhks5rVn1DgaJpZM4LsxRk>
.
|
1b62f71
to
07abdfb
Compare
Okay, updated the last commit to return |
a51bbd2
to
275a4a3
Compare
conformance flaked on #11775 re[test] |
This patch suggests using the default cluster port with the current host used by a client, if the current port does not match the default port, and the client receives an internal / unknown error from the server.
275a4a3
to
91b914e
Compare
Evaluated for origin test up to 91b914e |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13347/) (Base Commit: 3e38a69) |
@smarterclayton are there any further comments on this patch? Thanks! |
[merge] |
Evaluated for origin merge up to 91b914e |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/21/) (Base Commit: d3a3181) (Image: devenv-rhel7_6061) |
Related Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1406066
This patch suggests using the default cluster port with the current host
used by a client, if the current port does not match the default port,
and the client receives an internal / unknown error from the server.
Example
cc @openshift/cli-review