08-11-2020 05:32 AM
Good Morning,
I have a problem with the versions of my documents.
The latest version is displayed without problems, but when I want to view a previous one, I get a 500 error (internal server error; Invalid Json; The document could not be loaded)
I have looked at the log and it shows me the following:
"Caused by: org.elasticsearch.client.ResponseException: method [POST], host [http: // localhost: 9200], URI [/ nuxeo-audit / _search? Typed_keys = true & ignore_unavailable = false & expand_wildcards = open & allow_no_then_indices = true & search_type_chesize_then_indices = true & search_type_chesize_duce_query \\\\\\\\ 's ], status line [HTTP / 1.1 400 Bad Request] {"error": {"root_cause": [{"type": "parse_exception", "reason": "failed to parse date field [2020-08-07T08: 23: 59.704Europe / Madrid] with format [strict_date_optional_time || epoch_millis] "}]," type ":" search_phase_execution_exception "," reason ":" all shards failed "," phase ":" query "," grouped ": true," failed_shards ": [{" shard ": 0, "index": "nuxeo-audit", "node": "e2YWIh-hQnuyuwuSt_6jEQ", "reason": {"type": "parse_exception", "reason": "failed to parse date field [2020-08-07T08: 23: 59.704Europe / Madrid] with format [strict_date_optional_time || epoch_millis] "," caused_by ": {" type ":" illegal_argument_exception "," reason ":" Unrecognized chars at the end of [2020-08-07T08: 23: 59.704Europe / Madrid]: [Europe / Madrid] "}}}]}," status ": 400}"
Does anyone know why this happens and how to solve it?
Thank you
08-11-2020 10:36 AM
Do you have a full stack trace, visible in log/server.log
?
08-11-2020 10:37 AM
Also are you using the Web UI or the JSF UI (i.e., what's in the URL after /nuxeo
?)
08-12-2020 02:05 AM
Thanks for answering.
08-12-2020 03:35 AM
Hello, I had the same problem after a log purge action and I managed to find a solution except that it is not the ideal one for me. https://answers.nuxeo.com/general/q/29c5d156f621480fb4006c9a604e96bf/Error-after-purging-audit-log
08-12-2020 08:37 AM
Good Morning,
08-12-2020 06:00 AM
Ok. What about server.log?
08-12-2020 08:57 AM
I have added the full error from the server.log as an attachment.
08-14-2020 05:04 AM
Thanks for the logs, they're helpful. But without a reproducer it's a bit hard to debug. Could you use browser tools to see what request gets sent from the browser to Nuxeo when you try to display the version? The goal is to find out if what's adding the incorrect Europe/Madrid
in the date is client-side in the browser, or server-side in the Nuxeo server itself. I suspect it's cllient-side but it'd be nice to see the JSON of the request made.
08-18-2020 06:12 AM
Good Morning,
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.