Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

No OpenSSL for Python from SAP BTP

mwn
Participant
0 Likes
1,600

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

4 REPLIES 4
Read only

Yogananda
Product and Topic Expert
Product and Topic Expert
0 Likes
1,475

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>

Read only

0 Likes
1,475

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.

Read only

mwn
Participant
1,475

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

Read only

0 Likes
1,475

Can confirm. This worked for me.