request failing after a while.
See original GitHub issueHi , 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:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
After profiling i basically found that system ran out of memory due to memory leak in loadash that was used in cheerio.
Thanks, probably not much we can do about that.