on 2024 Apr 30 3:03 PM
Hi Experts,
We have created Hana Spatial Services (HSS) along with Service Key in one subaccount and trying to access it in the BAS of another Subaccount on same BTP.
We are trying to access the APIs like described here: https://developers.sap.com/tutorials/hana-spatial-services-apis.html
But we are getting the below error:
Connection is being rejected. The service isn’t running on the server, or incorrect proxy settings in vscode, or a firewall is blocking requests. Details: RequestError: connect ECONNREFUSED 127.0.0.1:443.
Could you please suggest on what extra config we might need in order to access the HSS on one subaccount from HTTP Client of BAS on another subaccount.
Thanks,
Bhavyasri M
Request clarification before answering.
The error message you're seeing suggests that the connection to the HSS service is being refused. This could be due to a number of reasons, including incorrect proxy settings, a firewall blocking requests, or the service not running on the server.
You should ensure that the HSS service is up and running in the subaccount where it was created and make sure that the service key you're using to access the HSS service is correct and has the necessary permissions.
Check your network settings to ensure that there are no firewalls or proxies blocking the connection to the HSS service. If you're using a proxy, make sure that it's configured correctly. If you're trying to access the HSS service from a different subaccount, you might need to configure cross-account access. This usually involves setting up trust relationships between the two subaccounts.
Ensure that your Business Application Studio (BAS) is correctly configured to access the HSS service. This might involve setting up environment variables or adjusting the BAS settings and make sure that you're using the HSS APIs correctly. Check the API documentation and ensure that your requests are properly formatted and include the necessary headers and parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.