EldoS | Feel safer!

Software components for data protection, secure storage and transfer

"Login required" error during upload of a large file to Google Drive

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#36482
Posted: 04/14/2016 06:24:24
by ntr1 (Standard support level)
Joined: 02/05/2014
Posts: 83

A number of users are reporting an error while uploading large files to Google Drive.

Our software uses the latest VCL version, 14, of CloudBlackBox.

After the software correctly authenticated and is sending the file, for example after 2 hours, the upload is aborted and the error message is "login required".

How is it possible the login is lost during the transfer? Is there any sort of keep alive (please consider we've set the keep alive property: KeepAlivePolicy := kapPreferKeepAlive)?

Can you reproduce this problem? I think you need at least a 10 GB file and an upload time of more than 2 hours.
#36483
Posted: 04/14/2016 06:45:41
by Alexander Ionov (Team)

Thank you for contacting us.

Quote
ntr1 wrote:
How is it possible the login is lost during the transfer?

I think the access token has expired. That's why the server reported "login required" error.

Quote
ntr1 wrote:
Can you reproduce this problem?

Sure, we'll check this.


--
Best regards,
Alexander Ionov
#36485
Posted: 04/14/2016 08:56:06
by Eugene Mayevski (Team)

This topic was discussed before, and there was no solution found back then - the token indeed expires within an hour and while it's possible to renew it (in another thread), the new token would be ok for new operations, while the current upload is regulated by the old token, which has expired. This is a limitation of Google Drive API, as it seems (either they didn't test this scenario or assumed that no people would upload large files on slow speed, I don't know).


Sincerely yours
Eugene Mayevski
#36494
Posted: 04/15/2016 10:04:18
by Alexander Ionov (Team)

Unfortunately, I cannot confirm the issue. I've been uploading a file during 3 hours. The file has been uploaded successfully. No error was reported.

So, the reason is not in the session duration. There must be something else that causes the problem.


--
Best regards,
Alexander Ionov
#38739
Posted: 02/21/2017 03:17:16
by ntr1 (Standard support level)
Joined: 02/05/2014
Posts: 83

I'm sorry I've to open again this thread.

Unfortunately it seems the "login required" error when uploading a very large files to Google Drive, that requires many hours, is still present.

From the logs of our clients, it seems to occurr after 6-8 hours.

I know it's a long test to do, but I think you can easily reproduce it sending a file that requires more than 10 hours to upload.

I've also set the property

KeepAlivePolicy := kapPreferKeepAlive;

Is there some other required property I should set ?
#38747
Posted: 02/22/2017 02:13:00
by Eugene Mayevski (Team)

I don't see how we can help you if google breaks the connection and requires the user to re-login. Did you try to contact Google support with this issue?


Sincerely yours
Eugene Mayevski
#38749
Posted: 02/22/2017 03:39:07
by Alexander Ionov (Team)

Thank you for contacting us.

Eugene is right. If the access token expires during file upload and your attempt to resume the upload after re-login fails, we cannot do anything about this issue.


--
Best regards,
Alexander Ionov
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 3164 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!