0

We are building an AWS ActiveMQ project using Lambda (runs on Amazon Linux 2), which uses Qpid proton library from Apache. The issue ultimately seems to be that the Qpid library is unable to locate SSL on the system. The same code works fine in Ubuntu and Windows (running the same versions) but fails in Lambda.

Here is what I have tried so far:

I verified that SSL is available in Python with the command below:

import ssl;
print(ssl.OPENSSL_VERSION)
# prints:
# OpenSSL 1.0.2g-fip

But when I try to run the following it fails:

import proton;
print('%s' % 'SSL present' if proton.SSL.present() else 'SSL NOT Available')
# prints Not available

Here are the versions I tried: Python 3.8, 3.9, 3.10 and 3.11 Qpid 0.39.0

Any help is appreciated

Praveen
  • 1
  • 1
  • Can you install this gcc and try? Use this command sudo yum install gcc gcc-c++ cmake openssl-devel cyrus-sasl-devel swig – Piyush Patil Aug 21 '23 at 17:18
  • Yes, I have installed all the dependencies including the extra ones below per (https://github.com/apache/qpid-proton/blob/6b05c6d64ba04bad96745b1430ca17d436b6fd32/INSTALL.md) yum install openssl-devel yum install cyrus-sasl-devel cyrus-sasl-plain cyrus-sasl-md5 – Praveen Aug 21 '23 at 18:24

0 Answers0