on 03-17-2022 11:17 AM
Hi folks,
I am developing a Fiori Elements App locally, and I want to deploy it to our Abap Frontend-Server.
I am using Fiori Tools and I have created a ui5-deploy.yaml and did all the configuration needed. I also created a .env file at the root of my repository (where the ui5-deploy.yaml lies). I referenced the user and pw variables in my ui5-deploy.yaml.
But when I deploy my App with the command: ui5 deploy --config=ui5-deploy.yaml, I get the following error
ERR! builder:custom deploy-to-abap Deployment Failed.tion production-system �� (4/9) Running task deploy-to-abap...
ERR! builder:custom deploy-to-abap Request failed with status code 401
ERR! builder:custom deploy-to-abap Please maintain correct credentials to avoid seeing this error
ERR! builder:custom deploy-to-abap (see help: https://www.npmjs.com/package/@sap/ux-ui5-tooling#setting-environment-variables-in-a-env-file)
This is my ui5-deploy.yaml
specVersion: "1.0"
type: application
metadata:
name: production-system
builder:
customTasks:
- name: deploy-to-abap
afterTask: replaceVersion
configuration:
target:
url: http://host:8000
client: 001
auth: basic
credentials:
username: env:USER
password: env:PW
app:
name: /MXF/SDP
package: /MXF/CH_UI5
transport: FESK900034
When I call the service
/sap/opu/odata/ui5/abap_repository_srv in the browser
I can authenticate correctly with the same credentials as provided in my .env file.
My .env file looks like this (without credentials)
USER=XXX
PW=XXX
Is there perhaps a problem of using http over https connection?
I hope you guys can help.
Best RegardsDominikHi All,
I am also facing the same issue despite everything is correct. Any idea how I can resolve this issue?
Best,
Kapil Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.