Skip to content

Unhandled promise rejection (rejection id: 2): Error: connect EINVAL 0.0.31.182:443 #1

Open
@szotsaki

Description

@szotsaki

I followed the instructions given and node fetch-submissions.js gives me the following:

(node:18346) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: connect EINVAL 0.0.31.182:443 - Local (0.0.0.0:0)
(node:18346) [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.

host gives me:

$> host.leetcode.com
leetcode.com has address 104.27.161.90
leetcode.com has address 104.27.160.90
leetcode.com has IPv6 address 2400:cb00:2048:1::681b:a15a
leetcode.com has IPv6 address 2400:cb00:2048:1::681b:a05a

Pinging it:

$> ping leetcode.com
PING leetcode.com(2400:cb00:2048:1::681b:a05a (2400:cb00:2048:1::681b:a05a)) 56 data bytes
64 bytes from 2400:cb00:2048:1::681b:a05a (2400:cb00:2048:1::681b:a05a): icmp_seq=1 ttl=56 time=2.75 ms

node version: v8.9.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions