cancel
Showing results for 
Search instead for 
Did you mean: 

Internal host in cloud connector

Former Member
0 Kudos

Hi,

I want to specify internal host in cloud connector.

How can i do this? Do i need to create a service or something on local and host it in iis?

Any example?

Thanks

Vishul

Accepted Solutions (1)

Accepted Solutions (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Vsihul,

the internal host/port is the pysical address of the system you like to expose, e.g. the pysical host/port information of your ABAP system. Nothing to generate. In case you want to connect to IIS like y mentioned in your post that's host and port of the webserver. In case you like to hide your internal address, you can specify an invented host/port combination in virtual host/port that will then be used on cloud side. Note that those values need to match the cloud side oncfiguration. In case you'd like to use the pysical host info, simply specify them in the virtual section only and it will suffice.

More info about Access Control in SCC is available in SAP HANA Cloud Platform documentation.


Best regards,

Markus

Former Member
0 Kudos

Hello Markus,

I have created a web service and hosted it in iis, and used it in internal host of cloud connector.

But when i create a fiori project (master detail project) in 'webide' and select catalog service "gm6" (destination), then i am getting the error below

"Unable to access the selected system. Check your credentials and try again. If the problem persists, check if the OData service is available and contact your backend system administrator."

Also don't know much about 'ABAP' system. Any suggesstions.

Thanks

Former Member
0 Kudos

Hi Vishul,

in the cloud connector, can you go to the "Access Control" view and select your system, then press the "Check" button. The cloud connector tests whether the backend system is accessible via a ping. If this is not the case, this would be the explanation.

If this is working I assume that the error message might give the next hint - probably the credentials are wrong which are sent to the backend and the backend responds with a 401 or 403 error code. Could you check this in the backend logs?

Best regards,

Timo

Former Member
0 Kudos

Hi Timo,

I have checked by check button as you mentioned above, i am not getting any ping but icon turns from green to blue "play" button and then again to green button, and as i hover on icon, it says resources are available.

The backend system (web service) i am using doesn't have any credentials and it is working when run in browser, so which credentials is it asking for.

There are two log files, Please have a look and guide me

1) ljs_trace.log :

FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2

FILE_ID:1425442866223

ENCODING:[UTF8|NWCJS:ASCII]

RECORD_SEPARATOR:124

COLUMN_SEPARATOR:35

ESC_CHARACTER:92

COLUMNS:Time|Severity|Logger|Thread|n/a|Text|

SEVERITY_MAP:FINEST|Information|FINER|Information|FINE|Information|CONFIG|Information|DEBUG|Information|PATH|Information|INFO|Information|WARNING|Warning|ERROR|Error|SEVERE|Error|FATAL|Error

HEADER_END

2015-03-04 09:51:06,286#DEBUG#com.sap.scc#Start Level Event Dispatcher#          #Init class CpicConnection|

2015-03-04 09:51:06,286#DEBUG#com.sap.scc#Start Level Event Dispatcher#          #CpicConnection is ready to use|

2015-03-04 09:51:06,286#INFO#com.sap.scc.rt#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #BundleEvent STARTED|

2015-03-04 09:51:07,848#ERROR#org.apache.catalina.mbeans.GlobalResourcesLifecycleListener#Start Level Event Dispatcher#          #No global naming context defined for server|

2015-03-04 09:51:07,942#INFO#com.sap.scc.web.component#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #FrameworkEvent INFO|

2015-03-04 09:51:07,942#INFO#com.sap.scc.web.component#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #FrameworkEvent INFO|

2015-03-04 09:51:10,192#INFO#com.sap.scc.rt#Start Level Event Dispatcher#          #starting SAP Cloud Connector runtime - check for active instances|

2015-03-04 09:51:10,192#DEBUG#com.sap.scc.jni#Thread-5#          #Load config file C:\sapcc2\config_master\org.eclipse.gemini.web.tomcat\default-server.xml|

2015-03-04 09:51:10,192#INFO#com.sap.scc.config#Thread-5#          #Initialize SCC runtime configuration|

