cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to access Hanan Spatial Service (HSS) APIs from one Subaccount in BAS of another Subaccount?

BhavyasriM
Explorer
0 Likes
428

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

Accepted Solutions (0)

Answers (1)

Answers (1)

HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Likes

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.