I am having a strange issue when I am trying to upload to Google Docs by API.
We are using the Java library, and we are using DEFAULT_CHUNKED_SIZE, but it failed to upload any files.
Then I changed to NO_CHUNKED_MEDIA_REQUEST, we were able to upload small files , however large file size still fail.
I also tried to set a specific value, but that also failed.
reason:Error writing request body to server
service = new DocsService(applicationName);
service.setChunkedMediaUpload(512*1024);
Strange enough, this only happens on one of our hosting environment. Another instance which runs on Amazon EC2 doesn't
have this issue at all.
--
Hitoshi Uchida
Sorry for my late response.
Though you tried to send a scanned pdf using multipart in Time
52.396330 of the captured packets, the http server send TCP RST in
Time 52.396605 immediately. The reason of RST from the server seems to
be 0 of windows size.
2011/2/23 hitoshi uchida <hitoshi...@gmail.com>:
--
Regards,
Hitoshi Uchida <hitoshi...@gmail.com>
Do you connect the google docs server with SSL/TLS ? I think you are connecting with no-encrypted because the wirewall could block.
So if you change to SSL/TLS, your request could be reached because the wirewall couldn't check the transfered message.
--
Hitoshi Uchida