0

I have three different processes to crawl feeds, comments and reactions from Facebook. My code is working fine on 2 laptops. But in the 3rd laptop for comment crawling process, it shows this error.

RequestError: Connection lost - read ECONNRESET

For other two processes, no such error occurs.

Here is my config.js file

var config = {
    dbconfig: {
        uid: '****',
        pass: '****',
        host: '****',
        db: '****',
        requestTimeout: 999999999,
    },
    serverPort: 5000,
    processInterval: 1000

}

1 Answer 1

1

The problem was with Nodejs version. I was using version 10.16.3 while other laptop where the problem was occurring was using 12.****. It worked fine when we changed the nodejs version.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.