Ask HN: Unknown. Not Unknown or expired link, just Unknown.
When I try to load HN through my http proxy, I get a blank screen with "Unknown." displayed in the top left corner. I've traced this output back to srv.arc and here is the code:
(= unknown-msg* "Unknown." max-age* (table) static-max-age* nil)
(def respond (str op args cooks ip) (w/stdout str (iflet f (srvops* op) (let req (inst 'request 'args args 'cooks cooks 'ip ip) (if (redirector* op) (do (prn rdheader) (prn "Location: " (f str req)) (prn)) (do (prn header) (awhen (max-age* op) (prn "Cache-Control: max-age=" it)) (f str req)))) (let filetype (static-filetype op) (aif (and filetype (file-exists (string staticdir* op))) (do (prn (type-header* filetype)) (awhen static-max-age* (prn "Cache-Control: max-age=" it)) (prn) (w/infile i it (whilet b (readb i) (writeb b str)))) (respond-err str unknown-msg*))))))
I don't read Lisp, let alone Arc but it seems like this code is parsing the http response headers and outputting the error message based on the Cache-Control header value.
Am I warm?
Edit: The URI causing this is news.ycombinator.com
I have no idea and can't help you, but it may help others if you mention exactly the URL that you are trying to load.
I would guess the problem is with your proxy... or some rare hiccup while pg did some testing.
in any case: what are your request headers?
undefined