[RESOLVED] FG and jDownloader bug

Ask for help about FlashGot, no registration needed to post
Post Reply
genome_boy
Posts: 5
Joined: Sun Feb 17, 2013 9:29 pm

[RESOLVED] FG and jDownloader bug

Post by genome_boy »

Since 5 days ago I noticed a strange problem between flashgot and jDownloader: everytime I select "Flashgot Link" flashgot seems to send atleast 3 requests to JD to download the file, with results in multiple messages regarding duplicate files.

Log:

JDownloader response:
0

JDownloader response:
0

JDownloader response:
0

JDownloader response:
0

JDownloader response:
0

However I already talked to the guys at JD and after some analysis this is what they found out: "No Bug in JD. The connection is instant closed by flashgot! JD works fine. IT responds correct but has no chance to do so as the connection is closed directly after the request is send. Maybe bug in flashgot or flashgot+firefox combination".

Any ideas? Thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG and jDownloader bug

Post by Giorgio Maone »

Nothing has changed in JD support for ages.
Does this happen also in a clean profile with just FlashGot installed?
Which JD version are you using?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
genome_boy
Posts: 5
Joined: Sun Feb 17, 2013 9:29 pm

Re: FG and jDownloader bug

Post by genome_boy »

Giorgio Maone wrote:Nothing has changed in JD support for ages.
Does this happen also in a clean profile with just FlashGot installed?
Which JD version are you using?
Hello. Yup, I tried to clean install both JD and FG (even cleared the about:options on Firefox regarding FG) but the problem persisted. I'm currently using jDownloader 2.
In the JD forums atleast a couple more guys had the same problem.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

Here is the thread I started, maybe help something ...
http://board.jdownloader.org/showthread.php?t=46702

Edit1:

This is a typical log (no change with JDownloader2.exe). The same response 0 appears, when JD already runs, and when FG starts it. I don't know what is -- async at the end of the Running .. line.

Download managers detection done in 2223ms
Preprocessing done in ms42
Starting dispatch
Dispatch done in ms193
Total processing time: ms245
JDownloader response:
0

Running E:\WINDOWS\System32\javaw.exe -Xmx512m -jar D:\Soft\JDownloader2\JDownloader.jar -- async
Native execution time 258
JDownloader response:
0

JDownloader response:
0

Starting cleanup
Cleanup done
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG and jDownloader bug

Post by Giorgio Maone »

Hmm, FlashGot is tested (and still works just fine for me) on JD 0.9x.
So I tend to believe it's a problem introduced by some change in JD 2 (isn't it still in beta? where do I download it?)
Anyway, could you confirm by trying to install stable JD 0.9x and checking whether it works in your setup?
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
genome_boy
Posts: 5
Joined: Sun Feb 17, 2013 9:29 pm

Re: FG and jDownloader bug

Post by genome_boy »

Giorgio Maone wrote:Hmm, FlashGot is tested (and still works just fine for me) on JD 0.9x.
So I tend to believe it's a problem introduced by some change in JD 2 (isn't it still in beta? where do I download it?)
Anyway, could you confirm by trying to install stable JD 0.9x and checking whether it works in your setup?
JD 2 can be downloaded from here.

I will try 0.9x as soon as I can and I'll get back to you then. Thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

This is from the bug report: http://svn.jdownloader.org/issues/7779

"Updated by jiaz 1 day ago

Status changed from Assigned to Closed
Resolution set to Wont Fix

No Bug in JD. The connection is instant closed by flashgot! JD works fine. IT responds correct but has no chance to do so as the connection is closed directly after the request is send. Maybe bug in flashgot or flashgot+firefox combination"

And this was my reply in http://board.jdownloader.org/showpost.p ... stcount=12

"I don't understand how this is possible, because the same Firefox (19.0) and Flashgot (1.5.4.2) work my previous (freezed) JD2 in my spare folder. I waited 10 minutes, and there was no re-launch of the download.
This old version is "Build date: Mon Feb 25 15:17:06 cet 2013" (UpdateSettings.autoupdatecheckenabled is disabled).
Perhaps inadvertently so far it worked?"

Maybe the developers of FG and JD2 together can find the reason.
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG and jDownloader bug

Post by Giorgio Maone »

In facts, it must be a recently introduced bug in JD2.
You just need to type http://127.0.0.1:9666/flashgot in the URL bar and hit enter to observe the difference between older and newer JD versions: the former return their executable path and invocation command line, the latter abort the connection (no FlashGot involved there, just a normal HTTP request from the browser to JD's web interface).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

