Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittently crash when refreshing #177

Open
lukasjhan opened this issue Dec 31, 2023 · 0 comments
Open

Intermittently crash when refreshing #177

lukasjhan opened this issue Dec 31, 2023 · 0 comments

Comments

@lukasjhan
Copy link

Hi! @PabloLec

Sometimes, a crash occurs while using your awesome project.
The crash occurs when I refresh statistics by clicking r

Here is some call stacks

Error: getHostByAddr EINVAL syd09s13-in-f164.1e100.net
    at ResolverBase.getHostByAddr (node:internal/dns/callback_resolver:74:20)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:69:31
    at Generator.next (<anonymous>)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:4:12)
    at reverseNSLookup (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:67:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:44:15)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:5:58)
❯ neoss
Error: getHostByAddr EINVAL bns1.hananet.net
    at ResolverBase.getHostByAddr (node:internal/dns/callback_resolver:74:20)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:69:31
    at Generator.next (<anonymous>)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:4:12)
    at reverseNSLookup (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:67:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:44:15)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:5:58)
❯ neoss
Error: getHostByAddr EINVAL kix06s05-in-f14.1e100.net
    at ResolverBase.getHostByAddr (node:internal/dns/callback_resolver:74:20)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:69:31
    at Generator.next (<anonymous>)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:4:12)
    at reverseNSLookup (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:67:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:44:15)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:5:58)
❯ neoss
Error: getHostByAddr EINVAL ec2-3-90-158-208.compute-1.amazonaws.com
    at ResolverBase.getHostByAddr (node:internal/dns/callback_resolver:74:20)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:69:31
    at Generator.next (<anonymous>)
    at /usr/local/lib/node_modules/neoss/build/utils/getStats.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:4:12)
    at reverseNSLookup (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:67:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:44:15)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/neoss/build/utils/getStats.js:5:58)

It looks like an exception occur during resolving DNS.

Here is my computer environment

❯ node -v
v18.18.2
❯ npm -v
9.8.1
❯ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy
❯ uname -a
Linux unknown-ubuntu 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

It's okay to fix it yourself, but if you can't reproduce it, just tell me how to run the project locally and I'll try to debug it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant