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

apihost name does not tolerate trailing slash #118

Closed
rabbah opened this issue Feb 12, 2020 · 1 comment
Closed

apihost name does not tolerate trailing slash #118

rabbah opened this issue Feb 12, 2020 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@rabbah
Copy link
Contributor

rabbah commented Feb 12, 2020

Describe the bug
Similar to the issue reported here apache/openwhisk-cli#481, a trailing / on the API host also causes a failure in aio.

To Reproduce

> ./bin/run runtime:action:list --apihost https://example.com/
 ›   Error: failed to list the actions: 404 Not Found
 ›     specify --verbose flag for more information

With the --verbose setting:

  aio-cli-plugin-runtime OpenWhiskError: GET https://example.com//api/v1/namespaces/_/actions Returned HTTP 404 (Not Found) --> "Response Missing Error Message."

Expected behavior
A trailing slash should be ignored.

@meryllblanchet meryllblanchet added bug Something isn't working help wanted Extra attention is needed labels Feb 12, 2020
@Himavanth
Copy link
Contributor

Works now. Must have got fixed meanwhile.
Closing this. Please feel free to reopen if it doesn't work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants