Hi all
We are getting the below error while building the site:
failed to fetch root page: error when dialing [::1]:1313: dial tcp [::1]:1313: connect
Any clue as to what is going on?
Hi all
We are getting the below error while building the site:
failed to fetch root page: error when dialing [::1]:1313: dial tcp [::1]:1313: connect
Any clue as to what is going on?
Which version of hugo?
What is your baseURL?
What command are you running to build your site?
Is your hosts file IPV6 only?
Hugo version 0.143
baseURL https://docs.sysdig.com/
if [ "$IS_PULL_REQUEST" = "true" ]; then
echo "PR detected, overriding baseURL with correct URL"
npm run webpack-build && env HUGO_BASEURL="${RENDER_EXTERNAL_URL}/" hugo --config hugo.toml --configDir config -e production --gc --minify
else
echo "Deploying to the live website"
hugo --config hugo.toml --configDir config -e production --gc --minify
fi;
I am not sure about the 4th one, let me research
Where (on what system) does this error appear? Is it only local on your machine?
Everything is fine on my machine. This is reported by github action
Are you running a link checker as part of your GitHub action?
Can you share the GitHub action?
Can you share the GitHub action log?
It was an IPv6 problem. Hugo was trying to bind to ipv6. in our current setup it’s bind to ipv4 only (127.0.0.1). Our expert fixed it by adding 0.0.0.0 as a temp solution to bind to both ipv4 and ipv6.
That’s odd. Hugo binds to IP address when you run hugo server
, not when you run hugo
.
And the error message sure looks like it’s from muffet, a link checker that people run from their GitHub action.
The error is from muffet link checker
I am not sure if I can share our github action publicly. Is there a way I can reach you directly
DM me on this app.