-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with connecting to XS Advance Database #53
Comments
Odd that there is no connect error details. One thing I did notice is that you said encrypt the connection, but then didn't supply any trust information. This would make connection impossible and might be the source of the problem. If you are using on premise HANA (especially HANA Express) you probably don't want to encrypt the connection. Try false at this input. If that doesn't work they rung the hana-cli connect command with the --debug switch. That will trace a lot of inner details and will hopefully show what is going wrong. |
Actually you are overriding the true in the above screenshot. That (true) at the end of the prompt is tell you the default value. When you supply f or false it is overriding the value. I can see it in the debug output. But that wasn't the issue. There was a bug in the handling of the connection details of the connect command itself. I did some refactoring in the last release and added some logic to look for connection files in parent and fallback directories. I guess this worked too well because my test case didn't fail when it should have. ;) But you caught this situation in your environment because you'd never used hana-cli before. Thank you! The debug trace you provided led me right to the issue and I've corrected now. Just published a new version to npm. If you update to 2.202106.1 it should work fine now. Sorry for the trouble. Feel free to reopen issue if this doesn't solve it for you or if you have any additional questions. |
Hi Thomas,
![hana-cli issue](https://user-images.githubusercontent.com/77973707/122560570-5ff00200-d05e-11eb-86ef-c205d70d40a0.jpg)
As suggested by you on the youtube video to move the conversation here, I have attached a screenshot of the error I am getting while connecting to the XS Advance Database using the hana-cli command. I tried to use the admin credentials for connecting but it still shows the same issue.
But if I try to make a default-env.json using credentials I take from the application by going into the cockpit and getting the specific credentials I am able to do it but that gives me a access to a specific HDI Container, whereas what I want to do is make a new application and deploy it to XSA Databse like we do it in cloud by using the 'cf' command.
Regards
Atharva
The text was updated successfully, but these errors were encountered: