Skip to content
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

Hybrid Testing - HANA IP Allowance #1583

Open
h-hild opened this issue Jan 22, 2025 · 5 comments
Open

Hybrid Testing - HANA IP Allowance #1583

h-hild opened this issue Jan 22, 2025 · 5 comments

Comments

@h-hild
Copy link

h-hild commented Jan 22, 2025

Hi together,

When you do hybrid development with CAP, you need a direct connection from your local machine to HANA instance.
In this case, the source IP should be allowed from HANA side and this is not allowed by default.
Default is "Allow only IP addresses from Cloud Foundry in this BTP region" which blocks the connection.

Therefore maybe we should mention this as a hint in the Hybrid Testing documentation.
Here the Link to the current documentation: https://cap.cloud.sap/docs/advanced/hybrid-testing

Thanks,
Heinrich

@renejeglinsky
Copy link
Contributor

Hi @h-hild ,

Thanks for opening this issue.

We have that information in our troubleshooting guide. And we've included a link:

Image

Have you not seen this link 👆 or was the content not helpful?

All the best,
René

@h-hild
Copy link
Author

h-hild commented Jan 23, 2025

Hi @renejeglinsky ,

oh, i fear i have missed this link, but i have looked for troubleshooting. The error i get was not "(RTE:[89008] Socket closed by peer".

I had this error on hybrid testing:

Image

The root cause is the same, but this troubleshooting guide has the reference to deployment errors. For me the deployment was working. So i had not looked on this place :(.

Perhaps it would be sufficient to include in the troubleshooting guide that this error is not only relevant during deployment, but also during hybrid testing.

best regards,
Heinrich

@renejeglinsky
Copy link
Contributor

That is interesting! I need to test that as well.
I'll keep you updated on our actions. If I can reproduce it, I'd tend to add a separate troubleshooting entry, so that it fits better to this scenario and error message.

@renejeglinsky
Copy link
Contributor

For this error we do have a troubleshooting entry under the Node.js section:
https://cap.cloud.sap/docs/get-started/troubleshooting#why-are-requests-occasionally-rejected-with-acquiring-client-from-pool-timed-out-or-resourcerequest-timed-out

Would be a different root cause but is it possible that this also applies to your situation?

@h-hild
Copy link
Author

h-hild commented Jan 23, 2025

I had seen this entry when I was looking for a solution. This is exactly the error I had. Maybe it makes sense to simply add a second root cause to the list here, which again points to the problem with the IP restriction in the HANA Cloud?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants