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

It seems that you are offline #21

Open
LOG1CA opened this issue Nov 30, 2022 · 3 comments
Open

It seems that you are offline #21

LOG1CA opened this issue Nov 30, 2022 · 3 comments

Comments

@LOG1CA
Copy link

LOG1CA commented Nov 30, 2022

No description provided.

@roccomuso
Copy link
Owner

Screenshot?
are you connected when using it?

@LOG1CA
Copy link
Author

LOG1CA commented Nov 30, 2022

Screenshot?

are you connected when using it?

Yes, I'm connected

@roccomuso
Copy link
Owner

provide more info. Otherwise will be hard to debug.
Try to execute this on a node shell:

exports.isOnline = function (cb) {
require('dns').lookup('google.com', function (err) {
if (err && err.code === 'ENOTFOUND') {
cb(null, false)
} else {
cb(null, true)
}
})
}

That's how kickthemout checks if you're connected.

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

2 participants