Page MenuHomePhabricator
Feed Advanced Search

Aug 26 2016

n0nag0n awarded T11539: Phabricator Mercurial Repo “too many files open” error a Yellow Medal token.
Aug 26 2016, 10:52 PM · Bug Report
avivey added a comment to Q473: Arcanist 404 when installing certificate.

It's supposed to work; Does that 404 page looks like it's coming from the wrong port?

Aug 26 2016, 10:46 PM
epriestley added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

It's hard to say because workloads differ, but I'd steer away from the CPU credited "burstable" t2.* instances based on generally negative experiences with micros in the past.

Aug 26 2016, 10:43 PM · Documentation, Setup
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

Yes, arc install-certificate https://secure.phabricator.com/api/ is working. Does it has to do with my custom port 8080 or it should be supported?

Aug 26 2016, 10:42 PM
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

No. No proxy and no vpn.

Aug 26 2016, 10:40 PM
avivey added a comment to Q473: Arcanist 404 when installing certificate.

Does it work when you try to arc install-certificate https://secure.phabricator.com/api/ ?

Aug 26 2016, 10:40 PM
avivey added a comment to Q473: Arcanist 404 when installing certificate.

Do you have any kind of proxy/vpn configured?

Aug 26 2016, 10:36 PM
jonah214 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

Hm, that's interesting. I know basically nothing about AWS, but I'll try adjusting phd.taskmasters, and if that doesn't work, I'll try using a bigger instance. Is the next size up sufficient, in your experience?

Aug 26 2016, 10:34 PM · Documentation, Setup
epriestley added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

In AWS, my understanding is that micro instances have CPU credits and their CPU is stopped or heavily throttled if you exceed the credit hours. Has the instance exhausted its CPU credits? I think there's a graph on the console, maybe in the "CloudWatch" tab or something like that? I don't actually have any micro instances up right now to check.

Aug 26 2016, 10:31 PM · Documentation, Setup
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

It shows this:

HTTP/1.1 200 OK
X-Powered-By: PHP/5.6.25
Set-Cookie: phsid=A%2F72hqw6cmi3przavtmn3rayh57g5yo5utgibbrwza; expires=Wed, 25-Aug-2021 22:37:37 GMT; Max-Age=157680000; path=/; domain=my.phabricator.com; httponly
X-Frame-Options: Deny
Content-Type: application/json
Cache-Control: no-store
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-Content-Type-Options: nosniff
Content-Length: 61
Date: Fri, 26 Aug 2016 22:37:37 GMT
Server: lighttpd/1.4.41
Aug 26 2016, 10:29 PM
chad added a comment to Q473: Arcanist 404 when installing certificate.

Not really up on lighttpd, but this line looks like it should be ==, not =~ ?

Aug 26 2016, 10:28 PM
jonah214 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

(Is your server an underclocked Raspberry Pi emulated on an Amiga?)

EC2 t2.micro

Aug 26 2016, 10:25 PM · Documentation, Setup
avivey added a comment to Q473: Arcanist 404 when installing certificate.

How about from the terminal? curl -i http://my.phabricator.com:8080/api/conduit.ping ?

Aug 26 2016, 10:24 PM
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

Yes, from my browser it shows {"result":"someservername","error_code":null,"error_info":null} when I typed http://my.phabricator.com:8080/api/conduit.ping.

Aug 26 2016, 10:23 PM
epriestley added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

(Is your server an underclocked Raspberry Pi emulated on an Amiga?)

Aug 26 2016, 10:23 PM · Documentation, Setup
avivey added a comment to Q473: Arcanist 404 when installing certificate.

/api/conduit.ping here returns a json; Does it work for your install from the browser?

Aug 26 2016, 10:20 PM
jonah214 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

Not that was printed to the console.

Aug 26 2016, 10:18 PM · Documentation, Setup
michaeljs1990 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

That looks pretty normal to me.

Aug 26 2016, 10:17 PM · Documentation, Setup
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

Here's my output for arc install-certificate --trace:

 ARGV  '/home/master/build/arcanist/bin/../scripts/arcanist.php' 'install-certificate' '--trace'
 LOAD  Loaded "phutil" from "/home/master/build/libphutil/src".
 LOAD  Loaded "arcanist" from "/home/master/build/arcanist/src".
Config: Did not find user configuration at "/home/master/.arcrc".
Config: Did not find system configuration at "/etc/arcconfig".
Working Copy: Reading .arcconfig from "/home/master/prog/myproject/.arcconfig".
Working Copy: Path "/home/master/prog/myproject" is part of `git` working copy "/home/master/prog/myproject".
Working Copy: Project root is at "/home/master/prog/myproject".
Config: Did not find local configuration at "/home/master/prog/myproject/.git/arc/config".
 CONNECT  Connecting to "http://my.phabricator.com:8080/api/"...
>>> [0] <conduit> conduit.ping() <bytes = 39>
>>> [1] <http> http://my.phabricator.com:8080/api/conduit.ping
<<< [1] <http> 71,707 us
<<< [0] <conduit> 72,471 us
Usage Exception: Failed to connect to server (http://my.phabricator.com:8080/api/): [HTTP/404] Not Found
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>404 - Not Found</title>
 </head>
 <body>
  <h1>404 - Not Found</h1>
 </body>
</html>
Aug 26 2016, 10:17 PM
jonah214 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

P2005. This was all written to stderr, not stdout. I let it run for a little while and then interrupted.

Aug 26 2016, 10:13 PM · Documentation, Setup
n0nag0n added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

Yeah sorry a " " snuck in there while I was copy/pasting it.

Aug 26 2016, 10:11 PM · Bug Report
michaeljs1990 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

@jonah214 I vote for see stuff that goes by. You can use the paste application https://secure.phabricator.com/paste/ so it's easier for us to look at.

Aug 26 2016, 10:08 PM · Documentation, Setup
avivey added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.
>>> [536] <exec> $ hg log --template='{node}' --rev ''\''caac1231de800ccaa18c96
98ae72f6cb7dfca637'\'''
Aug 26 2016, 10:07 PM · Bug Report
avivey added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

I don't know a lot about hg internals, but 1,000 branches and 10,000 commits doesn't sound like too much to process.

Aug 26 2016, 10:06 PM · Bug Report
jonah214 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

@michaeljs1990:

do you have any more information from the logs?

Should I post the output from bin/phd log? I can't even tell where the actual logfiles are.

Aug 26 2016, 10:05 PM · Documentation, Setup
epriestley added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

Does /usr/bin/env php -v also print 5.6, versus 7?

Aug 26 2016, 10:01 PM · Documentation, Setup
avivey added a comment to Q473: Arcanist 404 when installing certificate.

can you add --trace to arc, to see exactly what's failing? /api/ is 404ing for good installs too, so I'm guessing it's actually hitting a different uri.

Aug 26 2016, 9:57 PM
chad added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

I'm running 16.04 with PHP5.6 as well, haven't seen this issue. Here's my installed PHP info if that helps. Might want to verify what PHP your webserver is running, not just CLI.

Aug 26 2016, 9:55 PM · Documentation, Setup
michaeljs1990 added a comment to T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.

do you have any more information from the logs? This also seems like more a question than a bug report since daemons not working right is rather hard to debug.

Aug 26 2016, 9:49 PM · Documentation, Setup
michaeljs1990 updated the task description for T11543: Provide an on-page workflow for searching for objects to reference while typing a Remarkup comment.
Aug 26 2016, 9:46 PM · Restricted Project, Remarkup, Feature Request
jonah214 created T11544: Add a setup warning about using "Burstable CPU" (T2) instance classes in AWS.
Aug 26 2016, 9:46 PM · Documentation, Setup
chad added a comment to Q473: Arcanist 404 when installing certificate.

Server side routing would be my next guess. We regex all urls and map them to controllers internally. Though we should raise a setup warning if they're not set up correctly.

Aug 26 2016, 9:34 PM
n0nag0n added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

/var/log/httpd/error_log shows nothing with proc_open()

Aug 26 2016, 9:33 PM · Bug Report
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

I noticed that my host regex matcher differs from the configuration tutorial found here: https://secure.phabricator.com/book/phabricator/article/configuration_guide/#webserver-configuring-li

Aug 26 2016, 9:26 PM
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

I see. Good to know.

Aug 26 2016, 9:20 PM
jcox added a revision to T11532: Replace paste language selection dropdown with a typeahead: Unknown Object (Differential Revision).
Aug 26 2016, 9:09 PM · Paste, Contributor Onboarding
n0nag0n added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

Well I typed in one of those...

Aug 26 2016, 9:05 PM · Bug Report
chad added a comment to Q473: Arcanist 404 when installing certificate.

See T4200 for more details if you’re curious why we don’t currently support
OS packaging / install scripts.

Aug 26 2016, 9:03 PM
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

The aur package actually clone from your git, so versioning should not be a problem.

Aug 26 2016, 8:59 PM
avivey added a project to T11389: Object links merged in plain text email: Remarkup.
Aug 26 2016, 8:50 PM · Remarkup, Bug Report, Mail
chad edited this Badge.
Aug 26 2016, 8:45 PM
• amu awarded T11520: Arc Lint - Severity configuration behaves differently for different linters a Dat Boi token.
Aug 26 2016, 8:41 PM · Bug Report
avivey added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

If you try to run /usr/bin/python /usr/bin/hg log --template={node} --rev 'some rev hash' manually in /projects/phabricator/2, does it break or do you get anything useful back?

Aug 26 2016, 8:40 PM · Bug Report
chad added a comment to T11523: Unhandled Exception ("AphrontSchemaQueryException").

How can we reproduce this error locally? Bug reports here require reproduction steps, not just the error message.

Aug 26 2016, 8:31 PM · Bug Report (Needs Information)
chad edited projects for T11523: Unhandled Exception ("AphrontSchemaQueryException"), added: Bug Report (Needs Information); removed Bug Report.
Aug 26 2016, 8:31 PM · Bug Report (Needs Information)
chad added a comment to T11543: Provide an on-page workflow for searching for objects to reference while typing a Remarkup comment.

It might be interesting to have slash-triggers for objects for searching. Right now we don't have a great way (since we have lots of objects) of providing a shortcut.

Aug 26 2016, 8:23 PM · Restricted Project, Remarkup, Feature Request
n0nag0n added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

Well scratch that last comment. It looks like it has pulled in commits from the last 3 days. It looks like under recent commits when I'm viewing the repo doesn't have the most recent commits from 3 days ago, but I just installed a panel on the dashboard showing the most recent commits, and all my commits area there. The panel runs off Audit, and the repo Diffusion.....maybe there's a disconnect? idk.

Aug 26 2016, 8:15 PM · Bug Report
nfirmani added a revision to T11520: Arc Lint - Severity configuration behaves differently for different linters: Unknown Object (Differential Revision).
Aug 26 2016, 8:05 PM · Bug Report
michaeljs1990 updated the task description for T11543: Provide an on-page workflow for searching for objects to reference while typing a Remarkup comment.
Aug 26 2016, 7:56 PM · Restricted Project, Remarkup, Feature Request
michaeljs1990 created T11543: Provide an on-page workflow for searching for objects to reference while typing a Remarkup comment.
Aug 26 2016, 7:51 PM · Restricted Project, Remarkup, Feature Request
chad added a revision to T11132: New Phabricator NUX: Unknown Object (Differential Revision).
Aug 26 2016, 7:42 PM · Design, Phacility, NUX
chad added a comment to Q473: Arcanist 404 when installing certificate.

Also, if you want you can try to install a cert from this server, or from a free instance on Phacility. Just to make sure it's not a server side issue.

Aug 26 2016, 7:34 PM
chad added a comment to Q473: Arcanist 404 when installing certificate.

https://secure.phabricator.com/book/phabricator/article/arcanist_quick_start/ is our guide, it's just cloning two repositorys and a PATH command, so installation should be simple. No magic.

Aug 26 2016, 7:08 PM
chad added a comment to Q473: Arcanist 404 when installing certificate.

(the same goes for Phabricator)

Aug 26 2016, 7:05 PM
chad added a comment to Q473: Arcanist 404 when installing certificate.

We don't maintain or provide any third party packages / installers. They are frequently not kept up to date. Can you install arcanist from our repositories?

Aug 26 2016, 7:04 PM
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

I installed the latest arcanist through aur: https://aur.archlinux.org/packages/arcanist-git/

Aug 26 2016, 6:57 PM
epriestley added a comment to T11542: Make remarkup checklists interactive.

See some discussion in T3945.

Aug 26 2016, 6:56 PM · Remarkup, Feature Request
venky renamed T11542: Make remarkup checklists interactive from Make markdown checklists interactive to Make remarkup checklists interactive.
Aug 26 2016, 6:50 PM · Remarkup, Feature Request
venky updated the task description for T11542: Make remarkup checklists interactive.
Aug 26 2016, 6:49 PM · Remarkup, Feature Request
venky created T11542: Make remarkup checklists interactive.
Aug 26 2016, 6:47 PM · Remarkup, Feature Request
chad added a comment to Q473: Arcanist 404 when installing certificate.

What version of arcanist are you running?
If you manually put in the URI, does it work then?

Aug 26 2016, 6:42 PM
venky awarded T11540: Write something that is technically a game for Ludum Dare 36 a 100 token.
Aug 26 2016, 6:39 PM
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

I edited the question to add my configuration of lighttpd. I also changed the address to reflect more the real one.

Aug 26 2016, 6:37 PM
gracicot updated the question details for Q473: Arcanist 404 when installing certificate.
Aug 26 2016, 6:37 PM
chad added a comment to Q473: Arcanist 404 when installing certificate.

Ah, true. A correct connection looks like this:

Aug 26 2016, 6:26 PM
jcox closed T11513: Convert the application selector in "pin applications" to a typeahead as Resolved by committing Restricted Diffusion Commit.
Aug 26 2016, 6:24 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
gracicot added a comment to Q473: Arcanist 404 when installing certificate.

When I type http://myphabserver.com/api/ in the browser, I get the phabricator 404, but I assume that you shouldn't try to request the api in the browser directly.

Aug 26 2016, 6:12 PM
epriestley moved T11541: Remove getIconURI() from PhabricatorApplication from Backlog to Basic on the Contributor Onboarding board.
Aug 26 2016, 5:45 PM · Contributor Onboarding, Infrastructure, Design
epriestley created T11541: Remove getIconURI() from PhabricatorApplication.
Aug 26 2016, 5:45 PM · Contributor Onboarding, Infrastructure, Design
epriestley added a comment to T10423: Huge diffs (>8MB) should stream directly into file storage in Diffusion when downloaded.

D16460 is marked as fixing this, and we always send data via Files afterwards. This is different from the approach I'd outlined above (no mode where we continue to return text directly), but two additional considerations have arisen:

Aug 26 2016, 5:32 PM · Phacility, Files, Diffusion, Bug Report
epriestley added a revision to T11524: Import-time diff generation fails for particular commits in cluster mode: Unknown Object (Differential Revision).
Aug 26 2016, 5:28 PM · Phacility, Clusters, Daemons, Diffusion
epriestley added a revision to T10423: Huge diffs (>8MB) should stream directly into file storage in Diffusion when downloaded: Unknown Object (Differential Revision).
Aug 26 2016, 5:28 PM · Phacility, Files, Diffusion, Bug Report
jcox added a revision to T11513: Convert the application selector in "pin applications" to a typeahead: Unknown Object (Differential Revision).
Aug 26 2016, 5:14 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
n0nag0n added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

Yeah I just double checked, it is a full clone of the original repo at the time it was at, but looking at it now, it hasn't picked up a new commit for 3 days.

Aug 26 2016, 4:31 PM · Bug Report
epriestley added a comment to T11336: Provide a stable address range for Phacility outbound requests.

Yes, that's correct.

Aug 26 2016, 4:22 PM · Customer Impact
• rileytg added a comment to T11336: Provide a stable address range for Phacility outbound requests.

This would be for whitelist/whitelisting IPs. For example creating a security group on AWS that only allows 443 (https) traffic from a phabricator cluster to a jenkins instance.

Aug 26 2016, 4:21 PM · Customer Impact
avivey added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

Than probably not a reasonable case of "too many open files".

Aug 26 2016, 4:21 PM · Bug Report
chad added Q474: Can chatrooms be configured to send message upon RETURN press? (Answer 443).
Aug 26 2016, 4:19 PM
ReynoldsCahoon updated Q474: Can chatrooms be configured to send message upon RETURN press? from to Can chatrooms be configured to send message upon RETURN press?.
Aug 26 2016, 4:16 PM · Conpherence
ReynoldsCahoon added a comment to T11540: Write something that is technically a game for Ludum Dare 36.

Also you can sell No Man's Sky for $60 nowadays so I think the bar has dropped a lot.

Aug 26 2016, 4:11 PM
epriestley added a comment to T11513: Convert the application selector in "pin applications" to a typeahead.

Oh! var_dump(...) or print_r(...) should send stuff to a big pink header on the page.

Aug 26 2016, 3:59 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
chad added a comment to T11513: Convert the application selector in "pin applications" to a typeahead.

print_r($variable);
look at web page.

Aug 26 2016, 3:54 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
jcox added a comment to T11513: Convert the application selector in "pin applications" to a typeahead.

@epriestley PHP noob question: what do you do for debugging? I'm having a hard time just looking at the values of the variables involved here:

$pins = $request->getStrList('pin');
$pin = head($pins);
$app = id(new PhabricatorApplicationQuery())
  ->setViewer($viewer)
  ->withPHIDs(array($phid))
  ->executeOne();
if ($app) {
  $pin = get_class($app);
}
Aug 26 2016, 3:45 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
n0nag0n added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.
cat /proc/sys/fs/file-max
1620069
Aug 26 2016, 3:38 PM · Bug Report
simevo added a comment to T11538: the conduit API is awkward to use when one must send arrays.

we'll discuss internally next week and let you know. thanks for now

Aug 26 2016, 3:31 PM · Bug Report
epriestley created T11540: Write something that is technically a game for Ludum Dare 36.
Aug 26 2016, 3:27 PM
epriestley created an object: C147: Ludum Dare 36.
Aug 26 2016, 3:19 PM
avivey added a comment to T11539: Phabricator Mercurial Repo “too many files open” error.

You're work-around is fine.
What does cat /proc/sys/fs/file-max say? Is it possible you just have too many open files?

Aug 26 2016, 3:15 PM · Bug Report
epriestley added a revision to T10423: Huge diffs (>8MB) should stream directly into file storage in Diffusion when downloaded: Unknown Object (Differential Revision).
Aug 26 2016, 3:14 PM · Phacility, Files, Diffusion, Bug Report
epriestley added a revision to T11524: Import-time diff generation fails for particular commits in cluster mode: Unknown Object (Differential Revision).
Aug 26 2016, 3:14 PM · Phacility, Clusters, Daemons, Diffusion
n0nag0n created T11539: Phabricator Mercurial Repo “too many files open” error.
Aug 26 2016, 3:10 PM · Bug Report
epriestley added a comment to T11513: Convert the application selector in "pin applications" to a typeahead.

Ah, right -- I think those are both expected and that you're on the right track. You should be able to use $request->getStrList(...) instead of $request->getStr(...) to read the list, then head() to grab the first (item if it exists).

Aug 26 2016, 3:09 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
jcox added a comment to T11513: Convert the application selector in "pin applications" to a typeahead.

Alright I'm making a bit of progress here. Posting this update on the chance that there's something obvious I'm missing. The AphrontFormTokenizerControl behaves a little bit differently than the AphrontFormSelectControl. Specifically, this is what the form post data looks like the old way (SelectControl):

Aug 26 2016, 3:03 PM · Restricted Project, Contributor Onboarding, User Delight, Feature Request
epriestley closed T11537: Survive import of artificially manufactured Git commits with 64-bit timestamps as Resolved by committing Restricted Diffusion Commit.
Aug 26 2016, 2:39 PM · Diffusion
epriestley closed T9235: Add a warning about "always_populate_raw_post_data" being misconfigured as Resolved by committing Restricted Diffusion Commit.
Aug 26 2016, 2:38 PM · Contributor Onboarding, Setup
epriestley added a comment to T11538: the conduit API is awkward to use when one must send arrays.

I'm happy to rewrite your script so it works, but we charge $1,500/hr for custom development (see Consulting) because time spent helping individual users with unique problems takes away from developing and improving Phabricator. Are you interested in this?

Aug 26 2016, 2:29 PM · Bug Report
simevo added a comment to T11538: the conduit API is awkward to use when one must send arrays.

this is fine since the way python serializes over HTTP is certainly peculiar; but what about JSON ?

Aug 26 2016, 2:00 PM · Bug Report
epriestley closed T11538: the conduit API is awkward to use when one must send arrays as Invalid.

This is not a bug.

Aug 26 2016, 1:46 PM · Bug Report
chad added a comment to T11538: the conduit API is awkward to use when one must send arrays.

This doesn't look like a bug report nor a feature request. I don't know what you want us to do with this.

Aug 26 2016, 1:43 PM · Bug Report
avivey added a comment to T11538: the conduit API is awkward to use when one must send arrays.
Aug 26 2016, 1:43 PM · Bug Report