Skip to Content

SAP CAP Business Studio HANA connection issue while creating "Run Configuration"

Hi Team,

In order to test the SAP CAP application in Business Studio Code, we created a run configuration to connect to the hana container. However when I am trying to connect the DB, I am getting the following error:

"Language client is not ready yet"

or

How to fix this issue?

Thanks & Regards,

Harish

langclient.png (9.3 kB)
langclient1.png (9.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 04, 2020 at 08:19 PM

    Hi Harish,

    Please share the step by step flow you did.

    Also add the relevant application, log files and screenshots that can show the scenario.

    Regards,

    Offer.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 05, 2020 at 05:24 AM

    Hi Offer Shostak

    These are the steps followed:

    1. I created a test project using "cds init test1". It has a simple data model and simple service

    2. In package.json, added hana as cds dependency. Created an MTA file using "cds add mta". Built & deployed the project in Cloud Foundry. Both db and srv module got deployed successfully.

    3. Create configuration by selecting the project:

    4. Added the db to run configuration & The following error is thrown:

    There is an update which fails as well:

    Thanks,

    Harish


    proj.png (79.4 kB)
    run1.png (34.1 kB)
    aibiu.png (107.7 kB)
    sqltools.png (12.1 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 05, 2020 at 07:21 AM

    Hi Harish,

    Could you please share which HANA you're using?

    If you're using HaaS or HANA Cloud, please change the HANA settings to "Open to all IPs".

    Thanks,

    Liat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.