Skip to content

GnuTLS error occurred when Git clone/pull ( HTTPS protocol ) #4

Open
@snowmantw

Description

@snowmantw

這應該不是 Gitlab 的問題:但是與將來使用有關係,所以放在這邊討論。
目前在學校 140.119.164.* 與 140.119.163* 網段,甚至使用學校 Wireless 提供的 253 網段,對 GitHub 上的專案使用 git clone/pull 會發生錯誤,例如

$ git clone https://github.com/gitlabhq/gitlabhq.git
error: gnutls_handshake() failed: A TLS packet with unexpected length was received

測試結果如下
[Result] [machine] [OS] [Network] [NAT] [Lab Switch]
X notebook Ubuntu12.04 164 Yes Yes
O macbook MacOSX AP? Yes No
O AWS Ubuntu11.10 - Yes No
O LittleQ_公司機 Ubuntu10.04 - Maybe No
X 子文桌機 Ubuntu12.04 164 No Yes
X 子文桌機 Ubuntu12.04 164 No No
X 阿財雲端 Ubuntu11.10 163 Yes No
O 阿財雲端主控 Ubuntu11.10 163 No No
O 佐玄 Ubuntu10.04 AP? Yes No

其中 NAT 代表走無線網路或使用 Lab NAT 上網。整理後發現,似乎沒有一項變因特別突出。版本都不一致的情況下,
有些走 164 或 163 個別都發生;而像子文機器走 Lab switch 接到 164 網段,又或者恢復原本外線不走 Switch 都一樣。

這個問題查 Google 所出現的,有些 FTP 相關文章也出現,但關於 Git 的昨天查不到。

我下一步打算更嚴格的針對各條件測試,一步步看看排除哪些因素可以正常。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions