question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

request failing after a while.

See original GitHub issue

Hi , i use this module in my web scraper and it works fine for a while but then all requests start failing, i first thought it may be that the host is blocking but i tried and i could still access the same url that is failing with sync-request. hear is the error i get: TypeError: Cannot read property 'toString' of null at doRequest (/home/ubuntu/testdir/tvguide/node_modules/sync-request/index.js:27:31)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Ashishjshettycommented, Jun 15, 2016

After profiling i basically found that system ran out of memory due to memory leak in loadash that was used in cheerio.

0reactions
ForbesLindesaycommented, Jun 15, 2016

Thanks, probably not much we can do about that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP request fails even if the connection is active
After that that http request is made, all others fail after timeout with UnknownHostException error, as if they no longer have access to...
Read more >
How do you know what's gone wrong when your API request ...
Your request was valid, but due to a server bug the server thinks it wasn't; Your request was valid, but asked for something...
Read more >
https.request failed for certain URL after first visting #8368
This happens only when requests are "slow" and long enough to collide, such as the one from weixin.qq.com. With faster server such as...
Read more >
500 Internal Server Error | Apigee Edge
Examine the request and select the specific policy that has failed or the flow named "Error" that is immediately following the failed policy ......
Read more >
Error 'Failed to send request' or unable to login with Data Loader
Failed to send request. This may be resolved by updating Data Loader Settings and working in conjunction with your network administrator. Resolution.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found