Skip to content
Jeremy Barlow edited this page Sep 22, 2017 · 1 revision

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 Cisco pxGrid DXL 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" or never see any event notifications, when attempting to use the client library/samples

A: This exception typically occurs due to the Python client not having permission to perform pxGrid queries or receive pxGrid event notifications.

Please refer to the following page for a detailed description of authorizing the client to perform pxGrid queries:

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

Clone this wiki locally