cancel
Showing results for 
Search instead for 
Did you mean: 

App Router Error "Uh oh. Something went amiss.

Hi Experts,

I'm currently trying to get the CloudFoundry Helloworld Tutorial running on my Trial Account.

Its basically a Node.JS app with a PostgreSQL DB and a UI5 Frontend.

All Files and explanations can be found on the GIT CF-Helloworld.

The node.js App works fine when I call it directly.

The xsuaa Instance is created as well.

But while trying to access the URL of the approuter I get the following screen, after logging in:

In the Approuter logs I cannot see anything besides a 302 redirect message.

Is there anyway to access the logging of the UAA or another way to see where the issue comes from.

Regards,

Daniel

mariusobert
Developer Advocate
Developer Advocate
0 Kudos

Hi Daniel,

it's hard to tell from that screen what went wrong. Can you upload your code GitHub or somewhere, so that everyone case see it?

For now, you could try to turn off the UAA verficiation by adding:

"authenticationMethod": "none",

to the xs-app.json file

0 Kudos

Hi Marius,

thanks for looking into this.

I turned off the UAA Verification and now I am able to navigate to the UI Resources via the defined route (ui/index.html).

GIT: https://github.com/danielknsg/cloud-cf-helloworld-nodejs

Accepted Solutions (0)

Answers (1)

Answers (1)

gopalanand
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Daniel,

It looks like an issue with the tenant-host pattern. In your xs-security.json you have given "sapcpcfhwxs" as the xs-app name. The app is trying to authenticate using the UAA and that can be the reason why you are getting this error.

You can try using a pattern like this in your manifest:

applications:- 
name: sapcpcfhwxs-sapcpcfhwapr_P1941920920  
path: ####  
memory: #### 
buildpack: __depends_on_your_requirement  
env:   
TENANT_HOST_PATTERN: '^(.*)-devagedcare.cfapps.sap.hana.ondemand.com'