cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy an App to SAP BTP, Cloud Foundry runtime - Error 404

10-21-2022 2:51 PM
FredericGirod Active Contributor
2065 views 5 comments
SAP Managed Tags
Subscribe

Tutorials: https://developers.sap.com/tutorials/cp-cf-dev-02-deploy-app.html
--------------------------

Hi team,

I follow the instruction, but when I click on the URL in the Application Routes, it fails

I am not surprise it fails, but I have no idea what to specify in the hosts to make it works

Best regards

Fred

Accepted Solutions (0)

Answers (3)

Answers (3)

cigdemcetin
Discoverer
0 Likes

Hello, There are 2 ways.
1) You need to add a domain. Example: manifest.yml
(attention to the region)


2) Try manually without ticking 'Use Manifest'.

Example;


Best Regards

Yogananda
Product and Topic Expert
Product and Topic Expert
0 Likes
frdric.girod
Below is my manifest.yml... Kindly include host and domain in your manifest.yml to deploy successfully.
---
applications:
- name: python-webhook
memory: 128MB
disk_quota: 512M
host: python-webhook
domain: cfapps.eu10.hana.ondemand.com
command: python app.py
buildpacks: ["python_buildpack"]
services:
- python-webhook
andrewfloriano
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Fred,

Could you please provide more information about this runtime error? Screenshots would be great.

Kind Regards,

Andrew.

FredericGirod
Active Contributor
0 Likes

Hi andrew.floriano,

the error is related to the domain generated by BTP

"https://MyApp421001.apps.internal" is not a valid domain

When I open this url with Safari I have this error :

If you check, obviously this domain is unknown :

MacBookPro2:~ fred$ whois apps.internal 
% IANA WHOIS server
% for more information on IANA, visit http://www.iana.org
% This query returned 0 objects.
%
% You queried for apps.internal but this server does not have
% any data for apps.internal.

And the tutorial has not this domain :

Best regards

Fred