sap-tutorials / Issues

Creative Commons Attribution 4.0 International
8 stars 5 forks source link

Create Database Artifacts Using Core Data Services (CDS) for SAP HANA Cloud #678

Closed SMG1985 closed 2 years ago

SMG1985 commented 2 years ago

Tutorials: https://developers.sap.com/tutorials/hana-cloud-cap-create-database-cds.html

Not able to Bind Service After following step3 point 8 getting following error. Please guide. DB is in running state. Failed to chdir to /theia/browser-app: No such file or directory Error: Binding Service SMGHANAApp-hdiSMGHANAApp-db-deployer-ws-gxggf failed : Service instance SMGHANAApp-hdiSMGHANAApp-db-deployer-ws-gxggf not found: Service instance SMGHANAApp-hdiSMGHANAApp-db-deployer-ws-gxggf failed to be created. Error: Failed to open connection to the database, because of: Failed to get connection for database 'cd5efe4d-36d1-4a93-abac-6f2f7a208405' (cd5efe4d-36d1-4a93-abac-6f2f7a208405.hana.trial-eu10.hanacloud.ondemand.com:443), because of: SAP DBTech JDBC: Cannot connect to jdbc:sap://cd5efe4d-36d1-4a93-abac-6f2f7a208405.hana.trial-eu10.hanacloud.ondemand.com:443 [Object is closed: com.sap.db.jdbc.SecureChannelSession@462c72e3 cd5efe4d-36d1-4a93-abac-6f2f7a208405.hana.trial-eu10.hanacloud.ondemand.com:443 ConnectionID:0 SessionID:0 on sun.nio.ch.UnixAsynchronousSocketChannelImpl[connected local=/10.158.150.37:45568 remote=cd5efe4d-36d1-4a93-abac-6f2f7a208405.hana.trial-eu10.hanacloud.ondemand.com/18.192.112.191:443]]. Thanks & Regards, Sweta Gohil.

jung-thomas commented 2 years ago

The error message would indicate that your HANA Database is unreachable. One of two reasons for that.

  1. Your HANA system isn't started. Remember that the HANA Cloud Trial shuts down every night and has to be manually restarted each day you want to use it. The most likely cause of this error is that the system hasn't been restarted for the day.
  2. When you created the HANA Cloud database you didn't set the Allow List correctly. This says what systems are allowed to connect to your HANA Cloud instance. If you left it at the default value then you can not connect from the Business Application Studio. Double check this setting in the configuration of your HANA Cloud Instance from the HANA Cloud Central within the SAP BTP Cockpit.
SMG1985 commented 2 years ago

Thank you, Let me cross check again.

On Mon 18 Oct, 2021, 17:30 Thomas Jung, @.***> wrote:

The error message would indicate that your HANA Database is unreachable. One of two reasons for that.

  1. Your HANA system isn't started. Remember that the HANA Cloud Trial shuts down every night and has to be manually restarted each day you want to use it. The most likely cause of this error is that the system hasn't been restarted for the day.
  2. When you created the HANA Cloud database you didn't set the Allow List correctly. This says what systems are allowed to connect to your HANA Cloud instance. If you left it at the default value then you can not connect from the Business Application Studio. Double check this setting in the configuration of your HANA Cloud Instance from the HANA Cloud Central within the SAP BTP Cockpit.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SAPDocuments/Issues/issues/678#issuecomment-945691808, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUKVLJWLPOOWQ4X55AYYJPLUHQD4VANCNFSM5GFZCQ3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.