<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 checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+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%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 in this issue<br>
(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>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="319077292" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4693" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4693/hovercard" href="https://github.com/celery/celery/issues/4693">#4693</a></p>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Description</h1>
<p dir="auto">In current documentation, in the "Optimizing" section, <a href="https://docs.celeryproject.org/en/latest/userguide/optimizing.html#librabbitmq" rel="nofollow">this paragraph</a> recommends using librabbitmq but in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="319077292" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4693" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4693/hovercard" href="https://github.com/celery/celery/issues/4693">#4693</a> it's mentioned librabbitmq is not the best performing package anymore.</p>
<h1 dir="auto">Suggestions</h1>
<p dir="auto">I'd suggest to mark <a href="https://docs.celeryproject.org/en/latest/userguide/optimizing.html#librabbitmq" rel="nofollow">this paragraph</a>  as "old" or remove it to prevent users from using it as a "best practice".</p>
<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 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=""> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> 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"> 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" checked=""> 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" checked=""> 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" checked=""> 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>None</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.4.0</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.4.0 (cliffs) kombu:4.6.7 py:3.7.0
            billiard:3.6.1.0 sqs:N/A
platform -&gt; system:Linux arch:64bit
            kernel version:5.0.0-37-generic imp:CPython
loader   -&gt; celery.loaders.app.AppLoader
settings -&gt; transport:sqs results:disabled

broker_url: 'sqs://***:********@localhost//'
task_default_queue: 'inference'
broker_transport_options: {
 'region': 'us-west-2'}"><pre class="notranslate"><code class="notranslate">software -&gt; celery:4.4.0 (cliffs) kombu:4.6.7 py:3.7.0
            billiard:3.6.1.0 sqs:N/A
platform -&gt; system:Linux arch:64bit
            kernel version:5.0.0-37-generic imp:CPython
loader   -&gt; celery.loaders.app.AppLoader
settings -&gt; transport:sqs results:disabled

broker_url: 'sqs://***:********@localhost//'
task_default_queue: 'inference'
broker_transport_options: {
 'region': 'us-west-2'}
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>

<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.7.0 (conda)</li>
<li><strong>Minimal Celery Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Kombu Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Version</strong>: N/A or Unknown</li>
<li><strong>Minimal OS and/or Kernel Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Broker Client Version</strong>: N/A or Unknown</li>
<li><strong>Minimal Result Backend Client Version</strong>: N/A or 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="celery[sqs]"><pre class="notranslate"><code class="notranslate">celery[sqs]
</code></pre></div>
<p dir="auto"></p>
</details>
<h3 dir="auto">Other Dependencies</h3>

<details>
<p dir="auto">
N/A
</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="import os
from celery import Celery
from kombu.utils.url import quote

aws_access_key = # AWS access key
aws_secret_key = # AWS secret key

broker_url = &quot;sqs://{aws_access_key}:{aws_secret_key}@&quot;.format(
    aws_access_key=aws_access_key, aws_secret_key=aws_secret_key,
)

app = Celery('default', broker=broker_url)
app.conf.broker_transport_options = {'region': 'us-west-2'}

@app.task
def add(x, y):
    return x + y"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">os</span>
<span class="pl-k">from</span> <span class="pl-s1">celery</span> <span class="pl-k">import</span> <span class="pl-v">Celery</span>
<span class="pl-k">from</span> <span class="pl-s1">kombu</span>.<span class="pl-s1">utils</span>.<span class="pl-s1">url</span> <span class="pl-k">import</span> <span class="pl-s1">quote</span>

<span class="pl-s1">aws_access_key</span> <span class="pl-c1">=</span> <span class="pl-c"># AWS access key</span>
<span class="pl-s1">aws_secret_key</span> <span class="pl-c1">=</span> <span class="pl-c"># AWS secret key</span>

<span class="pl-s1">broker_url</span> <span class="pl-c1">=</span> <span class="pl-s">"sqs://{aws_access_key}:{aws_secret_key}@"</span>.<span class="pl-en">format</span>(
    <span class="pl-s1">aws_access_key</span><span class="pl-c1">=</span><span class="pl-s1">aws_access_key</span>, <span class="pl-s1">aws_secret_key</span><span class="pl-c1">=</span><span class="pl-s1">aws_secret_key</span>,
)

<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-v">Celery</span>(<span class="pl-s">'default'</span>, <span class="pl-s1">broker</span><span class="pl-c1">=</span><span class="pl-s1">broker_url</span>)
<span class="pl-s1">app</span>.<span class="pl-s1">conf</span>.<span class="pl-s1">broker_transport_options</span> <span class="pl-c1">=</span> {<span class="pl-s">'region'</span>: <span class="pl-s">'us-west-2'</span>}

<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-s1">task</span></span>
<span class="pl-k">def</span> <span class="pl-en">add</span>(<span class="pl-s1">x</span>, <span class="pl-s1">y</span>):
    <span class="pl-k">return</span> <span class="pl-s1">x</span> <span class="pl-c1">+</span> <span class="pl-s1">y</span></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>

<p dir="auto">Start a worker</p>
<h1 dir="auto">Actual Behavior</h1>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" -------------- celery@kidzik-XPS-8900 v4.4.0 (cliffs)
--- ***** ----- 
-- ******* ---- Linux-5.0.0-37-generic-x86_64-with-debian-buster-sid 2020-01-03 19:10:18
- *** --- * --- 
- ** ---------- [config]
- ** ---------- .&gt; app:         infrence:0x7f1e39811be0
- ** ---------- .&gt; transport:   sqs://***:**@localhost//
- ** ---------- .&gt; results:     disabled://
- *** --- * --- .&gt; concurrency: 8 (prefork)
-- ******* ---- .&gt; task events: OFF (enable -E to monitor tasks in this worker)
--- ***** ----- 
 -------------- [queues]
                .&gt; default        exchange=default(direct) key=default
                

[tasks]
  . app.add

[2020-01-03 19:10:19,095: INFO/MainProcess] Connected to sqs://***:**@localhost//
[2020-01-03 19:10:19,369: INFO/MainProcess] celery@kidzik-XPS-8900 ready.
Segmentation fault (core dumped)"><pre class="notranslate"><code class="notranslate"> -------------- celery@kidzik-XPS-8900 v4.4.0 (cliffs)
--- ***** ----- 
-- ******* ---- Linux-5.0.0-37-generic-x86_64-with-debian-buster-sid 2020-01-03 19:10:18
- *** --- * --- 
- ** ---------- [config]
- ** ---------- .&gt; app:         infrence:0x7f1e39811be0
- ** ---------- .&gt; transport:   sqs://***:**@localhost//
- ** ---------- .&gt; results:     disabled://
- *** --- * --- .&gt; concurrency: 8 (prefork)
-- ******* ---- .&gt; task events: OFF (enable -E to monitor tasks in this worker)
--- ***** ----- 
 -------------- [queues]
                .&gt; default        exchange=default(direct) key=default
                

[tasks]
  . app.add

[2020-01-03 19:10:19,095: INFO/MainProcess] Connected to sqs://***:**@localhost//
[2020-01-03 19:10:19,369: INFO/MainProcess] celery@kidzik-XPS-8900 ready.
Segmentation fault (core dumped)
</code></pre></div>