cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect to destination while registering the service

Former Member

Hi Expert,

Unable to connect to destination while registering the service in OData Provisioning.

1. Required roles (GW_Admin, GW_ADMIN) assigned to User.

2. ODP - Destination are connected successfully.

3. Backed system have SAPA_All authorisations.

4. Subaccount level - Destination is created to point ODP.

Get Below error while calling the destination : Could not retrieve services from the destination

Please help me with this, don't know some how URL is generating without host in error log. https:/sap/iwbep

Caused by: com.sap.gateway.core.api.exception.IGWException: Error from Destination ECC_XX_DEV: Could not find Source Services for the destination
	at com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler.getSourceServices(ServiceRepositoryAPIHandler.java:2140)
	at com.sap.gateway.core.service.repositoryService.dp.RepositoryServiceDataProvider.getSourceServices(RepositoryServiceDataProvider.java:601)
	at com.sap.gateway.core.service.repositoryService.dp.RepositoryServiceDataProvider.readEntitySet(RepositoryServiceDataProvider.java:100)
	at com.sap.gateway.core.api.provider.data.GenericODataProcessor.readEntitySet(GenericODataProcessor.java:884)
	... 37 more
Caused by: org.apache.olingo.odata2.api.exception.ODataApplicationException: Error from Destination ECC_XX_DEV: Could not find Source Services for the destination
	... 41 more
Caused by: com.sap.gateway.core.service.api.exception.ServiceRepositoryAPIException: Could not find Source Services for the destination
	at com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler.findSourceServices(ServiceRepositoryAPIHandler.java:1139)
	at com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler.getSourceServices(ServiceRepositoryAPIHandler.java:2130)
	... 40 more
Caused by: com.sap.gateway.core.api.exception.TechnicalException: URI does not specify a valid host name: https:/sap/iwbep
	at com.sap.gateway.core.bep.explore.ServiceExplorer.findServices(ServiceExplorer.java:99)
	at com.sap.gateway.core.bep.explore.ServiceExplorer.findServices(ServiceExplorer.java:134)
	at com.sap.gateway.core.service.repository.api.ServiceRepositoryAPIHandler.findSourceServices(ServiceRepositoryAPIHandler.java:1098)
	... 41 more
Caused by: com.sap.gateway.core.api.exception.BaseException: URI does not specify a valid host name: https:/sap/iwbep
	at com.sap.gateway.core.connectivity.HttpConnector.exploreServices(HttpConnector.java:876)
	at com.sap.gateway.core.bep.explore.ServiceExplorer.findServices(ServiceExplorer.java:94)
	... 43 more
Caused by: org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: https:/sap/iwbep
	at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:766)
	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
0 Kudos

Hi, Did you find solution ? We are facing similar issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

pjcools
Active Contributor

Hi satyasunilkapagnati

There could be a number of reasons why Services cannot be found so I will cover them now. It would be good if you could provide some additional screenshots of your Destination setup as well as the resources you have in the Access Control are in the SAP Cloud Connector.

1. Check if the /sap/iwbep services is ACTIVE in the backend SAP ERP system using transaction SICF. This service needs to be active. Additionally, for standard SAP services you can also make sure /sap/opu/odata services are active.

2. Looking at the log above - TechnicalException: URI does not specify a valid host name: https:/sap/iwbep - looks like you have not maintained your host names correctly. Please include a screenshot so I can check this. The /sap/iwbep should NOT be mentioned in either of your Internal host or Virtual host objects in the Access Control section of the Cloud Connector.

3. Your backend userid (if using Principal Propagation) will need to have the relevant RFC related authorisations.

If you can please provide additional screenshots it should be quite quick to determine the issue.

Thanks & Kind Regards

Phil Cooley