openwhisk-cli
openwhisk-cli copied to clipboard
%0D getting added to APIHOST property of wskprops
Environment details:
- local deployment, native ubuntu, Mac OS, Kubernetes, ...
- version of docker, ubuntu, ...
Steps to reproduce the issue:
- 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
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
How are you updating wskprops?
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=<AUTH KEY> APIHOST=http://localhost:3233 NAMESPACE=samba
Thanks for the added detail, %0D is a carriage return. Do you observe this after changing the file? Thanks for the clue.