ente-io / ente

Fully open source, End to End Encrypted alternative to Google Photos and Apple Photos
https://ente.io
GNU Affero General Public License v3.0
15.79k stars 814 forks source link

On self hosted local test server, while trying to connect using android app no preview and upload doesnt work #3954

Open vamzii opened 4 hours ago

vamzii commented 4 hours ago

Description

so i hosted the docker version of ente, locally i am able to open the web app and appimage version and am able to access the uploaded images and even upload images, but when i try to connect to this instance using the android app using the local ip address, it only shows squares and the images doesnt open.also if i try uploading any images it doesnt work. Screenshot_2024-11-05-23-43-23-665_io ente photos independent

Version

No response

What product are you using?

No response

What platform are you using?

No response

vamzii commented 4 hours ago

log when accessing the images is as follows d=GET req_uri=/files/download/10000099 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) 2024-11-05 23:53:30 museum-1 | INFO[2218]request_logger.go:94 func5 incoming client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 query= req_body= req_id=ser_STpcNDlfcGTJVSzHzqgL5L req_method=GET req_uri=/files/download/10000100 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) 2024-11-05 23:53:30 museum-1 | INFO[2218]request_logger.go:119 func5 outgoing client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 h_latency=1.060168ms latency_time=1.060168ms query= req_body= req_id=ser_KIVhb33xTFKZ4P2VTIfqU9 req_method=GET req_uri=/files/download/10000101 status_code=307 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) user_id=1580559962386438 2024-11-05 23:53:30 museum-1 | INFO[2218]request_logger.go:119 func5 outgoing client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 h_latency=1.343961ms latency_time=1.343961ms query= req_body= req_id=ser_0DKRK9uK3DRx4hFCrgKwFm req_method=GET req_uri=/files/download/10000099 status_code=307 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) user_id=1580559962386438 2024-11-05 23:53:30 museum-1 | INFO[2218]request_logger.go:119 func5 outgoing client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 h_latency=1.424372ms latency_time=1.424372ms query= req_body= req_id=ser_STpcNDlfcGTJVSzHzqgL5L req_method=GET req_uri=/files/download/10000100 status_code=307 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) user_id=1580559962386438 2024-11-05 23:53:31 museum-1 | INFO[2219]healthcheck.go:66 PerformHealthCheck Performing HC 2024-11-05 23:53:31 museum-1 | INFO[2219]trash.go:120 func1 cron run finished flow=trash_collection id=6beaa4a0-2940-42ca-a42d-ac9ce729583c items_processed=0 2024-11-05 23:53:33 museum-1 | INFO[2221]delete.go:27 CleanupDeletedEmbeddings Cleaning up deleted embeddings 2024-11-05 23:54:11 museum-1 | INFO[2260]request_logger.go:94 func5 incoming client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 query=sinceTime=1730829121954420&source=fg req_body= req_id=3a5e56c7-fa5b-48c2-a8c9-6256387590b2 req_method=GET req_uri=/collections/v2 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) 2024-11-05 23:54:11 museum-1 | INFO[2260]request_logger.go:119 func5 outgoing client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 h_latency=2.230424ms latency_time=2.230424ms query=sinceTime=1730829121954420&source=fg req_body= req_id=3a5e56c7-fa5b-48c2-a8c9-6256387590b2 req_method=GET req_uri=/collections/v2 status_code=200 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) user_id=1580559962386438 2024-11-05 23:54:11 museum-1 | INFO[2260]request_logger.go:94 func5 incoming client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 query=sinceTime=0 req_body= req_id=d3346225-aa8e-40cb-823f-d0eaf065e85b req_method=GET req_uri=/trash/v2/diff ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) 2024-11-05 23:54:11 museum-1 | INFO[2260]request_logger.go:119 func5 outgoing client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 h_latency=2.372421ms latency_time=2.372421ms query=sinceTime=0 req_body= req_id=d3346225-aa8e-40cb-823f-d0eaf065e85b req_method=GET req_uri=/trash/v2/diff status_code=200 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) user_id=1580559962386438 2024-11-05 23:54:31 museum-1 | INFO[2279]healthcheck.go:66 PerformHealthCheck Performing HC 2024-11-05 23:54:31 museum-1 | INFO[2279]trash.go:120 func1 cron run finished flow=trash_collection id=8cdf0b76-c2cc-4ce4-84d5-3d4031d1cbbc items_processed=0

