#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
@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. |
#3
|
|||
|
|||
@Jiaz:
Did you try downloading after being logged in with any google account? |
#4
|
||||
|
||||
No. Have you added your google account to JDownloader?
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
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. |
#6
|
||||
|
||||
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 |
#7
|
||||
|
||||
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:
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#8
|
|||
|
|||
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 |
09.12.2022, 15:15 |
pspzockerscene |
Message deleted by pspzockerscene.
Reason: Irrelevant
|
#9
|
||||
|
||||
@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 |
#10
|
|||
|
|||
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. |
#11
|
|||
|
|||
@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. |
#12
|
||||
|
||||
@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 |
#13
|
|||
|
|||
Vivaldi.
Quote:
Quote:
|
#14
|
||||
|
||||
@beechcott:
Thanks for the feedback. Have you ever tried with firefox/chrome to export cookies?
__________________
JD-Dev & Server-Admin |
#15
|
|||
|
|||
I hadn't before, but I did now after reading your post (using Firefox). It made no difference.
|
#16
|
||||
|
||||
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
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#17
|
||||
|
||||
@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 |
#18
|
|||
|
|||
Quote:
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. |
#19
|
|||
|
|||
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 |
#20
|
||||
|
||||
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
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#21
|
||||
|
||||
That's correct.
I've posted another reply into the other thread and provided a possibly temporary workaround. Quote:
1. Under Settings -> Plugins -> drive.google.com -> "Select preferred video quality" you selected anything other than "Original file". 2. You got "Allow stream download if original file can't be downloaded due to a quota limit" enabled and that fallback gets triggered somehow. This could theoretically even be related to the problem described in your old thread. You can disable this setting and check what will happen then. EDIT I've just updated our Google Drive troubleshooting article to include the above mentioned hints. To investigate this further, I'd need a full log (logID). You can also upload your log folder (newest session only please) manually and leave a link here or attach them to your forum post as .zip file (if they're not super big in size). Your logs are stored in [JD install dir]/logs
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download Last edited by pspzockerscene; 21.02.2023 at 14:18. Reason: Added link to Google Drive troubleshooting article |
#22
|
|||
|
|||
Quote:
Quote:
My previous log folder turned out to be too large, which was probably what caused the problem. I've uploaded a log from my new session. Here's the info: 21.02.23 11.31.45 <--> 21.02.23 11.47.12 jdlog://8513311370661/ |
#23
|
||||
|
||||
@beechcott
Merged Google Drive threads because the underlying issue is still the login bug. For the next update, I've added 3 debug settings into the Google Drive plugin settings for further testing two of which are related to this issue. So after the next CORE-update, please try the following: Enable these plugin settings: - Debug: Perform extended account check? and: - Debug: Force validate login on every linkcheck/download attempt (will slow things down)? -> Then do this: 1. Refresh your google drive account in JD -> Does it still work or is it now displayed as "Invalid session"? If your google drive account is still displayed as valid, proceed: 2. Attempt to download again. Does it work now? If it still doesn't work, please provide a new log. Bitte auf das nächste CORE-Update warten! Please wait for the next CORE-Update! Wartest du auf einen angekündigten Bugfix oder ein neues Feature? Updates werden nicht immer sofort bereitgestellt! Bitte lies unser Update FAQ! | Please read our Update FAQ! --- Are you waiting for recently announced changes to get released? Updates to not necessarily get released immediately! Bitte lies unser Update FAQ! | Please read our Update FAQ! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#24
|
||||
|
||||
CORE-Updates have been released!
All announced bugfixes and features are live! Please update your JDownloader and report any issues you find asap. If this thread gets marked as "[Solved]" by our forum staff you can still post in it and we will read- and reply to it! CORE-Updates wurden released! Alle angekündigten Bugfixes/Features sind nun verfügbar! Bitte JDownloader updaten und eventuelle Bugs schnellstmöglich an uns melden. Falls dieser Thread vom Team als "[Erledigt]" markiert wird, kannst du weiterhin darin antworten und wir lesen/beantworten auch solche Threads! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
|
|