Skip to content

Build fails - json-schema.org returns 403 on github runners #1455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
scottgerring opened this issue Oct 4, 2023 · 3 comments
Closed

Build fails - json-schema.org returns 403 on github runners #1455

scottgerring opened this issue Oct 4, 2023 · 3 comments
Assignees
Labels
bug Something isn't working priority:2 High - core feature or affects 60% of the users

Comments

@scottgerring
Copy link
Contributor

Our builds have started failing in the powertools-validation unit tests. The ValidationAspectTest tries to do some validation that requires the retrieval of a schema from https://json-schema.org/draft/2019-09/meta/core - this works locally, but seems to be blocked on Github Actions, returning a 403.

What were you trying to accomplish?

Expected Behavior

Unit tests work everywhere.

Current Behavior

Possible Solution

Let's talk to the json-schema team if possible to try work out why this is 403ing from github, and if there is a risk of this happening from within Lambdas as well.

Another option could be using the uriMappings mentioned in the documentation for the unit test itself, to provide local copies of the schema tested to avoid the call out from the actions runner to the internet.

Steps to Reproduce (for bugs)

Run any build from the github runners.

@scottgerring scottgerring added bug Something isn't working priority:2 High - core feature or affects 60% of the users labels Oct 4, 2023
@scottgerring scottgerring self-assigned this Oct 4, 2023
@jeromevdl
Copy link
Contributor

Opened an issue here: networknt/json-schema-validator#867

Copy link
Contributor

This is now released under 1.18.0 version!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:2 High - core feature or affects 60% of the users
Projects
Status: Shipped
Development

No branches or pull requests

2 participants