From users-return-651-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Mon Aug 9 18:13:02 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id 4307D180645 for ; Mon, 9 Aug 2021 20:13:02 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 6540F60D21 for ; Mon, 9 Aug 2021 18:13:00 +0000 (UTC) Received: (qmail 23675 invoked by uid 500); 9 Aug 2021 18:12:59 -0000 Mailing-List: contact users-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@airflow.apache.org Delivered-To: mailing list users@airflow.apache.org Received: (qmail 23664 invoked by uid 99); 9 Aug 2021 18:12:59 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2021 18:12:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 88E911FF40B for ; Mon, 9 Aug 2021 18:12:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=potiuk.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id KgUuLu8viP_x for ; Mon, 9 Aug 2021 18:12:56 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::b36; helo=mail-yb1-xb36.google.com; envelope-from=jarek@potiuk.com; receiver= Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 10BB07FB23 for ; Mon, 9 Aug 2021 18:12:55 +0000 (UTC) Received: by mail-yb1-xb36.google.com with SMTP id k65so31130964yba.13 for ; Mon, 09 Aug 2021 11:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=potiuk.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=oOCTPEw+hL3jadSRKjbOPCRig+tqOxBEA24S1SsolbY=; b=St+8XLy3z5v1y3tYQgEswCjJn4q5wy806O413CMJghb/8l5rtaTrkAJxSUSC2SLkyF ikiznB3lXIof21oB7VBtscrddcG7WpHAMgwRxr784o4JYzUPtChpv2KtuI1z1Hjc8K0f 44+MaCjxYi4IvflBcNSalPQBaRuNKoQu52iEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=oOCTPEw+hL3jadSRKjbOPCRig+tqOxBEA24S1SsolbY=; b=U0oe50Z/3JLvOseMwfYVpDFBCcCQHGGayYTnd+AO+7qjGFgnvq/hWMe865xTsKNdU+ 57PM5A4KUPrCFinQZcBdMzvjI5Xo8h47LLrh2zupcK+EUDh469tuYiCFK2C5nVptlxOx vWK+VD/2ZgFPz79scpzkowL6RW+cUeToaiYLoiCZ4dmQvuuQUacpnOQcno9E5/U2Nwcq uPu2OcBE2PHrIfvgBDWlZ98xJAOH+cCefrVjyhpoqVNU1z7U0L5kA+lrqfIQqgfH7OOZ vdWo7cruxs+J10Pl0wDODljIzQegp/pmxCVyOlOF5EiHxcObS2kxcXUryS7KZBHJgkZh XmHw== X-Gm-Message-State: AOAM530DrSpLvmRdn8M1VnoZMSDJtnoLPNHtFbnvhWCl0GlJDJDo7zKD U4MDsvkJogblB68Amd1KPuGrtuDscbYgYG8zNWM4kuKPZKnbhkWr X-Google-Smtp-Source: ABdhPJwHrN5K2yzJdi+fdGRlb0Blx3eO0S5VhVAY1EYSJL2ICR79g3jz/hhcRaZFkVZKUzRW8FXm6iRT33feajDJwoI= X-Received: by 2002:a25:4d1:: with SMTP id 200mr33859486ybe.438.1628532774325; Mon, 09 Aug 2021 11:12:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jarek Potiuk Date: Mon, 9 Aug 2021 20:12:42 +0200 Message-ID: Subject: Re: Web UI is giving below error while logging in To: users@airflow.apache.org Content-Type: multipart/alternative; boundary="00000000000084e58d05c924557c" --00000000000084e58d05c924557c Content-Type: text/plain; charset="UTF-8" This is problem with your environment. It has nothing to do with airflow. You likely can reproduce it by simply running "import ldap" in your python environment. If you google the error message you will see that there are similar errors people reported for conda -based installation. You might simply make sure your python-ldap is installed properly (possibly reinstalling it and even likely upgrading your python versions or python environment - just google it and try some of the solutions you will find). Start from having your python-ldap importable, and then Airflow should start working. On Mon, Aug 9, 2021 at 8:00 PM Dhiddi Sunil wrote: > Hi Team, > > > > Can any one help on this issue please. > > http://prd:6293/login/ after logging in its giving below error > > Ooops! > > > > > > Something bad has happened. > > Please consider letting us know by creating a *bug report using GitHub > *. > > > > Python version: 3.7.5 > > Airflow version: 2.0.1 > > Node: prod.uhc.com > > > ------------------------------------------------------------------------------- > > Traceback (most recent call last): > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask_appbuilder/security/manager.py", > line 1126, in auth_user_ldap > > import ldap > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/ldap/__init__.py", > line 34, in > > import _ldap > > *ImportError: /usr/lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, > version OPENSSL_1_1_1b* > > > > During handling of the above exception, another exception occurred: > > > > Traceback (most recent call last): > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.py", line > 2447, in wsgi_app > > response = self.full_dispatch_request() > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.py", line > 1952, in full_dispatch_request > > rv = self.handle_user_exception(e) > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.py", line > 1821, in handle_user_exception > > reraise(exc_type, exc_value, tb) > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/_compat.py", > line 39, in reraise > > raise value > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.py", line > 1950, in full_dispatch_request > > rv = self.dispatch_request() > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.py", line > 1936, in dispatch_request > > return self.view_functions[rule.endpoint](**req.view_args) > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask_appbuilder/security/views.py", > line 515, in login > > form.username.data, form.password.data > > File > "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask_appbuilder/security/manager.py", > line 1128, in auth_user_ldap > > *raise Exception("No ldap library for python.")* > > *Exception: No ldap library for python.* > > > > > This e-mail, including attachments, may include confidential and/or > proprietary information, and may be used only by the person or entity > to which it is addressed. If the reader of this e-mail is not the intended > recipient or his or her authorized agent, the reader is hereby notified > that any dissemination, distribution or copying of this e-mail is > prohibited. If you have received this e-mail in error, please notify the > sender by replying to this message and delete this e-mail immediately. > -- +48 660 796 129 --00000000000084e58d05c924557c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is problem with your environment. It has nothing to d= o with airflow.=C2=A0 You=C2=A0likely can reproduce it by simply=C2=A0runni= ng "import ldap" in your python environment.
If you google th= e error message you will see that there are similar errors people reported = for conda -based installation. You might simply make sure your python-ldap = is installed properly (possibly reinstalling it and even likely upgrading y= our python versions or python environment - just google it and try some of = the solutions you will find).=C2=A0

