Uploaded image for project: 'MusicBrainz Search Server'
  1. MusicBrainz Search Server
  2. SEARCH-678

Indexer is not recovering automatically from RabbitMQ disconnection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Indexer
    • None

      The indexer (sir-3.0.1) has not been able to recover from a connection error by itself. The logs was overfull of the following messages:

      2022-06-07 08:36:33,739: Traceback (most recent call last):
        File "sir/amqp/handler.py", line 469, in _watch_impl
          handler.connection.drain_events(timeout)
        File "/usr/local/lib/python2.7/site-packages/amqp/connection.py", line 505, in drain_events
          while not self.blocking_read(timeout):
        File "/usr/local/lib/python2.7/site-packages/amqp/connection.py", line 510, in blocking_read
          frame = self.transport.read_frame()
        File "/usr/local/lib/python2.7/site-packages/amqp/transport.py", line 252, in read_frame
          frame_header = read(7, True)
        File "/usr/local/lib/python2.7/site-packages/amqp/transport.py", line 446, in _read
          raise IOError('Server unexpectedly closed connection')
      IOError: Server unexpectedly closed connection
      

      It seems that the host running the indexer has been temporarily out of reach when the errors started.

            Unassigned Unassigned
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package