Skip to content

DNS lookup failure dns.js:82 #4545

@allthetime

Description

@allthetime
TypeError: Cannot read property 'indexOf' of undefined    
 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:82:51)

here's the relevant line in node.js lib (https://github.com/nodejs/node/blob/master/lib/dns.js#L82)

I have a bot running that polls an sftp server for the existence of a file that is uploaded daily. It connects to socketio so that it can make posts to our main app.

It has suddenly not been working properly for the last 3 days. We have made no changes to the relevant code for a couple of weeks and the stack trace is incredibly unhelpful as it doesn't show what initiated it.

This seems to be happening before the request to the sftp server is made because I would be getting more feedback/logs. The bot successfully connects to our socket server as well, so I'm at a loss for where DNS is even being hit.

connect to socket io --> poll sftp server --> grab file when ready

is all that is happening, so it seems something is happening in the nodejs blackbox between step one and two...

any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    dnsIssues and PRs related to the dns subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions