Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrpc not working at all after latest git update #70

Closed
Siriusmart opened this issue Feb 5, 2024 · 1 comment
Closed

arrpc not working at all after latest git update #70

Siriusmart opened this issue Feb 5, 2024 · 1 comment

Comments

@Siriusmart
Copy link

Siriusmart commented Feb 5, 2024

System info

System: Arch Linux (btw)
Version: Latest git
Package source: arrpc-git from the AUR

The one installed following instructions on this repo also gives the same error messages.

Slight findings: server: mild cleanup was the last commit that worked for discord-mpris, Proper Linux Game Detection was the last commit that worked for neocord

Issue

Nothing works since last update, this includes

So I suspect this might be an issue with arrpc.

Logs

arrpc

Neocord tried to connect to it, but failed. (The pipe write thing is likely caused my me exiting neovim without it completing the write or something)

Feb 05 18:01:10 siriarch systemd[504]: Started arRPC Discord RPC daemon.
Feb 05 18:01:16 siriarch arrpc[527]: [arRPC] arRPC v3.1.0
Feb 05 18:01:16 siriarch arrpc[527]: [arRPC > bridge] listening on 1337
Feb 05 18:01:16 siriarch arrpc[527]: [arRPC > ipc] listening at /run/user/1000/discord-ipc-0
Feb 05 18:01:16 siriarch arrpc[527]: [arRPC > websocket] listening on 6463
Feb 05 18:01:16 siriarch arrpc[527]: [arRPC > process] started
Feb 05 18:01:19 siriarch arrpc[527]: [arRPC > ipc] new connection!
Feb 05 18:01:49 siriarch arrpc[527]: [arRPC > ipc] new connection!
Feb 05 18:01:54 siriarch arrpc[527]: [arRPC > ipc] socket error Error: write EPIPE
Feb 05 18:01:54 siriarch arrpc[527]:     at afterWriteDispatched (node:internal/stream_base_commons:160:15)
Feb 05 18:01:54 siriarch arrpc[527]:     at writeGeneric (node:internal/stream_base_commons:151:3)
Feb 05 18:01:54 siriarch arrpc[527]:     at Socket._writeGeneric (node:net:863:11)
Feb 05 18:01:54 siriarch arrpc[527]:     at Socket._write (node:net:875:8)
Feb 05 18:01:54 siriarch arrpc[527]:     at writeOrBuffer (node:internal/streams/writable:392:12)
Feb 05 18:01:54 siriarch arrpc[527]:     at _write (node:internal/streams/writable:333:10)
Feb 05 18:01:54 siriarch arrpc[527]:     at Writable.write (node:internal/streams/writable:337:10)
Feb 05 18:01:54 siriarch arrpc[527]:     at Socket.send (/snapshot/dist/index.js)
Feb 05 18:01:54 siriarch arrpc[527]:     at RPCServer.onMessage (/snapshot/dist/index.js)
Feb 05 18:01:54 siriarch arrpc[527]:     at IPCServer.onMessage (/snapshot/dist/index.js) {
Feb 05 18:01:54 siriarch arrpc[527]:   errno: -32,
Feb 05 18:01:54 siriarch arrpc[527]:   code: 'EPIPE',
Feb 05 18:01:54 siriarch arrpc[527]:   syscall: 'write'
Feb 05 18:01:54 siriarch arrpc[527]: }
Feb 05 18:01:54 siriarch arrpc[527]: [arRPC > ipc] socket closed true

And also

[arRPC > ipc] new connection!
[arRPC > ipc] error whilst reading Error: already handshook
    at read (/snapshot/dist/index.js)
    at Socket.<anonymous> (/snapshot/dist/index.js)
    at Socket.emit (node:events:537:28)
    at emitReadable_ (node:internal/streams/readable:590:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
[arRPC > ipc] socket closed false

mpris-discord

It gave a warning trying to connect to arrpc, dont know if its any relevant

2024-02-05 18:11:46,977 | WARNING  | received unexpected reply; (1, {'cmd': 'DISPATCH', 'evt': 'READY', 'nonce': 0, 'data': {'v': 1, 'user': {'id': '1045800378228281345', 'username': 'arRPC', 'discriminator': '0000', 'avatar': 'cfefa4d9839fb4bdf030f91c2a13e95c', 'flags': 0, 'premium_type': 0}, 'config': {'api_endpoint': '//discord.com/api', 'cdn_host': 'cdn.discordapp.com', 'environment': 'production'}}}) [discord_rpc.async_]

Neocord

It says something like "Failed to authorize with Discord: Pipe write error - EPIPE"

Thank you in advance

@CanadaHonk
Copy link
Contributor

At least one should be fixed by ef0a901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants