Closed khanzadyan closed 5 years ago
Problematic part here:
[2019-03-07 14:45:32.676]: Status code: 404,
[2019-03-07 14:45:32.676]: Error: Error in making request to http://steward-service.platform.svc.cluster.local:8200/files/fe44b776-d927-4efb-83e9-256cbf2b3f1d
[2019-03-07 14:45:32.676]: Body: "File's metadata is not found"
@khanzadyan seen this one before?
@zubairov yes, I known about this. However, can't understand why it is happening. The file is correctly uploaded and I can confirm it exists.
Stewart is receiving 404 with the following header:
<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
In reality, the file was in the steward and it is identical to the file from the SFTP server.
The meta.json
of the attachment:
{"content-length":"14263","host":"steward-service.platform.svc.cluster.local:8200","connection":"close"}
Background
The task in hand is to read
XML
files from an SFTP server, create an attachment and then read the attachedXML
file to convert it to aJSON
file for further processing.ER: it reads File, and it creates the JSON on output from the
attachmentToJson
action.AR: when reading the attachment an error is happening:
In the experiment, a standard
XML
file was used. The actual file exists in on the server storage and confirmed to be identical to the original file from the SFTP server.