Skip to content

Pull request preview images are missing (links are broken) #170

@rjpadula

Description

@rjpadula

Images in the generated preview are not being displayed. See Figure 1 in PR 167 for an example.

For each image, the console shows a 403:

[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (VerifiableCredentialsUserRoles.png, line 0)

Attempting to access the image directly via https://pr-preview.s3.amazonaws.com/w3c/vc-use-cases/pull/VerifiableCredentialsUserRoles.png yields an AWS permission issue:

<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>XTS5BG6Q7WNT5Q1X</RequestId> <HostId> qQJ6FFhsXamAa3dsoYpjayBX8J1V/GylgLjYkeMBAlVf8VCGrnem/LbxwLoIl5b7J4lhkKGnSNi4dJwDh0zQErXX34xf3Asa </HostId> </Error>

The AWS message does not mean that the file exists.

Note that the image's URL does not contain the pull request number (167 in this case), while the HTML file's URL does.

This issue is likely with w3c/spec-prod or one of the actions it calls, but this is a solid reproduction of it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions