nautobot: pynautobot reqeust error

Environment

  • Python version: 3.6.8
  • Nautobot version: 1.0.3

Steps to Reproduce

When I am trying to match a tag when running a nornir script

nb_url= 'https://test-nautobot.lab.com'
    nb_token= "hiddenhidden"
    """Nornir testing."""
    nr = InitNornir(
        inventory={
            "plugin": "NautobotInventory",
            "options": {
                "nautobot_url": nb_url,
                "nautobot_token": nb_token,
                "ssl_verify": False,
            },
            "transform_function": "populate_creds",
        },
    )

Expected Behavior

to match the filtered tag

Observed Behavior

File "/home/test/pynet_nautobot/lib64/python3.6/site-packages/pynautobot/core/query.py", line 226, in _make_call
    raise RequestError(req)
pynautobot.core.query.RequestError: The request failed with code 504 Gateway Time-out but more specific details were not returned in json. Check the Nautobot Logs or investigate this exception's error attribute.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

After excludinf the config context, no more timeouts