dschep / dschep/ntfy

ntfy[xmpp] request to give up on timeouts

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
5k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

XMPP service jit.si is down ATM so my notifications can't be sent. However, ntfy[xmpp] tries over and over to make a connection:

```
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Error reading from XML stream.
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Error reading from XML stream.
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
ERROR: Socket Error #54: Connection reset by peer
ERROR: Could not connect to [2001:41d0:a:1c2c::17]:5222. Socket Error #65: No route to host
```

Could it be made to quit trying to connect after 60 to 120 seconds?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.