JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07.06.2021, 18:12
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Question Remote access problem with one computer

Hello,

I have JDL on two computer and they work perfectly. One has OS is Win 10, the other OS is Win 7.
One PC has Java "Oracle Corporation - Java(TM) SE Runtime Environment - 1.8.0_162(32bit)".
Other PC has Java "Oracle Corporation - Java(TM) SE Runtime Environment - 1.8.0_101(64bit)".

The problem is that connection over MyJdownloader: with Win 10 works perfectly, but connection with Win 7 is very slow. Both computers are on the same LAN. Besides that, both have the full (optical) bandwidth and no problems with other types of download or upload (e.g. torrent).
The same behavior is also from Jdwonloader application for Android.

What can be a problem? Thank you in advance!
Reply With Quote
  #2  
Old 07.06.2021, 18:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Connected via LAN/WLAN?
Same network? What/same browser?
Can you check both browser, if MyJDownloader is using a direct connection or relay server?
there is a connection icon at the bottom, you click on it and thenbrowser will try to establish a direct connection.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 08.06.2021, 12:19
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Default

Quote:
Originally Posted by Jiaz View Post
Connected via LAN/WLAN?
Same network? What/same browser?
Can you check both browser, if MyJDownloader is using a direct connection or relay server?
there is a connection icon at the bottom, you click on it and then browser will try to establish a direct connection.
They are on the same network, side by side. The same behavior is when I am in local network (via WiFi) and far away from these computers.
The browser is Firefox, but I 'l try Chrome too.

I don't understand this part: "is using a direct connection or relay server"?

I try direct connection and after that it started doing normally (also from Android app, Chrome too)!
So, I must wait until can reproduce this behavior again (if any).
Reply With Quote
  #4  
Old 08.06.2021, 12:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Quote:
Originally Posted by voja21 View Post
So, I must wait until can reproduce this behavior again (if any).
The problem doesn't happen all the time?

Just to understand you correct, the problem is that remote control via Browser(MyJDownloader) is slow when you're connected to the JDownloader instance running on Windows 7?
Or is it slow when you try to use MyJDownloader in Browser ON Windows 7?
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 08.06.2021 at 13:00.
Reply With Quote
  #5  
Old 08.06.2021, 15:07
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Default

JDL client on Win 7 works fine. But remote access to that client was very slow, no matter is it accessed from the local browser or from remote PC, Android mobile or Android JDL app.
The problem was lasting for a long time, but I ignored it. Until today: I clicked in the browser (MyJDL) and followed your advice: "there is a connection icon at the bottom, you click on it and then browser will try to establish a direct connection.".
After this it works great!
Reply With Quote
  #6  
Old 08.06.2021, 15:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@voja21: Thanks for the feedback! It should also work *okay* without an established direct connection.
Where are you from? What is your ping times to api.jdownloader.org ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 09.06.2021, 11:58
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Default

@Jiaz: This morning I tried again from the browser (Firefox) and I must wait some time (30-60 s), but after that response to all actions (adding links, seeing a progress) was reasonably quick.
I tried another browser (Chrome) and it wait the same time, but after that it was OK.

Then I closed browser and restarted JDL. After about a minute I got a message "Connection refused". After that it continued connecting almost indefinitely... and connected after few minutes.

All of is with JDL client on Win 7. Win 10 works great (connection after maximum ten seconds).
And what is strange, both of them are side by side, connected to the same Gb switch?!

Here is the response from both computers, identical RT=42ms

Code:
Pinging api.jdownloader.org [88.99.115.46] with 32 bytes of data:
Reply from 88.99.115.46: bytes=32 time=42ms TTL=57
Reply from 88.99.115.46: bytes=32 time=42ms TTL=57
Reply from 88.99.115.46: bytes=32 time=42ms TTL=57
Reply from 88.99.115.46: bytes=32 time=42ms TTL=57
Reply With Quote
  #8  
Old 09.06.2021, 12:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Anything special on the Win7 machine? Firewall/AV?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 10.06.2021, 09:25
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Default

On both computers the Windows Firewall is turned on, AV is Kaspersky.
I 'll try to disable FW on Win 7 and see is this better.
I remember that JDL asked Windows to open some ports and I allowed that. However, in Windows Firewall on both computers, I couldn't identify rules (neither inbound nor outbound) which are reserved for JDL.
Reply With Quote
  #10  
Old 10.06.2021, 13:36
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Does this even happen when you try to use MyJDownloader in browser on that Win7 machine?
Can you reproduce it? If yes, we could take a look via teamviewer if you want. Just contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 10.06.2021, 14:36
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Default

I tried MyJDownloader on that Win 7 machine and it works fast. I tried Win 10 and Android app and it works fast, too! I can't understand when it starts working slow?!
I 'll try in following days to test reproduce all these behavior.

Thank you for your efforts to help me.
Reply With Quote
  #12  
Old 10.06.2021, 15:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

You may thank me once we've found the cause
__________________
JD-Dev & Server-Admin
Reply With Quote
  #13  
Old 26.07.2021, 19:33
voja21's Avatar
voja21 voja21 is offline
Junior Loader
 
Join Date: Apr 2021
Posts: 14
Default

Maybe I have found a source of the problem.
I installed a JDL on another Win 7 computer and it works perfectly. And then I have noticed a difference in the instalations.
All working installations (Win 7 and 10) have correctly set Windows firewall rules.
Non-working installation is much older and it has JDownloader.jar instead of JDownloader2.exe. I don't know how to configure firewall if program is not executable of type exe?
Is that missing rule is making a problem?
Reply With Quote
  #14  
Old 26.07.2021, 20:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

@voja21: Yes, that may be the cause if windows firewall blocks incomming connections by default.
For those JDownloader.jar, you should find java.exe in list of applications.
I recommend to just reinstall JDownloader, see https://jdownloader.org/jdownloader2
and copy over your existing/old cfg folder completely, see https://support.jdownloader.org/Know...-configuration
__________________
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 18:58.
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 - 2024, Jelsoft Enterprises Ltd.