Start from hav= ing your python-ldap importable, and then Airflow should start working.


On Mon, Aug 9, 2021 at 8:00 PM Dhiddi Sunil <sunil_dhiddi@optum.com> wrote:

Hi Team,

=C2=A0

Can any one help on this issue please.=

http://p= rd:6293/login/ after logging in its giving below error

Ooops!

=C2=A0

=C2=A0

Someth= ing bad has happened.

Please= consider letting us know by creating a bug report using GitHub.

=C2=A0

Python= version: 3.7.5

Airflo= w version: 2.0.1

Node: = prod.uhc.com

------= -------------------------------------------------------------------------

Traceb= ack (most recent call last):

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask_appb= uilder/security/manager.py", line 1126, in auth_user_ldap

=C2=A0= =C2=A0=C2=A0 import ldap

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/ldap/__ini= t__.py", line 34, in <module>

=C2=A0= =C2=A0=C2=A0 import _ldap

Imp= ortError: /usr/lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, vers= ion OPENSSL_1_1_1b

=C2=A0

During= handling of the above exception, another exception occurred:=

=C2=A0

Traceb= ack (most recent call last):

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.= py", line 2447, in wsgi_app

=C2=A0= =C2=A0=C2=A0 response =3D self.full_dispatch_request()=

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.= py", line 1952, in full_dispatch_request

=C2=A0= =C2=A0=C2=A0 rv =3D self.handle_user_exception(e)

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.= py", line 1821, in handle_user_exception

=C2=A0= =C2=A0=C2=A0 reraise(exc_type, exc_value, tb)

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/_com= pat.py", line 39, in reraise

=C2=A0= =C2=A0=C2=A0 raise value

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.= py", line 1950, in full_dispatch_request

=C2=A0= =C2=A0=C2=A0 rv =3D self.dispatch_request()

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask/app.= py", line 1936, in dispatch_request

=C2=A0= =C2=A0=C2=A0 return self.view_functions[rule.endpoint](**req.view_args)<= /u>

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask_appb= uilder/security/views.py", line 515, in login

=C2=A0= =C2=A0=C2=A0 form.username.data, form.password.data

=C2=A0= File "/airflow/etl/pyenv/pysdm/lib/python3.7/site-packages/flask_appb= uilder/security/manager.py", line 1128, in auth_user_ldap

=C2=A0= =C2=A0=C2=A0 raise Exception("No ldap library for python.")=

Exc= eption: No ldap library for python.

=C2=A0


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended<= br> recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.

<= /div>


--
+48 = 660 796 129
--00000000000084e58d05c924557c--