macOS developers using WSS Agent on macOS platforms to access internet sites via Cloud SWG.
Some developers on this platform install Gradle, for code development and the Gradle application path is bypassed from going into Cloud SWG.
When launching Gradle however, it seems to lock (without any error code) and users cannot build/test anything from the command line nor their IDE.
Launching the gradle command with a "--debug" flag logs the following line over and over (with different dynamic ports each time issue replicated):
2025-11-14T22:42:59.553+0200 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] The file lock for journal cache (/Users/example_user/.gradle/caches/journal-1)
is held by a different process (pid: xxxxx, lockId: #####). Pinged owner at port 53949.
Once in this state, the only way to get Gradle to work again is to either
Gradle.
macOS.
WSS Agent.
macOS issues with loopback applications and network extensions.
Disable IPv6 on the macOS interfaces using the following terminal command or the following macOS UI options:
sudo networksetup -setv6off Wi-Fi (or can add the Ethernet interface name)