Rclone config panic google team drive - is it safe to use

Here’s the terminal output from rclone config for a Google Team Drive using crypt which generated some errors during the config process. It appears to be working in that I can rclone copy to the drive and things appear to be fine. However, I thought I should check since I would like for the drive to be used for years.

This is the first team drive volume I have configured. I have not seen these types of error messages for stores which I created on my personal google drive.

Please advise as to whether I should continue to use the encrypted team drive or if I should abandon and create again. Thanks.

The complete output is inline below. Although, I have hidden the portions surrounding the actual error messages with disclosure triangles.

rclone config - output prior to error
| 15 => rclone config
2018/07/03 08:37:35 NOTICE: Config file "/Volumes/UserHD/Users/myuser/.config/rclone/rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> mygdrive_team
Type of storage to configure.
Choose a number from below, or type in your own value
 1 / Alias for a existing remote
   \ "alias"
 2 / Amazon Drive
   \ "amazon cloud drive"
 3 / Amazon S3 Compliant Storage Providers (AWS, Ceph, Dreamhost, IBM COS, Minio)
   \ "s3"
 4 / Backblaze B2
   \ "b2"
 5 / Box
   \ "box"
 6 / Cache a remote
   \ "cache"
 7 / Dropbox
   \ "dropbox"
 8 / Encrypt/Decrypt a remote
   \ "crypt"
 9 / FTP Connection
   \ "ftp"
10 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
11 / Google Drive
   \ "drive"
12 / Hubic
   \ "hubic"
13 / Local Disk
   \ "local"
14 / Mega
   \ "mega"
15 / Microsoft Azure Blob Storage
   \ "azureblob"
16 / Microsoft OneDrive
   \ "onedrive"
17 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
18 / Pcloud
   \ "pcloud"
19 / QingCloud Object Storage
   \ "qingstor"
20 / SSH/SFTP Connection
   \ "sftp"
21 / Webdav
   \ "webdav"
22 / Yandex Disk
   \ "yandex"
23 / http Connection
   \ "http"
Storage> 11
Google Application Client Id - leave blank normally.
client_id>
Google Application Client Secret - leave blank normally.
client_secret>
Scope that rclone should use when requesting access from drive.
Choose a number from below, or type in your own value
 1 / Full access all files, excluding Application Data Folder.
   \ "drive"
 2 / Read-only access to file metadata and file contents.
   \ "drive.readonly"
   / Access to files created by rclone only.
 3 | These are visible in the drive website.
   | File authorization is revoked when the user deauthorizes the app.
   \ "drive.file"
   / Allows read and write access to the Application Data folder.
 4 | This is not visible in the drive website.
   \ "drive.appfolder"
   / Allows read-only access to file metadata but
 5 | does not allow any access to read or download file content.
   \ "drive.metadata.readonly"
scope> 1
ID of the root folder - leave blank normally.  Fill in to access "Computers" folders. (see docs).
root_folder_id>
Service Account Credentials JSON file path  - leave blank normally.
Needed only if you want use SA instead of interactive login.
service_account_file>
Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine or Y didn't work
y) Yes
n) No
y/n> y
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access
Waiting for code...

This is portion of rclone config with error:

Got code
Configure this as a team drive?
y) Yes
n) No
y/n> 2018/07/03 08:39:36 http: panic serving 127.0.0.1:49399: send on closed channel
goroutine 34 [running]:
net/http.(*conn).serve.func1(0xc42040e000)
	/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:1726 +0xd0
panic(0x4abb0e0, 0x4d31c40)
	/usr/local/Cellar/go/1.10.1/libexec/src/runtime/panic.go:502 +0x229
github.com/ncw/rclone/lib/oauthutil.(*authServer).Start.func3(0x4d3e8c0, 0xc420428000, 0xc420418000)
	/private/tmp/rclone-20180428-27759-nczfku/rclone-1.41/src/github.com/ncw/rclone/lib/oauthutil/oauthutil.go:451 +0x2c4
net/http.HandlerFunc.ServeHTTP(0xc420183fd0, 0x4d3e8c0, 0xc420428000, 0xc420418000)
	/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:1947 +0x44
net/http.(*ServeMux).ServeHTTP(0xc42025fe90, 0x4d3e8c0, 0xc420428000, 0xc420418000)
	/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:2337 +0x130
