You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/11/06 06:44:30 UTC

[GitHub] [incubator-apisix] idevz commented on a change in pull request #813: update FAQ, add one about slow luarocks

idevz commented on a change in pull request #813: update FAQ, add one about slow luarocks
URL: https://github.com/apache/incubator-apisix/pull/813#discussion_r342937102
 
 

 ##########
 File path: FAQ.md
 ##########
 @@ -56,3 +56,15 @@ For the configuration center, configuration storage is only the most basic funct
 5. High Performance
 
 See more [etcd why](https://github.com/etcd-io/etcd/blob/master/Documentation/learning/why.md#comparison-chart).
+
+## Why is it that installing APISIX dependencies with Luarocks causes timeout, slow or unsuccessful installation?
+
+There are two possibilities when encountering slow luarocks:
+
+1. Server used for luarocks installation is blocked
+2. There is a place between your network and github server to block the 'git' protocol
+
+For the first problem, you can use https_proxy or use the `--server` option to specify a luarocks server that you can access or access faster.
+Run the `luarocks config rocks_servers` command to see which server are available.
 
 Review comment:
   very very old.
   
   ```bash
    ~/ luarocks --version
   /usr/local/bin/luarocks 3.2.1
   LuaRocks main command-line interface
   
    ~/ luarocks config rocks_servers
   {
      {
         "https://luarocks.org",
         "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/",
         "http://luafr.org/moonrocks/",
         "http://luarocks.logiceditor.com/rocks"
      }
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services