-
Notifications
You must be signed in to change notification settings - Fork 19
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
FROM remote URL not working #30
Comments
Thanks for trying pimod and report your experience. First, could you please provide your Pifile or at least its head regarding the Internally pimod also uses wget to fetch remote images, have a look at the Lines 42 to 44 in dd10904
However, the IP addresses are indicating that you have used two different mirror servers from the CDN. I successfully tried to access the file from your faulty mirror with:
Thus, I would suggest that either the CDN server was faulty at that specific time or there was some something wrong with your Pifile. |
Here is my pifile. I can't imagine that the CDN being down makes sense because I tried subsequent invocations of
always fails with the log shown above. Also note that both invocations used the exact same URL. How it resolves to 2 different CDNs is a mystery to me (not something I did) - maybe a side-effect of using Docker? |
I also confirm that running
works fine, which is a docker container I ran using: |
This was my own fault - some quirk of the WSL (Windows Subsystem for Linux caused VS code to use CRLF line endings. Closing. |
In #30 an error resulted due to an invalid newline encoding. This check warns the user about a potential faulty encoding.
In #30 an error resulted due to an invalid newline encoding. This check warns the user about a potential faulty encoding.
I added a check to warn about potentially wrong encodings in 8b9db07. Thanks a lot for reporting this issue! |
When using
FROM
with the official URL for a lite image (https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-03-25/2021-03-04-raspios-buster-armhf-lite.zip) from this page, I getbut a wget with the same url gives me
The text was updated successfully, but these errors were encountered: