3 weeks ago - last edited 3 weeks ago
Referencing the tutorial:
I am getting the error (error_btp.png) while executing the application from 'HTML5 Applications' Menu from BTP cockpit.
Error Text:
HEAD request to /f1c211d8-644c-4808-9e48-929884cd1ccc.sfsf-projman-poc-e4dke1ry.sfsfprojmansfsfprojman-0.0.1/projman/ completed with status 502 error while forwarding request to https://$(appname).cfapps.ap10.hana.ondemand.com/projman/: getaddrinfo ENOTFOUND $(appname).cfapps.ap10.hana.ondemand.com correlation_id = c26d10e8-d3ed-4814-7e25-6df175343421
GET request to /f1c211d8-644c-4808-9e48-929884cd1ccc.sfsf-projman-poc-e4dke1ry.sfsfprojmansfsfprojman-0.0.1/projman/$metadata?sap-language=6N completed with status 502 error while forwarding request to https://$(appname).cfapps.ap10.hana.ondemand.com/projman/$metadata?sap-language=6N: getaddrinfo ENOTFOUND $(appname).cfapps.ap10.hana.ondemand.com correlation_id = f061c59f-79ec-4768-4807-c1201d30701d
There was no error in build and deploy.
Edit:
It was observed that host: ${appname} in mta.yaml was incorrectly maintained as host: $(appname) which is now corrected, and changes deployed to BTP but still facing the same issue. I suspect some cache is not being cleared.
Please suggest for the errors.
Issue is resolved by adjusting the file mta.yaml. Thanks to @ale_biagi for the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.