NAKCity
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
Ok, thanks @Zeus
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
Chrome:
2025-04-15T18:09:46Z,POST https://REDACTED-DOMAIN/api/assets HTTP/1.1,http,{"originService":"http://localhost:2283""ingressRule":8"path":"/api/assets""content-length":1979180"connIndex":2"host":"REDACTED-DOMAIN""headers":{"Priority":["u=1 i"]"Cookie":["immich_access_token=REDACTED-TOKEN; immich_auth_type=password; immich_is_authenticated=true"]"Sec-Fetch-Site":["same-origin"]"X-Forwarded-For":["192.25.50.127"]"Accept":["*/*"]"Accept-Encoding":["gzip br"]"Cf-Ipcountry":["US"]"Content-Length":["1979180"]"Cf-Warp-Tag-Id":["b585b749-6c4a-4d25-af72-5af322f93a77"]"Content-Type":["multipart/form-data; boundary=----WebKitFormBoundaryaAt3xyCPf8xDzb0r"]"Origin":["https://REDACTED-DOMAIN"]"Sec-Ch-Ua":["\"Google Chrome\";v=\"135\" \"Not-A.Brand\";v=\"8\" \"Chromium\";v=\"135\""]"Accept-Language":["en-USen;q=0.9"]"Cdn-Loop":["cloudflare; loops=1"]"Cf-Connecting-Ip":["192.25.50.127"]"Cf-Visitor":["{\"scheme\":\"https\"}"]"X-Forwarded-Proto":["https"]"Sec-Ch-Ua-Mobile":["?0"]"Sec-Ch-Ua-Platform":["\"macOS\""]"Sec-Fetch-Dest":["empty"]"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML like Gecko) Chrome/135.0.0.0 Safari/537.36"]"Cf-Ray":["930d6555ce688398-SEA"]"Referer":["https://REDACTED-DOMAIN/photos"]"Sec-Fetch-Mode":["cors"]}}
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
Still nothing. I logged the proxied requests from Android and Chrome and there are some key differences:
Android:
2025-04-15T18:02:00Z,POST https://REDACTED-DOMAIN/api/assets HTTP/1.1,http,{"content-length":0"connIndex":0"originService":"http://localhost:2283""ingressRule":8"path":"/api/assets""host":"REDACTED-DOMAIN""headers":{"Cdn-Loop":["cloudflare; loops=1"]"Cf-Connecting-Ip":["172.56.64.228"]"Cf-Ipcountry":["US"]"Cf-Ray":["930d59c77fb73198-MIA"]"Content-Type":["multipart/form-data; boundary=dart-http-boundary-pFMk9DPqiZp7Ct8xE9z6ukq2aIHuIsPyDmrVYTo6AQ5FMHp.X4w"]"User-Agent":["Dart/3.7 (dart:io)"]"X-Forwarded-For":["172.56.64.228"]"Accept-Encoding":["gzip br"]"Cf-Visitor":["{\"scheme\":\"https\"}"]"Cf-Warp-Tag-Id":["b585b749-6c4a-4d25-af72-5af322f93a77"]"X-Forwarded-Proto":["https"]"X-Immich-User-Token":["REDACTED-TOKEN"]}}
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
It still works fine over the web interface on my phone's cellular network or over the local ip wifi switch-over
I'll let it sit in case it takes time for the changes to propagate.
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
No. I actually made a small 500KB file to test
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
Unfortunately, it still fails. I see a notification saying the upload is 100% complete, then it disappears and says failed.
Same message on the server logs, nothing interesting in app logs.
All services were restarted after the CF change
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
In case someone comes across this:
Cloudflare -> Zero Trust -> Networks -> Tunnels -> (Your hostname - NOT subdomain) -> Configure -> Additional application settings -> HTTP Settings -> Disable Chunked Encoding
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
Any idea if that's done server side or on the CF daemon?
257 replies
IImmich
•Created by NAKCity on 4/15/2025 in #help-desk-support
Android App fails to upload over domain - Web works fine
Cloudflared
257 replies