Heroku app giving 503 service unavailable error on postman on hitting the django apiWhat does error mean? : “Forbidden (Referer checking failed - no Referer.):”Unable to deploy django app on herokuDjango: 503 Service UnavailableHTTP Error 503 in Django on heroku appDjango app on heroku shows dyno is up and running, but when I open the app's URL it displays 'Server Error (500)'Cant find pg_config even after installing Postgres 9.5django heroku, import error: no module named photos.appsConnection to PostgreSQL with python3 over SSHDjango App on heroku :Application ErrorHeroku Postgresql DatabaseDjango App crashes when deployed to Heroku - Worker failed to boot

Is there an explanation for Austria's Freedom Party virtually retaining its vote share despite recent scandal?

Are there regional foods in Westeros?

Expenditure in Poland - Forex doesn't have Zloty

Are UK pensions taxed twice?

Team member doesn't give me the minimum time to complete a talk

Did airlines fly their aircraft slower in response to oil prices in the 1970s?

Looking after a wayward brother in mother's will

Can't connect to Internet in bash using Mac OS

Can you move on your turn, and then use the Ready Action to move again on another creature's turn?

What is the indigenous Russian word for a wild boar?

Is the world in Game of Thrones spherical or flat?

What does "Marchentalender" on the front of a postcard mean?

What is/are this/these giant NASA box(es)?

Why would Lupin kill Pettigrew?

What does it mean when you think without speaking?

How to prevent bad sectors?

Asking bank to reduce APR instead of increasing credit limit

Is floating in space similar to falling under gravity?

A "distinguishing" family of subsets

Uncommanded roll at high speed

Modern approach to radio buttons

Term for checking piece whose opponent daren't capture it

Is having a hidden directory under /etc safe?

Different PCB color ( is it different material? )



Heroku app giving 503 service unavailable error on postman on hitting the django api


What does error mean? : “Forbidden (Referer checking failed - no Referer.):”Unable to deploy django app on herokuDjango: 503 Service UnavailableHTTP Error 503 in Django on heroku appDjango app on heroku shows dyno is up and running, but when I open the app's URL it displays 'Server Error (500)'Cant find pg_config even after installing Postgres 9.5django heroku, import error: no module named photos.appsConnection to PostgreSQL with python3 over SSHDjango App on heroku :Application ErrorHeroku Postgresql DatabaseDjango App crashes when deployed to Heroku - Worker failed to boot






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I tried to deploy django app on heroku and on running the app through postman received the error as: 503 Service Unavailable.



Logs:



2019-03-24T09:48:32.793173+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-03-24T09:48:32.793191+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Listening at: http://0.0.0.0:25659 (4)
2019-03-24T09:48:32.793192+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Using worker: sync
2019-03-24T09:48:32.793194+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [10] [INFO] Booting worker with pid: 10
2019-03-24T09:48:32.868969+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [11] [INFO] Booting worker with pid: 11
2019-03-24T09:48:33.226325+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.226366+00:00 app[web.1]: """)
2019-03-24T09:48:33.314368+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.314372+00:00 app[web.1]: """)
2019-03-24T09:48:34.434383+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/admin/categoryform" host=appname.herokuapp.com request_id=c7c71191-ab20-47be-ad56-565854dc6008 fwd="103.87.57.16" dyno=web.1 connect=0ms service=485ms status=503 bytes=0 protocol=https
2019-03-24T09:48:34.431881+00:00 app[web.1]: Forbidden (Referer checking failed - no Referer.): /admin/categoryform
2019-03-24T09:48:34.432837+00:00 app[web.1]: 10.10.113.175 - - [24/Mar/2019:09:48:34 +0000] "POST /admin/categoryform HTTP/1.1" 403 3388 "-" "PostmanRuntime/7.1.1"









share|improve this question
























  • In the Heroku dashboard is your application running or not? You can attempt to correct the stack error by following its advice as modifying your requirements.txt to psycopg2-binary this will correct the Postgres warning. I’m assuming this is free tier service the H13 error is a timeout, your application may be sleeping and can’t address the immediate API call, be sure you have run your application then reattempt the postman call.

    – Chuck LaPress
    Mar 24 at 12:08











  • Possible duplicate of What does error mean? : "Forbidden (Referer checking failed - no Referer.):"

    – Chris
    Mar 24 at 12:22

















0















I tried to deploy django app on heroku and on running the app through postman received the error as: 503 Service Unavailable.



Logs:



2019-03-24T09:48:32.793173+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-03-24T09:48:32.793191+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Listening at: http://0.0.0.0:25659 (4)
2019-03-24T09:48:32.793192+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Using worker: sync
2019-03-24T09:48:32.793194+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [10] [INFO] Booting worker with pid: 10
2019-03-24T09:48:32.868969+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [11] [INFO] Booting worker with pid: 11
2019-03-24T09:48:33.226325+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.226366+00:00 app[web.1]: """)
2019-03-24T09:48:33.314368+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.314372+00:00 app[web.1]: """)
2019-03-24T09:48:34.434383+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/admin/categoryform" host=appname.herokuapp.com request_id=c7c71191-ab20-47be-ad56-565854dc6008 fwd="103.87.57.16" dyno=web.1 connect=0ms service=485ms status=503 bytes=0 protocol=https
2019-03-24T09:48:34.431881+00:00 app[web.1]: Forbidden (Referer checking failed - no Referer.): /admin/categoryform
2019-03-24T09:48:34.432837+00:00 app[web.1]: 10.10.113.175 - - [24/Mar/2019:09:48:34 +0000] "POST /admin/categoryform HTTP/1.1" 403 3388 "-" "PostmanRuntime/7.1.1"









share|improve this question
























  • In the Heroku dashboard is your application running or not? You can attempt to correct the stack error by following its advice as modifying your requirements.txt to psycopg2-binary this will correct the Postgres warning. I’m assuming this is free tier service the H13 error is a timeout, your application may be sleeping and can’t address the immediate API call, be sure you have run your application then reattempt the postman call.

    – Chuck LaPress
    Mar 24 at 12:08











  • Possible duplicate of What does error mean? : "Forbidden (Referer checking failed - no Referer.):"

    – Chris
    Mar 24 at 12:22













0












0








0








I tried to deploy django app on heroku and on running the app through postman received the error as: 503 Service Unavailable.



Logs:



2019-03-24T09:48:32.793173+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-03-24T09:48:32.793191+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Listening at: http://0.0.0.0:25659 (4)
2019-03-24T09:48:32.793192+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Using worker: sync
2019-03-24T09:48:32.793194+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [10] [INFO] Booting worker with pid: 10
2019-03-24T09:48:32.868969+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [11] [INFO] Booting worker with pid: 11
2019-03-24T09:48:33.226325+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.226366+00:00 app[web.1]: """)
2019-03-24T09:48:33.314368+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.314372+00:00 app[web.1]: """)
2019-03-24T09:48:34.434383+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/admin/categoryform" host=appname.herokuapp.com request_id=c7c71191-ab20-47be-ad56-565854dc6008 fwd="103.87.57.16" dyno=web.1 connect=0ms service=485ms status=503 bytes=0 protocol=https
2019-03-24T09:48:34.431881+00:00 app[web.1]: Forbidden (Referer checking failed - no Referer.): /admin/categoryform
2019-03-24T09:48:34.432837+00:00 app[web.1]: 10.10.113.175 - - [24/Mar/2019:09:48:34 +0000] "POST /admin/categoryform HTTP/1.1" 403 3388 "-" "PostmanRuntime/7.1.1"









share|improve this question
















I tried to deploy django app on heroku and on running the app through postman received the error as: 503 Service Unavailable.



Logs:



