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

Always Succeeds #8

Open
MitchBWeb opened this issue Jul 25, 2016 · 3 comments
Open

Always Succeeds #8

MitchBWeb opened this issue Jul 25, 2016 · 3 comments

Comments

@MitchBWeb
Copy link

When the String URL parameter is given a value of something that truly does not exist, it still succeeds and does not hit the .catch function.

@kowalsk
Copy link

kowalsk commented Nov 22, 2016

Same here - pings not reachable, not existing or incorrect addresses / IP's.

@dev-johnny-gh
Copy link

Chuck Callebs provide an answer here: http://stackoverflow.com/questions/4282151/is-it-possible-to-ping-a-server-from-javascript.

Update 4: It looks as if this implementation is no longer reliable. People are also reporting that Chrome no longer supports it all, throwing a net::ERR_NAME_NOT_RESOLVED error. If someone can verify an alternate solution I will put that as the accepted answer.

@jdfreder
Copy link
Owner

I wonder if it would be possible to fallback to the fetch API to accomplish this...

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

4 participants