log when uploading files from android is as follows 2024-11-05 23:56:14 museum-1 | INFO[2382]file.go:283 GetUploadURLs Returning objectKeys: 1580559962386438/3f0c5a36-77ba-473d-bc5e-ce85af8a8dc8, 1580559962386438/0d07fda0-d55a-414c-98f5-9fe49b51038d, 1580559962386438/a8e58e2b-6bf8-49a4-b27c-4cdd8c6f8f62, 1580559962386438/67890c37-635e-43de-a4f0-e4d215fd51ce, 1580559962386438/9c3ac18a-aac6-41d7-8651-c931e56bdfb1, 1580559962386438/833ac4df-739d-466d-a29a-c32d829c042a, 1580559962386438/bb2237ff-308a-4809-a08b-5af7b2db71c0, 1580559962386438/d46df287-9e34-4cca-846f-e9fd985f4547, 1580559962386438/40909aa6-1127-4349-af88-06f632c40b53, 1580559962386438/038a71ec-0ea4-4a71-a6ae-f73f302e09c3, 1580559962386438/21929aba-bdae-40a2-bab6-76b58dfb169c, 1580559962386438/b1b9bc71-4e9d-4257-984b-2b3866f286e8, 1580559962386438/4b8cd234-4732-4648-a0dd-ffdd6136f21d, 1580559962386438/6bdc9223-181d-4553-b10b-b11ed7699a2b, 1580559962386438/5e29b0ab-0f7e-458c-b06d-da8f6564238b, 1580559962386438/6a8c49d2-3ba7-4068-973b-cb4f6a10efc8, 1580559962386438/3775b83b-6c8f-46ae-9200-f82fe9952d23, 1580559962386438/e919acc8-b419-49c1-8129-bf687ec3e7b6, 1580559962386438/42c5aad9-e52c-4574-9b48-eb2c864e6aac, 1580559962386438/de33998a-0cac-428c-b72f-99ef1cf33b9a, 1580559962386438/99ff4c42-835d-490f-b0fb-0949313f8211, 1580559962386438/9041cffa-985d-40c2-9d5f-c8728fc96679, 1580559962386438/6ac4d92f-5f8d-4324-8f71-36653ddf4dce, 1580559962386438/6c3c4572-d8cc-4a9e-858e-8960b7c90e9e, 1580559962386438/65f1994c-999f-4419-85ba-701d9eb4a4cb, 1580559962386438/b4a03531-f4c0-48bb-b1c8-2abc23a47571, 1580559962386438/4d92c782-dca5-4352-a4bd-32352307a9f0, 1580559962386438/fb8efcc2-0fb4-45ca-aadd-04077650ec65, 1580559962386438/e3679b12-d2c8-4f2f-8fd1-ffd1288c9b82, 1580559962386438/dd7f42cc-1619-4d6e-9137-8e0365e9978d, 1580559962386438/8ac5393e-67aa-4a98-966f-82c5d38773e5, 1580559962386438/2c847f88-63d6-4d1f-9069-17687a2199ed, 1580559962386438/e1601af3-cc4b-42d4-932e-74e1a3d18c46, 1580559962386438/9c37e22b-a17c-458b-ab0d-a33f59e2ecb2, 1580559962386438/2b62a639-e821-4c1d-bc47-c9b9e43dec13, 1580559962386438/86183739-df20-485b-b49b-6565348fdacc, 1580559962386438/9abd6a29-a50c-4afa-9566-4e9c1a20c885, 1580559962386438/50872c21-11f6-40f5-95ed-a4a8ff9e50dc, 1580559962386438/590fcd85-1152-4b82-8ce2-3c7e72818e34, 1580559962386438/dd569688-ab5c-4443-a250-c70d7ab078c0, 1580559962386438/586fece7-9ee2-4c55-b3c5-15cff8869290, 1580559962386438/864dfe84-f31b-4ddd-88f0-1e275871a7c0 2024-11-05 23:56:14 museum-1 | INFO[2382]request_logger.go:119 func5 outgoing client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 h_latency=36.082222ms latency_time=36.082222ms query=count=42 req_body= req_id=1f6079a7-b68a-43e9-97f1-b744f1690308 req_method=GET req_uri=/files/upload-urls status_code=200 ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) user_id=1580559962386438 2024-11-05 23:56:15 museum-1 | INFO[2383]request_logger.go:94 func5 incoming client_ip=172.20.0.1 client_pkg=io.ente.photos.independent client_version=0.9.53 query=count=40 req_body= req_id=a24663c0-5ca8-420e-8797-5efaddd57c5f req_method=GET req_uri=/files/upload-urls ua=Ente Photos/0.9.53 (Android 14; 2106118C; odin; arm64-v8a) 2024-11-05 23:56:15 museum-1 | INFO[2383]file.go:283 GetUploadURLs Returning objectKeys: 1580559962386438/b69f977a-2d4d-4343-887c-09a86a5d0a0c, 1580559962386438/f6516c6f-814e-4a81-aceb-c1355e045d1a, 1580559962386438/6f65b342-1cee-4dee-8504-5f2ccb70e8ec, 1580559962386438/607dcd2a-794a-4b60-8d11-041ad0fa8815, 1580559962386438/05c1215c-972c-473f-b3fc-ae2eee8ad76b, 1580559962386438/763d6dbe-499d-43fa-a1fc-77c542d1a417, 1580559962386438/f1abe230-3c3f-4bc6-bd68-10b81ba25e1b, 1580559962386438/6d1bbe94-3baf-4f1b-a3ad-410143e10a1e, 1580559962386438/587d2a13-82ac-4c68-a6de-16f9ea5b7599, 1580559962386438/ec6b81b2-2040-472d-b2df-fd64a6e314c2, 1580559962386438/1b5c527c-2b7a-4582-acdb-be7e6013c94b, 1580559962386438/b26fda2c-2115-42db-b74c-617a22d88bb8, 1580559962386438/53621bad-5dec-4baf-811e-db7b192ea56f, 1580559962386438/9e0436e5-5578-4495-9e02-d7876211ede6, 1580559962386438/5ad5ab3a-f313-4fa0-82b1-6ef7949d9d0f, 1580559962386438/ee7e3cee-356b-482f-8db0-ed5b081a3e9e, 1580559962386438/12cd8c2d-c638-4e90-8c26-e4861deba8e2, 1580559962386438/3b4b27a7-0589-434d-8631-9c0bea38acb2, 1580559962386438/b0388265-8a2c-499d-989e-2fccbba45469, 1580559962386438/d87f3c2d-f3d8-476a-a821-cf51e85f2a53, 1580559962386438/ae2ab893-a1fb-4ac9-b2f7-e68067f0490e, 1580559962386438/8ff61b3b-2bac-4fa1-8bde-3f28d9453427, 1580559962386438/d2666dbb-cdd2-41bb-92f3-99842b5a9673, 1580559962386438/0e74b06a-70f5-4b90-89d6-b873f23e8f7f, 1580559962386438/eb98c560-c96f-4223-be5a-3f7a2f1809cc, 1580559962386438/707db13a-661f-4bb1-8d67-b7942e503031, 1580559962386438/6d74e954-fdf4-48d0-8f80-745534a1aa8a, 1580559962386438/3a15da72-199f-41e0-b3c0-15ecb9a52174, 1580559962386438/c29e426e-7f58-4970-904d-1503123ba17c, 1580559962386438/413ddc14-283f-443b-a6fc-78aa90b6b39b, 1580559962386438/6f249618-54c9-4565-a647-8b07a7ca344f, 1580559962386438/b32929b2-db8e-42c0-aad1-a8373c88e221, 1580559962386438/4615cfed-d93a-45cb-a098-1dd4e552dad5, 1580559962386438/3198b49c-a20a-41bd-8949-4902d94e75b6, 1580559962386438/15c2214e-c8f2-499c-ac29-67cc8f1cfde0, 1580559962386438/209994ce-4037-4a60-bcd6-49e03e22cd56, 1580559962386438/a6a087cf-7b9e-4378-8cbb-4314d7ae6d60, 1580559962386438/f9d1e634-9063-4145-a667-b025f98ccc39, 1580559962386438/cda512ba-b0ce-414b-9821-3be74862379e, 1580559962386438/ebe0ba39-75b4-4042-aad2-8831bf498ab1