I have a Mongo server running in an Ubuntu box, and I'm trying to connect to it using pymongo using the usual syntax:
from pymongo import Connection
c = Connection('db.example.com', 27017)
This works fine on the newly developed Intel Mac (OS 10.6). However, the same code on the older G5 tower (10.5) causes this error:
pymongo.errors.AutoReconnect: [Errno 54] Connection reset by peer
The mongo output on the server reports:
connection accepted from oldmac.example:57681 #3
bad recv() len: 973078528
end connection oldmac.example:57681
I know that I cannot start the mongodb server with PPC Mac, but it seems strange that I can not connect to the remote database. Or is it something else through the fault?
source
share