Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-294

Error Message "AssertionError: ids don't match -43280947 0"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.1.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      mongodb 2.0.1
      pymongo 1.10.1

      I am seeing this issue lately. I initialize mongodb connections within the fork.
      Could the connection pool be getting overloaded and closing connections?

      Error Log:

      File "/opt/py26/lib/python2.6/site-packages/pymongo/cursor.py", line 606, in next
      if len(self.__data) or self._refresh():
      File "/opt/py26/lib/python2.6/site-packages/pymongo/cursor.py", line 569, in _refresh
      self._query_spec(), self._fields))
      File "/opt/py26/lib/python2.6/site-packages/pymongo/cursor.py", line 526, in __send_message
      **kwargs)
      File "/opt/py26/lib/python2.6/site-packages/pymongo/connection.py", line 788, in _send_message_with_response
      return self.__send_and_receive(message, sock)
      File "/opt/py26/lib/python2.6/site-packages/pymongo/connection.py", line 769, in __send_and_receive
      return self.__receive_message_on_socket(1, request_id, sock)
      File "/opt/py26/lib/python2.6/site-packages/pymongo/connection.py", line 759, in __receive_message_on_socket
      struct.unpack("<i", header[8:12])[0])
      AssertionError: ids don't match -43280947 0

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            soumya.shetty.22 Soumya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: