cancel
Showing results for 
Search instead for 
Did you mean: 

Error When execute API : Cannot connect to host zeus.hana.prod.eu-central-1

LGAALOUL
Explorer
0 Kudos
155

Hello

In step 4 "Execute API" of the tutorial "Expose Integration Flow Endpoint as API and Test the Flow" I have the following error message

<?xml version='1.0' encoding='UTF-8'?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message xml:lang="en">

Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.8.v20201217-ecdf3c32c4): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Cannot connect to jdbc:sap://zeus.hana.prod.eu-central-1.whitney.dbaas.ondemand.com:22716 [Cannot connect to host zeus.hana.prod.eu-central-1.whitney.dbaas.ondemand.com/18.196.126.43:22716 [java.net.ConnectException: error 111 - Connection refused], -813.].
Error Code: -813
Call: SELECT PRODUCT_ID, CATEGORY, CATEGORY_NAME, CURRENCY_CODE, DIMENSION_DEPTH, DIMENSION_HEIGHT, DIMENSION_UNIT, DIMENSION_WIDTH, LONG_DESCRIPTION, NAME, PICTURE_URL, PRICE, QUANTITY_UNIT, SHORT_DESCRIPTION, SUPPLIER_ID, WEIGHT, WEIGHT_UNIT, SUPPLIER_SUPPLIER_ID FROM ESPM_PRODUCT WHERE PRODUCT_ID LIKE ? ESCAPE '\'
bind => [1 parameter bound]
Query: ReadAllQuery(referenceClass=Product sql="SELECT PRODUCT_ID, CATEGORY, CATEGORY_NAME, CURRENCY_CODE, DIMENSION_DEPTH, DIMENSION_HEIGHT, DIMENSION_UNIT, DIMENSION_WIDTH, LONG_DESCRIPTION, NAME, PICTURE_URL, PRICE, QUANTITY_UNIT, SHORT_DESCRIPTION, SUPPLIER_ID, WEIGHT, WEIGHT_UNIT, SUPPLIER_SUPPLIER_ID FROM ESPM_PRODUCT WHERE PRODUCT_ID LIKE ? ESCAPE '\'")</message></error>

View Entire Topic
gregorw
Active Contributor

It seems that the Backend Service used in the tutorial:

https://refapp-espm-ui-cf.cfapps.eu10.hana.ondemand.com/espm-cloud-web/espm.svc/Products

isn't working anymore. I've worked through the tutorial last week and it was working fine. But now the error message indicates that there is some issue with the HANA Database. I would suggest that you use the Feedback --> Contribute option in the tutorial to file an Issue in the Tutorial GitHub repository. That is better tracked than the forums by the responsible SAP employees.