<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug.</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one message broker and/or<br>
result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one operating system.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue on more than one workers pool.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue with autoscaling, retries,<br>
ETA/Countdown &amp; rate limits disabled.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="282410055" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4454" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4454/hovercard" href="https://github.com/celery/celery/issues/4454">#4454</a></li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h2 dir="auto">Environment &amp; Settings</h2>

<p dir="auto"><strong>Celery version</strong>: 4.3.0 with fixes in PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="444739232" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5527" data-hovercard-type="pull_request" data-hovercard-url="/celery/celery/pull/5527/hovercard" href="https://github.com/celery/celery/pull/5527">#5527</a></p>

<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -&gt; celery:4.3.0 (rhubarb) kombu:4.6.4 py:3.7.4
            billiard:3.6.1.0 py-amqp:2.5.1
platform -&gt; system:Windows arch:64bit, WindowsPE
            kernel version:10 imp:CPython
loader   -&gt; celery.loaders.default.Loader
settings -&gt; transport:amqp results:disabled"><pre class="notranslate"><code class="notranslate">software -&gt; celery:4.3.0 (rhubarb) kombu:4.6.4 py:3.7.4
            billiard:3.6.1.0 py-amqp:2.5.1
platform -&gt; system:Windows arch:64bit, WindowsPE
            kernel version:10 imp:CPython
loader   -&gt; celery.loaders.default.Loader
settings -&gt; transport:amqp results:disabled
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<ol dir="auto">
<li>Give Celery a Backend URL pointing to a MongoDB like below:<br>
mongodb://admin:admin@192.168.0.1/task?authSource=admin&amp;authMechanism=SCRAM-SHA-256</li>
<li>Start Celery worker.</li>
<li>Send any task.</li>
</ol>
<h2 dir="auto">Required Dependencies</h2>

<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.0</li>
<li><strong>Minimal Celery Version</strong>: 3.0</li>
<li><strong>Minimal Kombu Version</strong>: Unknown</li>
<li><strong>Minimal Broker Version</strong>: Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: MongoDB 4.0</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A</li>
<li><strong>Minimal Broker Client Version</strong>: Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: Unknown</li>
</ul>
<h3 dir="auto">Python Packages</h3>

<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="amqp==2.5.1
asn1crypto==0.24.0
astroid==2.2.5
bcrypt==3.1.7
billiard==3.6.1.0
celery==4.3.0
cffi==1.12.3
Click==7.0
colorama==0.4.1
cryptography==2.7
irectory=backend
Flask==1.1.1
importlib-metadata==0.19
isort==4.3.21
itsdangerous==1.1.0
Jinja2==2.10.1
kombu==4.6.4
lazy-object-proxy==1.4.2
MarkupSafe==1.1.1
mccabe==0.6.1
more-itertools==7.2.0
paramiko==2.6.0
pycparser==2.19
pylint==2.3.1
pymodm==0.4.1
pymongo==3.9.0
PyNaCl==1.3.0
pytz==2019.2
six==1.12.0
typed-ast==1.4.0
vine==1.3.0
Werkzeug==0.15.5
wrapt==1.11.2
zipp==0.6.0"><pre class="notranslate"><code class="notranslate">amqp==2.5.1
asn1crypto==0.24.0
astroid==2.2.5
bcrypt==3.1.7
billiard==3.6.1.0
celery==4.3.0
cffi==1.12.3
Click==7.0
colorama==0.4.1
cryptography==2.7
irectory=backend
Flask==1.1.1
importlib-metadata==0.19
isort==4.3.21
itsdangerous==1.1.0
Jinja2==2.10.1
kombu==4.6.4
lazy-object-proxy==1.4.2
MarkupSafe==1.1.1
mccabe==0.6.1
more-itertools==7.2.0
paramiko==2.6.0
pycparser==2.19
pylint==2.3.1
pymodm==0.4.1
pymongo==3.9.0
PyNaCl==1.3.0
pytz==2019.2
six==1.12.0
typed-ast==1.4.0
vine==1.3.0
Werkzeug==0.15.5
wrapt==1.11.2
zipp==0.6.0
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>

<details>
<summary><b>MongoDB:</b></summary>
<p dir="auto">
Version: &gt;= 3.0.0
</p>
</details>
<h2 dir="auto">Minimally Reproducible Test Case</h2>

<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>

<p dir="auto">Support all the authentication options listed at <a href="https://docs.mongodb.com/manual/reference/connection-string/#authentication-options" rel="nofollow">authentication-options</a>, including <em>authSource</em>, <em>authMechanism</em>, <em>authMechanismProperties</em> and <em>gssapiServiceName</em>.</p>
<h1 dir="auto">Actual Behavior</h1>

<p dir="auto">An error occurred as below.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last):
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py&quot;, line 42, in __get__
    return obj.__dict__[self.__name__]
KeyError: 'collection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py&quot;, line 42, in __get__
    return obj.__dict__[self.__name__]
KeyError: 'database'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File &quot;c:\Users\user\.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\ptvsd_launcher.py&quot;, line 43, in &lt;module&gt;
    main(ptvsdArgs)
  File &quot;c:\Users\user\.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\lib\python\ptvsd\__main__.py&quot;, line 432, in main
    run()
  File &quot;c:\Users\user\.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\lib\python\ptvsd\__main__.py&quot;, line 316, in run_file
    runpy.run_path(target, run_name='__main__')
  File &quot;C:\Program Files\Python37\lib\runpy.py&quot;, line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File &quot;C:\Program Files\Python37\lib\runpy.py&quot;, line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File &quot;C:\Program Files\Python37\lib\runpy.py&quot;, line 85, in _run_code
    exec(code, run_globals)
  File &quot;d:\GitHub\org\dev\backend\tests\workertest.py&quot;, line 22, in &lt;module&gt;
    print('Task finished? ', result.ready())
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\result.py&quot;, line 313, in ready
    return self.state in self.backend.READY_STATES
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\result.py&quot;, line 473, in state
    return self._get_task_meta()['status']
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\result.py&quot;, line 412, in _get_task_meta
    return self._maybe_set_cache(self.backend.get_task_meta(self.id))
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\backends\base.py&quot;, line 386, in get_task_meta
    meta = self._get_task_meta_for(task_id)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\backends\mongodb.py&quot;, line 206, in _get_task_meta_for
    obj = self.collection.find_one({'_id': task_id})
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py&quot;, line 44, in __get__
    value = obj.__dict__[self.__name__] = self.__get(obj)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\backends\mongodb.py&quot;, line 293, in collection
    collection = self.database[self.taskmeta_collection]
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py&quot;, line 44, in __get__
    value = obj.__dict__[self.__name__] = self.__get(obj)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\backends\mongodb.py&quot;, line 288, in database
    return self._get_database()
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\backends\mongodb.py&quot;, line 271, in _get_database
    conn = self._get_connection()
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\celery\backends\mongodb.py&quot;, line 161, in _get_connection
    self._connection = MongoClient(**conf)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\mongo_client.py&quot;, line 668, in __init__
    username, password, dbase, opts)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\client_options.py&quot;, line 151, in __init__
    username, password, database, options)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\client_options.py&quot;, line 39, in _parse_credentials
    mechanism, source, username, password, options, database)
  File &quot;D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\auth.py&quot;, line 107, in _build_credentials_tuple
    raise ConfigurationError(&quot;%s requires a username.&quot; % (mech,))
pymongo.errors.ConfigurationError: SCRAM-SHA-256 requires a username."><pre class="notranslate"><span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">42</span>, <span class="pl-s1">in</span> <span class="pl-s1">__get__</span>
    <span class="pl-k">return</span> <span class="pl-s1">obj</span>.<span class="pl-s1">__dict__</span>[<span class="pl-s1">self</span>.<span class="pl-s1">__name__</span>]
<span class="pl-v">KeyError</span>: <span class="pl-s">'collection'</span>

<span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>:

<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">42</span>, <span class="pl-s1">in</span> <span class="pl-s1">__get__</span>
    <span class="pl-k">return</span> <span class="pl-s1">obj</span>.<span class="pl-s1">__dict__</span>[<span class="pl-s1">self</span>.<span class="pl-s1">__name__</span>]
<span class="pl-v">KeyError</span>: <span class="pl-s">'database'</span>

<span class="pl-v">During</span> <span class="pl-s1">handling</span> <span class="pl-s1">of</span> <span class="pl-s1">the</span> <span class="pl-s1">above</span> <span class="pl-s1">exception</span>, <span class="pl-s1">another</span> <span class="pl-s1">exception</span> <span class="pl-s1">occurred</span>:

<span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>):
  <span class="pl-v">File</span> <span class="pl-s">"c:\Users\user\.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\ptvsd_launcher.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">43</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>
    <span class="pl-en">main</span>(<span class="pl-s1">ptvsdArgs</span>)
  <span class="pl-v">File</span> <span class="pl-s">"c:\Users\user\.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\lib\python\ptvsd\__main__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">432</span>, <span class="pl-s1">in</span> <span class="pl-s1">main</span>
    <span class="pl-en">run</span>()
  <span class="pl-v">File</span> <span class="pl-s">"c:\Users\user\.vscode\extensions\ms-python.python-2019.9.34911\pythonFiles\lib\python\ptvsd\__main__.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">316</span>, <span class="pl-s1">in</span> <span class="pl-s1">run_file</span>
    <span class="pl-s1">runpy</span>.<span class="pl-en">run_path</span>(<span class="pl-s1">target</span>, <span class="pl-s1">run_name</span><span class="pl-c1">=</span><span class="pl-s">'__main__'</span>)
  <span class="pl-v">File</span> <span class="pl-s">"C:\Program Files\Python37\lib<span class="pl-cce">\r</span>unpy.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">263</span>, <span class="pl-s1">in</span> <span class="pl-s1">run_path</span>
    <span class="pl-s1">pkg_name</span><span class="pl-c1">=</span><span class="pl-s1">pkg_name</span>, <span class="pl-s1">script_name</span><span class="pl-c1">=</span><span class="pl-s1">fname</span>)
  <span class="pl-v">File</span> <span class="pl-s">"C:\Program Files\Python37\lib<span class="pl-cce">\r</span>unpy.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">96</span>, <span class="pl-s1">in</span> <span class="pl-s1">_run_module_code</span>
    <span class="pl-s1">mod_name</span>, <span class="pl-s1">mod_spec</span>, <span class="pl-s1">pkg_name</span>, <span class="pl-s1">script_name</span>)
  <span class="pl-v">File</span> <span class="pl-s">"C:\Program Files\Python37\lib<span class="pl-cce">\r</span>unpy.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">85</span>, <span class="pl-s1">in</span> <span class="pl-s1">_run_code</span>
    <span class="pl-en">exec</span>(<span class="pl-s1">code</span>, <span class="pl-s1">run_globals</span>)
  <span class="pl-v">File</span> <span class="pl-s">"d:\GitHub\org\dev<span class="pl-cce">\b</span>ackend<span class="pl-cce">\t</span>ests\workertest.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">22</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>
    <span class="pl-en">print</span>(<span class="pl-s">'Task finished? '</span>, <span class="pl-s1">result</span>.<span class="pl-en">ready</span>())
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\r</span>esult.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">313</span>, <span class="pl-s1">in</span> <span class="pl-s1">ready</span>
    <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-s1">state</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">backend</span>.<span class="pl-v">READY_STATES</span>
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\r</span>esult.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">473</span>, <span class="pl-s1">in</span> <span class="pl-s1">state</span>
    <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_task_meta</span>()[<span class="pl-s">'status'</span>]
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\r</span>esult.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">412</span>, <span class="pl-s1">in</span> <span class="pl-s1">_get_task_meta</span>
    <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_maybe_set_cache</span>(<span class="pl-s1">self</span>.<span class="pl-s1">backend</span>.<span class="pl-en">get_task_meta</span>(<span class="pl-s1">self</span>.<span class="pl-s1">id</span>))
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\b</span>ackends<span class="pl-cce">\b</span>ase.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">386</span>, <span class="pl-s1">in</span> <span class="pl-s1">get_task_meta</span>
    <span class="pl-s1">meta</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_task_meta_for</span>(<span class="pl-s1">task_id</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\b</span>ackends\mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">206</span>, <span class="pl-s1">in</span> <span class="pl-s1">_get_task_meta_for</span>
    <span class="pl-s1">obj</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">collection</span>.<span class="pl-en">find_one</span>({<span class="pl-s">'_id'</span>: <span class="pl-s1">task_id</span>})
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">44</span>, <span class="pl-s1">in</span> <span class="pl-s1">__get__</span>
    <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</span>.<span class="pl-s1">__dict__</span>[<span class="pl-s1">self</span>.<span class="pl-s1">__name__</span>] <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">__get</span>(<span class="pl-s1">obj</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\b</span>ackends\mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">293</span>, <span class="pl-s1">in</span> <span class="pl-s1">collection</span>
    <span class="pl-s1">collection</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">database</span>[<span class="pl-s1">self</span>.<span class="pl-s1">taskmeta_collection</span>]
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\kombu\utils\objects.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">44</span>, <span class="pl-s1">in</span> <span class="pl-s1">__get__</span>
    <span class="pl-s1">value</span> <span class="pl-c1">=</span> <span class="pl-s1">obj</span>.<span class="pl-s1">__dict__</span>[<span class="pl-s1">self</span>.<span class="pl-s1">__name__</span>] <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">__get</span>(<span class="pl-s1">obj</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\b</span>ackends\mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">288</span>, <span class="pl-s1">in</span> <span class="pl-s1">database</span>
    <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_database</span>()
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\b</span>ackends\mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">271</span>, <span class="pl-s1">in</span> <span class="pl-s1">_get_database</span>
    <span class="pl-s1">conn</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_connection</span>()
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\celery<span class="pl-cce">\b</span>ackends\mongodb.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">161</span>, <span class="pl-s1">in</span> <span class="pl-s1">_get_connection</span>
    <span class="pl-s1">self</span>.<span class="pl-s1">_connection</span> <span class="pl-c1">=</span> <span class="pl-v">MongoClient</span>(<span class="pl-c1">**</span><span class="pl-s1">conf</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\mongo_client.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">668</span>, <span class="pl-s1">in</span> <span class="pl-s1">__init__</span>
    <span class="pl-s1">username</span>, <span class="pl-s1">password</span>, <span class="pl-s1">dbase</span>, <span class="pl-s1">opts</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\client_options.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">151</span>, <span class="pl-s1">in</span> <span class="pl-s1">__init__</span>
    <span class="pl-s1">username</span>, <span class="pl-s1">password</span>, <span class="pl-s1">database</span>, <span class="pl-s1">options</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\pymongo\client_options.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">39</span>, <span class="pl-s1">in</span> <span class="pl-s1">_parse_credentials</span>
    <span class="pl-s1">mechanism</span>, <span class="pl-s1">source</span>, <span class="pl-s1">username</span>, <span class="pl-s1">password</span>, <span class="pl-s1">options</span>, <span class="pl-s1">database</span>)
  <span class="pl-v">File</span> <span class="pl-s">"D:\GitHub\org\dev\.venv\lib\site-packages\pymongo<span class="pl-cce">\a</span>uth.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">107</span>, <span class="pl-s1">in</span> <span class="pl-s1">_build_credentials_tuple</span>
    <span class="pl-k">raise</span> <span class="pl-v">ConfigurationError</span>(<span class="pl-s">"%s requires a username."</span> <span class="pl-c1">%</span> (<span class="pl-s1">mech</span>,))
<span class="pl-s1">pymongo</span>.<span class="pl-s1">errors</span>.<span class="pl-v">ConfigurationError</span>: <span class="pl-v">SCRAM</span><span class="pl-c1">-</span><span class="pl-v">SHA</span><span class="pl-c1">-</span><span class="pl-c1">256</span> <span class="pl-s1">requires</span> <span class="pl-s1">a</span> <span class="pl-s1">username</span>.</pre></div>
<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Issue+Type%3A+Feature+Request%22+">issues list</a><br>
for similar or identical feature requests.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?utf8=%E2%9C%93&amp;q=is%3Apr+label%3A%22PR+Type%3A+Feature%22+">pull requests list</a><br>
for existing proposed implementations of this feature.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the same feature was already implemented in the<br>
master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Brief Summary</h1>

<p dir="auto">NotImplementedError: &lt;class 'celery.concurrency.gevent.TaskPool'&gt; does not implement kill_job</p>