On Mon, 11 Nov 2013 19:05:49 GMT, Drasha wrote:

On Mon, 11 Nov 2013 12:59:19 +0100, Sönke Ludwig wrote:

It seems like the MongoDB server doesn't send one of the expected fields
for the getLastError query. If you could enable verbose logging in
your MongoDB server and see what exactly it sends in response to the
last getLastError request, that would be great. I can then adjust the
code appropriately.

Ok, I had a quick and dirty fight with my mongodb instance and was not able to properly configure the verbosity. Or rather I was, but not to a point to debug my problem. So I instead launched Wireshark and captured the reply. Following is the dissected packet. On first glance it seems that mongo does not recognize getLastError command.

(...)

Thanks, got it. Should be fixed on latest git master by c633db9.