PewCount
4 things went wrong recently — see what

Problemslast 60 days

  1. Thu 12 Nov, 1:48pm to Fri 13 Nov, 12:00am ERROR 2 times

    Bulletin poll failed: socket error: EOF

    pewcount.ingest.inbox

  2. Thu 12 Nov, 1:48pm to Fri 13 Nov, 12:00am ERROR 2 times

    Scheduled bulletin poll could not run: socket error: EOF

    pewcount.daemon.scheduler

  3. 4:49pm to 10:55pm ERROR 6 times

    Scheduled bulletin poll could not run: ConnectionResetError: [Errno 54] Connection reset by peer

    pewcount.daemon.scheduler

  4. Thu 12 Nov, 3:47pm ERROR

    Scheduled bulletin poll could not run: Login failed.

    pewcount.daemon.scheduler

Earlier, and working since

These failed and the same part of the system has run without failing afterwards. Kept because the log keeps them, and because a fault that comes back is worth recognising.

  1. 4:49pm to 10:55pm ERROR 6 times working since 12:00am

    Bulletin poll failed unexpectedly.

    pewcount.ingest.inbox

    What the code said
    Traceback (most recent call last):
      File "/Users/oostinr/Documents/GitHub/PewCount/src/pewcount/ingest/inbox.py", line 443, in poll
        with self.session() as conn:
             ~~~~~~~~~~~~^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/contextlib.py", line 141, in __enter__
        return next(self.gen)
      File "/Users/oostinr/Documents/GitHub/PewCount/src/pewcount/ingest/inbox.py", line 524, in session
        conn = self._open()
      File "/Users/oostinr/Documents/GitHub/PewCount/src/pewcount/ingest/inbox.py", line 608, in _open
        return self._open_with_oauth2()
               ~~~~~~~~~~~~~~~~~~~~~~^^
      File "/Users/oostinr/Documents/GitHub/PewCount/src/pewcount/ingest/inbox.py", line 695, in _open_with_oauth2
        conn = imaplib.IMAP4_SSL(self.mailbox.host, self.mailbox.port)
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/imaplib.py", line 1641, in __init__
        IMAP4.__init__(self, host, port, timeout)
        ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/imaplib.py", line 208, in __init__
        self.open(host, port, timeout)
        ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/imaplib.py", line 1654, in open
        IMAP4.open(self, host, port, timeout)
        ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/imaplib.py", line 318, in open
        self.sock = self._create_socket(timeout)
                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/imaplib.py", line 1645, in _create_socket
        return self.ssl_context.wrap_socket(sock,
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
                                            server_hostname=self.host)
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/ssl.py", line 455, in wrap_socket
        return self.sslsocket_class._create(
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
            sock=sock,
            ^^^^^^^^^^
        ...<5 lines>...
            session=session
            ^^^^^^^^^^^^^^^
        )
        ^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/ssl.py", line 1076, in _create
        self.do_handshake()
        ~~~~~~~~~~~~~~~~~^^
      File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/ssl.py", line 1372, in do_handshake
        self._sslobj.do_handshake()
        ~~~~~~~~~~~~~~~~~~~~~~~~~^^
    ConnectionResetError: [Errno 54] Connection reset by peer
  2. Thu 12 Nov, 3:47pm ERROR working since 12:00am

    Bulletin poll failed: Login failed.

    pewcount.ingest.inbox

Read from /Users/oostinr/Documents/GitHub/PewCount/data/pewcount.log. Older entries roll off as it rotates.