cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication problem trying to get service catalog in WebIDE

Former Member
0 Kudos

Hi all!

I'm having a problem getting a service catalog from the Data Connection tab when creating a new Fiori App from a template. The service catalog I want to use is a HTTP destination I've created type onPremise using cloud connector that I've checked connection in the destination tab and it connects successfully.

The problem is when I select the service catalog from the dropdown menu it ask me for credentials, and I tried all the credentials I have with no luck.

In the cloud connector I have only one resource defined for the virtual host with URL path:

/sap/opu/odata

and access policy:

Path and all sub-paths

Also, if i paste the URL in the browser it also ask me for credentials. This is the URL:

https://webide-<ACCOUNT>trial.dispatcher.hanatrial.ondemand.com/destinations/<DESTINATION>/sap/opu/o...

My destination configuration is defined like this:

Properties:

Type = HTTP
Location ID = <OUR LOCATION ID>
URL = <Virtual URL configured and working in Cloud Connector>
Proxy Type = OnPremise
Authentication = BasicAuthentication
User = <Backend User working in SAPlogon>
Password = <Backend Password working in SAPlogon>

Additional Properties:

CloudConnectorLocationId = <OUR LOCATION ID>
sap-client = 300
WebIDEEnabled = true
WebIDESystem = <OUR IDE SYSTEM>
WebIDEUsage = odata_abap,dev_abap,ui5_execute_abap

Thanks in advance!

Ignacio de la Torre

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

@Ignacio - I am facing the same issue, How you resolved it ?

Please suggest !!!

Thanks in advance !!!

Regards,

Vikas Garg

kammaje_cis
Active Contributor
0 Kudos

I had this issue earlier.

I had this issue, whenever the password maintained in the destination file is not the right one. So I would suggest you to double chekc that password.

Former Member
0 Kudos

Hi Krishna! Thank you for the answer, In fact I double check this multiple times and I'm sure is the password for tha user.

Is there any specific role I have to set to this user for using this service?

Thanks!

Ignacio

kammaje_cis
Active Contributor
0 Kudos

No, I have not done anything like that.

Can you try using 'No Authentication' for authentication.?

Also you can check the log at HCC for any clues.

Former Member
0 Kudos

I've tried both with "Basic Authentication", and "No Authentication" with same result.

Here is the ljs_trace.log in HCC, I don't see any clue in it:

2017-04-25 09:30:09,583 -0300 
INFO# com.sap.core.connectivity.tunnel.client.notification.NotificationClientEventHandler#notification-client-3-9# 

Received open tunnel event for tunnel id account:///<ACCOUNT_ID> and hostId <HOST_ID>| 2017-04-25 09:30:09,871 -0300

INFO# com.sap.core.connectivity.tunnel.client.handshake.ClientProtocolHandshaker

#tunnel-client-4-6# 

Sending handshake request for tunnel: account:///<ACCOUNT_ID> and host account:///<ACCOUNT_ID>| 2017-04-25 09:30:11,299 -0300

INFO#com.sap.core.connectivity.tunnel.core.impl.context.TunnelRegistryImpl

#tunnel-client-4-6# 

Registered tunnel channel [id: 0x15561c63, L:/192.168.1.103:62546 - R:connectivitytunnel.hanatrial.ondemand.com/155.56.219.27:443] for tunnel id "account:///<ACCOUNT_ID>" and client id "<CLIENT_ID>"| 2017-04-25 09:30:11,379 -0300

INFO# com.sap.core.connectivity.tunnel.client.AbstractTunnelClient

#Thread-27# 

Successfully established tunnel: [id: 0x15561c63, L:/192.168.1.103:62546 - R:connectivitytunnel.hanatrial.ondemand.com/155.56.219.27:443]|
masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ignacio,

The user and password are for your backend (Gateway or ERP). Please check you can logoon to your backend via SAPGUI.

If the client is not default one, you can add sap-client parameter in the destination setting.

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Hi Masayuki! Thanks for the quick response. I added the sap-client parameter and stills ask me for credentials all the time. I'm using the user/pass for my backend ERP, and I can login using this user/pass successfully with SAP Logon client.

I'm attaching two images with the captions when ask me forcredentials and the error when I cancel upon several entering the user/pass.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ignacio,

What is the test result if you hard code the user and password in the destination setting?

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Hey Masayuki,

This is using Basic Authentication in the destination with the user and password for the backend. The behavior also occurs when using no authentication method.

My destination configuration is defined like this:

Properties:

Type = HTTP
Location ID = <OUR LOCATION ID>
URL = <Virtual URL configured and working in Cloud Connector>
Proxy Type = OnPremise
Authentication = BasicAuthentication
User = <Backend User working in SAPlogon>
Password = <Backend Password working in SAPlogon>

Additional Properties:

CloudConnectorLocationId = <OUR LOCATION ID>
sap-client = 300
WebIDEEnabled = true
WebIDESystem = <OUR IDE SYSTEM>
WebIDEUsage = odata_abap,dev_abap,ui5_execute_abap

Hope it helps to figure it out what happens.

Thanks in advance!