JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.10.2016, 19:29
MLi MLi is offline
Ultra Loader
 
Join Date: Oct 2010
Posts: 47
Default Firefox/Chrome Captcha Window permanently reloading

For the last few days the Firefox/Chrome captcha windows are permanently reloading, which kills the CPU really quickly. They can't close the Window, because neither allow that, but so far I could with that. But the permanent reload is really not working...

This is for the Oct 22 16:36:23 version.

Any help welcome!
Reply With Quote
  #2  
Old 23.10.2016, 04:38
God's Avatar
God God is offline
JD Alpha
 
Join Date: Feb 2013
Posts: 24
Default

Yes, I am seeing this, too. The in-browser CAPTCHA reloads endlessly.
Reply With Quote
  #3  
Old 24.10.2016, 02:00
MikeRivle MikeRivle is offline
Modem User
 
Join Date: Sep 2010
Posts: 4
Default

same here !

Captcha reloads many times in my Browser ( FF 49.0.2 - W10 Pro 64Bit )
Reply With Quote
  #4  
Old 24.10.2016, 10:14
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,323
Default

Thanks for the feedback. We will check/fix this as soon as possible
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 24.10.2016, 10:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,323
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 24.10.2016, 10:59
coalado's Avatar
coalado coalado is offline
JD Manager
 
Join Date: Feb 2009
Posts: 1,983
Default

I cannot reproduce this on the latest chrome version. Any hints?

Teamviewer would be a good option to see what's going on.
__________________
Reply With Quote
  #7  
Old 24.10.2016, 11:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,323
Default

Do you mean RecaptchaV1 or RecaptchaV2(I'm not a robot checkbox) ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 24.10.2016, 14:10
mweut mweut is offline
JD Alpha
 
Join Date: Jul 2015
Posts: 22
Default

I am getting the endless loop too.

the "text captcha" in browser. (do not know if it applies to the checkbox)

Try this link **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #9  
Old 25.10.2016, 04:25
God's Avatar
God God is offline
JD Alpha
 
Join Date: Feb 2013
Posts: 24
Cool

For a temporary work-around, disable BrowserCaptchaSolver: Browser Loop (obviously).

Quote:
Originally Posted by coalado View Post
Any hints?
It may depend on the upload service, because I did not notice it with every browser tab opened by JDownloader.
Reply With Quote
  #10  
Old 25.10.2016, 05:57
MLi MLi is offline
Ultra Loader
 
Join Date: Oct 2010
Posts: 47
Default

I've traced through it, here is what I see:

On the first run after a reload it goes into window.onload, checks "recaptcha_challenge_image" and because it's not there does the 100ms timeout. Once that times out it goes through and sends the XHR request, which does a reload. xhr.onLoad is called, and it calls closeWindowOrTab() to close the tab. That goes through to the open(location, '_self').close(); try, which triggers a reload. Now we're back in window.onload, and history repeats itself.

I think the problem is that open(location, '_self').close(); triggers a reload on FF. Looking around it looks like that trick is not really very useful any more, it might make sense to retire it.

The real solution, which may or may not be acceptable to everybody, is to go into about:config and set dom.allow_scripts_to_close_windows to true. That solves everything, as it allows the script to close the window/tab. I'm ok with that, I only use FF for JD2. YMMV.

Hope it helps!
Reply With Quote
  #11  
Old 25.10.2016, 05:58
MLi MLi is offline
Ultra Loader
 
Join Date: Oct 2010
Posts: 47
Default

I've traced through it, here is what I see:

On the first run after a reload it goes into window.onload, checks "recaptcha_challenge_image" and because it's not there does the 100ms timeout. Once that times out it goes through and sends the XHR request, which does a reload. xhr.onLoad is called, and it calls closeWindowOrTab() to close the tab. That goes through to the open(location, '_self').close(); try, which triggers a reload. Now we're back in window.onload, and history repeats itself.

I think the problem is that open(location, '_self').close(); triggers a reload on FF. Looking around it looks like that trick is not really very useful any more, it might make sense to retire it.

The real solution, which may or may not be acceptable to everybody, is to go into about:config and set dom.allow_scripts_to_close_windows to true. That solves everything, as it allows the script to close the window/tab. I'm ok with that, I only use FF for JD2. YMMV.

Hope it helps!
Reply With Quote
  #12  
Old 25.10.2016, 10:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,323
Default

Thanks, this will help us for sure. Coalado is already working on it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 25.10.2016, 11:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,323
Default

Should be fixed with next core update in a few mins
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 27.10.2016, 17:56
charonme charonme is offline
Mega Loader
 
Join Date: Feb 2012
Posts: 61
Default

I had the same problem. I just updated JD2 and now it's not endlessly reloading any more, thanks for the fix!
Reply With Quote
  #15  
Old 28.10.2016, 08:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,323
Default

Thanks for the feedback!
__________________
JD-Dev & Server-Admin
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 03:18.
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 - 2019, Jelsoft Enterprises Ltd.