Skip to content

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

Description

@solracsf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions