Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Getting Error Broken pipe (Write failed)|Connection reset in form-data post API using invokehttp in NiFi

avatar
Explorer

Hi Team,

 

I have a requirement, where I am using POST API of form-data using invokehttp.

it is expecting few form-data key-values along with the json file that we need to send to the respective server using post API.

 

But I am getting below error:

when Content-Type: multipart/form-data

Error: IOException thrown from InvokeHTTP[id=xyzzzzz]: java.net.SocketException: Broken pipe (Write failed)

 

when Content-Type: application/form-data

Error:  IOException thrown from InvokeHTTP[id=xyzzzz]: java.net.SocketException: Connection reset

 

I did investigation but not able to solve the issue. Can you please help.

1 REPLY 1

avatar
Super Mentor

@Techie123 
What is observed in the endpoint logs for these transactions?
Can you share the complete stack trace from the NiFi logs?
Can you share your invokeHTTP processor configurations?
Can you share your NiFi version?

Thanks,

Matt