Я хочу скопировать свои файлы в диск Google с помощью rclone этой командой:
sudo rclone sync "/media/so/ACAC8B5FAC8B2346/Company Informations/مدارک شرکت GSH/اداری (copy)" gsh:Company_Informations/office_files --checkers 3 --log-file /home/so/Desktop/trash/rclone_sync.log -v --transfers 3
Таким образом, я получаю эту ошибку:
Failed to sync: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
Таким образом, весь файл журнала является этим видом:
2019/12/30 21:16:04 Failed to create file system for "gsh_email:drive": drive: failed when making oauth client: error opening service account credentials file: open ss: no such file or directory
2019/12/30 21:52:45 ERROR : : error reading destination directory: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:45 INFO : GCS bucket Company_Informations path office_files: Waiting for checks to finish
2019/12/30 21:52:45 INFO : GCS bucket Company_Informations path office_files: Waiting for transfers to finish
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting files as there were IO errors
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting directories as there were IO errors
2019/12/30 21:52:45 ERROR : Attempt 1/3 failed with 1 errors and: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:45 ERROR : : error reading destination directory: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:45 INFO : GCS bucket Company_Informations path office_files: Waiting for checks to finish
2019/12/30 21:52:45 INFO : GCS bucket Company_Informations path office_files: Waiting for transfers to finish
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting files as there were IO errors
2019/12/30 21:52:45 ERROR : GCS bucket Company_Informations path office_files: not deleting directories as there were IO errors
2019/12/30 21:52:45 ERROR : Attempt 2/3 failed with 1 errors and: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:46 ERROR : : error reading destination directory: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:46 INFO : GCS bucket Company_Informations path office_files: Waiting for checks to finish
2019/12/30 21:52:46 INFO : GCS bucket Company_Informations path office_files: Waiting for transfers to finish
2019/12/30 21:52:46 ERROR : GCS bucket Company_Informations path office_files: not deleting files as there were IO errors
2019/12/30 21:52:46 ERROR : GCS bucket Company_Informations path office_files: not deleting directories as there were IO errors
2019/12/30 21:52:46 ERROR : Attempt 3/3 failed with 1 errors and: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
2019/12/30 21:52:46 Failed to sync: googleapi: Error 403: We're sorry, but this service is not available in your location, forbidden
Таким образом, что Ваша рекомендация состоит в том, чтобы решить эту проблему?
403 с тем сообщением указывает, что Google не предлагает эту услугу в Вашу страну или местоположение.
Учитывая геолокацию от Вашего вопроса о VPN, размещающего Вас в Иран, это происходит, вероятно, из-за санкций на месте в отношении Вашей страны, и Google соблюдает закон тех санкций и запрещает доступ Ирака к этому сервису. К сожалению, это - решение Google и нет ничего, что мы можем действительно сделать для помощи, Вы в этом вопросе кроме предлагаете, чтобы Вы использовали VPN (который может или не может также запретить Ираку соединение),