Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7649571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:00:01+00:00 2026-05-31T11:00:01+00:00

I have a webhook which takes a little time to complete (around 5 minutes).

  • 0

I have a webhook which takes a little time to complete (around 5 minutes). However, the request gets timeout after around 30 seconds.

I am on a shared hosting with HostGator and using FCGI for deployment.

I think the request gets timed-out as there is not HTTPResponse until the request is processed. If I can generate some HTTPResponse from view while the request is processed, the script might be able to run longer.

[P.S.: Earlier I tried Google App Engine, where using print 'hi' would print ‘hi’ in browser instead of logging it. Is the same possible with Django. Doing so might send response even while the request completes.] (I was told on Django IRC that even I was able to get print to send message as response, it will only throw out when Httpresponse is returned.) Thus it was suggested to use Httpresponse with an iterable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:00:02+00:00Added an answer on May 31, 2026 at 11:00 am

    The guys at Django IRC told to use HttpResponse with a generator to continuously send an output and thus prevent the script from idle-timeout.

    The code for using Httpresponse with generator has been wonderfully described here and here.

    Thanks everyone!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have written this little class, which generates a UUID every time an object of
Have deployed numerous report parts which reference the same view however one of them
After a webhook (XML) trigger, I have a PHP code doing the following treatment:
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
Have two tables say ABC and XYZ and contain one column which data will
I have a setup in which the user may or may not log on
Have a web service that implements REST (sort of) , Client request is made
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have a n-tire web application and search often times out after 30 secs. How
I have a GitHub repository which I would like to have notify Jenkins of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.