Git Product home page Git Product logo

Comments (4)

ReedD avatar ReedD commented on July 20, 2024

@markosii I've never seen that error. Try running it with DEBUG on:

DEBUG=crawler:* ./crawl -u https://www.dadoune.com

And see if there is more info.

from crawler.

markosii avatar markosii commented on July 20, 2024

Thanks for reply,

I just did this :

DEBUG=crawler:* ./crawl -u https://www.dadoune.com

and I have this error :


crawler:mongo Drop page collection +0ms
(node:130492) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): MongoError: ns not found
(node:130492) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
    at Object._errnoException (util.js:1041:11)
    at _exceptionWithHostPort (util.js:1064:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1153:14)



from crawler.

5shekel avatar 5shekel commented on July 20, 2024

my experience a bit different.
DEBUG=crawler:* ./crawl -u https://www.dadoune.com
after complaining it didn't have mongod running
(node:11337) UnhandledPromiseRejectionWarning: MongoError: failed to connect to server [localhost:27017] on firstconnect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

i installed and started mongodb
pacman -S mongdb && systemctl start mongodb

then i get

events.js:167
      throw er; // Unhandled 'error' event
      ^

Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1121:14)
Emitted 'error' event at:
    at RedisClient.on_error (/home/yair/dev/crawler/node_modules/redis/index.js:406:14)
    at Socket.<anonymous> (/home/yair/dev/crawler/node_modules/redis/index.js:279:14)
    at Socket.emit (events.js:182:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process.internalTickCallback (internal/process/next_tick.js:72:19)

from crawler.

ReedD avatar ReedD commented on July 20, 2024

Do you have redis installed and running? If not you need to.

from crawler.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.