hugo-toha / hugo-toha.github.io

An example hugo static site with Toha theme.
https://hugo-toha.github.io
MIT License
113 stars 581 forks source link

An error occurs when using hugo server -w #323

Open zychai opened 3 months ago

zychai commented 3 months ago

E:\GitHub\zychai.github.io>hugo server -w

Watching for changes in C:\Users\hp\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\hugo-toha\toha\v4@v4.5.0{archetypes,assets,content,data,i18n,layouts,package.hugo.json,package.json,static} Watching for changes in E:\GitHub\zychai.github.io{archetypes,assets,content,data,node_modules,package.hugo.json,package.json,static} Watching for config changes in E:\GitHub\zychai.github.io\hugo.yaml, C:\Users\hp\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\hugo-toha\toha\v4@v4.5.0\config.yaml, E:\GitHub\zychai.github.io\go.mod Start building sites … hugo v0.128.2-de36c1a95d28595d8243fd8b891665b069ed0850+extended windows/amd64 BuildDate=2024-07-04T08:13:25Z VendorInfo=gohugoio

ERROR error calling resources.GetRemote: Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FSanDiegoZoo%2Fstatus%2F1453110110599868418": net/http: TLS handshake timeout Built in 21783 ms Error: error building site: logged 1 error(s)

BernatBC commented 1 month ago

Hi @zychai, sorry for the late response. I cannot reproduce this problem. Can you share more details about it? Thank you

deining commented 1 month ago

I can't reproduce this problem either.

ERROR error calling resources.GetRemote: Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FSanDiegoZoo%2Fstatus%2F1453110110599868418": net/http: TLS handshake timeout

Looks like access to twitter is blocked for your machine, therefore call to resources.GetRemote fails on your machine.