Open gcpdev opened 7 years ago
Hi,
I tried creating a dataset just like I did two weeks ago, but FREME is now returning an error:
$ curl -v -H 'Content-Type: application/n-triples' --header 'X-Auth-Token: <tolkien_suppressed>' "https://api.freme-project.eu/current/e-entity/freme-ner/datasets?name=sbr&language=nl&visibility=public" -d @skosLabels.nt * Trying 134.226.42.250... * Connected to api.freme-project.eu (134.226.42.250) port 443 (#0) * found 173 certificates in /etc/ssl/certs/ca-certificates.crt * found 704 certificates in /etc/ssl/certs * ALPN, offering http/1.1 * SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384 * server certificate verification OK * server certificate status verification SKIPPED * common name: api.freme-project.eu (matched) * server certificate expiration date OK * server certificate activation date OK * certificate public key: RSA * certificate version: #3 * subject: CN=api.freme-project.eu * start date: Mon, 16 Jan 2017 13:22:00 GMT * expire date: Sun, 16 Apr 2017 13:22:00 GMT * issuer: C=US,O=Let's Encrypt,CN=Let's Encrypt Authority X3 * compression: NULL * ALPN, server did not agree to a protocol > POST /current/e-entity/freme-ner/datasets?name=sbr&language=nl&visibility=public HTTP/1.1 > Host: api.freme-project.eu > User-Agent: curl/7.47.0 > Accept: */* > Content-Type: application/n-triples > X-Auth-Token: <tolkien_suppressed> > Content-Length: 17045 > Expect: 100-continue > < HTTP/1.1 100 Continue * We are completely uploaded and fine < HTTP/1.1 500 Internal Server Error < Server: nginx/1.6.2 < Date: Fri, 27 Jan 2017 09:53:30 GMT < Content-Type: application/json;charset=UTF-8 < Content-Length: 265 < Connection: close < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < Cache-Control: no-cache, no-store, max-age=0, must-revalidate < Pragma: no-cache < Expires: 0 < X-Frame-Options: DENY < Access-Control-Allow-Origin: * < Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT < Access-Control-Max-Age: 3600 < Access-Control-Allow-Headers: x-requested-with, content-type, x-auth-token, x-auth-username, x-auth-password < { "exception": "eu.freme.common.exception.FREMEHttpException", "path": "/e-entity/freme-ner/datasets", "message": "java.nio.charset.MalformedInputException: Input length = 1", "error": "Internal Server Error", "status": 500, "timestamp": 1485510810723 * Closing connection 0
The vocab I am using can be found attached. skosLabels.nt.zip
Also, #171 was closed by "datasets were deleted", but it seems that they disappearead during server migration (we did not delete, that's why I was trying to upload them again here).
Hi,
I tried creating a dataset just like I did two weeks ago, but FREME is now returning an error:
The vocab I am using can be found attached. skosLabels.nt.zip