03-28-2023 7:22 AM
Tutorials: https://developers.sap.com/tutorials/btp-cf-buildpacks-python-create.html
--------------------------
I have successfully followed this tutorial. Today, I found that BTP CF will be changing to a new runtime cflinuxfs4 and so I tried to push my app with the parameter -s cflinuxfs4 . It deployed OK, but at runtime I am getting an error from the dbapi.connect call saying that "-10709, 'Connection failed (RTE:[300002] OpenSSL is not available"
Does anyone know how I can fix this?
Thanks
03-28-2023 7:26 AM
mn_hana
I have tested now with Python buildpack .. its works. No issues with open SSL.
You don't need to push with -s cflinuxfs4... Just push cf push or cf push <appname>
03-28-2023 11:56 AM
Don’t I need to use the -s option at least once to set the new runtime? Yes, subsequent pushes don’t need it, but it will default to 3 until I tell it 4.
03-28-2023 7:44 AM
It seems I need a newer version of the hdbcli library, which can be done by changing the requirements.txt file to include a line:
hdbcli==2.16.21
04-03-2023 2:14 PM