Skip to content

Active Directory Python App Fails To Connect #330

Open
@ChestoOfGlen

Description

@ChestoOfGlen

Describe the bug
The Active Directory Python app fails to connect with an error "automatic bind failed, invalid credentials".
image

To Reproduce
Steps to reproduce the behavior:

  1. Try to run the Active Directory app

Expected behavior
That the app should authenticate via LDAP and successfully execute.

We have confirmed that the credentials are correct via using ldapsearch from the Orborus server.
We have also pulled out the specific bit of the Python code that makes the LDAP connection and run that as a standalone piece of Python from within an instance of the app container on the Orborus server and it also successfully binds.
image

Logs for the app container itself from one of our test runs.
image

Logs from the shuffle-worker for the same execution.
image

It looks to me like the core issue is the "TypeError wf variables: 'NoneType' object is not iterable" from the app container logs, but where exactly that error is coming from I'm not quite sure.

Almost certainly unrelated, I also note that the AD app reports a v1.0.0 and v1.0.1 (and you can select v1.0.1 as the app version in a workflow) but there is only a v1.0.0 in the repo: https://github.com/Shuffle/python-apps/tree/master/active-directory/1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions