twgo / siann1-hak8_boo5-hing5

聲學模型訓練
MIT License
1 stars 1 forks source link

lfs clone出現問題 #5

Closed sih4sing5hong5 closed 6 years ago

sih4sing5hong5 commented 6 years ago

140.109.22.138,這馬防火牆是愛vm內底才會當讀? 若是按呢,開放這台ip就好

Step 23/48 : RUN git lfs clone -b 0226 https://github.com/twgo/pian7sik4_gi2liau
7.git
 ---> Running in 1a2eb68423e1
Cloning into 'pian7sik4_gi2liau7'...
Git LFS: (0 of 28 files) 0 B / 3.84 GB                                         b
atch response: Git credentials for http://172.16.3.136:8080/repository/gitlfs-hosted/info/lfs not found.
error: failed to fetch some objects from 'http://172.16.3.136:8080/repository/gitlfs-hosted/info/lfs'
Git LFS: (0 of 28 files) 0 B / 3.84 GB
The command '/bin/sh -c git lfs clone -b 0226 https://github.com/twgo/pian7sik4_gi2liau7.git' returned a non-zero code: 2

real    0m9.034s
user    0m0.044s
sys     0m0.000s
sih4sing5hong5 commented 6 years ago

若是方便,幫我開這台ip的防火牆就好

leo424y commented 6 years ago

lfs要iis內網才能讀,請問你有vpn在iis內嗎 下面是lfs server防火牆設定for內網

還請指導

$ sudo ufw status verbose

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip

To                         Action      From
--                         ------      ----
22                         ALLOW IN    Anywhere
80                         ALLOW IN    Anywhere
443                        ALLOW IN    Anywhere
8080                       ALLOW IN    Anywhere
22 (v6)                    ALLOW IN    Anywhere (v6)
80 (v6)                    ALLOW IN    Anywhere (v6)
443 (v6)                   ALLOW IN    Anywhere (v6)
8080 (v6)                  ALLOW IN    Anywhere (v6)
leo424y commented 6 years ago

原來你ip已在iis,我在自己local掛vpn抓可跑,會是什麼問題呢?

sih4sing5hong5 commented 6 years ago

我用local+vpn走看覓

sih4sing5hong5 commented 6 years ago

local無開vpn

Step 15/40 : RUN git lfs clone -b 0226 https://github.com/twgo/pian7sik4_gi2liau7.git
 ---> Running in 77f675d4cdba
Cloning into 'pian7sik4_gi2liau7'...
batch response: Post http://172.16.3.136:8080/repository/gitlfs-hosted/info/lfs/objects/batch: dial tcp 172.16.3.136:8080: getsockopt: no route to host
error: failed to fetch some objects from 'http://172.16.3.136:8080/repository/gitlfs-hosted/info/lfs'
The command '/bin/sh -c git lfs clone -b 0226 https://github.com/twgo/pian7sik4_gi2liau7.git' returned a non-zero code: 2

local開vpn

Step 15/40 : RUN git lfs clone -b 0226 https://github.com/twgo/pian7sik4_gi2liau7.git
 ---> Running in e55a0dfb95b2
Cloning into 'pian7sik4_gi2liau7'...
fatal: unable to access 'https://github.com/twgo/pian7sik4_gi2liau7.git/': Could not resolve host: github.com
Error(s) during clone:
git clone failed: exit status 128
The command '/bin/sh -c git lfs clone -b 0226 https://github.com/twgo/pian7sik4_gi2liau7.git' returned a non-zero code: 2
sih4sing5hong5 commented 6 years ago

看起來佮防火牆無關係,因為有出現Git LFS: (0 of 28 files) 0 B / 3.84 GB vpn干焦怪怪 @@

sih4sing5hong5 commented 6 years ago

我後禮拜才用openstack的vm試

leo424y commented 6 years ago

local開vpn不能登是我的錯 lfsconfig我只改到master 的 -b 0226 的 lfsconfig 已改好 local開vpn / openstack vm 應能lfs clone

登lfs目前有用user權限管理 下週研究如何帶變數

sih4sing5hong5 commented 6 years ago
lfs會當掠矣,所以原因是啥XD

Ok. Nice. LFS 我又有加user權限 目前用xx@xxx 寫在 lfsconfig
sih4sing5hong5 commented 6 years ago

vpn袂使應該是vpn的問題,因為佇中研院的server這馬會走矣

sih4sing5hong5 commented 6 years ago

這issue解決矣~~