User Details
- User Since
- Apr 28 2016, 10:25 AM (447 w, 1 d)
- Availability
- Available
Mar 3 2017
Feb 8 2017
Thanks for testing @jcox!
Oct 26 2016
I don't suppose there is any easy way to add this to a users preference settings? I often compose complex stuff in conpherence and am continually sending incomplete messages to the chat...
Sep 5 2016
@epriestley You (and your team) are freaking epic. I owe you a beer (or several). If you're ever near Basingstoke, UK drop me a line!
Adjusting the redirect to use `phabricator.pt.local:80' also fixes the issue, though I have removed it as I don't think anyone here still tries to use an IP...
Confirmed, removing that redirect at the top of my apache config. also resolves the problem without changing the upstream.
I had to look that up its been so long since I fiddled with the server hosting.
Spot on! reverting that change on my arcanist client resolved any issues completely.
I can replicate the cURL error from a configured repository, its the same trace as that of the arc which command above:
[2016-09-05 10:06:49] EXCEPTION: (HTTPFutureCURLResponseStatus) [cURL/47] (http://phabricator.pt.local/api/user.whoami) <CURLE_TOO_MANY_REDIRECTS> The cURL library raised an error while making a request. You may be able to find more information about this error (error code: 47) on the cURL site: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLETOOMANYREDIRECTS at [<phutil>/src/future/http/HTTPSFuture.php:408] arcanist(head=stable, ref.master=9e82ef979e81, ref.stable=10e519475290), phutil(head=stable, ref.master=c8b76485ef84, ref.stable=f748cdbc8d08) #0 HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:37] #1 Future::resolve(NULL) called at [<phutil>/src/future/FutureProxy.php:34] #2 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:64] #3 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:332] #4 ArcanistWorkflow::authenticateConduit() called at [<arcanist>/scripts/arcanist.php:356]
Interesting:
echo '{}' | arc --trace call-conduit --conduit-uri http://phabricator.local/ --conduit-token cli-37au4odrzomsk54zbnolivacknw3 user.whoami ARGV '/home/sam/bin/phabricator-tools/arcanist/bin/../scripts/arcanist.php' '--trace' 'call-conduit' '--conduit-uri' 'http://phabricator.local/' '--conduit-token' 'cli-37au4odrzomsk54zbnolivacknw3' 'user.whoami' LOAD Loaded "phutil" from "/home/sam/bin/phabricator-tools/libphutil/src". LOAD Loaded "arcanist" from "/home/sam/bin/phabricator-tools/arcanist/src". Config: Reading user configuration file "/home/sam/.arcrc"... Config: Did not find system configuration at "/etc/arcconfig". Working Copy: Reading .arcconfig from "/home/sam/Coding/UMC/Src/.arcconfig". Working Copy: Path "/home/sam/Coding/UMC/Src" is part of `git` working copy "/home/sam/Coding/UMC/Src". Working Copy: Project root is at "/home/sam/Coding/UMC/Src". Config: Did not find local configuration at "/home/sam/Coding/UMC/Src/.git/arc/config". >>> [0] <conduit> user.whoami() <bytes = 117> >>> [1] <http> http://phabricator.local/api/user.whoami <<< [1] <http> 195,683 us <<< [0] <conduit> 195,955 us
Further testing, the standard curl request seems to be fine:
curl http://phabricator.local/api/user.whoami \ > -d api.token=cli-37au4odrzomsk54zbnolivacknw3 {"result":{"phid":"PHID-USER-omtmnetw55dqsgt576g7","userName":"Sam","realName":"Sam","image":"http:\/\/phabricator.local\/file\/data\/g57z5iku5s2x4rpi7k6r\/PHID-FILE-xhdrpuvh5lbu7tmkfso5\/profile","uri":"http:\/\/phabricator.local\/p\/Sam\/","roles":["admin","verified","approved","activated"],"primaryEmail":"Sam@blahblah.com"},"error_code":null,"error_info":null}
It also works from the web-conduit application in phabricator http://phabricator.local/api/user.whoami, but it fails from arc:
echo '{}' | arc call-conduit --conduit-uri http://phabricator.local/ --conduit-token cli-37au4odrzomsk54zbnolivacknw3 user.whoami Exception [cURL/47] (http://phabricator.local/api/user.whoami) <CURLE_TOO_MANY_REDIRECTS> The cURL library raised an error while making a request. You may be able to find more information about this error (error code: 47) on the cURL site: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLETOOMANYREDIRECTS (Run with `--trace` for a full exception trace.)
Weird.
Jun 20 2016
Damn man you're good.
Jun 14 2016
In case anyone else is interested, I worked around this by installing a chrome extension called Shortcut Manager and added a little script to re-instate this functionality. If you want it, you can import the shortcut with the following from the settings pane of that plugin:
// ==UserScript== // @ShortcutManager // @name Search // @namespace heQd49SJALoI // @key / // @include *phabricator* // ==/UserScript== queryBox = document.getElementsByName("query")[0] queryBox.scrollIntoView() queryBox.focus()
Jun 6 2016
Jun 2 2016
test page1Zhttps://secure.phabricator.com/w/test_page/#derp-code/
This appears to have had a regression at some point
May 31 2016
Having a jump-nav key was a boon. I just added a rule to vimium to stop listening to / on phabricator pages and was loving life... Is it likely we'll see a different key used to replace /? q looks like it would work, navigating around is much slower without /...
May 27 2016
May 26 2016
May 25 2016
hmm. I'll close this since everything seems to be working as intended...
Even more interesting, that code works fine on my instance...
Interesting. test_generating_toc has a TOC,
Thanks for getting back to me so quickly @epriestley!