Page MenuHomePhabricator

Unhandled exception due to wrong domain being used to access Phabricator
Closed, WontfixPublic

Description

When trying to access phabricator via https://p.phcdn.net people are presented with an exception.

Message: "This Phabricator install is configured as "https://secure.phabricator.com/", but you are using the domain name "p.phcdn.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."

Event Timeline

strayobject updated the task description. (Show Details)
strayobject changed the visibility from "Public (No Login Required)" to "All Users".
strayobject added a subscriber: strayobject.

This is intentional, and the expected behavior.

Why are you trying to access p.phcdn.net? What did you expect to happen?

Compare to Google's similar user content domain:

http://www.googleusercontent.com/

epriestley changed the visibility from "All Users" to "Public (No Login Required)".Sep 4 2015, 11:38 AM

I thought it may be intentional, but I would not consider it 'proper'. (see note on google, below)

tbh. I had a tab open for the past month or so and for reason unknown to me it was at that address. I don't remember how I got there in the first place, but I doubt I purposefully entered it into address bar.

A note on the google user content: Google sends 404, whereas Phabricator sends 500 with an exception message

epriestley claimed this task.

If there's some way to arrive here without purposefully following a link to it or entering it into the address bar, we'll fix that. Short of that, this is behaving as intended.