2015-03-04 09:51:10,208#INFO#com.sap.scc.web.component#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #ServiceEvent REGISTERED|

2015-03-04 09:51:10,208#INFO#com.sap.scc.web.component#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #ServiceEvent REGISTERED|

2015-03-04 09:51:10,208#INFO#com.sap.scc.web.component#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #BundleEvent STARTED|

2015-03-04 09:51:10,208#INFO#com.sap.scc.web.component#com.sap.core.js.logging.bridge.OSGILogListener@87a95dc#          #BundleEvent STARTED|

2015-03-04 09:51:10,442#INFO#com.sap.scc.config#Thread-5#          #Cannot find domains configuration file C:\sapcc2\scc_config\hanatrial.ondemand.com\p1941169975trial\domains.cfg|

2015-03-04 09:51:10,802#INFO#com.sap.scc.rt#Thread-5#          #User during startup starting Tunnel account:///p1941169975trial|

2015-03-04 09:51:10,802#INFO#com.sap.scc.config#Thread-5#          #loadHaState isHaActive is false|

2015-03-04 09:51:12,114#INFO#com.sap.core.connectivity.tunnel.core.impl.context.TunnelRegistryImpl#New I/O worker #1#          #Registered tunnel channel [id: 0xc07c3dd4, /192.168.1.113:36921 => connectivitynotification.hanatrial.ondemand.com/155.56.219.26:443] for tunnel id "account:///p1941169975trial" and client id "793B35D0BD7E11E4BDE0D540C0A80371", com.sap.core.connectivity.tunnel.core.impl.context.TunnelRegistryImpl@61319e7b|

2015-03-04 09:51:12,130#INFO#com.sap.core.connectivity.tunnel.client.notification.NotificationClient#New I/O worker #1#          #Successfully established tunnel to notification service: [id: 0xc07c3dd4, /192.168.1.113:36921 => connectivitynotification.hanatrial.ondemand.com/155.56.219.26:443]|

2015-03-04 09:51:12,599#INFO#com.sap.core.connectivity.tunnel.metering.client.MeteringPacketClientProcessor#New I/O worker #1#0x00000000#Received metering schedule request - MeteringScheduleStrategy [delayInSeconds=6716, initialDelayIsSeconds=588, frequency=PERIODIC]|

2015-03-04 09:51:12,599#INFO#com.sap.core.connectivity.tunnel.metering.client.MeteringDataSendScheduler#New I/O worker #1#0x00000000#Metering data is scheduled to be sent periodically with initial delay 588 and period 6716 SECONDS |

2015-03-04 09:52:00,634#INFO#com.sap.scc.rt#Thread-5#          #port check succeeded|

2015-03-04 09:52:00,638#INFO#System.out#Thread-5#          #SAP HANA Cloud Connector 2.5.0.1 started on https://localhost:8443 (master)|

2015-03-04 09:52:00,639#INFO#com.sap.scc.rt#Thread-5#          #SAP HANA Cloud Connector 2.5.0.1 started on https://localhost:8443 (master)|

---------------------------------------------------------------------------------------------------------

2) localhost_http_access_2015-03-04.log :


0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:25 +0530] "GET / HTTP/1.1" 200 1653 1097

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /resources/sap/ui/core/library-preload.json HTTP/1.1" 200 171398 83

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /resources/sap/ui/commons/library-preload.json HTTP/1.1" 200 119217 35

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /resources/sap/ui/layout/library-preload.json HTTP/1.1" 200 24568 7

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /resources/sap/ui/core/themes/sap_bluecrystal/library.css HTTP/1.1" 200 3420 5

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /resources/sap/ui/layout/themes/sap_bluecrystal/library.css HTTP/1.1" 200 6917 7

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /icons/SAPLogo_small.png HTTP/1.1" 200 1757 2

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:26 +0530] "GET /icons/Help.png HTTP/1.1" 200 768 2

