-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
In the forum issues were reported with v1.49.4.
The issues looked like this
2019/09/30 13:36:34 INFO : Google drive root 'crypt': Failed to get StartPageToken: Get https://www.googleapis.com/drive/v3/changes/startPageToken?alt=json&prettyPrint=false&supportsAllDrives=true: stream error: stream ID 1923; INTERNAL_ERROR
2019/09/30 13:42:04 INFO : Google drive root 'crypt': Failed to get StartPageToken: Get https://www.googleapis.com/drive/v3/changes/startPageToken?alt=json&prettyPrint=false&supportsAllDrives=true: stream error: stream ID 1929; INTERNAL_ERROR
2019/10/02 19:36:29 ERROR : IO error: open file failed: Get https://www.googleapis.com/drive/v3/files/XXX?alt=media: stream error: stream ID 1217; INTERNAL_ERROR
This is an internal error from the go standard library HTTP/2 code.
v1.49.4 was accidentally compiled with go1.13 which enabled http/2 by default for google drive for reasons not clear from the changelog.
Rolling the compiler back to go1.12 with no other code changes fixes the problem which is what was released as v1.49.5
An attempt at a workaround making these errors retriable was put in f9f9d50 but this did not seem effective.
Problem statement
- go1.12 runs reliably with google drive over HTTP/1
- go1.13 runs unreliably with google drive over HTTP/2