title: Pymongo gives db assertion failure while trying to access remote server
body: <p>I am getting the following error:</p>
  
  <blockquote>
    <p>db assertion failure, assertion: 'unauthorized db:db1 lock type:-1 client:', assertionCode: 10057</p>
  </blockquote>
  
  <p>I am able to access the MongoDB database by running python on the shell of my server. But when I try to access my site i get this unauthorised errors. </p>
  
  <p>Any fix for this error?</p>