0:0:0:0:0:0:0:1 - - [04/Mar/2015:09:51:34 +0530] "POST /j_security_check HTTP/1.1" 302 - 1041

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET / HTTP/1.1" 200 12857 1118

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources.js HTTP/1.1" 200 5284 3

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/core/library-preload.json HTTP/1.1" 200 171398 37

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/commons/library-preload.json HTTP/1.1" 200 119217 28

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/layout/library-preload.json HTTP/1.1" 200 24568 6

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/core/themes/sap_bluecrystal/library.css HTTP/1.1" 200 3420 4

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/layout/themes/sap_bluecrystal/library.css HTTP/1.1" 200 6917 5

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/ux3/themes/sap_bluecrystal/library.css HTTP/1.1" 200 15436 12

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "GET /resources/sap/ui/unified/themes/sap_bluecrystal/library.css HTTP/1.1" 200 7613 6

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "POST /configuration HTTP/1.1" 200 116 15

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:35 +0530] "POST /configuration HTTP/1.1" 200 45 14

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:36 +0530] "POST /admin HTTP/1.1" 200 2 57

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:36 +0530] "POST /configuration HTTP/1.1" 200 4 100

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:36 +0530] "POST /admin HTTP/1.1" 200 364 107

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:37 +0530] "POST /admin HTTP/1.1" 200 157 1291

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:37 +0530] "GET /icons/GreenLed.png HTTP/1.1" 200 318 1

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:39 +0530] "POST /accessControl HTTP/1.1" 200 439 20

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:41 +0530] "POST /accessControl HTTP/1.1" 200 250 8

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:44 +0530] "POST /accessControl HTTP/1.1" 200 27 17

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:49 +0530] "POST /logAndTrace HTTP/1.1" 200 1 26

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:49 +0530] "POST /logAndTrace HTTP/1.1" 200 5 31

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:49 +0530] "POST /logAndTrace HTTP/1.1" 200 1 33

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:49 +0530] "POST /logAndTrace HTTP/1.1" 200 64 35

0:0:0:0:0:0:0:1 - Administrator [04/Mar/2015:09:51:49 +0530] "POST /logAndTrace HTTP/1.1" 200 1384 13

Former Member
0 Kudos

Hi Vishul,

I am also facing the same issue, could you please share the steps to resolve the issue.

Former Member
0 Kudos

Hi Rheema,

please describe the exact issue you.

What you should check is

  • is the request from cloud indeed reaching the Cloud Connector - for this, go to "Audit" tab and increase the log level to "All". Then trigger again the backend call and check in the audit log whether you see an incoming request.
  • verify access control - click "check" button to verify that the backend system is accessible from SCC


If this doesn't reveal the problem , we have to further investigate.


Best regards, Timo

Former Member
0 Kudos

Hi Timo,

Kindly go through this discussion to help me out:

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rahael,

perhaps you (as well as Vishul) should first describe in a bit more detail, what you are trying to achieve and what you customized in the Cloud Connector. Because the log files attached by Vishul don't show any error. Everything is ok!

I have the feeling, based on Vishul's questions in the first post, that it is not completely clear to you, what the Cloud Connector is used for? For example:


I want to specify internal host in cloud connector.

How can i do this? Do i need to create a service or something on local and host it in iis?

Any example?

This question does not make any sense to me. It is like "I have Microsoft Word installed on my computer. What should I now type into it?" -- Well, if you want to write a letter, type your letter into it; if you want to write a book, type your book into it; if you want to write a shopping list, write your shopping list into it...

Same answer here: if your cloud app wants to access Function Modules or BAPIs in your ABAP system via RFC, specify the ABAP system's gateway host and port number, if your cloud app wants to access REST, OData or Web Services in your ABAP system via HTTP, specify the ABAP system's ICM host and port; if your cloud app wants to access an IIS, give the IIS host and port; if your cloud app wants to access an Apache web server, give the Apache's host and port. Etc.

Best Regards, Ulrich

Edit: cross-post with your previous post...

Former Member
0 Kudos

Hi Ulrich

My detailed issue is explained in the below link. Kindly go through it.


http://scn.sap.com/thread/3770515


Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rahael,

we will continue the discussion in your thread, because I think it is completely unrelated to this one here.

Best Regards, Ulrich

Answers (0)