hi, I wonder if anyone else is getting Broken pipe...
# community-support
v
hi, I wonder if anyone else is getting Broken pipe issues when running multiple application in parallel using daemon once upgrading to MacOS Sequoia?
Copy code
Problems handling incoming cache access requests.
java.lang.RuntimeException: java.net.SocketException: Broken pipe
        at org.gradle.cache.internal.locklistener.FileLockCommunicator.confirmUnlockRequest(FileLockCommunicator.java:114)
        at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler$1.doRun(DefaultFileLockContentionHandler.java:134)
        at org.gradle.cache.internal.locklistener.DefaultFileLockContentionHandler$1.run(DefaultFileLockContentionHandler.java:104)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.net.SocketException: Broken pipe
        at java.base/sun.nio.ch.DatagramChannelImpl.send0(Native Method)
        at java.base/sun.nio.ch.DatagramChannelImpl.sendFromNativeBuffer(DatagramChannelImpl.java:901)
        at java.base/sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:863)
        at java.base/sun.nio.ch.DatagramChannelImpl.send(DatagramChannelImpl.java:821)
        at java.base/sun.nio.ch.DatagramChannelImpl.blockingSend(DatagramChannelImpl.java:853)
        at java.base/sun.nio.ch.DatagramSocketAdaptor.send(DatagramSocketAdaptor.java:218)
        at java.base/java.net.DatagramSocket.send(DatagramSocket.java:669)
        at org.gradle.cache.internal.locklistener.FileLockCommunicator.confirmUnlockRequest(FileLockCommunicator.java:111)
        ... 7 more
It seems issue is related to not being able to access
~/.gradle/caches/modules-2/modules-2.lock
file
v
As it is a
SocketException
, I'd say it is not a problem with accessing a file, but Gradle using a local TCP connection to communicate between multiple processes and something on your box prevents this or something like that.
v
ok, thanks, will check that
👌 1
so you were right, the issue is coming from the macOS builtin firewall. is there some docs somewhere how we can put Gradle to the allow list?