-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
docker compose up: execution expired (Net::OpenTimeout) #2280
Comments
Probably your docker is not being able to access the internet just to get the external posts. The easiest way to solve this would be to just comment these lines in your # External sources.
# If you have blog posts published on medium.com or other external sources,
# you can display them in your blog by adding a link to the RSS feed.
external_sources:
- name:
rss_url: Edit: FYI this is the plugin responsible for fetching external posts and this error is probably being thrown by the |
@george-gca Thanks for your quick reply! After commenting out these lines, another error occurs. I found the issue is due to network problems. I’m currently in China, where many websites can only be accessed through a proxy. Unfortunately, Windows proxy settings don’t work for WSL by default. Configuring WSL to use the Windows proxy can be a pain in a**. I’ve tried many methods, and here’s what works for me:
You can check if the set-up works by After all these, I can set up my page locally by Anyway, now I can custom my page locally! Happy coding! Yet, I have another question: why does the "about" page not have a name part like other pages, which makes it looks weird: |
Happy that it worked for you. This was a design decision. In the about page your name is already being shown as the first text in that page and in a larger font, so it would be kind of redundant. |
Got it |
Thank you, @ChanCody! I finally managed to access my localhost page with the help of your pieces of advice (especially the second one on the firewall). Speaking about that issue with Medium, I've got exactly the same behavior both on Windows 10 and 11. Actually, I've been using this tool in order to set up a VPN on Windows 10, and this "built-in" solution for Windows 11. In the described approaches, we consider that one turns on a VPN on the Windows side of an OS. However, as you see, I still haven't worked it out completely and am looking for existing approaches so as to be able to automatically load one's posts made on Medium to the corresponding personal website (meaning, using the Getting back to the localhost access problem, it's worth noting that in the Windows 11 case, one should try installing a web browser inside the WSL and using the WSL's browser in order to open a localhost webpage. All the solutions for Windows 11 mentioned here haven't worked for me except this one. Another important thing is that you can't use a VPN with WSL 2 (regardless of your OS) even if you've commented these lines:
In other words, you won't even be able to open the localhost webpage with a VPN on WSL. |
Have you checked that your issue isn't already filed?
Bug description
docker compose up: execution expired (Net::OpenTimeout)
How to reproduce the bug
just follow the INSTALL.md:
wsl --install -d Ubuntu
docker compose pull
,docker compose up
Error messages and logs
when I run
docker compose up
:What operating system are you using?
Windows
Where are you seeing the problem on?
Running locally with Docker
More info
FYI:
docker compose up
, it hangs a few seconds at log:docker compose up
with and without proxy, and the error logs are the same.I've searched through all the issues and FAQ, but not found any similar error.
I'm new to Ruby, web, jekyll and al-folio, so apologies if there is an obvious solution.
The text was updated successfully, but these errors were encountered: