Description
Platform:
Termux (Android)
Linux ARM64 binary
immich-go versions tested (same error on each):
v0.25.0
v0.25.2
v0.25.3
Command issued:
immich-go upload from-folder --server=<myserver> --api-key=<mysecretkey> --log-level=DEBUG --folder-as-album=FOLDER "/sdcard/DCIM/Albums"
Behavior:
Works fine over HTTPS from Windows (x86-64 binary).
Fails from Termux Linux (arm64 binary) over HTTPS.
Local HTTP upload (http://192.168.0.x) works fine through Termux.
Remote HTTPS upload (https://mydomain) fails immediately with error:
"unexpected response to the immich's ping API at this address: https://mydomain/api/server/ping"
immich-go outputs the CLI command list after error (as if parsing error happened).
Other Tests Run:
curl to /api/server/ping works fine in Termux.
HTTPS CA certs are valid/trusted (curl shows "pong" as expected).
--skip-verify-ssl flag does not solve the issue.
Fresh binaries directly from GitHub releases tested.
Notes:
Could this be an issue in immich-go ARM64 binary’s internal HTTP client behavior on Termux?
All Termux packages and CA certs are fully up-to-date
This used to work just fine, I thought it was a server-side issue, but given this works fine from Windows I now think it's client-side
API key and server address redacted for privacy, but these are entered correctly, http://my-server:2283 works, while https://immich.my-domain doesn't work in Termux, but works fine in browsers. Additionally https://immich.my-domain works with curl, just not immich-go.
Why don't I just use the app?
The app doesn't allow me the same flexibility as immich-go does, with immich-go I can seamlessly tie together my Tasker workflows with custom upload commands, timings and checks, that is why I would like to use immich-go instead of the app.
Logs
I have checked the log after the failure, it simply re-states my command, and has the single error as written above, no additional detail is given, even with --log-level=DEBUG added into the command