Open anoadragon453 opened 11 months ago
Thanks for your report.
I can't really tell what this means.Immich go uses the very standard library provided by the go language, with default settings.
A google search https://www.google.com/search?q=golang++remote+error%3A+tls%3A+bad+record+MAC give some information:
https://github.com/googleapis/google-cloud-go/issues/1581#issuecomment-531817165
bad record MAC is a very internal error, which usually means network corruption of some sorts (like a proxy changing the contents of the TCP stream), or a severe issue in the TLS stack.
The most useful thing for debugging the latter would be an issue on golang.org/issues with a PCAP and the result of setting tls.Config.KeyLogWriter during that network capture.
Other kind of responses:
I would suggest to change some conditions to learn more on the source of the problem
Error reading exif data (...): Error: File not found - .....JPG.xmp
the file isn't found... maybe because of the network error
Thank you for your in-depth research! I'll give those alternative suggestions a go.
Otherwise, do you think it may be worth adding retries for failed uploads, in case of temporary network failure or other unexpected condition? Even something like max 3 retries per file would probably cover whatever issue I'm having. And it would help add general resilience to the upload process.
Otherwise, do you think it may be worth adding retries for failed uploads, in case of temporary network failure or other unexpected condition? Even something like max 3 retries per file would probably cover whatever issue I'm having. And it would help add general resilience to the upload process.
Sure, added to the todo list
While attempting to upload photos from my Google takeout, I see the following error for about 1 in every 20 photos:
This is annoying as it appears that these photos are just being left behind during the upload. I'll have to note down which photos failed and try them again, repeating the process until there are no errors left.
On my immich microservices container, I am seeing the following error regularly appear:
as well as:
which may be related?Edit: These errors are appearing for every uploaded file, not just those that fail to upload. Thus it appears that they're unrelated.The full
immich-go
command I am using is:The same occurs with the
-skip-verify-ssl
flag. This is on Windows 11 x86_64 using the v0.9.6 release exe. This was the final output: