aquasecurity / cloudsploit

Cloud Security Posture Management (CSPM)
https://cloud.aquasec.com/signup
GNU General Public License v3.0
3.3k stars 669 forks source link

Collecting metadata. This may take several minutes... events.js:292 throw er; // Unhandled 'error' event ^ Error: connect ETIMEDOUT 138.1.16.150:443 #569

Open Aditya21jan opened 3 years ago

Aditya21jan commented 3 years ago

HI Team,

We have installed and configured the cloudsploit tool with Oracle Cloud Infrastructure (OCI), While generating the report, We are getting below error connect ETIMEOUT Error and also noticed that every time the destination IP address is getting change.

Could you please provide the specific IP address range that need to be whitelist in the egress rule and Route table of the instance to resolve and fix this connection TIMEOUT Error from OCI compute Instance towards the Internet.

We have not added the 0.0.0.0 route and egress rule in the existing route table & security list due to security concern.

######## Console log ######## [root@ins01 cloudsploit-master]# [root@ins01 cloudsploit-master]# ./index.js --config /home/cloudtool/cloudsploit-master/config.js


/ ____ / ____ (_) _ ( __ _ / _ \ / _` ___ \ '_ \ / _ \ __ ____ (_) _ (_ ____) _) (_) ____ _ _/ \,_ _, _____/ .__/ _ ___/ _ __
_

CloudSploit by Aqua Security, Ltd. Cloud security auditing for AWS, Azure, GCP, Oracle, and GitHub

INFO: Using CloudSploit config file: /home/cloudtool/cloudsploit-master/config.js INFO: Skipping AWS pagination mode INFO: Determining API calls to make... INFO: Found 38 API calls to make for oracle plugins INFO: Collecting metadata. This may take several minutes... events.js:292 throw er; // Unhandled 'error' event ^

Error: connect ETIMEDOUT 147.154.238.120:443 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) Emitted 'error' event on ClientRequest instance at: at TLSSocket.socketErrorListener (_http_client.js:469:9) at TLSSocket.emit (events.js:315:20) at TLSSocket.EventEmitter.emit (domain.js:467:12) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:80:21) { errno: -110, code: 'ETIMEDOUT', syscall: 'connect', address: '147.154.238.120', port: 443 } [root@ins01 cloudsploit-master]# [root@ins01 cloudsploit-master]#

Br, Aditya Singh. 9945549518.

Aditya21jan commented 3 years ago

HI Team,

Could you please update the same.

Br, Aditya Singh. 9945549518.

SecurityAddicted commented 1 year ago

Hello, I'm getting the same ETIMEOUT error as shown above. Has anyone got any solution or workaround please? Thanks.

ismaelalfarojr commented 2 days ago

How was this resolved? I am getting same errors.