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 9257993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:16:51+00:00 2026-06-18T12:16:51+00:00

I created a Facebook-style URL scraper for posting content. When someone inputs a URL

  • 0

I created a Facebook-style URL scraper for posting content.

When someone inputs a URL it will send a request and, in the backend, I use Nokogiri to scrape the URL to pull information to construct the post.

It works fine for all other websites like apple.com, sony.com, but when I use a link from my origin domain (“mywebsite.com”) it times out, no error is displayed besides Heroku timing out the request after 30 secs. If I scrape my domain from my localhost on my computer it works.

Is there some kind of origin rule preventing Nokogiri from scraping pages origination from the same domain?

I’m using Ruby On Rails 3.1.10, Nokogiri 1.4.7 and Heroku Cedar Stack.

  • 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-06-18T12:16:52+00:00Added an answer on June 18, 2026 at 12:16 pm

    Is the scraping run in a background job or via a web worker? Do you have only 1 dyno? If your app has only 1 web worker then it might be busy trying to scrape and therefore can’t serve the page.

    Try scaling your dynos to 2 and see if the problem persists.

    heroku ps:scale web=2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a Facebook Application, i set the canvas url domain to the website
I've created a Facebook/Twitter style status update where the new Status' get added to
I created a facebook app and i configured the following: IFrame Size: Resizable Canvas
I created a Facebook canvas app. I tried using the app as a user.
I have created a facebook website open graph application for my website www.heyngine.com. The
I have created a Facebook app, added it to a Facebook Fan page and
I have created a Facebook App and a Facebook Page for a company. What
I have successfully created a custom Facebook open graph action, and have been able
I created a sinatra based facebook app on Heroku by initiating it with the
I created an APP on Facebook and using graph API explorer, I selected my

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.