-
Notifications
You must be signed in to change notification settings - Fork 7
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
Vague error with invalid TOWER_API_ENDPOINT #190
Comments
Looks like the underlying > tw -u https://wrong.endpoint workspaces list
ERROR: java.net.UnknownHostException: wrong.endpoint
ERROR: Connection error. Check the connection using the command 'tw info'. |
Likely this code here is covering up the error somehow: seqera-kit/seqerakit/seqeraplatform.py Lines 168 to 180 in d5e234b
Looks like |
Using
Alternatively with
Seqerakit is just returning the stdout from the command invoked. Nothing being masked here. Version info:
|
Woops, seems mine was because it wasn't a fully valid URI (should be able to accept anything though right?) > tw -u https://wrong.cloud.seqera.io/api pipelines list --workspace seqera/showcase
ERROR: error
> tw -u https://wrong.cloud.seqera.io/api runs list
ERROR: error
> tw -u https://wrong.cloud.seqera.io/api workspaces list
ERROR: error
> tw -u https://wrong.endpoint workspaces list
ERROR: java.net.UnknownHostException: wrong.endpoint
ERROR: Connection error. Check the connection using the command 'tw info'. |
Closing this since it should be fixed at source: seqeralabs/tower-cli#473 |
Given a YAML file in the following format
hello_world.yml
:Providing an invalid
TOWER_API_ENDPOINT
raises an opaque error:The text was updated successfully, but these errors were encountered: