notify_push
notify_push copied to clipboard
Unix socket: websocket error: IO error: Broken pipe (os error 32)
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
The test client still authenticates and receives notifications just fine, so these warnings only appear to be cosmetic for me
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 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.