manu-chroma / username-availability-checker

Live at : https://username-check.herokuapp.com/
95 stars 37 forks source link

OpenHub site error is detected as taken #66

Closed jayvdb closed 6 years ago

jayvdb commented 6 years ago

https://www.openhub.net/accounts/45345345 currently responds with "The Black Duck Open Hub is currently offline"

This actually happens quite a bit, so we should have a way to detect and inform the user that OpenHub cant be checked at the moment.

seeeturtle commented 6 years ago

@jayvdb, there was similar thing with connect.opensuse.org. We should add some code that check if website is unable to use. for example, if taken username is available then the website is unable to use.

jayvdb commented 6 years ago

for example, if taken username is available then the website is unable to use.

Very interesting idea.

manu-chroma commented 6 years ago

+1 for this idea and easy to implement too.

seeeturtle commented 6 years ago

travis build: https://travis-ci.org/manu-chroma/username-availability-checker/builds/325793324 this was a build while connect.opensuse.org was down

manu-chroma commented 6 years ago

when any website goes down unexpectedly, we have error handling for that at https://github.com/manu-chroma/username-availability-checker/blob/master/templates/status.html#L46

seeeturtle commented 6 years ago

not working for websites that reponse 200 even website is down

seeeturtle commented 6 years ago

@jayvdb, can you rename the issue?