Page MenuHomePhabricator
Paste P1843

502 with Cloudfront
ActivePublic

Authored by ry on Aug 16 2015, 5:06 PM.
Tags
None
Referenced Files
F723536: 502 with Cloudfront
Aug 16 2015, 5:06 PM
Subscribers
rpatterson@Ryans-Home-Macbook 08/16/2015 10:06 AM ~
$ http https://code.simplyinsured.com/ Host:d3vd7xwqgmo7c1.cloudfront.net
HTTP/1.1 500 Internal Server Error
Cache-Control: private, no-cache, no-store, must-revalidate
Connection: keep-alive
Content-Type: text/html; charset=UTF-8
Date: Sun, 16 Aug 2015 17:06:16 GMT
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Pragma: no-cache
Server: nginx/1.4.7
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-Frame-Options: Deny
X-Powered-By: PHP/5.4.20
<!DOCTYPE html><html><head><meta charset="UTF-8" /><title>Unhandled Exception (&quot;Exception&quot;)</title><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /><link rel="apple-touch-icon" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/ecdef672/rsrc/favicons/apple-touch-icon-76x76.png" /><link rel="apple-touch-icon" sizes="120x120" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/43742962/rsrc/favicons/apple-touch-icon-120x120.png" /><link rel="apple-touch-icon" sizes="152x152" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/669eaec3/rsrc/favicons/apple-touch-icon-152x152.png" /><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /><meta name="referrer" content="never" /><script type="text/javascript">(top == self) || top.location.replace(self.location.href);window.__DEV__=0;</script><link rel="stylesheet" type="text/css" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/33799ec4/core.pkg.css" /><link rel="stylesheet" type="text/css" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/5ab1a46a/rsrc/css/font/font-lato.css" /><link rel="stylesheet" type="text/css" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/cb8ae7ad/rsrc/css/phui/phui-fontkit.css" /><link rel="stylesheet" type="text/css" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/f24a53cb/rsrc/css/font/font-roboto-slab.css" /><link rel="stylesheet" type="text/css" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/6b451f24/rsrc/css/application/base/phui-theme.css" /><link rel="stylesheet" type="text/css" href="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/f07bbb87/rsrc/css/sprite-main-header.css" /><script type="text/javascript" src="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/3010e992/rsrc/externals/javelin/core/init.js"></script></head><body class="device-desktop phui-theme-blindigo"><div class="main-page-frame"><div id="phabricator-standard-page" class="phabricator-standard-page"><div class="phabricator-main-menu sprite-main-header phabricator-main-menu-background" id="UQ0_0"><a class="phabricator-main-menu-expand-button phabricator-expand-search-menu" data-sigil="jx-toggle-class" data-meta="0_0"><span class="phabricator-menu-button-icon phui-icon-view phui-font-fa fa-bars" id="UQ0_1"></span></a><a class="phabricator-main-menu-brand" href="/"><span class="aural-only">Home</span><span class="sprite-menu phabricator-main-menu-eye light-eye"></span><span class="sprite-menu phabricator-main-menu-logo light-logo"></span></a><ul class="phui-list-view phabricator-dark-menu phabricator-application-menu"><li class="phui-list-item-view phui-list-item-type-label "><div><span class="phui-list-item-name">Actions</span></div></li><li class="phui-list-item-view phui-list-item-type-link phui-list-item-has-icon core-menu-item" id="UQ0_2" style="display: none"><a href="/help/documentation/PhabricatorAuthApplication/" class="phui-list-item-href"><span class="aural-only">Auth Help</span><span class="visual-only phui-icon-view phui-font-fa fa-life-ring phui-list-item-icon" aria-hidden="true"></span><span class="phui-list-item-name visual-only">Auth Help</span></a></li><li class="phui-list-item-view phui-list-item-type-link phui-list-item-has-icon core-menu-item"><a href="/auth/start/?next=%2F" class="phui-list-item-href"><span class="aural-only">Log In</span><span class="visual-only phui-icon-view phui-font-fa fa-sign-in phui-list-item-icon" aria-hidden="true"></span><span class="phui-list-item-name visual-only">Log In</span></a></li></ul><ul class="phui-list-view phabricator-dark-menu phabricator-search-menu"></ul><div id="phabricator-help-menu" class="phabricator-main-menu-dropdown phui-list-sidenav" style="display: none"></div></div><div id="phabricator-standard-page-body" class="phabricator-standard-page-body"><div class="phui-crumbs-view"><a href="/auth/" class="phui-crumb-view phui-crumb-has-icon"><span class="visual-only phui-icon-view phui-font-fa fa-key" aria-hidden="true"></span><span class="phui-crumb-name">Auth</span></a><span class="visual-only phui-icon-view phui-font-fa fa-angle-right phui-crumb-divider phui-crumb-view" aria-hidden="true"></span><span class="phui-crumb-view phabricator-last-crumb"><span class="phui-crumb-name">Unhandled Exception (&quot;Exception&quot;)</span></span></div><form method="POST" class="aphront-dialog-view aphront-exception-dialog" data-sigil="jx-dialog"><input type="hidden" name="__csrf__" value="B@pzoxwicr6437922c533721c1" /><input type="hidden" name="__form__" value="1" /><input type="hidden" name="__dialog__" value="1" /><div class="aphront-dialog-head"><div class="phui-header-shell "><h1 class="phui-header-view"><div class="phui-header-row"><div class="phui-header-col2"><span class="phui-header-header">Unhandled Exception (&quot;Exception&quot;)</span></div><div class="phui-header-col3"></div></div></h1></div></div><div class="aphront-dialog-body phabricator-remarkup grouped"><div class="aphront-unhandled-exception"><div class="exception-message">This Phabricator install is configured as &quot;https://code.simplyinsured.com/&quot;, but you are using the domain name &quot;d3vd7xwqgmo7c1.cloudfront.net&quot; to access a page which is trying to set a cookie. Acccess Phabricator on the configured primary domain or a configured alternate domain. Phabricator will not set cookies on other domains for security reasons.</div></div></div></form></div></div></div><script type="text/javascript" src="https://d3vd7xwqgmo7c1.cloudfront.net/res/phabricator/a590b451/core.pkg.js"></script><script type="text/javascript">JX.Stratcom.mergeData(0, [{"map":{"UQ0_0":"phabricator-application-menu-expanded","UQ0_1":"menu-icon-selected"}}]);
JX.onload(function(){JX.initBehaviors({"refresh-csrf":[{"tokenName":"__csrf__","header":"X-Phabricator-Csrf","current":"B@pzoxwicr6437922c533721c1"}],"history-install":[]})});
JX.onload(function(){JX.initBehaviors({"workflow":[],"lightbox-attachments":[{"defaultImageUri":"https:\/\/d3vd7xwqgmo7c1.cloudfront.net\/res\/phabricator\/45fe1c60\/rsrc\/image\/icon\/fatcow\/document_black.png","downloadForm":"\u003cform action=\"#\" method=\"POST\" class=\"lightbox-download-form\" data-sigil=\"download\"\u003e\u003cinput type=\"hidden\" name=\"__csrf__\" value=\"B@pzoxwicr6437922c533721c1\" \/\u003e\u003cinput type=\"hidden\" name=\"__form__\" value=\"1\" \/\u003e\u003cbutton\u003eDownload\u003c\/button\u003e\u003c\/form\u003e"}],"aphront-form-disable-on-submit":[],"toggle-class":[],"phabricator-gesture":[],"device":[],"high-security-warning":[{"show":false,"uri":"\/auth\/session\/downgrade\/","message":"Your session is in high security mode. When you finish using it, click here to leave."}],"phabricator-keyboard-shortcuts":[{"helpURI":"\/help\/keyboardshortcut\/"}],"aphlict-dropdown":[{"bubbleID":"UQ0_2","dropdownID":"phabricator-help-menu","applicationClass":"PhabricatorHelpApplication","local":true,"desktop":true,"right":true}],"quicksand-blacklist":[{"patterns":["\/phame\/live\/.*","\/conpherence\/.*","\/Z\\d+"]}]})});</script></body></html>
rpatterson@Ryans-Home-Macbook 08/16/2015 10:06 AM ~
$ http https://code.simplyinsured.com/file/data/i3glh7w6o3gu6jgyxi7d/PHID-FILE-mb3mj26stq5bvkslvazy/breakdancingbear Host:d3vd7xwqgmo7c1.cloudfront.net
HTTP/1.1 200 OK
Accept-Ranges: bytes
Connection: keep-alive
Content-Length: 563561
Content-Type: image/gif
Date: Sun, 16 Aug 2015 17:06:18 GMT
Expires: Tue, 15 Sep 2015 17:06:18 GMT
Server: nginx/1.4.7
X-Content-Type-Options: nosniff
X-Frame-Options: Deny
X-Powered-By: PHP/5.4.20
+-----------------------------------------+
| NOTE: binary data not shown in terminal |
+-----------------------------------------+
rpatterson@Ryans-Home-Macbook 08/16/2015 10:06 AM ~
$ http https://d3vd7xwqgmo7c1.cloudfront.net/
HTTP/1.1 502 Bad Gateway
Connection: keep-alive
Content-Length: 587
Content-Type: text/html
Date: Sun, 16 Aug 2015 17:06:13 GMT
Server: CloudFront
Via: 1.1 d06ad0d041a9907f83e98f388ca347ea.cloudfront.net (CloudFront)
X-Amz-Cf-Id: TcFT92jzYjb8dFAEMpqqcMg9pvaJT3fUOECnYPqSvWynHrZp-wwm2w==
X-Cache: Error from cloudfront
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
CloudFront wasn't able to connect to the origin.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront)
Request ID: gBvapuq4ULHPfHKmOGHJ89CFPUERo0rnpIGhS75AFId3QC7aEyUQug==
</PRE>
<ADDRESS>
</ADDRESS>
</BODY></HTML>

Event Timeline

ry changed the title of this paste from untitled to 502 with Cloudfront.
ry updated the paste's language from autodetect to autodetect.

This Phabricator install is configured as https://code.simplyinsured.com/, but you are using the domain name d3vd7xwqgmo7c1.cloudfront.net to access a page which is trying to set a cookie. Acccess Phabricator on the configured primary domain or a configured alternate domain. Phabricator will not set cookies on other domains for security reasons.

(just fishing the exception message out)