News for hackers. Stuff that matters.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by mmathias on Saturday April 15, 2017 @04:26PM (#14122657)
That's odd. UrlRoulette does some sanity checking on the content of the URL. Thank you for this bug report!
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by artursapek on Saturday April 15, 2017 @04:56PM (#14122822)
https://cryptowat.ch fails too. seems to fail at very basic URL parsing.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by bigbugbag on Sunday April 16, 2017 @06:32AM (#14125233)
it fails at a lot of other basic things: I was unable to post anything because my firefox 52 is not supported to get a recaptcha challenge.

  Please upgrade to a supported browser to get a reCAPTCHA challenge.

  Alternatively if you think you are getting this page in   
  error, please check your internet connection and reload.

I could reload to infinity, this would not fix this broken website or change the useless error message.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by Clex on Saturday April 15, 2017 @04:56PM (#14122820)
You test the URL with a HEAD method that often 404. You should try with GET instead.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by hk__2 on Saturday April 15, 2017 @05:11PM (#14122884)
A server should respond with the same headers to a HEAD request as to a GET one.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by tyingq on Saturday April 15, 2017 @05:20PM (#14122924)
They should, but many good sites just don't, for whatever reason. Even ones you know are run by smart people:

  $ curl -I -X HEAD https://redis.io/
  HTTP/1.1 404 Not Found
For this app, being more forgiving is a better idea.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by jaredsohn on Saturday April 15, 2017 @05:33PM (#14122964)
https://www.stumbleupon.com had a similar issue.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by Daviey on Saturday April 15, 2017 @05:19PM (#14122919)
SHOULD and DOES are not the same thing.

Returning 405 'Method Not Allowed' on a HEAD isn't unreasonable, and that is the issue we are seeing.

EDIT: did say GET on prior edit.

Re:Show HN: UrlRoulette – Pass a URL to the next visitor by hk__2 on Saturday April 15, 2017 @05:57PM (#14123075)
> Returning 405 'Method Not Allowed' on a GET isn't unreasonable

I think you meant "on a HEAD".

Re:Show HN: UrlRoulette – Pass a URL to the next visitor by Daviey on Saturday April 15, 2017 @06:25PM (#14123181)
er yes, my bad. Fixed
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by Nycto on Saturday April 15, 2017 @05:36PM (#14122978)
Fails for Amazon URLs, too (And no, I didn't include a referral link in there.)
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by tyingq on Saturday April 15, 2017 @05:56PM (#14123067)
Amazon rejects obvious non real browser user agents. This app tries to verify urls before putting them in the queue. I think they may have more anti scraper measures as well.
Re:Show HN: UrlRoulette – Pass a URL to the next visitor by Lorenzo45 on Saturday April 15, 2017 @04:50PM (#14122792)
I also had it fail for www.autodraw.com