Ask PG: Are there IP blocks?
I feel a little silly submitting this via Ask, but I don't see any other way to ask this.
Yesterday, I was no longer able to reach HN via my work wifi. I can ping HN and get responses, but the web server explicitly sends nothing back:
% curl http://news.ycombinator.com
curl: (52) Empty reply from server
I can still see HN through other networks (I'm doing this currently through my wifi hotspot), and apparently am still active.Has a block been placed on my work network? I have captured the work network's root IP address if it's needed.
29 comments
[ 4.5 ms ] story [ 66.5 ms ] threadIs there a proxy at work? I was experimenting with an HTTP proxy as part of my thesis work a few weeks ago and found similar results. I didn't end up ever solving my problem though...
I am also checking that hypothesis, but news.yc is the only site returning an empty result from my normal reading list.
Until this morning, I had a hn-related Chrome extension installed that could have been misbehaving.
Some users may remember that the site had gotten really slow a few weeks ago. One of the reasons it's faster now is that we cracked down on crawlers.
If HN could give back json instead of html I'm guessing a lot of the crawling could be mitigated to client side. Kind of like appending .json to everything on reddit
I don't know if you'd consider releasing it for anyone to install on their own server, and if pg would be fine with that solution. (assuming that each page load would dynamically scrape a single page on ycombinator.com)
edit: of course, it might still have its issues if a lot of people were to host it with the same host…
Another solution would be for pg to add a mobile stylesheet. That's honestly the only reason why I would need it.
Here is the extension: https://chrome.google.com/webstore/detail/hhedbplnihmkekhgma...
Next day, no HN, so I spent the next week browsing HN on Firefox with a proxy setup through an EC2 instance. Thankfully, my IP changed or the ban is gone.
For what I was doing the HNSearch API wouldn't have helped, but if there was an API like the one at ihackernews.com that's running and live, that'd be great.
We use ipban but that is not what we want: we want a system which can easily detected "bad" crawler or "abusing" user and ban them for some time.
As of now, we have a simple script going thru apache logs and sending list us list of IP and their activity.
Have you tried loading: https://news.ycombinator.com/?