net/http.serverHandler.ServeHTTP(0xc420263790, 0x4d3e8c0, 0xc420428000, 0xc420418000)
	/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:2694 +0xbc
net/http.(*conn).serve(0xc42040e000, 0x4d3f1c0, 0xc4202f80c0)
	/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
	/usr/local/Cellar/go/1.10.1/libexec/src/net/http/server.go:2795 +0x27b

y/n> y
Fetching team drive list...
Choose a number from below, or type in your own value
 1 / Archive
   \ "_text_intentially_altered_"
Enter a Team Drive ID> 1
rclone config - output after error
--------------------
[mygdrive_team]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file =
token = {"access_token":"_text_intentially_altered_-_text_intentially_altered_","token_type":"Bearer","refresh_token":"1/s-_text_intentially_altered_-_text_intentially_altered_","expiry":"2018-07-03T09:39:36.741452595+01:00"}
team_drive = _text_intentially_altered_
'''--------------------'''
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:

Name                 Type
====                 ====
mygdrive_team          drive

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
name> team_crypt
Type of storage to configure.
Choose a number from below, or type in your own value
 1 / Alias for a existing remote
   \ "alias"
 2 / Amazon Drive
   \ "amazon cloud drive"
 3 / Amazon S3 Compliant Storage Providers (AWS, Ceph, Dreamhost, IBM COS, Minio)
   \ "s3"
 4 / Backblaze B2
   \ "b2"
 5 / Box
   \ "box"
 6 / Cache a remote
   \ "cache"
 7 / Dropbox
   \ "dropbox"
 8 / Encrypt/Decrypt a remote
   \ "crypt"
 9 / FTP Connection
   \ "ftp"
10 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
11 / Google Drive
   \ "drive"
12 / Hubic
   \ "hubic"
13 / Local Disk
   \ "local"
14 / Mega
   \ "mega"
15 / Microsoft Azure Blob Storage
   \ "azureblob"
16 / Microsoft OneDrive
   \ "onedrive"
17 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
18 / Pcloud
   \ "pcloud"
19 / QingCloud Object Storage
   \ "qingstor"
20 / SSH/SFTP Connection
   \ "sftp"
21 / Webdav
   \ "webdav"
22 / Yandex Disk
   \ "yandex"
23 / http Connection
   \ "http"
Storage> 8
Remote to encrypt/decrypt.
Normally should contain a ':' and a path, eg "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
remote> mygdrive_team:crypt
How to encrypt the filenames.
Choose a number from below, or type in your own value
 1 / Don't encrypt the file names.  Adds a ".bin" extension only.
   \ "off"
 2 / Encrypt the filenames see the docs for the details.
   \ "standard"
 3 / Very simple filename obfuscation.
   \ "obfuscate"
filename_encryption> 2
Option to either encrypt directory names or leave them intact.
Choose a number from below, or type in your own value
 1 / Encrypt directory names.
   \ "true"
 2 / Don't encrypt directory names, leave them intact.
   \ "false"
directory_name_encryption> 1
Password or pass phrase for encryption.
y) Yes type in my own password
g) Generate random password
y/g> y
Enter the password:
password:
Confirm the password:
password:
Password or pass phrase for salt. Optional but recommended.
Should be different to the previous password.
y) Yes type in my own password
g) Generate random password
n) No leave this optional password blank
y/g/n> y
Enter the password:
password:
Confirm the password:
password:
Remote config
--------------------
[team_crypt]
type = crypt
remote = mygdrive_team:crypt
filename_encryption = standard
directory_name_encryption = true
password = *** ENCRYPTED ***
password2 = *** ENCRYPTED ***
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:

Name                 Type
====                 ====
team_crypt           crypt
mygdrive_team          drive

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q

That looks like a bug in

Is it reproducable?

It looks like you compiled go yourself - which go version did you use and which rclone commit did you compile?

Perhaps it might be best if you make a new issue on github with those details in.

As for the error itself, it looks harmless - it is to do with the collecting the auth token code, so if your auth token is working fine then I wouldn’t worry about it.

Thanks for the confirmation that the drive should be fine. I haven’t as yet experimented with creating multiple team drives. That was the first and only one I have created. I can access it and I have uploaded a few TB of data and all has been working well.

I’ll see if I can get it to recur and if so post the details to Github.

If you could post what you posted already here to github with a few more details that would be very helpful - thanks.