Closed davegson closed 3 years ago
Hopefully your PR will fix this, thanks for that!
got around to testing it today. The PR fixed it, thanks! Closing.
So even though it works, I'd still want to ping the question of:
why such a check is needed? Without it, wouldn't a useful error be raised anyway if iE. a connection to rubygems failed?
Even the Firefox could trip up in the future. Just some well-meant input for the future ;) cheers!
Recently, after pulling the newest
jekyll/jekyll
image, all of the sudden mydocker-compose up
failed with:Which led me to believe that somehow the gems were not correctly installed. After investigating the wrong problem we lastly ended up finding the actual cause, being:
bin/connected [file]
When running
wget -q --spider https://www.google.com
from within the container manually, the handshake ended up failing. I have no idea what happened, maybe they dislike my ip?but calling any other site (http or https) did work without error.
Solution
My quickfix locally was to mount my
docker-compose.yml
file into the/connected
dir so it will always be there:To fix this issue for others too, I created a PR where the test url simply is changed to another domain created for connectivity checks.
Why Have This Check?
But I also wanted to raise the issue of why such a check is needed? Without it, wouldn't a useful error be raised anyway if iE. a connection to rubygems failed? Why have this check which ended up pointing me in a completely wrong direction?
Addendum: Even though some hours were lost, you have enabled me and so many others to speed up dev process over many years. A big THANK YOU for all your work! 👏😄🎉 (you hear this too seldom)