Git Product home page Git Product logo

Comments (11)

gregorwolf avatar gregorwolf commented on June 22, 2024 1

Have you assigned the Role Collection?

from cap-sflight.

gregorwolf avatar gregorwolf commented on June 22, 2024

Please provide more details where exactly you get this error. Are you trying the NodeJS or Java variant?

from cap-sflight.

srinikitha09 avatar srinikitha09 commented on June 22, 2024

Please provide more details where exactly you get this error. Are you trying the NodeJS or Java variant?

We used mbt tool for the deployment. When we try to click on the hyperlinks (Books, Authors etc.,) as shown in the image, it throws unauthorized error.
image

from cap-sflight.

srinikitha09 avatar srinikitha09 commented on June 22, 2024

Have you assigned the Role Collection?

Thank you for the hint. Unfortunately, we do not have enough permissions on the level of subaccount to assign those role collections. We will try to deploy to another account and try in that way and will get back to you. Thank you :).

from cap-sflight.

I501307 avatar I501307 commented on June 22, 2024

This still doesn't work :
{"statusCode":401,"code":"401","message":"Unauthorized"}

from cap-sflight.

gregorwolf avatar gregorwolf commented on June 22, 2024

Do you see any further error messages in the approuter / srv logs?

from cap-sflight.

gregorwolf avatar gregorwolf commented on June 22, 2024

Unfortunately you haven't provided detailed information what endpoint you're accessing. Seems that you try to access the srv endpoint directly. That does not work unless your browser would send a valit JWT token in the Authorization header as a Bearer token. You have to access the app via the HTML5 application that gets deployed to the managed approuter. I just did deploy this app to my BTP trial account and it works like a charm.

from cap-sflight.

srinikitha09 avatar srinikitha09 commented on June 22, 2024

Unfortunately you haven't provided detailed information what endpoint you're accessing. Seems that you try to access the srv endpoint directly. That does not work unless your browser would send a valit JWT token in the Authorization header as a Bearer token. You have to access the app via the HTML5 application that gets deployed to the managed approuter. I just did deploy this app to my BTP trial account and it works like a charm.

Yes, you are right! We are trying to access the srv endpoint directly. But, when we try to access it via HTML5 application it is forcing us to subscribe to either of these services. Is it really needed to subscribe to these services to run or see something through HTML5 applications?
image

from cap-sflight.

gregorwolf avatar gregorwolf commented on June 22, 2024

As this project doesn't provide a standalone approuter you have to subscribe to one of the mentioned services. The cheapest or even free one is the Launchpad Service. You might create a new issue in this project and suggest the addition of a standalone approuter.

from cap-sflight.

I501307 avatar I501307 commented on June 22, 2024

Unfortunately you haven't provided detailed information what endpoint you're accessing. Seems that you try to access the srv endpoint directly. That does not work unless your browser would send a valit JWT token in the Authorization header as a Bearer token. You have to access the app via the HTML5 application that gets deployed to the managed approuter. I just did deploy this app to my BTP trial account and it works like a charm.

Do we have any information or documentation on how to deploy to cf using the steps that you carried out ? Is there any project that works out of the box?

from cap-sflight.

gregorwolf avatar gregorwolf commented on June 22, 2024

Maybe we can also close this issue @I501307 ?

from cap-sflight.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.