Skip to content

Client stops working (Event { type: 'error', message: undefined })?  #172

@DanijelDomazet

Description

@DanijelDomazet

My smee client is started as a system process, and works OK for some time, a few hours, and then it seems like the process is "ready", but notifications aren't received.

% > sudo systemctl status smee
smee.service - smee.io webhook delivery from GitHub
   Loaded: loaded (/etc/systemd/system/smee.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2021-09-03 01:27:01 CEST; 13h ago
 Main PID: 9587 (node)
    Tasks: 11 (limit: 4915)
   Memory: 14.8M
   CGroup: /system.slice/smee.service
           └─9587 node /usr/bin/smee -u https://smee.io/1234abcde1234abcde --path /jenkins/github-webhook/ --port 8080

Sep 03 01:27:01 systemd[1]: Started smee.io webhook delivery from GitHub.
Sep 03 01:27:01 smee[9587]: Forwarding https://smee.io/1234abcde1234abcde to http://127.0.0.1:8080/jenkins/github-webhook/
Sep 03 01:27:04 smee[9587]: Connected https://smee.io/1234abcde1234abcde
Sep 03 03:09:02 smee[9587]: Event { type: 'error', message: undefined }
Sep 03 03:09:03 smee[9587]: Connected https://smee.io/1234abcde1234abcde

Could it be that Sep 03 03:09:02 smee[9587]: Event { type: 'error', message: undefined } is the problem?

After I restart the service with sudo /etc/init.d/smee restart, it starts working again, and the status is very similar:

Sep 03 14:31:19 systemd[1]: Started smee.io webhook delivery from GitHub.
Sep 03 14:31:20 smee[9622]: Forwarding https://smee.io/1234abcde1234abcde to http://127.0.0.1:8080/jenkins/github-webhook/
Sep 03 14:31:22 smee[9622]: Connected https://smee.io/1234abcde1234abcde
Sep 03 14:31:53 smee[9622]: POST http://127.0.0.1:8080/jenkins/github-webhook/ - 200

It is just that there is no Event { type: 'error', message: undefined } any more.

Thanks.

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