Skip to content

Error 403 while trying to download a driver #16

@MGlolenstine

Description

@MGlolenstine

Issue

When trying to run the enumerate example on Windows or Linux, it fails with the 403 error while trying to fetch drivers.

Enumerating Pico devices...
[
    Err(
        DriverLoadError {
            driver: PS2000,
            error: "LoadLibraryExW failed",
        },
    ),
]
Downloading drivers that failed to load [PS2000]
Error: HttpResponseError(StatusCode(403))

Investigation

I checked how the drivers get downloaded and I've traced the URLs, and it'd seem that the pico-scope people have disabled their bucket for drivers, so the drivers aren't accessible at the same URL anymore.

The following URL returns 403:
https://pico-drivers.s3.eu-west-2.amazonaws.com/windows/x86-64/PS2000

<Error>
<Code>AllAccessDisabled</Code>
<Message>All access to this object has been disabled</Message>
<RequestId>2B7SVVZA1DKJ2NX6</RequestId>
<HostId>
M5pxl2KGYILGVaoqvMxNBsLcJOg9pmWxznRa8PiCRUaJdNqaQHXfhPM3KVLdOq3BhZI6nuwVj90=
</HostId>
</Error>

Call to arms

I'd like to get some help with figuring out if they've fully removed the driver files or just changed the URL.
If they have changed the URL, I'd like to know what they changed it to, if not, I'd like to figure out how to get drivers a different way.

The drivers, not sure if they're the ones we're looking for, but they're accessible in the PicoScope 7 installation (under C:\Program Files\Pico Technology\PicoScope 7 T&M Stable on Windows), named ps2000.dll up to ps6000a.dll.

Temporary workaround

To get the drivers loaded in the example, I had copied the files to C:\Users\User\AppData\Local\Pico Technology\Drivers\x86_64, which included ps2000.dll.temp, which was a temporary file created before the error occurred.

The workaround works, but only for enumeration, for everything else, the hash fails and I'm not sure where to get the files that have the matching hashes.

Kind regards

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