salimoha / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Unable to upload PDF due to SSL error. #436

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to upload a PDF document
2.
3.

What is the expected output? What do you see instead?
I receive: Failed to upload issue145H.pdf: Server responded with: 403, <errors 
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>Serv
iceForbiddenException</code><internalReason>403.4 SSL 
required</internalReason></error></errors>

What version of the product are you using? On what operating system?
google 0.9.13
DISTRIB_DESCRIPTION="Ubuntu 11.10"

What version of gdata-python-client (aka python-gdata)?
python-gdata  2.0.14-2

Please provide any additional information below.

Original issue reported on code.google.com by carl...@gmail.com on 19 Oct 2011 at 5:01

GoogleCodeExporter commented 9 years ago
Are you sure you're running python-gdata 2.0.14?  I get that error if I'm 
running the stock ubuntu gdata, but if I set my PYTHONPATH to where I have 
gdata 2.0.14 (locally) installed, it works fine.

Original comment by jh...@google.com on 20 Oct 2011 at 3:11

GoogleCodeExporter commented 9 years ago
dpkg suggests that is the version I am using, however it is the stock Oneiric 
version. If it isn't the same as the real 2.0.14 version I should file a bug.

cdavis@ubuntu-laptop:~/bin$ dpkg --list |grep python-gdata
ii  python-gdata                           2.0.14-2                             
      Google Data Python client library

Original comment by carl...@gmail.com on 20 Oct 2011 at 12:17

GoogleCodeExporter commented 9 years ago
I have tried setting the PYTHONPATH with both 2.0.14 and 2.0.15 downloaded from 
the python-gdata code site and experience the same issues.

Original comment by carl...@gmail.com on 20 Oct 2011 at 1:58

GoogleCodeExporter commented 9 years ago
Hi

Did some research: works up to gdata 2.0.13 but with 14 and 15 you get this SSL 
Error with the docs interface.
Debian squeeze 
googlecl and gdata installed from tar

cheers Josef

Original comment by moosb...@gmail.com on 25 Oct 2011 at 5:05

GoogleCodeExporter commented 9 years ago
I have to correct myself:
gdata-2.0.14 is ok
 cheers josef

Original comment by moosb...@gmail.com on 26 Oct 2011 at 6:43

GoogleCodeExporter commented 9 years ago
I have completely removed python-gdata from my system and I still get the SSL 
error. Is there a setting within my Google account that I need to change?

Original comment by carl...@gmail.com on 28 Oct 2011 at 11:56

GoogleCodeExporter commented 9 years ago
Ubuntu 10.04.3 LTS
Gdata 2.0.14 (tarball)

I get a different 403 error:

Server responded with: 403, <errors 
xmlns='http://schemas.google.com/g/2005'><error><domain>GData</domain><code>Serv
iceForbiddenException</code><internalReason>Files must be uploaded using the 
resumable upload mechanism.</internalReason></error></errors>

Seems more like the one mentioned here.
http://code.google.com/p/googlecl/issues/detail?id=394

Original comment by Coilamg on 7 Nov 2011 at 7:20

GoogleCodeExporter commented 9 years ago
This fixes the resumable uploader problem for me with gdata 2.0.14. It probably 
won't work for the older versions of gdata, so it's not commit ready yet, but 
it may fix this for you.

I also had trouble with gdata 2.0.15 and haven't figured that out yet so I 
haven't tried this fix with that version, either.

Original comment by Coilamg on 7 Nov 2011 at 9:17

Attachments: