Hi all -- I'm having a problem with the CRITs API. I'm making a POST request to submit an Indicator and only on certain requests does it fail with the following error:
{"error_message": "settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.", "traceback": "Traceback (most recent call last):\n\n File \"/usr/local/lib/python2.7/dist-packages/tastypie/resources.py\", line 219, in wrapper\n response = callback(request, *args, **kwargs)\n\n File \"/usr/local/lib/python2.7/dist-packages/tastypie/resources.py\", line 450, in dispatch_list\n return self.dispatch('list', request, **kwargs)\n\n File \"/usr/local/lib/python2.7/dist-packages/tastypie_mongoengine/resources.py\", line 430, in dispatch\n return self._wrap_request(request, lambda: super(MongoEngineResource, self).dispatch(request_type, request, **kwargs))\n\n File \"/usr/local/lib/python2.7/dist-packages/tastypie_mongoengine/resources.py\", line 393, in _wrap_request\n return fun()\n\n File \"/usr/local/lib/python2.7/dist-packages/tastypie_mongoengine/resources.py\", line 430, in <lambda>\n return self._wrap_request(request, lambda: super(MongoEngineResource, self).dispatch(request_type, request, **kwargs))\n\n File \"/usr/local/lib/python2.7/dist-packages/tastypie/resources.py\", line 482, in dispatch\n response = method(request, **kwargs)\n\n File \"/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py\", line 144, in inner\n with self:\n\n File \"/usr/local/lib/python2.7/dist-packages/django/db/transaction.py\", line 150, in __enter__\n if not connection.get_autocommit():\n\n File \"/usr/local/lib/python2.7/dist-packages/django/db/backends/base/base.py\", line 286, in get_autocommit\n self.ensure_connection()\n\n File \"/usr/local/lib/python2.7/dist-packages/django/db/backends/dummy/base.py\", line 21, in complain\n raise ImproperlyConfigured(\"settings.DATABASES is improperly configured. \"\n\nImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.\n"}
It looks like it stopped working a few months ago, I don't remember making any changes on the box at that time. It's been pretty rock solid so far.
Keep in mind that I am submitting thousands of indicators per day, it only seems to be URL objects in the Indicator TLO that are failing. Same code, etc.