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

ERROR: Failed to get JSON resource #41

Closed
HuangNO1 opened this issue Oct 22, 2020 · 1 comment
Closed

ERROR: Failed to get JSON resource #41

HuangNO1 opened this issue Oct 22, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@HuangNO1
Copy link

After I following the instruction on the official documentation, I got some errors when building site.

Here's the error message:

# rem @ rem in ~/Blog/test [16:56:26] 
$ hugo                
Start building sites … 
ERROR 2020/10/22 16:57:00 Failed to get JSON resource "https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BGvuInzyFAe/&maxwidth=640&omitscript=true": Get "https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BGvuInzyFAe/&maxwidth=640&omitscript=true": dial tcp 104.31.143.88:443: i/o timeout
Total in 30140 ms
Error: Error building site: "/home/rem/Blog/test/content/post/rich-content/index.md:1:1": timed out initializing value. You may have a circular loop in a shortcode, or your site may have resources that take longer to build than the `timeout` limit in your Hugo config file.

I found that the test content in the exampleSite directory has some unsupported format, which will cause fatal error. I recommend to remove hugo-theme-stack/exampleSite/content/post/rich-content/ to avoid errors.

@ghost
Copy link

ghost commented Oct 24, 2020

That's right, thanks for your tip!

@CaiJimmy CaiJimmy added the bug Something isn't working label Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants