[llvm-dev] Unable to arc install-certificate

210 views
Skip to first unread message

Mircea Trofin via llvm-dev

unread,
Apr 8, 2020, 4:53:09 PM4/8/20
to Nicolai Hähnle via llvm-dev
Hello,

on a fresh install (i.e. newly-cloned arcanist and llvm-project), I get this. Any ideas?

Thanks!

arc install-certificate
 CONNECT  Connecting to "https://reviews.llvm.org/api/"...
Usage Exception: Failed to connect to server (https://reviews.llvm.org/api/): [HTTP/500] Internal Server Error
As received by the server, this request had a nonzero content length but no POST data.

Normally, this indicates that it exceeds the 'post_max_size' setting in the PHP configuration on the server. Increase the 'post_max_size' setting or reduce the size of the request.

Request size according to 'Content-Length' was '59', 'post_max_size' is set to '32M'.

David Blaikie via llvm-dev

unread,
Apr 8, 2020, 9:54:18 PM4/8/20
to Mircea Trofin, Nicolai Hähnle via llvm-dev
Hmm - I'm running a pretty old version & seems to be working for me:

$ arc version

arcanist 3b6b523c2b236e3724a1e115f126cb6fd05fa128 (18 Feb 2017)

libphutil 13a200ca7621ab2b48a0c395f52f8c4411bbc686 (4 Mar 2017)

$ arc install-certificate

 CONNECT  Connecting to "https://reviews.llvm.org/api/"...

LOGIN TO PHABRICATOR

Open this page in your browser and login to Phabricator if necessary:


https://reviews.llvm.org/conduit/login/


Then paste the API Token on that page below.


    Paste API Token from that page: cli-zwvn5sxh5ivhvp5e7mgplbyou37f

Writing ~/.arcrc...

 SUCCESS!  API Token installed.


Perhaps the recent changes that broke gmail federated login (http://lists.llvm.org/pipermail/llvm-dev/2020-April/140734.html) also broke backwards compatibility? So the newer client can't cope with the old phabricator instance we have running?

_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

Mircea Trofin via llvm-dev

unread,
Apr 8, 2020, 11:45:22 PM4/8/20
to David Blaikie, Nicolai Hähnle via llvm-dev
I thought so, initially. But I'm able to log in to reviews.llvm.org. Also, I assume install-certificate is before any of these considerations?

Vitaly Buka via llvm-dev

unread,
Apr 9, 2020, 2:24:59 AM4/9/20
to Mircea Trofin, Nicolai Hähnle via llvm-dev

Mircea Trofin via llvm-dev

unread,
Apr 9, 2020, 11:54:34 AM4/9/20
to Vitaly Buka, Nicolai Hähnle via llvm-dev
Yup - commenting out the compression - related lines unblocked it for me.

I'll try and add a comment on the phabricator patch.

Mircea Trofin via llvm-dev

unread,
Apr 9, 2020, 12:05:40 PM4/9/20
to Vitaly Buka, Nicolai Hähnle via llvm-dev
Reply all
Reply to author
Forward
0 new messages