I try 3 versions of JD with typing http://127.0.0.1:9666/flashgot into FF URL bar.

JD2 Build Mar 05 and Feb 25 gives 2 times the dialog
I click on both dialog to Allow, and FF says The connection was reset - the is no difference between the two versions.
(Allow and deny works the same way !!)

I add a link with FG:
The newer doesn't work with FG,
but the older Build Feb 25 works well with FG !

JD 0.9.581 gives a dialog too,
but clicking on Allow results the displaying of the executable path and invocation command line, as you told.
D:\Soft\JDownloader/JDownloader.jar java -Xmx512m -jar D:\Soft\JDownloader/JDownloader.jar in FF
However, I get the same result clicking on Deny !!

And now what to do ? Could you communicate with JD people ?

----------------------------------------------------------------------------------------------------------------

These lines are from OldLogL.0 file in the newer JD2:

------------------------Thread: 14:OldLogL-----------------------
--ID:14TS:1362565920541-2013.03.06. 11:32:00 - [org.appwork.storage.config.handler.ListHandler(read)] -> Read Config: D:\Soft\JDownloader2-uj, ezt kell updatelni\cfg\updateclient\HttpSettings.proxy.json
------------------------Thread: 57:OldLogL-----------------------
--ID:57TS:1362566113889-2013.03.06. 11:35:13 - [org.appwork.storage.config.handler.ListHandler(read)] -> Read Config: D:\Soft\JDownloader2-uj, ezt kell updatelni\cfg\org.jdownloader.api.RemoteAPIConfig.externinterfaceauth.json
--ID:57TS:1362566113889-2013.03.06. 11:35:13 - [org.appwork.txtresource.TranslationHandler(createTranslationResource)] -> Utils>Load Translation file:/D:/Soft/JDownloader2-uj,%20ezt%20kell%20updatelni/translations/org/jdownloader/api/cnl2/translate/ExternInterfaceTranslation.en.lng
--ID:57TS:1362566113899-2013.03.06. 11:35:13 - [org.appwork.utils.swing.dialog.ConfirmDialog(<init>)] -> Utils>Dialog [Allow it!][Deny access!]
flag: 0
title: External request from Mozilla/5.0 Gecko/20100101 Firefox/19.0!
msg:
An external application tries to add links
------------------------Thread: 58:OldLogL-----------------------
--ID:58TS:1362566115812-2013.03.06. 11:35:15 - [org.appwork.storage.config.handler.ListHandler(read)] -> Read Config: D:\Soft\JDownloader2-uj, ezt kell updatelni\cfg\org.jdownloader.api.RemoteAPIConfig.externinterfaceauth.json
--ID:58TS:1362566115812-2013.03.06. 11:35:15 - [org.appwork.utils.swing.dialog.ConfirmDialog(<init>)] -> Utils>Dialog [Allow it!][Deny access!]
flag: 0
title: External request from Mozilla/5.0 Gecko/20100101 Firefox/19.0!
msg:
An external application tries to add links
------------------------Thread: 57:OldLogL-----------------------
--ID:57TS:1362566115912-2013.03.06. 11:35:15 - [org.appwork.utils.net.httpserver.HttpConnection(run)] -> Utils>java.io.IOException: Headers already send!
------------------------Thread: 58:OldLogL-----------------------
--ID:58TS:1362566117434-2013.03.06. 11:35:17 - [org.appwork.utils.net.httpserver.HttpConnection(run)] -> Utils>java.io.IOException: Headers already send!

the RemoteAPIConfig.externinterfaceauth.json file contains:
null
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG and jDownloader bug

Post by Giorgio Maone »

I've just sent an email to Jiaz, but please try to keep also their forum thread in sync if you can (it seemed offline to me this morning).
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

Thanks.
I the meantime I've checked the working on my spare partition with FF 15 and 21 (Aurora), but found the same, bad working
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

I posted everything again into my thread
http://board.jdownloader.org/showthread.php?t=46702
but didn't get replies, and the thread is "Declined".
Now I wait, maybe something happens.

Thanks
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: FG and jDownloader bug

Post by Giorgio Maone »

bici-boci wrote:Now I wait, maybe something happens.
Jiaz just mailed me:
Jiaz wrote: Found, will work again with one of the next updates
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

Thank you, great news !
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
bici-boci
Posts: 7
Joined: Tue Mar 05, 2013 6:24 pm

Re: FG and jDownloader bug

Post by bici-boci »

With the latest update the downloads work well, I tested http://127.0.0.1:9666/flashgot, allow and deny replies seems to be good.

Thanks
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
Post Reply