git clone esp-iot-solution错误,https://git.ugfx.io/ugfx/ugfx.git失效

Moderator: ESP_Bob

veryxs
Posts: 4
Joined: Mon Dec 07, 2020 9:21 am

git clone esp-iot-solution错误,https://git.ugfx.io/ugfx/ugfx.git失效

Postby veryxs » Mon Dec 07, 2020 9:27 am

当我按照esp-iot-solution页面的步骤下载环境时,使用git clone命令过程发生如下错误,仓库子模块无法下载,应该是链接失效,希望修复
https://git.ugfx.io/ugfx/ugfx.git

Code: Select all

Cloning into '/mnt/d/workspace/esp32/esp-iot-solution/components/hmi/ugfx_gui/ugfx'...
fatal: unable to access 'https://git.ugfx.io/ugfx/ugfx.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
fatal: clone of 'https://git.ugfx.io/ugfx/ugfx.git' into submodule path '/mnt/d/workspace/esp32/esp-iot-solution/components/hmi/ugfx_gui/ugfx' failed
Failed to clone 'components/hmi/ugfx_gui/ugfx' a second time, aborting

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: git clone esp-iot-solution错误,https://git.ugfx.io/ugfx/ugfx.git失效

Postby ESP_Sprite » Tue Dec 08, 2020 1:42 am

For what it's worth, it fails here as well. Probably their git server is down.

veryxs
Posts: 4
Joined: Mon Dec 07, 2020 9:21 am

Re: git clone esp-iot-solution错误,https://git.ugfx.io/ugfx/ugfx.git失效

Postby veryxs » Tue Dec 08, 2020 1:57 am

Yes, I hope the official can fix it

ESP_Bob
Posts: 80
Joined: Fri Nov 27, 2020 12:52 pm

Re: git clone esp-iot-solution错误,https://git.ugfx.io/ugfx/ugfx.git失效

Postby ESP_Bob » Tue Dec 08, 2020 3:37 am

https://git.ugfx.io/ugfx/ugfx.git seems broken, but http://git.ugfx.io/ugfx/ugfx.git works well now.

for temporary fix:
1. modify https->http here: https://github.com/leeebo/esp-iot-solut ... odules#L15
2. run `git submodule sync` to update the submodule's url
3. run `git submodule update --init --recursive` to pull the submodule

veryxs
Posts: 4
Joined: Mon Dec 07, 2020 9:21 am

Re: git clone esp-iot-solution错误,https://git.ugfx.io/ugfx/ugfx.git失效

Postby veryxs » Tue Dec 08, 2020 8:08 am

Thank you for your answer, he is effective :D

Who is online

Users browsing this forum: No registered users and 68 guests