Skip to content
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

Connecting to an uninstalled/down remote Codewind results in "authentication error", not "connection error" #1547

Closed
tetchel opened this issue Dec 16, 2019 · 0 comments · Fixed by eclipse/codewind-vscode#373

Comments

@tetchel
Copy link
Contributor

@tetchel tetchel commented Dec 16, 2019

[ERRO: 13:04:13.511 CLIWrapper.js:170]: Error running cwctl --json --insecure sectoken get --conid K41SXS5Z --username developer
Logger.js:140
[ERRO: 13:04:13.512 CLIWrapper.js:171]: Stdout: {"error":"sec_response","error_description":"Authentication service unavailable"}
Logger.js:137
[DBUG: 13:04:13.512 Connection.js.setState():109]: qr f g b is now Auth Error
Logger.js:140
[DBUG: 13:04:13.513 Connection.js.setState():109]: qr f g b is now Auth Error
Logger.js:140
[ERRO: 13:04:13.513 Connection.js:98]: Error initializing qr f g b: Error running cwctl sectoken get: Authentication service unavailable

The error here is that we fail to connect to the auth service Authentication service unavailable, which makes sense. But it should show up as a network error, and the connection should be be in disabled state, not auth error state.

tetchel added a commit to tetchel/codewind-vscode that referenced this issue Jan 8, 2020
Fixes eclipse/codewind#1547

Signed-off-by: Tim Etchells <timetchells@ibm.com>
tetchel added a commit to tetchel/codewind-vscode that referenced this issue Jan 8, 2020
Fixes eclipse/codewind#1547

Signed-off-by: Tim Etchells <timetchells@ibm.com>
tetchel added a commit to eclipse/codewind-vscode that referenced this issue Jan 8, 2020
Fixes eclipse/codewind#1547

Signed-off-by: Tim Etchells <timetchells@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.