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

%0D getting added to APIHOST property of wskprops #487

Open
vesankar opened this issue Jul 6, 2020 · 3 comments
Open

%0D getting added to APIHOST property of wskprops #487

vesankar opened this issue Jul 6, 2020 · 3 comments

Comments

@vesankar
Copy link

vesankar commented Jul 6, 2020

Environment details:

  • local deployment, native ubuntu, Mac OS, Kubernetes, ...
  • version of docker, ubuntu, ...

Steps to reproduce the issue:

  1. Create .wskprops file with AUTH, APIHOST, NAMESPACE
  2. on running npm run deploy, code deciphers APIHOST into URL
  3. But the URL contains /%0D character added to API host

Because of this, the URL becomes corrupt and so the call fails.

Provide the expected results and outputs:

https://adobeioruntime.net/api/v1/namespaces

Provide the actual results and outputs:

https://adobeioruntime.net/%0D/api/v1/namespaces

Additional information you deem important:

  • issue happens only occasionally or under certain circumstances
  • changes you did or observed in the environment
@rabbah rabbah transferred this issue from apache/openwhisk Jul 6, 2020
@rabbah
Copy link
Member

rabbah commented Jul 6, 2020

How are you updating wskprops?

@sambasivaraja
Copy link

Hi Team ,

Am also facing the same issue . When am trying to deploy to Adobe IO getting 400 bad request error

  • Create .wskprops file with AUTH, APIHOST, NAMESPACE
  • on running npm run deploy, code deciphers APIHOST into URL
  • But the URL contains /%0D character added to API host

wsprops file as below
AUTH=
APIHOST=http://localhost:3233
NAMESPACE=samba

@rabbah
Copy link
Member

rabbah commented Jul 23, 2021

Thanks for the added detail, %0D is a carriage return. Do you observe this after changing the file? Thanks for the clue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants