Skip to content

Instantly share code, notes, and snippets.

@romanblanco
Created April 28, 2020 12:39
Show Gist options
  • Save romanblanco/f14d76ade9b02bb5aa004e6528d25dad to your computer and use it in GitHub Desktop.
Save romanblanco/f14d76ade9b02bb5aa004e6528d25dad to your computer and use it in GitHub Desktop.
GET /api/automation-hub/v3/_ui/synclists/?offset=0&limit=10 HTTP/1.1
Host: ci.foo.redhat.com:1337
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
DNT: 1
Connection: keep-alive
Referer: https://ci.foo.redhat.com:1337/ansible/automation-hub/?page_size=12&view_type=card
Cookie: AMCV_945D02BE532957400A490D4C%40AdobeOrg=1075005958%7CMCIDTS%7C18380%7CMCMID%7C60787030052646459184468251436365527716%7CMCAAMLH-1588675417%7C7%7CMCAAMB-1588675417%7C6G1ynYcLPuiQxYZrsz_pkqfLG9yMXBpb2zX5dvJdYQJzPXImdj0y%7CMCOPTOUT-1588077817s%7CNONE%7CvVersion%7C4.4.1%7CMCSYNCSOP%7C411-18387%7CMCAID%7CNONE%7CMCCIDH%7C290183859; scCidHist=701f2000001Css0AAC%7C701f2000000tyBjAAI%7C701f2000001Css0AAC; _gcl_au=1.1.2109657408.1584109569; notice_preferences=2:; notice_gdpr_prefs=0,1,2:; cmapi_gtm_bl=; cmapi_cookie_privacy=permit 1,2,3; mbox=PC#12c6ae06b2cf45019101065f340d4025.17_0#1651231601|session#e06054e2e7b94c93a9fdf3da84b3d897#1588072479; sat_prevInternalCampaign=; dtm_prevProp=sso.qa.redhat.com%7Cci.foo.redhat.com%7Csso.qa.redhat.com%7Csso.qa.redhat.com%7Csso.qa.redhat.com; csrftoken=JZVoqAVJkXcFrmVnu8zwgXB6dI7iEeiuImWiElQviM6Irr2yKcyBMjEiFDwPjS16; _ga=GA1.2.1538541038.1585557575; _hjid=29698ac9-2a53-4b92-9585-97bac65e6647; rh_omni_tc=701f2000001Css0AAC; io=01RarpHPnMAC37DdAAAn; AMCVS_945D02BE532957400A490D4C%40AdobeOrg=1; dtm_prevURL=https%3A%2F%2Fci.foo.redhat.com%3A1337%2Fansible%2Fautomation-hub%2F; sat_prevExtCmp=no%20value; s_cc=true; s_sq=redhatglobaldtmstage%3D%2526pid%253Dci.foo.redhat.com%25257Cansible%25257Cautomation-hub%2526pidt%253D1%2526oid%253Dfunctionnoop%252528%252529%25257B%25257D%2526oidt%253D2%2526ot%253DSVG; check=true; sat_ppv=100; bd2e829019cc5851647126f4f0834941=bd6b1f401613a6431de66a11a62778d5; tabstyle=raw-tab; kc_authenticated=E5B277CD6E2BB15A9F73726A5F740042FE82A3678F80CC02B5C41A05D86643F5; cs_loggedOut=false; sat_prevUrl=https%3A%2F%2Fci.foo.redhat.com%3A1337%2Fansible%2Fautomation-hub%2F; sat_prevPage=ci.foo.redhat.com%7Cansible%7Cautomation-hub; rh_user="ansible-insights|ansible|P|"; rh_locale=en_US; rh_user_id=52733533; rh_sso_session=1; cs_jwt=eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJrUFlibXpCdXVDR1N3TjhKQjRickZMeVlobGNIcE1tWmI1dGZQNXpTUkpZIn0.eyJqdGkiOiI3NTk1OGMwMy1lZmNlLTQyZGMtODEyNS1jZDgwYjA4YWJlZTQiLCJleHAiOjE1ODgwNzIzMzYsIm5iZiI6MCwiaWF0IjoxNTg4MDcxNDM2LCJpc3MiOiJodHRwczovL3Nzby5xYS5yZWRoYXQuY29tL2F1dGgvcmVhbG1zL3JlZGhhdC1leHRlcm5hbCIsImF1ZCI6ImNsb3VkLXNlcnZpY2VzIiwic3ViIjoiZjpkNjFmOGFiOS0xZjc4LTRmYWUtODhmMy0xMmNkMmU1NzZkYTc6YW5zaWJsZS1pbnNpZ2h0cyIsInR5cCI6IkJlYXJlciIsImF6cCI6ImNsb3VkLXNlcnZpY2VzIiwibm9uY2U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Tdz4fPEYIj663ruiwF0QdW1h1TaAUfhjJL-Fnlpg7Fv9gYC0wuJBrMATQ9lDKWTtbHBUojQY4wees0qQpP2GE3tR17tcu7E7QgIFfv8xZ2pF_kzYWmjkP8dDRnvWfLUaqcKrMwW5FGbbL0YElPZ5DHGWMlcmVrMEjT3j2eP8eh3Su2ej4dryKb7yzmGqhcHQwF-JT2n_4Bjy0svVySrz8HA_19Mjcsbn1WKzx7Zf2cDmjbbmPWHGxrwAJOZdfxfpeAQ-veuShWk8i57fvcvNrUHBTGT8zZrybS7nkZwM_zSOTJ-B6xM_Bhg9C3fm3-cgoIcYj9Jpsq1LDT7NCzY1KHBuJqNVc
Pragma: no-cache
Cache-Control: no-cache
----------------------------------------------------------------------------------------------
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Page not found at /api/automation-hub/v3/_ui/synclists/</title>
<meta name="robots" content="NONE,NOARCHIVE">
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background:#eee; color:#000; }
body>div { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; margin-bottom:.4em; }
h1 span { font-size:60%; color:#666; font-weight:normal; }
table { border:none; border-collapse: collapse; width:100%; }
td, th { vertical-align:top; padding:2px 3px; }
th { width:12em; text-align:right; color:#666; padding-right:.5em; }
#info { background:#f6f6f6; }
#info ol { margin: 0.5em 4em; }
#info ol li { font-family: monospace; }
#summary { background: #ffc; }
#explanation { background:#eee; border-bottom: 0px none; }
</style>
</head>
<body>
<div id="summary">
<h1>Page not found <span>(404)</span></h1>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://localhost:5001/api/automation-hub/v3/_ui/synclists/?offset=0&amp;limit=10</td>
</tr>
</table>
</div>
<div id="info">
<p>
Using the URLconf defined in <code>pulpcore.app.urls</code>,
Django tried these URL patterns, in this order:
</p>
<ol>
<li>
^pulp/api/v3/status/
</li>
<li>
^pulp/api/v3/orphans/
</li>
<li>
^auth/
</li>
<li>
^pulp/api/v3/docs/api(?P&lt;format&gt;\.json|\.yaml)
[name='schema-json']
</li>
<li>
^pulp/api/v3/docs/
[name='schema-redoc']
</li>
<li>
^pulp/api/v3/$
</li>
<li>
^pulp/api/v3/
</li>
<li>
^pulp/api/v3/
</li>
<li>
ansible/collections/
</li>
<li>
pulp_ansible/galaxy/&lt;path:path&gt;/api/
</li>
<li>
pulp_ansible/galaxy/&lt;path:path&gt;/api/v1/
</li>
<li>
pulp_ansible/galaxy/&lt;path:path&gt;/api/v2/
</li>
<li>
pulp_ansible/galaxy/&lt;path:path&gt;/api/v3/
</li>
<li>
api/automation-hub/
[name='root']
</li>
<li>
api/automation-hub/
v3/
collections/
[name='collection-list']
</li>
<li>
api/automation-hub/
v3/
collections/&lt;str:namespace&gt;/&lt;str:name&gt;/
[name='collection']
</li>
<li>
api/automation-hub/
v3/
collections/&lt;str:namespace&gt;/&lt;str:name&gt;/versions/
[name='collection-version-list']
</li>
<li>
api/automation-hub/
v3/
collections/&lt;str:namespace&gt;/&lt;str:name&gt;/versions/&lt;str:version&gt;/
[name='collection-version']
</li>
<li>
api/automation-hub/
v3/
imports/collections/&lt;str:pk&gt;/
[name='collection-import']
</li>
<li>
api/automation-hub/
v3/
artifacts/collections/
[name='collection-artifact-upload']
</li>
<li>
api/automation-hub/
v3/
artifacts/collections/&lt;str:filename&gt;
[name='collection-artifact-download']
</li>
<li>
api/automation-hub/
v3/_ui/
^namespaces/$
[name='namespaces-list']
</li>
<li>
api/automation-hub/
v3/_ui/
^namespaces/(?P&lt;name&gt;[^/.]+)/$
[name='namespaces-detail']
</li>
<li>
api/automation-hub/
v3/_ui/
^my-namespaces/$
[name='my-namespaces-list']
</li>
<li>
api/automation-hub/
v3/_ui/
^my-namespaces/(?P&lt;name&gt;[^/.]+)/$
[name='my-namespaces-detail']
</li>
<li>
api/automation-hub/
v3/_ui/
^collections/$
[name='collections-list']
</li>
<li>
api/automation-hub/
v3/_ui/
^collections/(?P&lt;collection&gt;[0-9a-z_]+/[0-9a-z_]+)/$
[name='collections-detail']
</li>
<li>
api/automation-hub/
v3/_ui/
^collection-versions/$
[name='collection-versions-list']
</li>
<li>
api/automation-hub/
v3/_ui/
^collection-versions/(?P&lt;version&gt;[0-9a-z_]+/[0-9a-z_]+/[0-9A-Za-z.+-]+)/$
[name='collection-versions-detail']
</li>
<li>
api/automation-hub/
v3/_ui/
^collection-versions/(?P&lt;version&gt;[0-9a-z_]+/[0-9a-z_]+/[0-9A-Za-z.+-]+)/certified/$
[name='collection-versions-set-certified']
</li>
<li>
api/automation-hub/
v3/_ui/
^imports/collections/$
[name='collection-imports-list']
</li>
<li>
api/automation-hub/
v3/_ui/
^imports/collections/(?P&lt;task_id&gt;[^/.]+)/$
[name='collection-imports-detail']
</li>
<li>
api/automation-hub/
v3/_ui/
^tags/$
[name='tags-list']
</li>
<li>
api/automation-hub/
v3/_ui/
me/
</li>
<li>
api/automation-hub/
api/
</li>
</ol>
<p>
The current path, <code>api/automation-hub/v3/_ui/synclists/</code>, didn't match any of these.
</p>
</div>
<div id="explanation">
<p>
You're seeing this error because you have <code>DEBUG = True</code> in
your Django settings file. Change that to <code>False</code>, and Django
will display a standard 404 page.
</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment