Troubleshooting
This section lists some common errors and ways to troubleshoot them.
| Issue | Resolution |
|---|---|
Foresight REST API ConfigurationThe request you have sent is valid, but the Foresight REST API is not configured properly. Sometimes the parameters are correct but some issues are found, such as Data Files are not present in the specified Directory path. In that case, HTTP response 200 Successful is sent to the submitter, and an error message is included in the body of the response. |
Set RestDataPath correctly in The recommended method is to set |
Check for Instream and Translation EnginesDuring Startup If the Instream bin directory or Translator bin directory is not included in the system variable LD_LIBRARY_PATH(Unix), you receive an error message as an output in the console log. $$$$$ FSRESTApp checking engines! $$$$$ iStatus = -1 iVersion = 'Error: Can't find Instream C++ Library (jHVInStream.dll/.so)' or $$$$$ tStatus = -1 tVersion = 'Error: Can't find Translator C++ Library (jTranslator.dll/.so)' But the REST API engine starts. While POSTing Job Operation While POSTing a job operation, if the Instream bin directory or Translator bin directory is not included in the system PATH variable, you receive an error message as an output to POST response, with HTTP 400 Bad Request error. The InStream engine is not found on the server. or The Translator engine is not found on the server. If only one component is not found, POST operation for that component fails. For example: When Translator is not found, "IT" operation fails, but "I" operation runs. |
Provide the file path for bin directory of Instream and Translator. Rerun build-fsrest-engine.sh. |
Connection ErrorsYou receive connection errors in the following cases:
|
Follow the given steps for troubleshooting:
|