Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1882028

Summary: Handle 308 redirect change of behavior
Product: [Fedora] Fedora Reporter: Michael Terry <mike>
Component: PyDriveAssignee: Nick Bebout <nb>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: nb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Terry 2020-09-23 16:00:01 UTC
Description of problem:
httplib2 0.16 changed how 308 redirects are handled. This broke some existing python packages that weren't expecting that change when talking to Google servers that use 308 redirects. Like PyDrive.

Version-Release number of selected component (if applicable):
1.3.1

How reproducible:
A little difficult. I'm not entirely sure how, but it involves uploading a large or a lot of files and then eventually this error shows up.

I'm seeing this manifest higher up the chain with bug reports of errors like "RedirectMissingLocation: Redirected but the response is missing a Location: header"

Additional info:
Some history in these issues:
https://github.com/httplib2/httplib2/issues/156
https://github.com/googleapis/google-api-python-client/issues/803
https://gitlab.gnome.org/World/deja-dup/-/issues/74

The pydrive2 project landed these patches to fix it:
https://github.com/iterative/PyDrive2/compare/c2609b74f41569f81e98376ab6cbc71333e82848...18537bbb5b9a7eee38c84bc1bbea46faf42c18b4

Maybe we could just apply those patches to this package too.

Comment 1 Ben Cotton 2021-02-09 15:19:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.