2019-03-24T09:48:32.793173+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Starting gunicorn 19.9.0
2019-03-24T09:48:32.793191+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Listening at: http://0.0.0.0:25659 (4)
2019-03-24T09:48:32.793192+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [4] [INFO] Using worker: sync
2019-03-24T09:48:32.793194+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [10] [INFO] Booting worker with pid: 10
2019-03-24T09:48:32.868969+00:00 app[web.1]: [2019-03-24 09:48:32 +0000] [11] [INFO] Booting worker with pid: 11
2019-03-24T09:48:33.226325+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.226366+00:00 app[web.1]: """)
2019-03-24T09:48:33.314368+00:00 app[web.1]: /app/.heroku/python/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
2019-03-24T09:48:33.314372+00:00 app[web.1]: """)
2019-03-24T09:48:34.434383+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=POST path="/admin/categoryform" host=appname.herokuapp.com request_id=c7c71191-ab20-47be-ad56-565854dc6008 fwd="103.87.57.16" dyno=web.1 connect=0ms service=485ms status=503 bytes=0 protocol=https
2019-03-24T09:48:34.431881+00:00 app[web.1]: Forbidden (Referer checking failed - no Referer.): /admin/categoryform
2019-03-24T09:48:34.432837+00:00 app[web.1]: 10.10.113.175 - - [24/Mar/2019:09:48:34 +0000] "POST /admin/categoryform HTTP/1.1" 403 3388 "-" "PostmanRuntime/7.1.1"






python django heroku heroku-cli






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 24 at 12:20









Chris

61.6k18129123




61.6k18129123










asked Mar 24 at 9:53









Ramanpreet SinghRamanpreet Singh

134




134












  • In the Heroku dashboard is your application running or not? You can attempt to correct the stack error by following its advice as modifying your requirements.txt to psycopg2-binary this will correct the Postgres warning. I’m assuming this is free tier service the H13 error is a timeout, your application may be sleeping and can’t address the immediate API call, be sure you have run your application then reattempt the postman call.

    – Chuck LaPress
    Mar 24 at 12:08











  • Possible duplicate of What does error mean? : "Forbidden (Referer checking failed - no Referer.):"

    – Chris
    Mar 24 at 12:22

















  • In the Heroku dashboard is your application running or not? You can attempt to correct the stack error by following its advice as modifying your requirements.txt to psycopg2-binary this will correct the Postgres warning. I’m assuming this is free tier service the H13 error is a timeout, your application may be sleeping and can’t address the immediate API call, be sure you have run your application then reattempt the postman call.

    – Chuck LaPress
    Mar 24 at 12:08











  • Possible duplicate of What does error mean? : "Forbidden (Referer checking failed - no Referer.):"

    – Chris
    Mar 24 at 12:22
















In the Heroku dashboard is your application running or not? You can attempt to correct the stack error by following its advice as modifying your requirements.txt to psycopg2-binary this will correct the Postgres warning. I’m assuming this is free tier service the H13 error is a timeout, your application may be sleeping and can’t address the immediate API call, be sure you have run your application then reattempt the postman call.

– Chuck LaPress
Mar 24 at 12:08





In the Heroku dashboard is your application running or not? You can attempt to correct the stack error by following its advice as modifying your requirements.txt to psycopg2-binary this will correct the Postgres warning. I’m assuming this is free tier service the H13 error is a timeout, your application may be sleeping and can’t address the immediate API call, be sure you have run your application then reattempt the postman call.

– Chuck LaPress
Mar 24 at 12:08













Possible duplicate of What does error mean? : "Forbidden (Referer checking failed - no Referer.):"

– Chris
Mar 24 at 12:22





Possible duplicate of What does error mean? : "Forbidden (Referer checking failed - no Referer.):"

– Chris
Mar 24 at 12:22












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55322540%2fheroku-app-giving-503-service-unavailable-error-on-postman-on-hitting-the-django%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55322540%2fheroku-app-giving-503-service-unavailable-error-on-postman-on-hitting-the-django%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript