JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 03.12.2022, 17:09
reddevil reddevil is offline
JD VIP
 
Join Date: Apr 2010
Posts: 364
Default Google drive unable to download public links

Hi JD Team,

Unable to download some Google drive public links with JD reporting 'Insufficient permissions: Private file'. Downloads fine via browser. Please look into it.

Log: 03.12.22 17.41.14 <--> 03.12.22 18.21.57 jdlog://3651311370661/

Links: **External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Thanks and Regards,
Doc MaKS aKa reddevil
Reply With Quote
  #2  
Old 04.12.2022, 15:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@reddevil:
I can't download your files because they have reached public sharing limit or just fail(nothing happens in browser)

Please see https://support.jdownloader.org/Know...roubleshooting

I will also wait for pspzockerscene to check upon this. He's more familiar with the plugin/google drive support
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 04.12.2022 at 16:07.
Reply With Quote
  #3  
Old 04.12.2022, 16:16
reddevil reddevil is offline
JD VIP
 
Join Date: Apr 2010
Posts: 364
Default

@Jiaz:
Did you try downloading after being logged in with any google account?
Reply With Quote
  #4  
Old 04.12.2022, 16:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

Quote:
Originally Posted by reddevil View Post
@Jiaz:
Did you try downloading after being logged in with any google account?
No. Have you added your google account to JDownloader?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 04.12.2022, 16:33
reddevil reddevil is offline
JD VIP
 
Join Date: Apr 2010
Posts: 364
Default

Quote:
Originally Posted by Jiaz View Post
No. Have you added your google account to JDownloader?
Yes, i have added account details via drive.google.com with the cookie login method and it seems fine.

With google account logged in, am able to download the above links via browser.
Reply With Quote
  #6  
Old 04.12.2022, 16:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

Quote:
Originally Posted by Jiaz View Post
I will also wait for pspzockerscene to check upon this. He's more familiar with the plugin/google drive support
I will leave this plugin to pspzockerscene. He can help you much better than I could as I don't have any idea how the plugin works and what is supported and what not.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 06.12.2022, 01:16
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 66,538
Default

I've recently tried to add a better detection of situation "User tries to download private file and is lacking permissions to do so".

It looks like this handling is sometimes executed instead of the "Quota reached" handling.
While I have some ideas I was unable to find the exact point of failure with the provided log.

Please provide the following information:
  • More fresh links which fail in JD with error "Insufficient permissions"
  • A fresh logID
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #8  
Old 08.12.2022, 21:05
reddevil reddevil is offline
JD VIP
 
Join Date: Apr 2010
Posts: 364
Default

New links as requested:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**


Log: 09.12.22 01.25.11 <--> 09.12.22 01.29.29 jdlog://9761311370661/

Error got triggered while downloading the above first 3 links in parallel (hopefully log caught it). Sometimes single links starts downloading but if another or more are started in parallel then the insufficient error pops up and stops. Tried more than 6 links in parallel via browser under same google account and works fine.

Last edited by reddevil; 08.12.2022 at 22:20. Reason: added more sample links
Reply With Quote
Old 09.12.2022, 15:15
pspzockerscene
Message deleted by pspzockerscene. Reason: Irrelevant
  #9  
Old 09.12.2022, 16:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@reddevil : I'm unable to reproduce the issue either. Can you please set max downloads to 1 and create a fresh log (restart JDownloader) so the log contains downloads in easier to read order
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 11.12.2022, 14:58
reddevil reddevil is offline
JD VIP
 
Join Date: Apr 2010
Posts: 364
Default

Fresh debug log with max downloads set to 1: 11.12.22 19.23.11 <--> 11.12.22 19.27.02 jdlog://4371311370661/

All the above times log (debug is ON) was created after a fresh start of JD.
Reply With Quote
  #11  
Old 12.12.2022, 06:36
beechcott beechcott is offline
DSL Light User
 
Join Date: Oct 2013
Posts: 32
Default

@pspzockerscene I am also experiencing the same problem with some Google Drive links.

I've created a log:

11.12.22 23.18.42 <--> 11.12.22 23.30.26 jdlog://6471311370661/

Here are the three links that failed in that particular logged session:

**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

These are not the only Google links that I have experienced the error with.
Reply With Quote
  #12  
Old 12.12.2022, 15:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@reddevil:
@beechcott:
Thanks for the logs. Due to unknown reason google redirects the final downloads again to the login page.
What browser did you use to export your cookies? did you visit google.com and then export the cookies? tried with fresh pair of cookies?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 12.12.2022, 19:35
beechcott beechcott is offline
DSL Light User
 
Join Date: Oct 2013
Posts: 32
Default

Quote:
Originally Posted by Jiaz View Post
What browser did you use to export your cookies?
Vivaldi.

Quote:
did you visit google.com and then export the cookies?
Yes.

Quote:
tried with fresh pair of cookies?
Yes.
Reply With Quote
  #14  
Old 13.12.2022, 11:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@beechcott:
Thanks for the feedback. Have you ever tried with firefox/chrome to export cookies?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #15  
Old 13.12.2022, 21:09
beechcott beechcott is offline
DSL Light User
 
Join Date: Oct 2013
Posts: 32
Default

Quote:
Originally Posted by Jiaz View Post
@beechcott:
Thanks for the feedback. Have you ever tried with firefox/chrome to export cookies?
I hadn't before, but I did now after reading your post (using Firefox). It made no difference.
Reply With Quote
  #16  
Old 19.12.2022, 12:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 66,538
Default

I'm sorry but we weren't able to locate the problem yet.
It looks like for some reason, all of the suddon on download-attempt it looks like you're not logged in anymore though your session cookies are clearly still valid.
Also we haven't been able to reproduce this issue so far...
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #17  
Old 20.12.2022, 11:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,044
Default

@beechcott:
@reddevil:
does this happen for all files or just random/some ones? anything special about setup? eg vpn/proxy in browser or JDownloader?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #18  
Old 23.12.2022, 22:42
beechcott beechcott is offline
DSL Light User
 
Join Date: Oct 2013
Posts: 32
Default

Quote:
Originally Posted by Jiaz View Post
@beechcott:
@reddevil:
does this happen for all files or just random/some ones? anything special about setup? eg vpn/proxy in browser or JDownloader?
I'm sorry that it took me so long to respond. I didn't see your newest posts until now.

I'm not using a VPN or proxy.

The error doesn't happen when I try it with small files of about 1 GB or so (at least those that I've tried), but it happens when I try to download large ones (10+ GB). One time, a particular large file started to download once (after previously failing and giving the error message many times), but the download failed shortly in and trying to resume and to restart it both gave the error message again.

Last edited by beechcott; 25.12.2022 at 04:22.
Reply With Quote
  #19  
Old 20.02.2023, 21:51
beechcott beechcott is offline
DSL Light User
 
Join Date: Oct 2013
Posts: 32
Default Large video files on Google Drive downloading as small, low-bitrate ones instead

I was experiencing the problem described in this other thread for a long time:

https://board.jdownloader.org/showthread.php?p=515229

As far as I know, it was never fully fixed. But in any case, it seems to have gone away for me, but to have been replaced by a new problem. Whenever I try to download large video files from Google Drive, JDownloader seems at first to be properly downloading the file, but winds up downloading a smaller, low-bitrate version instead.

For example, I tried downloading this 10 GB mkv file:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

But it downloaded as a lower-bitrate 5.53 GB file instead. The file plays all the way through, but is of much lower picture quality than the file that should have downloaded.

I also tried downloading this 23.79 GB, 1080p m2ts file:

**External links are only visible to Support Staff****External links are only visible to Support Staff**

But the downloaded file was a mere 1.49 GB. One again, it played all the way through, but is a low-bitrate 720p file.

I tried uploading a log, but got this error:

Code:
jd.http.Browser$BrowserException: Caller: org.jdownloader.jdserv.JDServUtils.uploadLog(JDServUtils.java:37)
org.jdownloader.jdserv.JDServUtils.uploadLog(JDServUtils.java:23)
jd.gui.swing.jdgui.menu.actions.sendlogs.LogAction.onNewPackage(LogAction.java:79)
org.appwork.utils.logging2.sendlogs.AbstractLogAction.createPackage(AbstractLogAction.java:237)
jd.gui.swing.jdgui.menu.actions.sendlogs.LogAction.createPackage(LogAction.java:63)
org.appwork.utils.logging2.sendlogs.AbstractLogAction$2.run(AbstractLogAction.java:161)
org.appwork.utils.swing.dialog.ProgressDialog$4.run(ProgressDialog.java:235)
BrowserID:203|BrowserParentID:-1|RequestID:1|URL:https://update3.jdownloader.org/jdserv/UploadInterface/upload
----------------Request Information-------------
URL: https://update3.jdownloader.org/jdserv/UploadInterface/upload
ConnectIP: update3.jdownloader.org/138.201.123.139:443
Connection-Timeout: 10000ms
Read-Timeout: 60000ms
----------------Request-------------------------
-------------Not Connected Yet!-----------------

---------------------1676926015257274165035991220431635572968800
Content-Disposition: form-data; name="0"; filename="Data"
Content-Type: application/octet-stream
Content-Length: 77508993

[.....77508993 FileByte DATA....]
---------------------1676926015257274165035991220431635572968800
Content-Disposition: form-data; name="1"

%22%22
---------------------1676926015257274165035991220431635572968800
Content-Disposition: form-data; name="2"

null
---------------------1676926015257274165035991220431635572968800--

----------------Response Information------------
-------------Not Connected Yet!------------------


	at jd.http.Browser.openRequestConnection(Browser.java:1961)
	at jd.http.Browser.openRequestConnection(Browser.java:1770)
	at org.jdownloader.jdserv.JDServUtils.uploadLog(JDServUtils.java:37)
	at org.jdownloader.jdserv.JDServUtils.uploadLog(JDServUtils.java:23)
	at jd.gui.swing.jdgui.menu.actions.sendlogs.LogAction.onNewPackage(LogAction.java:79)
	at org.appwork.utils.logging2.sendlogs.AbstractLogAction.createPackage(AbstractLogAction.java:237)
	at jd.gui.swing.jdgui.menu.actions.sendlogs.LogAction.createPackage(LogAction.java:63)
	at org.appwork.utils.logging2.sendlogs.AbstractLogAction$2.run(AbstractLogAction.java:161)
	at org.appwork.utils.swing.dialog.ProgressDialog$4.run(ProgressDialog.java:235)
Caused by: java.net.SocketException: Connection reset by peer: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at sun.security.ssl.OutputRecord.writeBuffer(Unknown Source)
	at sun.security.ssl.OutputRecord.write(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.writeRecordInternal(Unknown Source)
	at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
	at sun.security.ssl.AppOutputStream.write(Unknown Source)
	at org.appwork.utils.net.CountingOutputStream.write(CountingOutputStream.java:85)
	at org.appwork.utils.net.CountingOutputStream.write(CountingOutputStream.java:85)
	at jd.http.requests.PostFormDataRequest.write(PostFormDataRequest.java:204)
	at jd.http.requests.PostFormDataRequest.postContent(PostFormDataRequest.java:118)
	at jd.http.requests.PostFormDataRequest.postRequest(PostFormDataRequest.java:142)
	at jd.http.Request.connect(Request.java:354)
	at jd.http.Request.connect(Request.java:342)
	at jd.http.Browser.openRequestConnection(Browser.java:1914)
	... 8 more
Reply With Quote
  #20  
Old 21.02.2023, 12:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 66,538
Default

Small update on this problem:

We haven't fixed it yet but we've identified it as a login problem where the google login is only working "half way" so this will trigger that distracting errormessage in the end.

Workaround: Delete(!)- and re-add the google drive account(s) you were using to download.

Do not expect a bugfix for this in the near future!
__________________
JD Supporter, Plugin Dev. & Community Manager
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 04:52.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.