notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

Unix socket: websocket error: IO error: Broken pipe (os error 32)

Open solracsf opened this issue 4 years ago • 3 comments
trafficstars

journalctl is full of messages like these:

WARN [notify_push::connection] src/connection.rs:54: Invalid authentication message
WARN [notify_push::connection] src/connection.rs:54: Socket error during authentication
WARN [notify_push::connection] src/connection.rs:139: websocket error: IO error: Broken pipe (os error 32)

nginx

location ^~ /push/ {
    proxy_pass http://unix:/run/notify-push.sock;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "Upgrade";
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

systemd

[Unit]
Description = Push daemon for Nextcloud

[Service]
Environment = SOCKET_PATH=/run/notify-push.sock
ExecStart = /srv/apps/notify_push/bin/x86_64/notify_push /srv/config/config.php

[Install]
WantedBy = multi-user.target

solracsf avatar May 24 '21 14:05 solracsf

The test client still authenticates and receives notifications just fine, so these warnings only appear to be cosmetic for me

ryester19 avatar Jul 06 '21 19:07 ryester19

Nginx also complain about this:

send() failed (32: Broken pipe) while proxying upgraded connection,
request: "GET /push/ws HTTP/1.1", upstream: "http://unix:/run/notify-push.sock:/push/ws"

solracsf avatar Sep 27 '21 13:09 solracsf

@solracsf Why did you close this issue? I'm still seeing this error and I also don't see any new commits that (attempt to) fix this.

jkhsjdhjs avatar Oct 05 '22 09:10 jkhsjdhjs