Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurs when using hugo server -w #323

Open
zychai opened this issue Jul 13, 2024 · 3 comments
Open

An error occurs when using hugo server -w #323

zychai opened this issue Jul 13, 2024 · 3 comments

Comments

@zychai
Copy link

zychai commented Jul 13, 2024

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\[email protected]{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\[email protected]\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
Copy link
Contributor

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

@deining
Copy link
Contributor

deining commented Sep 8, 2024

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.

@travisbikkle
Copy link

Why is twitter needed please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants