jagrosh / DiscordIPC

Connect locally to the Discord client using IPC for a subset of RPC features like Rich Presence and Activity Join/Spectate
Apache License 2.0
142 stars 47 forks source link

FileNotFoundException: `\\?\pipe\discord-ipc-0 (All pipe instances are busy)` #30

Closed xxAROX closed 1 year ago

xxAROX commented 1 year ago
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: \\?\pipe\discord-ipc-0 (All pipe instances are busy)
    at com.jagrosh.discordipc.entities.pipe.WindowsPipe.<init>(WindowsPipe.java:45)
    at com.jagrosh.discordipc.entities.pipe.Pipe.createPipe(Pipe.java:158)
    at com.jagrosh.discordipc.entities.pipe.Pipe.openPipe(Pipe.java:67)
    at com.jagrosh.discordipc.IPCClient.connect(IPCClient.java:116)
    at xxAROX.PresenceMan.Application.Bootstrap.main(Bootstrap.java:31)
Caused by: java.io.FileNotFoundException: \\?\pipe\discord-ipc-0 (All pipe instances are busy)
    at java.base/java.io.RandomAccessFile.open0(Native Method)
    at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344)
    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213)
    at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
    at com.jagrosh.discordipc.entities.pipe.WindowsPipe.<init>(WindowsPipe.java:43)
    ... 4 more

Process finished with exit code 1