mandarons / icloud-drive-docker

Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.
BSD 3-Clause "New" or "Revised" License
969 stars 46 forks source link

[BUG] ERROR :: icloudpy.base :: base.py :: 186 :: Bad Gateway (502) #167

Closed TheIronboy closed 8 months ago

TheIronboy commented 8 months ago

Describe the bug I get this error spammed in my logs, and i don't understand why

To Reproduce I used docker compose to run the container, here is the config:

version: "3.4"

services: icloud: hostname: docker-icloud-drive container_name: icloud-docker image: mandarons/icloud-drive:latest environment:

Expected behavior It should sync my drive and photos without getting this error spammed in the logs

Screenshots image

mandarons commented 8 months ago

Do you have advanced data protection enabled?

TheIronboy commented 8 months ago

no, i disabled it yesterday

mandarons commented 8 months ago

Try deleting all the folders, container etc. and recreate them. Log into icloud.com and make sure everything looks good.

Gateway errors usually indicate some network issue and service unavailable is related to your iCloud settings.

TheIronboy commented 8 months ago

okay, problem solved, i was using pi-hole and it was blocking icloud for some reason. thanks!