Code Monkey home page Code Monkey logo

cjdnstool's Issues

Ping of nonexistant domain prints a stack trace

notgay:cjdnstool user$ cjdnstool resolve irc.fc00 -v
Resolving irc.fc00
resolving irc.fc00 to ipv6
Error: Error: getaddrinfo ENOTFOUND irc.fc00
Error: NXDOMAIN
dgram.js:530
    throw new Error('Not running'); // error message from dgram_legacy.js
    ^

Error: Not running
    at Socket._healthCheck (dgram.js:530:11)
    at Socket.close (dgram.js:424:8)
    at Object.cjdns.disconnect (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/cjdnsadmin/index.js:210:53)
    at nt (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/index.js:405:35)
    at Object.nThen (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/nthen/index.js:37:21)
    at nThen (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/nthen/index.js:67:16)
    at Object.disconnect (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/index.js:404:21)
    at cjdnstool.resolve (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/resolve.js:34:23)
    at nThen.nThen.nThen.nThen.nThen (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/index.js:298:13)
    at /Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/nthen/index.js:25:30
notgay:cjdnstool user$

If the password is wrong or there is no cjdns node present, the error message is unhelpful.

notgay:cjdnstool user$ cjdnstool resolve irc.fc00.io
Resolving irc.fc00.io
/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/index.js:56
        if (err) { throw err; }
                   ^

Error: From cjdns: {"error":"No functions matched your request, try Admin_availableFunctions()","txid":"3245791936"}
    at cjdns.UpperDistributor_listHandlers (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/cjdnsniff/index.js:55:22)
    at Object.callback (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/saferphore/index.js:16:34)
    at Socket.<anonymous> (/Users/user/.nvm/versions/node/v6.5.0/lib/node_modules/cjdnstool/node_modules/cjdnsadmin/index.js:200:17)
    at emitTwo (events.js:106:13)
    at Socket.emit (events.js:191:7)
    at UDP.onMessage (dgram.js:550:8)
notgay:cjdnstool user$

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.