Questions tagged [broken-pipe]

Broken pipe is a general term for when a process is unable to output to a socket or pipe due to no process reading from the other end of the pipe.

Broken pipe is a condition in programming where a process is unable to direct output to either a pipe or socket due to the connection being closed by a peer.

Every library function that returns this error code also generates a SIGPIPE signal; this signal terminates the program if not handled or blocked.

More info in the libc documentation

238 questions
1
vote
2 answers

TCP recover connection after hardware disconnect

I've got a program that continuously writes to a TCP socket. I want to make sure that if the connection between the client and server is disconnected for any amount of time, the connection can be restablished. Right now, I can disconnect the wire,…
Nikki
  • 261
  • 1
  • 4
  • 10
0
votes
2 answers

java network-broken pipe and received file corrupted

I am trying to write a server that accepts files and write it in certain directory using DataInputStream and BufferedInputStream. The server gets 'user name(string)' 'number of files(int)' 'file name(string)' 'size of each file(long)' and 'contents…
in His Steps
  • 3,075
  • 6
  • 30
  • 38
0
votes
0 answers

Cannot access mysqli after phpmailer emails. Get errno=32 Broken pipe

Using PHPMailer, emails are successful. Then my script inserts the email content into mysqli database. Most of the time this query insert fails. But sometimes the query insert does works. Using function my_error_handler ($e_number, $e_message,…
MartinB
  • 1
  • 2
0
votes
0 answers

Install nodejs in Linux Mint. Error (Broken pipe)

I tried installing every version. I removed and installed it multiple times **This is the error. ** wget -qO- https://deb.nodesource.com/setup_14.x | bash - 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/25,4 MB of…
0
votes
0 answers

client_loop: send disconnect: Broken pipe error when ssh into remote host

In my job, I need to ssh into multiple devices to run tests and check log files. I wrote a bash script to make the process easier. If I were to do it in terminal one by one, I ssh into a device, open a tmux session, run some commands, detach the…
Kim C
  • 1
0
votes
0 answers

BrokenPipeError: [Errno 32] Broken pipe on Debian 11 with python socket.socket

I've created a clientscript on my debian 11 vps and if i try to run the script i will get the BrokenPipeError: [Errno 32] Broken pipe. I've noticed that my targetserver isn't receiving anything. The connection isn't even established i think. But if…
Unknown
  • 3
  • 3
0
votes
0 answers

Looking for fix for this BrokenPipeError in my python project socket/Threads

first time questioner here! I´m currently working on a python project that´s supposed to read soil moisture through a sensor on a raspberry pi, which then sends the data to another laptop through a socket connection. That other laptop displays the…
Tom
  • 1
0
votes
0 answers

aiohttp broken pipe error when sending multiple requests (~900+)

so when using aiohttp to send multiple requests to a single url (the ratelimit is 50 per sec) I'm getting ClientOSErros ('broken pipe') is there a way to avoid this? async def send_req(data): async with…
Cashy
  • 11
  • 1
0
votes
0 answers

ftplib - how to recover broken pipe in deamon process

I have a Python deamon process that get frecquently some information to process and send result to FTP. When starting the process, everything works fine. However, after a while (can't say how long), I have a "ERROR 32 Broken Pipe" error. I…
nicomatt
  • 1
  • 2
0
votes
0 answers

Django Broken pipe when cluster version changed

I have the same API login code for my develop and stage versions. The staging server is with cluster 1.20 instead of 1.19 ( in the developing server). I am not using Nginx we are using an HAProxy-based ingress controller. Django API can access…
Vinod
  • 675
  • 3
  • 7
  • 25
0
votes
0 answers

Broken pipe and Device or resource busy errors in a GCP compute instance while transferring data from Google Drive

I am having broken pipe issues while transferring a Google drive directory into GCP Google Storage. Steps are as follows. First, a compute instance creates and attaches a disk. Then it scans and requests file by file all the subdirectories and files…
0
votes
0 answers

Broken Pipe Error in Python Flask GAE while using python docx

I have a flask app that uses Python-docx to automate certain documents in my company. I have my flask app deployed in Google App Engine Standard Environment. Ive been getting this error a lot: Broken Pipe Most articles I searched that found a…
0
votes
1 answer

feign.RetryableException: Connection reset executing POST

I'm calling a url from an external server and in 5% of cases I get this problem. i get java.net.SocketException: Broken pipe, my doubt is if the problem is in my application or the external service that for some reason is canceling the request i`m…
0
votes
0 answers

Nginx logs write to stdout cause Broken pipe

I'm using nginx and writing logs to stdout. We will have about 7000 logs/hour write to stdout and after running the container for some time, we keep getting errors as below: write() to "/dev/stdout" failed (32: Broken pipe) while logging…
0
votes
0 answers

Is it possible to solve [Errno 32] Broken pipe in using get_coherence()?

to make topic modelling, I used this code, but BrokenPipeError: [Errno 32] Broken pipe error occurs. how to solve this problem. from gensim.models import CoherenceModel from multiprocessing import Process, freeze_support coherence_score18=[] def…