Skip to content

WHOIS Backup Not Working #26

@mthbrown

Description

@mthbrown

Hi,

I'm currently trying to configure and test domain_stats. For a lot of queries, it works fine but when it run into a domain with no RDAP data, it fails:

$ curl -s http://127.0.0.1:5730/data.gov.uk | jq
{
  "alerts": [
    "SUSPECT-FREQ-SCORE",
    "RDAP lookup to https://www.rdap.net/domain/data.gov.uk returned 404"
  ],
  "category": "ERROR",
  "freq_score": [
    2.9338,
    4.0568
  ],
  "seen_by_isc": "ERROR",
  "seen_by_web": "ERROR",
  "seen_by_you": "ERROR"
}

I tried the suggested command to enable whois fallback: domain-stats-utils -f /path_to_data but this doesn't change the results (even when I try it for other domains that I know don't have RDAP so caching isn't the issue). I tried running the above command both while domain_stats.py was running and when it was offline and both resulting in no change of behavior. Any ideas? Thanks

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