Skip to content
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

INSPIRE Validator returns error Code list http://inspire.ec.europa.eu/theme cannot be accessed. #1124

Closed
Ana-SGA opened this issue Oct 16, 2024 · 12 comments
Labels
external dependency The problem originates from an external dependency of the Validator

Comments

@Ana-SGA
Copy link

Ana-SGA commented Oct 16, 2024

Dear all,

can someone check why INSPIRE Validator returns errors when validating metadata for INSPIRE code lists:

Code list http://inspire.ec.europa.eu/theme cannot be accessed.
Code list http://inspire.ec.europa.eu/metadata-codelist/SpatialScope cannot be accessed.

Thank you.

Kind regards,
Ana

@fabiovinci
Copy link
Collaborator

Dear @Ana-SGA,

thank you for reporting the error.

We will take a look as soon as possible.

@AndrMJ
Copy link

AndrMJ commented Oct 16, 2024

Dear @fabiovinci,

It seems as the problem also concerns code list of priority datasets:
Code list http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset cannot be accessed.

Best regards,
Andreas

@GDIAnja
Copy link

GDIAnja commented Oct 16, 2024

We have the same problem over here in Lower Saxony. Validation of metadata records is not possible any more.

You should consider correcting the ETF validator. With our tests, we do not want to find out whether the INSPIRE registry is running or other parts of the European infrastructure. We want to test our metadata. Therefore, it is necessary to make the necessary code lists for the tests available offline and deliver them with the ETF validator.

At the same time, there must be a functionality that allows the administrator of the ETF validator to find out with a click whether there have been changes in the relevant code lists in the meantime (for example once a month).

@fabiovinci
Copy link
Collaborator

Dear @AndrMJ,
thank you for reporting, the error is due to the temporary unavailability of the .atom version of the codelists.
We are working on it.

Dear @GDIAnja,
Registry Resources are made available with each Validator release. For instructions on how to use them, please see the section "Setting up a cache of INSPIRE Registry resources", on the Release page.

To monitor changes in the registry, you can follow the helpdesk-registry repository and the related releases.

@juanluisrp
Copy link

Dear @GDIAnja,
Registry Resources are made available with each Validator release. For instructions on how to use them, please see the section "Setting up a cache of INSPIRE Registry resources", on the Release page.

@fabiovinci Actually these instructions are quite vague. How do I use them with the Docker image provided in the release to keep a cache? Do I need to copy them to a specific folder? Serve them using a web server? Are there specific instructions anywhere to use them?

@fabiovinci
Copy link
Collaborator

Dear all,

the Registry issue has been resolved, and the .atom format of the codelists is once again available.

I will close the issue, please reopen it if the error persists.

@fabiovinci fabiovinci added external dependency The problem originates from an external dependency of the Validator and removed under analysis labels Oct 18, 2024
@antjacques
Copy link

antjacques commented Oct 22, 2024

Hello @fabiovinci

Am I the only one still experiencing those issues with the validator? I tested several datasets that are supposed to be conform but I still got errors about codelist URLs:
image

I can communicate the all report if needed.

Thanks

@fabiovinci
Copy link
Collaborator

Dear @antjacques,

the problem with the .atom format of the codelist has resurfaced.
We are working to solve it.

@fabiovinci
Copy link
Collaborator

Dear all,

we have verified that after applying the security patches and restarting the Registry server, the rules needed to download ATOM, CSV and ROR files were not applied.
The issue has been fixed and should not occur again.

@DanielMartinPerezdeLeon
Copy link
Collaborator

Dear @juanluisrp ,

Regarding the provision of further instructions on how to use the registry locally, please note that the purpose of these resources is vague on purpose, since we cannot know each user/entity approach on proxy configurations and policy.

The registry basically serves as an external server for the Validator to access its resources and validate the test against them. The idea is anyone can download the registry resources from the url provided earlier and serve it yourself, then you can set a local reverse-proxy to make all your network petitions made to the registry to point to the local ones you have served.

We are going to edit the last release's note to show a simple example on how to do this, since you are correct on pointing out it can be a bit too abstract.

Best regards,

@jenriquesoriano
Copy link
Collaborator

Dear @juanluisrp ,

we would like to inform that the release notes have been updated to include a simple use case for using the INSPIRE Registry resources locally.
Please note that this use case is generic and may not fit the specific needs of an organization, but we hope it serves as an example to guide any organization interested in deploying the INSPIRE Registry resources.

Best regards

@juanluisrp
Copy link

Thank you for adding this @jenriquesoriano @DanielMartinPerezdeLeon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external dependency The problem originates from an external dependency of the Validator
Projects
None yet
Development

No branches or pull requests

9 participants