You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/10/26 09:39:43 UTC

[GitHub] [superset] malone6 commented on issue #9488: Error:superset load_examples

malone6 commented on issue #9488:
URL: https://github.com/apache/superset/issues/9488#issuecomment-951763151


   > @malone6 我遇到这类似的问题。我是在虚拟机ubuntu安装的superset,我设置了ssh,这样在命令行可以通过git clone来从github.com下载库。如果是通过 superset load_example,来从github.com来下载内容,就是失败的,导致了load_examples失败。我是搞不明白,这样在superset load_example下载github.com的内容,不是使用git clone这样的办法吗?最近别的项目也牵扯类似的问题。望赐教!
   
   抱歉,我近期漏掉了这条信息。因为两个方式走的协议不一样。
   你设置了ssh并`git clone git@github.com:xxx`这走的是ssh协议一般是22端口通信;
   而此处的 `superset load_example`按我上方的解释可以看出用的是python的requests库,也就是走的https协议,一般是443端口通信。
   中国的网络防火墙嘛,你懂的,屏蔽规则比较奇怪且不稳定。可能就是刚好某段时间github的443端口不给访问,那么就会导致`superset load_example`失败。
   [参考](https://www.cnblogs.com/wannananana/p/12059806.html#:~:text=HTTPS%E5%88%A9%E4%BA%8E%E5%8C%BF%E5%90%8D%E8%AE%BF%E9%97%AE%EF%BC%8C%E9%80%82%E5%90%88%E5%BC%80%E6%BA%90%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8F%AF%E4%BB%A5%E6%96%B9%E4%BE%BF%E8%A2%AB%E5%88%AB%E4%BA%BA%E5%85%8B%E9%9A%86%E5%92%8C%E8%AF%BB%E5%8F%96%20%28%E4%BD%86%E6%B2%A1%E6%9C%89push%E6%9D%83%E9%99%90%29%EF%BC%9B.%20SSH%E4%B8%8D%E5%88%A9%E4%BA%8E%E5%8C%BF%E5%90%8D%E8%AE%BF%E9%97%AE%EF%BC%8C%E6%AF%94%E8%BE%83%E9%80%82%E5%90%88%E5%86%85%E9%83%A8%E9%A1%B9%E7%9B%AE%EF%BC%8C%E5%8F%AA%E8%A6%81%E9%85%8D%E7%BD%AE%E4%BA%86SSH%E5%85%AC%E9%92%A5%E6%9E%81%E5%8F%AF%E8%87%AA%E7%94%B1%E5%AE%9E%E7%8E%B0clone%E5%92%8Cpush%E6%93%8D%E4%BD%9C%E3%80%82.%20%E3%80%90github%E4%B8%8A%E5%88%87%E6%8D%A2SSH%2FHTTP%E6%96%B9%E5%BC%8F%E3%80%91.%20%E3%80%90%E5%A6%82%E4%BD%95%E7%94%9F%E6%88%90SSH%E5%AF%86%E9%92%A5%E3%80%91.%201%E3%80%81%E8%AE%BE%E7%BD%AEgit%E7%9A%84user%20name%E5%92%8Cuser%20email.,--global%20user.name%20%27yourname%27%20git%20config%20
 --global%20user.email%20%27youremail%27.)


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org