Hello All!
I am at my whits end trying to figure this one out. I am using InvokeHTTP 1.15.2 and trying to send a largeish json content (300KB) to a python socket. I am seeing super weird behavior where it doesnt send the whole packet content. Like the JSON gets cut off. I wrote a loop in python to continue to grab packets until the full data packet is received but the weirdest thing happens. I get all of the data but then it routes to the Failed queue and I get an error message saying:
Routing to Failure due to exception: java.net.SocketTimeoutException: timeout: java.net.SocketException: Socket closed
I get the full contents of the flow file but it routes to error every time. To try and remedy this, I tried increasing my buffer to more than enough and it still did the same error. If I send a 200 response code as it is retrieving packets, it routes to success but doesnt receive the whole flow file contents. I cannot figure this out.
Does anyone have any tips or thoughts?