Error 502 while I'm trying login Google Drive cloud

atman.

Cadet
Joined
Dec 16, 2021
Messages
2
I installed Truenas for the first time and am trying to set up a connection to Google Drive, following the instructions (https://www.truenas.com/docs/core/tasks/googledrivesync/). When I go to [System > Cloud Credentials > Add], enter a name and select Google Drive and click "Login to provider", a small browser window opens, but after 5-10 seconds I get a "502 Bad Gateway" error. Tried it many times.

I looked for possible solutions on the forum, found advice to fill in the Default Gateway and DNS Servers, filled them: Default Gateway - internal network IP of my router (192.168.1.1), DNS Servers I tried 192.168.1.1 or 8.8.8.8, but it does not help.

Version: TrueNAS-12.0-U7
Google Drive is not personal, but the G Suite of a small organization
 

r1khard

Cadet
Joined
Dec 17, 2021
Messages
1
I installed Truenas for the first time and am trying to set up a connection to Google Drive, following the instructions (https://www.truenas.com/docs/core/tasks/googledrivesync/). When I go to [System > Cloud Credentials > Add], enter a name and select Google Drive and click "Login to provider", a small browser window opens, but after 5-10 seconds I get a "502 Bad Gateway" error. Tried it many times.

I looked for possible solutions on the forum, found advice to fill in the Default Gateway and DNS Servers, filled them: Default Gateway - internal network IP of my router (192.168.1.1), DNS Servers I tried 192.168.1.1 or 8.8.8.8, but it does not help.

Version: TrueNAS-12.0-U7
Google Drive is not personal, but the G Suite of a small organization
Hy did u have resolve problem?
 

atman.

Cadet
Joined
Dec 16, 2021
Messages
2
Update

The first stage of authorization started working by itself. I just tried it again and in the step where the "502 Bad Gateway" error appears, the Authorization page loaded, as indicated in the help.

But after I selected a Google account for authentication, at the next step I received the error "(missing_token) missing access token parameter".

I read the forum and realized that apparently you need to fill in the “Team Dilve ID”. Created a test folder on my Google Drive, inserted its ID.

But then I got the "Authorization Error Error 400: redirect_uri_mismatch "- see print screen.
 

Attachments

  • 2021-12-17 23.37.03.jpg
    2021-12-17 23.37.03.jpg
    90.5 KB · Views: 217
  • 2021-12-17 23.37.15.jpg
    2021-12-17 23.37.15.jpg
    36.6 KB · Views: 214
Top