fail to upload image: {:error, :connect_timeout}

  1. FarmBot uses different back-end services for different features
  • Command/telemetry traffic → Web-app (Heroku) & MQTT broker (Digital Ocean)
  • Photo uploads → Google Cloud Storage bucket FarmBot Forum
  1. Google’s storage endpoints (https://storage.googleapis.com/...) are aggressively throttled or reset by the Great Firewall. Small control packets still get through (so pings/WebSockets show 100 % OK) but the TLS session carrying a multi-MB JPEG stalls until FarmBot OS gives up and returns connect_timeout.

  2. AWS-hosted services (CloudFront, S3, etc.) show the same pattern: traffic is randomly rerouted to the US or dropped, giving very high latency and poor throughput.

This is hard to fix. Try dropping the resolution. It might work but I am not sure of a fix.