DPSearch: NetWorker collection jobs fail with error Unexpected character code 114
Summary: DPSearch - NetWorker collection jobs fail due to an issue when parsing the file location path characters.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
DPSearch NetWorker collection jobs fail.
The search-networker-worker logs, /mnt/search/log, from the node processing the collection job report the following:
And then the job is set as failed:
The search-networker-worker logs, /mnt/search/log, from the node processing the collection job report the following:
9949658|P 1|T [pool-6-thread-3]|2023-01-24 09:14:41,800|RestClient::doCommon|WARNING|(1/2) [500] [33ms] [N/A] [POST],[https://localhost:445],[/cis/v2.0/app/networker/appindices/btgbznwk01/docs/_search?doctype=networker_file,networker_folder&scroll=10h&size=10000]
body=[{"_source": ["xvname", "xvlocation"], "query": {"bool": {"filter": [{"term": {"dp_entity_id": "dp_entity"}}, {"term": {"dp_entity_target": "C:\\"}}, {"term": {"xvlocation.raw": "C:\\Windows\\SysWOW64\\path\\\syst\\path\\path\\\"}}, {"range": {"xvvalidfrom": {"lt": "2023-01-20T15:01:15.000+0000"}}}], "must_not": [{"exists": {"field": "xvvalidto"}}]}}, "sort": ["_doc"]}]
resp-code=[500]
resp-body=[{"code":500,"error":"{\"root_cause\"=\u003e[{\"type\"=\u003e\"json_parse_exception\", \"reason\"=\u003e\"Unrecognized character escape 's' (code 115)\\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@2f88f16e; line: 1, column: 255]\"}], \"type\"=\u003e\"json_parse_exception\", \"reason\"=\u003e\"Unrecognized character escape 's' (code 115)\\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@2f88f16e; line: 1, column: 255]\"}","class":"Elasticsearch::Transport::Transport::Errors::InternalServerError"}] |RestClient.java(693)|
And then the job is set as failed:
9949838|P 1|T [pool-6-thread-3]|2023-01-24 09:14:52,130|BaseProvider::updateWorkitem|INFO|Workitem id=AYXh2sK3XDEJeT538bAE,type=collection_process,category=task,pid=AYXg3QtwfhNtIOXltqrJ,ppid=AYKCyOX6fhNtIOXlJKUm, updating status=failed end=2023-01-24T06:14:52.043+0000 updated. |BaseProvider.java(545)|
Cause
The failure occurs because of a parsing issue in the file path location.
The parsing for path location does not escape all characters for path correctly for NetWorker backup files.
The parsing for path location does not escape all characters for path correctly for NetWorker backup files.
Resolution
This issue is resolved in versions of DPSearch 19.6.3 and later.
Extra logging is in the 19.6.3 release. If this issue is encountered in a release where no fix is available, or which already contains these changes then enable debug logging and work with Support.
Extra logging is in the 19.6.3 release. If this issue is encountered in a release where no fix is available, or which already contains these changes then enable debug logging and work with Support.
Affected Products
Data Protection SearchArticle Properties
Article Number: 000211675
Article Type: Solution
Last Modified: 23 May 2023
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.