[llvm-dev] arc install-certificate failure

Hubert Tong via llvm-dev llvm-dev at lists.llvm.org
Sun Sep 19 16:20:28 PDT 2021


 Hello,

Maybe logon to the web interface first, then visit
https://reviews.llvm.org/conduit/login/.
You will get a page with a string beginning with "cli-".

Create ~/.arcrc like this:
```
{
  "hosts": {
    "https://reviews.llvm.org/api/": {
      "token": "cli-<rest of your token here>"
    }
  }
}
```

Then proceed as if you've completed the "install-certificate" step. I hope
this helps.

-- HT

On Sat, Sep 18, 2021 at 9:27 AM yao zhongxiao via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> when I try to install “arc” following the “quick-start”(◉ Arcanist Quick
> Start
> <https://secure.phabricator.com/book/phabricator/article/arcanist_quick_start/>
> )
> everything is fine, but when I try to install-certificate I got stuck.
> It gives me the following message.
>
> ```CONNECT  Connecting to "https://reviews.llvm.org/api/"...
> Usage Exception: Failed to connect to server (https://reviews.llvm.org/api/):
> Host returned HTTP/200, but invalid JSON data in response to a Conduit method call.```
>
> can anyone help me? Thanks.
>
> My host Infos lists below;
>
> PRETTY_NAME="Debian GNU/Linux 9 (stretch)"NAME="Debian GNU/Linux"VERSION_ID="9"VERSION="9 (stretch)"VERSION_CODENAME=stretchID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210919/adc50969/attachment.html>


More information about the llvm-dev mailing list