9 ms·
Ask PG: Is HN experiencing server problems?
Many Bad Gateway and Server errors today -- any reasons why?
- pg 13y agoIt was, but things seem to be getting better. Our hacker Nick is on the case.
- mck- 13y agoHave you identified the cause?
- pg 13y agoStill investigating, but Nick just turned off the site for non logged-in users to take the load off the system while we try to figure out what's going on.
- zmitri 13y agoIf you don't mind me asking, what percentage of page views are non logged-in users?
- deleted 13y ago[deleted]
- slg 13y agoIt is interesting that this is the exact opposite action Reddit takes when they are having server problems. I wonder what that says about each respective community.
- smackfu 13y agoFrom a technical side, it probably means that Reddit is showing static pages to visitors while HN is showing dynamic ones.
- AlisdairO 13y agoReddit's previously stated that non-logged-in users cause substantially lower resource consumption per user - I imagine that's a more likely explanation.
- oceanplexian 13y agoReddit uses an edge-cache for all logged-out content. They pass logged-in content. A cached HTTP document in something like Varnish should take virtually no resources whatsoever. HN is on Cloudflare but they might not be caching pages at the edge (they should).
- aidos 13y agoPresumably there's only so much caching you can do it this case - the points change on articles every second. Not like everyone has to see the most up to date content but it would be a trade off (that many wouldn't like)
- sp332 13y agoIs it related to the DDoS, or a separate issue?
- pg 13y agoIt's not related so far as we can tell.
- al1x 13y agoWhat do you do to mitigate DDoS attacks? Prolexic? Cloudflare? Other?
- selmnoo 13y agoHN does make use of Cloudflare apparently, I got several not loading messages which made mention of Cloudflare.
- antsar 13y agoTo elaborate, I think they began using Cloudflare just the other day, as a solution to the DDoS. I was able to get through by the time I checked it in the morning from home, but after getting to work I still couldn't access it for hours while the DNS change propagated.
- pa5tabear 13y agoIt's awesome pg responds so quickly... I'm wondering if he gets alerted (probably) or if he's on here a lot (probably). Maybe we could DDOS his alert system with threads about pg rated movies... And an aside- does pg have the most karma of any HN user?
- sp332 13y agopg has 147,000+ karma https://news.ycombinator.com/user?id=pg https://news.ycombinator.com/user?id=pg and the top of the leaderboard is tptacek with 159,000+ https://news.ycombinator.com/leaders https://news.ycombinator.com/leaders
- ozh 13y agohttps://news.ycombinator.com/leaders https://news.ycombinator.com/leaders ... Yet another HN URL that's mostly undisclosed. Sometimes I wonder how many there are.
- dangrossman 13y agoClick "Lists" In the footer of the site; it's no secret.
- fragmede 13y agoIt's incomplete though - https://news.ycombinator.com/classic https://news.ycombinator.com/classic is not listed, for example.
- pa5tabear 13y agoIs there a reason for keeping these hidden? I've also wondered about downvoting... I never see a button for that, but it seems like some people are still able to. Is it just the 'flag'?
- thedufer 13y agoNo, you need a minimum amount of karma for the downvote button to appear. I think its at ~500 now.
- blumentopf 13y agoApart from the outages, the favicon is missing since a few days.
- toomuchtodo 13y agoLooks fine to me: https://news.ycombinator.com/favicon.ico https://news.ycombinator.com/favicon.ico
- elwell 13y agoYou can tell Nick to take his time. I'm having a very productive morning.
- fournm 13y agoSo many defects knocked out this week during the HN issues. I don't know whether to be glad or what.
- aaronblohowiak 13y agoset noprocrast
- pc86 13y agoI just set it, but can someone tell me what it does? :)
- andyjohnson0 13y agoSee http://ycombinator.com/newsfaq.html http://ycombinator.com/newsfaq.html "In my profile, what is noprocrast? It's a way to help you prevent yourself from spending too much time on News.YC. If you turn it on you'll only be allowed to visit the site for maxvisit minutes at a time, with gaps of minaway minutes in between. The defaults are 20 and 180, which would let you view the site for 20 minutes at a time, and then not allow you back in for 3 hours. You can override noprocrast if you want, in which case your visit clock starts over at zero."
- omegant 13y agopg could vastly improve the tech world productivity if he would set a general noprocrast at certain hours.. from 10 to 12:30 and 14 to 16.. The individual noprocrast is not very useful at least for me, as I don´t have the willpower to keep it on..
- myang 13y agoyeah national average productivity jumped up by 50%
- jasonkolb 13y agoCool. I thought maybe it caught something from healthcare.gov servers. It's that time of year you know.
- selmnoo 13y agoBy the way, when you say Nick, you don't mean nickb' (https://news.ycombinator.com/threads?id=nickb https://news.ycombinator.com/threads?id=nickb) do you?
- dublinben 13y agoPage loads are still incredibly slow.
- toomuchtodo 13y agoI'm getting full-on errors: " Yeah, that didn't work. Try again, perhaps later? Bad gateway The web server reported a bad gateway error. Ray ID: c6a435dd44307b5 Your IP address: * Error reference number: 502 CloudFlare Location: Miami "
- deleted 13y ago[deleted]
- randallsquared 13y agoI think I've spotted the problem: you have an asterisk instead of an IP address. :|
- mVChr 13y agoI'm getting similar: Ray ID: c6aa828c05b07d9 Your IP address: [redacted] Error reference number: 502 CloudFlare Location: Los Angeles
- akg_67 13y agoSame error here in Seattle Yeah, that didn't work. Try again, perhaps later? Bad gateway The web server reported a bad gateway error. Ray ID: c6aad60831a051a Your IP address: <redacted> Error reference number: 502 CloudFlare Location: Seattle
- theuri 13y agoExperiencing problems as well - potentially gateway related
- deleted 13y ago[deleted]
- adv0r 13y agoI live in spain, and during last month with my optic fiber connection HN takes around 25 seconds to load. today topped 40 seconds. Is it only me? is it spain? Whats going on? Its becoming frustrating participating in my fav community . Lately i've been cmd+t and browse somewhere else until page loaded.
- xwowsersx 13y agoYeah things were really rocky for me for a couple of days. Down completely yesterday and periodic "bad gateway" messages earlier today. Seems to be working better now. Was refreshing like a crack addict :/
- hallowtech 13y agoThis might be unrelated, but I'm constantly being prompted for captcha even when I'm just viewing and not trying to respond. Can something be done about this?
- TeMPOraL 13y agoWe have captchas on HN?
- krapp 13y agoMight be a cloudflare thing.
- hallowtech 13y agoIt shows up with the HN theme (orange bar at top and beige background) but without other links/text like user info on the right or the footer. I first noticed it the other day when I started using a wired connection at work instead of WiFi.
- krapp 13y agoSo it's not even Recaptcha? Sounds interesting.
- hallowtech 13y agoYea, its recaptcha. I'll try to get a screenshot the next time it happens.
- hallowtech 13y ago> class="cf-captcha-submit" Yea, looks like its a custom CF page. I got the standard CF captcha screen when going to pastebin. Screenshot and HTML source below. Screenshot: http://imgur.com/bylyqlM http://imgur.com/bylyqlM HTML: http://pastebin.com/6HrfCWFY http://pastebin.com/6HrfCWFY
- jjoe 13y agoCF can cause a small DoS as it does some aggressive pre-fetching. So your server needs to handle short bursts really well. Not to mention whitelist CF's IP space both in the firewall and nginx rate limiting.
- heywire 13y agoAbout 5-10 minutes ago, each time I'd refresh I was logged in as another user. On a side note, what's it mean when that user's header is cyan instead of orange?
- kogir 13y agoYeah, that was a caching directive gone wrong. I think I caught it almost immediately though.
- spydertennis 13y agoyou can set the color of your header from your profile page
- heywire 13y agoThere must be a threshold for that, I don't have that setting...
- andrethegiant 13y agoI think it appears once you have 500+ karma
- heywire 13y agoOnly 456 to go...
- oneeyedpigeon 13y agoI think it's 250 (I have 307 and have had it for a while)
- pc86 13y agoadv0r it is taking a long time to load because you are hell banned.
- sjbr 13y agoYesterday, it was offline most of the day for me.