Disclaimer: I am new to SAP. I am an experienced Linux developer trying to create a connector with SAP.
I found the guide https://hub.docker.com/r/sapse/abap-cloud-developer-trial showing how to run ABAPTRIAL_2022 in my local machine using docker. I was able to follow the guide and my container is running locally, with the right ports open, with updated license, but I can’t seem to connect to any of the ports – I keep getting `connection cancelled` or `connection refused` from my browser.
Here are the logs of my container start up:
“`
3.4s
✔ Container a4h Created 0.0s
Attaching to a4h
a4h |
a4h | You have accepted the SAP Developer Center Software Developer License Agreement
a4h | by passing the parameter -agree-to-sap-license.
a4h | You can read the license text in the file /SAP_COMMUNITY_DEVELOPER_License
a4h | in the image.
a4h | Hint: docker exec -it a4h less /SAP_COMMUNITY_DEVELOPER_License
a4h |
a4h |
a4h | sapinit: starting
a4h | start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile
a4h | Impromptu CCC initialization by ‘rscpCInit’.
a4h | See SAP note 1266393.
a4h | Impromptu CCC initialization by ‘rscpCInit’.
a4h | See SAP note 1266393.
a4h | sapinit: started, pid=13
a4h |
a4h | HDB: starting
a4h |
a4h | 07.10.2024 19:14:17
a4h | Start
a4h | OK
a4h |
a4h | 07.10.2024 19:15:57
a4h | StartWait
a4h | OK
a4h | HDB: started, pid=589
a4h |
a4h | hdb_license_update: starting
a4h | —
a4h | Retrieving HDB license information
a4h | —
a4h | HDB Hardware Key : HIDDEN BY ME
a4h | HDB Expiration Date: 2025-10-12 23:59:59
a4h | Days to expire : 370
a4h | —
a4h | Not updating HDB license: the file /opt/sap/HDB_license was not found
a4h | —
a4h | hdb_license_update: started, pid=1611
a4h |
a4h | asabap_license_update: starting
a4h | —
a4h | Retrieving AS ABAP license information
a4h | —
a4h | SAP License Key Administration – Copyright (C) 2003 – 2016 SAP AG
a4h |
a4h | System ID. . . . : A4H
a4h | Hardware Key . . : HIDDEN BY ME (of this computer)
a4h | Installation No. : *** not yet assigned ***
a4h | System No. . . . : *** not yet assigned ***
a4h | Release. . . . . : 789
a4h | Software products: NetWeaver_HDB
a4h | —
a4h | AS ABAP license can be automatically renewed from the file /opt/sap/ASABAP_license
a4h | Hint: new container : docker run … -v <local file path>:/opt/sap/ASABAP_license
a4h | Hint: existing container: docker cp <local file path> <container name>:/opt/sap/ASABAP_license
a4h | —
a4h | Updating AS ABAP license: found the file /opt/sap/ASABAP_license
a4h | Removing the current AS ABAP License
a4h | SAP License Key Administration – Copyright (C) 2003 – 2016 SAP AG
a4h |
a4h | 2 license key(s) were deleted.
a4h | Installing the license from the file /opt/sap/ASABAP_license
a4h | SAP License Key Administration – Copyright (C) 2003 – 2016 SAP AG
a4h |
a4h | 2 SAP license key(s) successfully installed.
a4h | —
a4h | asabap_license_update: started, pid=1627
a4h |
a4h | Application Server: starting
a4h |
a4h | 07.10.2024 19:16:01
a4h | Start
a4h | OK
a4h |
a4h | 07.10.2024 19:16:15
a4h | StartWait
a4h | OK
a4h | Application Server: started, pid=2118
a4h |
a4h | Worker Processes: starting dependencies
a4h | uuidd: starting
a4h | uuidd: started, pid=2488
a4h | Worker Processes: started dependencies
a4h | Worker Processes: starting
a4h |
a4h | 07.10.2024 19:16:15
a4h | Start
a4h | OK
a4h |
a4h | 07.10.2024 19:16:52
a4h | StartWait
a4h | OK
a4h | Worker Processes: started, pid=2494
a4h |
a4h | *** All services have been started. ***
a4h | ***
a4h | *** To stop and be able to safely start again use Ctrl-C
a4h | *** Or use the stop command with timeout: docker stop -t 7200 …
a4h | ***
a4h | *** Have fun! ***
“`
In my `/etc/hosts` file in the host computer, as oriented, I have added an entry to `vhcala4hci` pointing to localhost:
“`
ping vhcala4hci
PING vhcala4hci (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.021 ms
“`
However, if I try to connect using CURL or the browser to SAP GUI port, I just get an empty response from the server:
“`
curl -X GET http://vhcala4hci:3200/
curl: (52) Empty reply from server
“`
If I try to connect from the browser to `http://vhcala4hci:50000/`, I get an HTML showing 404 error.
I found some logs inside the container in the folder `/usr/sap/A4H/D00/log/`, but I am not sure what I am looking for in there. I am not sure whether I should be running SAP GUI in a different way or what I could be doing wrong.
Could anyone please assist?