Skip to content
Chris Smith edited this page Dec 12, 2016 · 8 revisions

General FAQ

General

Q: I am having trouble running the samples, what can I do to debug them?

A: The following steps are generally useful for debugging the client library/samples:

  • Ensure the prerequisites for the MAR TIE Python client library have been met.

  • Switch from ERROR to DEBUG logging in the samples as shown below:

    # Configure local logger
    logging.getLogger().setLevel(logging.ERROR)

    Change to:

    # Configure local logger
    logging.getLogger().setLevel(logging.DEBUG)

Q: I receive a timeout, "dxlclient.exceptions.WaitTimeoutException: Timeout waiting for response to message", when attempting to set the reputation of a file/certificate

A: This typically occurs due to the Python client not having permission to send messages to the /mcafee/service/tie/file/reputation/set topic (for files) and the /mcafee/service/tie/cert/reputation/set topic (for certificates).

The following page provides an example of authorizing a Python client to send messages to an authorization group. While the example is based on McAfee Active Response (MAR), the instructions are the same with the exception of swapping the TIE Server Set Enterprise Reputation authorization group in place of Active Response Server API:

https://opendxl.github.io/opendxl-client-python/pydoc/marsendauth.html