Skip to content

Scout complains of "TypeError: failed to fetch" when attempting to view a large dataset #54

@pipmc

Description

@pipmc

Specifically, I get the error:

Error Loading Dataframe
TypeError: Failed to fetch

When I list the scan result directory I get:

$ ls -lh /home/inspect/app/scans/scan_id=JewhPYVCPJtVVXUshPAw9A
total 1018M
-rw-r--r-- 1 inspect inspect 966M Dec  3 15:47 broken_env_scanner.parquet
-rw-r--r-- 1 inspect inspect    0 Dec  3 15:47 _errors.jsonl
-rw-r--r-- 1 inspect inspect  40M Dec  3 15:16 _scan.json
-rw-r--r-- 1 inspect inspect  309 Dec  3 15:47 _summary.json

Chrome's web inspector shows a request to http://localhost:7576/api/scanner_df/scan_id%3DJewhPYVCPJtVVXUshPAw9A?scanner=broken_env_scanner with response size 2,716,521 kB and a request to http://localhost:7576/api/scans?status_only=true with response size 119,235 kB. All requests return 200 OK.

The samples being scanned relate to non-public tasks so I can't share the scan results. Do you have any suggestions for how I could debug locally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions