i call convert api by following curl command:
# start test http server
ruby -run -e httpd . -p 8000
# request api by curl, my client ip is: 192.168.1.115
curl -H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{"async":false,"url":"http://192.168.1.115:8000/file3.docx","outputtype":"pdf","filetype":"docx","title":"file3.docx","key":"personal_8199907371364626998_test_file3_4.docx","region":"zh"}' \
-X POST \
http://192.168.1.120:8001/ConvertService.ashx
then will get error return :
{error: -3 }
or
{“percent”:0,“endConvert”:false}
converter log output:
[2024-11-05T09:47:46.216] [ERROR] [localhost] [personal_8199907371364626998_test_file3_3.docx] [userId] nodeJS - stdout:
[2024-11-05T09:47:46.216] [ERROR] [localhost] [personal_8199907371364626998_test_file3_3.docx] [userId] nodeJS - stderr:TypeError: window.InitNativeEditors is not a function
at <anonymous>:1:8
TypeError: window.InitNativeEditors is not a function
at <anonymous>:1:8
TypeError: window.InitNativeEditors is not a function
at <anonymous>:1:8
DoctRenderer:<result><error code="run" /></result>
[2024-11-05T09:47:46.217] [ERROR] [localhost] [personal_8199907371364626998_test_file3_3.docx] [userId] nodeJS - ExitCode (code=80;signal=null;error:-80)
[2024-11-05T09:51:33.873] [ERROR] [localhost] [personal_8199907371364626998_test_file3_4.docx] [userId] nodeJS - stdout:
[2024-11-05T09:51:33.874] [ERROR] [localhost] [personal_8199907371364626998_test_file3_4.docx] [userId] nodeJS - stderr:TypeError: window.InitNativeEditors is not a function
at <anonymous>:1:8
TypeError: window.InitNativeEditors is not a function
at <anonymous>:1:8
TypeError: window.InitNativeEditors is not a function
at <anonymous>:1:8
DoctRenderer:<result><error code="run" /></result>
[2024-11-05T09:51:33.875] [ERROR] [localhost] [personal_8199907371364626998_test_file3_4.docx] [userId] nodeJS - ExitCode (code=80;signal=null;error:-80)
i don’t know the what cause this error, and how to resolve it. i hava searched the docservice codes ,can not found helpful information to resolve this error.