Skip to content

Exception: Connection failed. (docker instance v2023.3)  #1003

@opeeters

Description

@opeeters

We have a local installation of the INSPIRE Reference Validator (v2023.3 ) with direct access to the internet, installed as a docker container (cf https://github.com/INSPIRE-MIF/helpdesk-validator/releases/tag/v2023.3). Every now and again this instance cannot find certain resources during the validation and failing the test of INSPIRE resources that are valid (see:
log_231103_fail.txt).

After a couple of weeks the issue disappears on it's own and all works as expected. The same resource (also passing the reference installation at https://inspire.ec.europa.eu/validator) is correctly evaluated as being valid.

Let's take this resource as an example:

03.11.2023 08:29:15 - "Checking URL: 'http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/PriorityDataset.bg.atom'"
03.11.2023 08:29:15 - "Exception: Connection failed. URL: http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/PriorityDataset.bg.atom"
03.11.2023 08:29:15 - "Test Assertion 'M.2: Priority datasets keyword': FAILED - 2 ms"

When you try reaching http://inspire.ec.europa.eu/metadata-codelist/PriorityDataset/PriorityDataset.bg.atom with curt -L (following redirects) the resource is retrieved (also from within the container). With curl -O I get a 301 Moved Permanently. This is the only lead I have at the moment, but I'm not sure yet whether this might be different when the validator works as expected since our instance has been misbehaving all week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    deploymentThis issue is about the deployment of the Docker image, WAR file or operational environmentuser-fixedProblem solved on user side

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions