Skip to content

Commit

Permalink
[new FAQ] add network proxy related FAQ (#2211)
Browse files Browse the repository at this point in the history
* add new FAQ: add experience of network proxy related launching issues
* add Chinese version of new FAQ
* Update frequently_asked_questions.rst
  • Loading branch information
YifanYuan3 committed Nov 8, 2022
1 parent 09995bf commit 3ee05f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/frequently_asked_questions.rst
Expand Up @@ -99,6 +99,11 @@ If you don't find an answer to your question here, feel free to file a `Issues`_

It will take a few minutes for pulling image during the first time for launching GraphScope instance. Thus, the ``Timeout Exception`` may caused by a poor network connection.
You can increase the value of ``timeout_seconds`` parameter as your expectation by ``graphscope.set_option(timeout_seconds=600))``.

13. Failed to run GraphScope (either in single machine or in docker container) due to failed connection to building blocks like etcd?

It may be caused by that your machine is in an enterprise network, which requires proxy configurations to access network properly. This may lead to wrong address resolution and port occupancy. You can try to add addresses like ``hostname -i`` and ``0.0.0.0`` to your environment variable ``no_proxy`` or ``NO_PROXY`` (be aware of `the prefix/suffix policy of no_proxy <https://unix.stackexchange.com/questions/23452/set-a-network-range-in-the-no-proxy-environment-variable>`_)



**I do have many other questions...**
Expand Down
5 changes: 5 additions & 0 deletions docs/zh/frequently_asked_questions.rst
Expand Up @@ -92,6 +92,11 @@

大多数情况下,超时的原因是因为在 Kubernetes 集群拉起 GraphScope 实例时需要下载对应镜像,这一步通常需要几分钟的时间,你可以通过 ``graphscope.set_option(timeout_seconds=600)`` 适当的增加超时等待时间来解决该问题。

13. 启动GraphScope时由于连接v6d,etcd等组件失败而导致GraphScope启动失败?

这可能是由于你所使用的机器(或容器)所在的企业网络内要求相应的代理设置方可正常使用网络。这些代理设置可能会导致错误的地址解析以及端口占用。为避免类似情况,可在环境变量 ``no_proxy`` 或 ``NO_PROXY`` 中加入GraphScope相关的地址,如 ``hostname -i`` 以及 ``0.0.0.0`` (请注意`no_proxy的前后缀规则 <https://unix.stackexchange.com/questions/23452/set-a-network-range-in-the-no-proxy-environment-variable>`_)



**其他问题**

Expand Down

0 comments on commit 3ee05f7

Please sign in to comment.