This documenation provides some intructions, how to start troubleshooting in case you face some issues with SAP Cloud Connector (SCC).
For what they are useful
Logs and Traces are useful to find out specific information based on which you can troubleshoot connection problems. See more in SAP Help: Troubleshooting.
Where to find relevant logs and traces
SAP Cloud Connector User Interface (SCC UI)
You can open relevant logs directly in SCC UI:
Open SCC UI (→ choose "Log And Trace Files" → open e.g. ljs_trace.log by clicking to the glasses button:
- You can download relevant logs one by one or alltogether from SCC UI:
You can download them based on your requirements by clicking the arrow buttons:
You can find logs and traces in your Operation System's file system where the SCC is installed:
- Windows → Default path is "c:\SAP\scc20\log".
- Linux → Default path is "/opt/sap/scc/log".
Short description of all log and trace files
The following KBA gives a short description of all log and trace files: 2452568 - Log and Trace files for SAP Cloud Connector.
How to point to the relevant log entries
Example Scenario for ljs_trace.log
In Europe (Rot) datacenter (UTC timezone) the following error can be experienced on 23.08.2018. at around 04:15 a.m while calling backend system form an SAP Cloud Platform (SCP) destination via SCC:
Failure reason: "Backend status could not be determined"
Search for the timestamp in ljs_trace.log. You need to take into account the timezones since SCP and SCC might be in different timezone. To interpret it see the KBA: 2601369 - How to interpret timezone of SCC.
Knowing this the following error can be found in ljs_trace.log based on the timestamp and timezone comparison:
- However, not the same information is displayed in client (SCP) side and the ljs_trace, these entries can be relevant since "Connection Timeout" means that no response arrived back from the backend to the client. Therefore "Backend status could not be determined" message is valid here.
Example Scenario for traffic_trace
Turn on Payload Trace:
In SCC UI go to "Log And trace Files" → Click on the Pencil button → check Payload Trace -> Save:
- Reproduce the issue.
After that under "Log And Trace Files", find and open the generated Payload Trace. It will be with name format: "traffic_trace_<account id>_on_<landscapehost>.trc".
Based on the virtual hostname, thread ID (in this case 0x9e972b26) and timestamp (converted to the appropriate timezone) the relevant request and response can be found:
The whole process took almost 10 seconds in this example case. HTTP response 200 OK shows successful response. This trace is useful to check long running request. In order to find out which component causes the performance problem during the connectivity flow you can refer to the KBA: 2693691 - How to evaluate Cloud Connector Monitor.
Increase the Log Level
Sometimes you need to increase the log severity or trigger some special traces in case more information is needed to isolate and analyze the scenario. Use this Debug option only for the time wile you reproduce the issue because high log severity can fill up your system and cause performance problems.
This trace is ideal to analyse e.g. Secure Network Communications (SNC) related problems. You can activate it in SCC UI choose "Log And trace Files" → Click on the Pencil button → set the desired trace level (Level 3 trace shows the most detailed inforamtion):
See an example trace entry:
It can happen that you need more detailed traces to find out the root cause of any connection issues. In this case you need to increase the level of "Cloud Connector Loggers" and "Other Loggers" ("All" is the highest severity):
See an example trace entry:
This trace can be trigger by adding a JVM parameter and useful to investigate e.g. SSL certificate or mismatching cipher suite related problems. For more how to activate SSL Trace, see the following wiki: How to enable SSL trace in SAP Cloud Connector. See an example trace entry:
For more how to trigger thread dump in SCC, see the KBA: 2560025 - How to trigger thread dumps on Cloud Platform Cloud Connector.
For more information regarding Audit Log, see the SAP Help: