agroportal / project-management

Repository used to consolidate documentation about the AgroPortal project and track content related issues.
http://agroportal.lirmm.fr
7 stars 0 forks source link

AGROVOC metadata can't be updated #286

Closed syphax-bouazzouni closed 2 years ago

syphax-bouazzouni commented 2 years ago

Trying to do

PATCH
http://data.agroportal.lirmm.fr/ontologies/AGROVOC/submissions/23
{
    “released” : “1980-01-01",
    “modificationDate” : “2022-05-01T00:00:00+00:00",
    “version” : “2022-05"
}
PATCH
http://data.agroportal.lirmm.fr/ontologies/AGROVOC/submissions/24
{
    “released” : “1980-01-01",
    “modificationDate” : “2022-06-01T00:00:00+00:00",
    “version” : “2022-06"
}
PATCH
http://data.agroportal.lirmm.fr/ontologies/AGROVOC/submissions/19
{
    “version” : “2022-03"
}
PATCH
http://data.agroportal.lirmm.fr/ontologies/AGROVOC/submissions/20
{
    “version” : “2022-04"
}

PATCH
http://data.agroportal.lirmm.fr/ontologies/AGROVOC/submissions/24
{
    “pullLocation”: “http://agrovoc.uniroma2.it/latestAgrovoc/agrovoc_lod.nt.zip”
}

Issue

These requests returns

Image

Log

[Fri Jul 01 09:46:43.676036 2022] [proxy_http:error] [pid 19148:tid 140094233073408] (70007)The timeout specified has expired: [client 172.30.3.166:57333] AH01102: error reading status line from remote server agroportal.lirmm.fr:8080
[Fri Jul 01 09:46:43.676286 2022] [proxy:error] [pid 19148:tid 140094233073408] [client 172.30.3.166:57333] AH00898: Error reading from remote server returned by /ontologies/AGROVOC/submissions/23

So it's a timeout issue

Fix by increasing timeout in the server config

syphax-bouazzouni commented 2 years ago

Fixed with https://github.com/agroportal/project-management/issues/289

image

Todo