Page MenuHomePhabricator

only some CSS and JS files inaccessible after switching to https
Closed, InvalidPublic

Description

I've switch to use https (via Cloudflare) recently, set both the phabricator.base-uri and security.alternate-file-domain to use https, phd restarted.

Missing: https://internal-cdn.chopp.vn/res/fontsizeplusoneX/phabricator/634399e9/differential.pkg.js

Some other files are loaded just fine if going directly to the url (ex: https://internal-cdn.chopp.vn/res/fontsizeplusoneX/phabricator/519f84e8/core.pkg.js)

Do I need to use the preamble.php to set https to true?

172.17.0.2:80 108.162.222.172 - - [03/Feb/2017:12:46:54 +0000] "GET /res/fontsizeplusoneX/phabricator/6ae56144/core.pkg.css HTTP/1.1" 404 6114 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.165 - - [03/Feb/2017:12:46:54 +0000] "GET /res/fontsizeplusoneX/phabricator/634399e9/differential.pkg.js HTTP/1.1" 404 6114 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.201 - - [03/Feb/2017:12:46:54 +0000] "GET /file/data/c2sraukm5z6woppehfix/PHID-FILE-pg4vkuzqzvurg37pbiad/logo HTTP/1.1" 302 434 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.165 - - [03/Feb/2017:12:46:54 +0000] "GET /res/fontsizeplusoneX/phabricator/634399e9/differential.pkg.js HTTP/1.1" 404 6114 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.201 - - [03/Feb/2017:12:46:54 +0000] "POST /dashboard/panel/render/3/ HTTP/1.1" 200 7104 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.201 - - [03/Feb/2017:12:46:54 +0000] "POST /dashboard/panel/render/5/ HTTP/1.1" 200 7186 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.201 - - [03/Feb/2017:12:46:54 +0000] "POST /dashboard/panel/render/5/ HTTP/1.1" 200 7186 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.201 - - [03/Feb/2017:12:46:54 +0000] "POST /dashboard/panel/render/3/ HTTP/1.1" 200 7105 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"
172.17.0.2:80 162.158.178.201 - - [03/Feb/2017:12:46:54 +0000] "POST /dashboard/panel/render/2/ HTTP/1.1" 200 4934 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36"

Am I missing anything?

Event Timeline

epriestley added a subscriber: epriestley.

This isn't a bug report we can accept upstream. See Contributing Bug Reports for help. In particular:

We do not offer free installation or configuration support, see Support Resources for details.

It is very likely that this is a configuration problem unique to your install, not a bug in Phabricator. If you need help resolving configuration or administration problems unique to your install, this is not the right place to get it. Instead:

  • You can try to get free help by asking in one of the community support channels described in Support Resources, like StackOverflow.
  • You can get help directly from us for a fee; see Consulting.

To move forward:

  • provide version information; and
  • provide complete reproduction steps which allow us to recreate this bug in a clean, local environment, starting from scratch.

If we do not receive this information in a few days, we will close this report.

Ah, ok, please feel free to close it till I can figure our reproduction :)

Sounds good, let us know if you come up with repro steps.