aquasecurity / aquasecurity/cloudsploit

getaddrinfo EAI_AGAIN

Open
#2,088 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
751
Avg merge
11d 9h
Merged PRs (30d)
3

Description

I am trying to scan OCI and getting the error below. I have tried with current version as well as 3.4.0.

rror: getaddrinfo EAI_AGAIN iaas.us-sanjose-1.oraclecloud.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26)
Emitted 'error' event on ClientRequest instance at:
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:517:28)
at TLSSocket.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -3001,
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'iaas.us-sanjose-1.oraclecloud.com'
}

Quick research shows DNS time out issue. Before I start down a rabbit hole, has anyone seen and resolved?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing an OCI scan with the current version and inspect the Node.js DNS error for iaas.us-sanjose-1.oraclecloud.com. Check whether the hostname resolves reliably in the scan environment and determine whether the failure is environmental or requires a CloudSploit change; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cloud, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.