Skip to content

Error running suite - KeyError: 'clientIp' #34

@jmb05

Description

@jmb05

When running the full suite there is the following Error:

Traceback (most recent call last):
  File "~/speedtesting/test.py", line 4, in <module>
    results = suite.run_all()
              ^^^^^^^^^^^^^^^
  File "~/speedtesting/.python/lib/python3.11/site-packages/cfspeedtest/cloudflare.py", line 212, in run_all
    meta = self.metadata()
           ^^^^^^^^^^^^^^^
  File "~/speedtesting/.python/lib/python3.11/site-packages/cfspeedtest/cloudflare.py", line 172, in metadata
    result_data["clientIp"],
    ~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'clientIp'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions