@generated files.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Mar 25 2015
It's hard to wait, so I found my way to solve this problem.
Presuming resolved.
Can you make a single call to some kind of middleware which looks up the token based on the callsign or ID, then submits the request to the build server?
We are providing different tokens for each URL.
And this parameter is not stored on Phabricator :-(
You can parameterize the URL, in a build step, e.g.:
Each rule has different parameters in steps. In our case it is different HTTP Request URL.
What kind of rules are you duplicating across repositories? Why can't these rules be expressed as a single rule which affects all the repositories?
We may also be vulnerable to the parse_url() vs cURL parsing issues that SafeCurl encountered, however.
We may also be vulnerable to the parse_url() vs cURL parsing issues that SafeCurl encountered, however.
It doesn't, it hits the same dilemma and elects to disable SSL verification. See:
This library may help: https://github.com/fin1te/safecurl
@chad: I agree it's extremely odd, but I've been able to reproduce this pretty consistently so far in both Chrome and Firefox.
Does anyone know the answer?
Please reply.
Is this reproducible? I don't even know how any of this would be possible.
Just click undo? Haha
D12151 protects against redirection attacks for in-process requests.
Mar 24 2015
I'm roughly here:
I seem to mean PhabricatorTransactionView
PhabricatorApplicationTransactionView sits on top of PHUITimelineView. It just builds/configures a TimelineView when rendered.
Then perhaps it's a separate issue.
Doesn't everything use PHUITimeline for display?
PhabricatorApplicationTransactionView? Used in every application, I think.
Is TransactionView only used in Conpherence now?
Case
I don't think I've designed a car with multiple content edited. These don't feel like they add anything to me, but it's easy to fix spacing when multiple are stacked
No.
This might be the "grouped" class that was added / it could be messed up as I had to merge that in on my latest landed stuff.
@epriestley I strictly change my conf file on documentation recommends and restart nginx, but this doesn't help.
Is there any way to load this files from CDN, for example?
I'm starting to think this is expected. I can get used to it, but my initial reaction was "this looks weird and broken".
Package files are generated on the fly. There are no generator logs.
Your configuration is significantly different from the recommended configuration in the documentation:
@epriestley This is my nginx phabricator config
http://pastebin.com/4SbwPZXg
Is there any way to regenerate pkg files, or view generator logs?
We use nginx on this server and the same resource loads properly:
@epriestley do you have any thoughts? I don't know nginx too well.
I use nginx, and nginx error.log is empty. I have php 5.6.6 version, and php error log is empty too. I doesn't change any config files and I doesn't update my server software recently.
I can't understand why only pkg file doesn't loading, for example
http://185.25.119.13/res/phabricator/a27580c5/rsrc/css/application/conpherence/durable-column.css - 200OK
http://185.25.119.13/res/phabricator/404f1f98/core.pkg.css - very long loading, and finally ERR_CONTENT_LENGTH_MISMATCH
I've removed the two major sources of needless/expensive highlighting (D12132, D12141). There's a third that will eventually be resolved by T5501 (roughly, if APC settings are whack you'll run setup checks on every page, including setup checks against pygmentize).
This doesn't appear to be an issue with Phabricator, that is, it doesn't reproduce for myself locally or on this install. In most (all?) cases this is due to issues outside of Phabricator, such as proxies, apache configs, improper updates, etc. So I don't think we're going to be able to give you much in the way of useful advice. I'd start by doing a fresh update (and restart) and check error logs (apache, php).
@chad I was thinking about that too, but after I updated phabricator this problem left unsolved.
This isn't a problem with Phabricator. Usually, fully updating and following the update guide will resolve the problem. Specifically, make sure to stop and restart apache / php-fpm.
I have the same problem. My browser can't load core.pkg.css and core.pkg.js files, it is trying to load it for 30 seconds, and stops loading.
In my acces log file i have just one line about this files
176.36.114.16 - - [24/Mar/2015:20:45:21 +0200] "GET /res/phabricator/cbdbd552/core.pkg.js HTTP/1.1" 200 24320 "-" "Mozilla/5.0 (Linux; Android 4.2.2; 2013023 Build/HM2013023) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile Safari/537.36" "-"
I can't reset project to old versions, because my db version doesn't support it. All my team members have this problem.
@hach-que you might be interested on this.
@hach-que you might be interested on this.
Enabling OpenSSL is trivial and Filesystem::readRandomBytes() is used to generate cryptographically sensitive randomness.
Mind explaining why predictability is an issue here?
We haven't seen other interest in this kind of configuration, so we'd prefer not to maintain documentation about it. Feel free to publish a blog post or whatever, though. Glad to hear things are working now, let us know if you run into anything else.
ok I added the ProxyPreserveHost directive - reconfigured hosts and all is now good without the workaround.
I struggled to find any doco on this... I will write up some sample configs and explanations and pass back for tidy up and inclusion in your doc as you see fit for others following. Specifically since apache doc recommends against the use of the this directive, it would be good to document it for others.
yeah thats a load balancer style setup I'm just using apache mod_proxy and ProxyPass. (I have about 5 apps going through same proxy so far) I'll have a go at adjusting that behaviour.
For example, suppose your proxy has IP 1.1.1.1 and your application server has IP 2.2.2.2. The flow of the request should be:
You should configure the reverse proxy to connect to the underlying host without mutating the "Host" header of the request (this should be the default behavior of most reverse proxies, so I'm surprised it isn't the configured behavior).
the reverse proxy is on a different server. It responds to phabricator.domain.com so if it tries to proxy to that address it will respond itself in a loop and not get to the internal machine.
You should simply replace all references to phabricator.int.domain.com with phabricator.domain.com, and forget that phabricator.int.domain.com exists.
That is not necessary, the only domain I am interested in serving from is the external one. internal users can go external to access it.
Are you trying to serve Phabricator on two different URIs? For example, so non-VPN'd users connect to phab.domain.com and VPN'd user connect to phabricator.int.domain.com?
Could be. I guess the main thing is that it wasn't obvious. I was thinking to myself that all I had to do was clone libphutil, arcanist, and phabricator, repoint and bounce apache and then I'd be done.
Got it, thanks a lot.
