-
Notifications
You must be signed in to change notification settings - Fork 35
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
Failed to download image #20
Comments
Equally, if I move ht folder to some other place in the directory structure I get line 4: local/../ht: Permission denied |
Hi, I'm having a similar issue - my logs look like this: Did you manage to fix this issue? |
Ensure the images is coming from http a non secure location. HTTPS isn't available on the Linux build of kindle 4 |
Hi sorry for my late reply. I'll try to look into this later this week. It seems to be a file permissions issue. Btw HTTPS should work. The HTTP client (ht) uses rusttls with bundled root certificates. |
cool, this is now working perfectly with a github pages HTTPS page - I think my error was because I had failed to make one of my files executable |
@iantearle @floftus-at-csm I've looked into this and indeed it seems this must be related to (some of the files) somehow missing the executable bit in your case. I've checked the last release however and the tarball does have the right permissions set on the files. Do you remember how you've extracted the tarball and copied it to the Kindle? |
In my case the image download doesn't fail for permission issues, but for xh somehow not being able to parse the system certificates file. Thank you for this great piece of software! |
Hi there, I've come back to this and am attempting to run kindle-dash via KUAL. I am consistently getting this error in my logs |
Yes, it's exactly the problem I was talking about. You should try to use curl. You may want to try my fork or wait for it to be merged. https://github.com/penguin86/kindle-dash |
@floftus-at-csm which Kindle model are you using? On my kindle 4 NT I do have a system certificate bundle at The reason that I provide the Thinking about this now it might make sense for kindle-dash to include a recent set of root certificates. |
hey, thanks both for your response - I have tried to use the CURL solution but this gives me the error you predicted @pascalw |
I can confirm my kindle is slightly newer, it's a Paperwhite Touch. I've seen it referred also as "Kindle 5" somewhere. On mine, unfortunately xh does fail with error |
@floftus-at-csm or @penguin86 could you try if the attached |
Unfortunately I still get the same error with this build `xh: error: builder error: Could not load PEM file "/etc/ssl/certs/ca-certificates.crt" Caused by: However! I went back to the |
Humm that's interesting. I guess it might be a bug in |
Hi @pascalw, thanks a lot for creating this dashboard. Your Kindle firmware might be the reason why you couldn't reproduce this error. Kindle-dash was working without issues for my K4 on firmware 4.1.4, but since I downgraded to 4.1.1 using the Kubrick tool, I also receive the error As @floftus-at-csm mentioned, reverting to |
@infinitewhileloop my devices are on 4.1.3 and 4.1.4, so indeed that might explain why I can't reproduce the issue. I might downgrade one of my devices later if I have some time, to debug this issue. Can I ask why you would downgrade to 4.1.1? |
I downgraded the firmware because I was unable to install KUAL, due to the |
I found a workaround for the error
Upload the file /etc/ssl/certs/ca-certificates.crt from a more up-to-date linux to the kindle and use the --verify option in xh. |
Hi - where did you get a working crt file from? Could you paste a link? Thanks! |
I found a newer crt file, but how do you overwrite it?
|
Try |
Actually, I realised that even when you specify http github is forcing https (maybe a redirect?) I downloaded your image and hosted it on server where http is permitted and dashboard works fine |
I got the file from another up-to-date Linux system. |
Thanks for your workaround. At first, it looked like the new certificates weren't picked up, but after a reboot it seems to work fine. Now I am able to use the latest |
Hey sorry for my lack of participation in this thread. Good that we have a workaround available for older FW versions. I think a nice solution could be to include certificates in the |
Just tried the latest release, all was fine, but it failed to download the image
This line appears to be incorrect: $(dirname "$0")/../ht"
Logs are as follows:
The text was updated successfully, but these errors were encountered: