JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 26.12.2017, 19:58
danielandross danielandross is offline
Baby Loader
 
Join Date: Mar 2010
Posts: 6
Question Forwarding local Browser Port

Hello community,

I am running JD on my raspberry with neither having desktop installed or the power to run a current browser.
I would like to use another computer's browser for captcha analyzing. Is it possible to forward 24613 to another machine using SSH? Did anyone succeed with this, yet?
Reply With Quote
  #2  
Old 28.12.2017, 01:36
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,266
Default

that might not be possible, you are better off using my.jd platform and connect locally to your jd instance.

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 15.01.2018, 15:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Please use https://my.jdownloader.org/ for that
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 10.03.2018, 21:33
danielandross danielandross is offline
Baby Loader
 
Join Date: Mar 2010
Posts: 6
Default

So there is no way for people who do not want to use my.jd?
Reply With Quote
  #5  
Old 11.03.2018, 00:19
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,266
Default

at this time no, and the my.jdownloader extension is required to solve the most popular captcha challenge (recaptchaV2).
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #6  
Old 12.03.2018, 13:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

MyJDownloader and the browser extension provides so called direct connection mode. In this mode the traffic is direct between client and your JDownloader. Only session handling, event notification still happens through our server.

MyJDownloader uses real end2end encryption and your password never left your computer. You can verify this by writing your own clients/tools as the api/client is open, see https://my.jdownloader.org/developers/

As an alternative I can add optional resuse last port so you can setup forwarding rules yourself and then use browser extension remotely without MyJDownloader.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 12.03.2018, 13:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Quote:
Originally Posted by danielandross View Post
Hello community,

I am running JD on my raspberry with neither having desktop installed or the power to run a current browser.
I would like to use another computer's browser for captcha analyzing. Is it possible to forward 24613 to another machine using SSH? Did anyone succeed with this, yet?
That should already be possible but the port may change each time at the moment
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 12.03.2018, 22:06
danielandross danielandross is offline
Baby Loader
 
Join Date: Mar 2010
Posts: 6
Thumbs up

Quote:
Originally Posted by Jiaz View Post
As an alternative I can add optional resuse last port so you can setup forwarding rules yourself and then use browser extension remotely without MyJDownloader.
This would be great!

So is 24613 the port we talk about?

Last edited by danielandross; 12.03.2018 at 22:09.
Reply With Quote
  #9  
Old 13.03.2018, 10:02
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

I just checked the current logic and port will be reused, so yes you should be able to port forward from remoteIP:port to localmaschine-127.0.0.1:port
Port port is bound to localhost
should work via ssh
ssh -R 24613:127.0.0.1:24613 ....
Then you can use the MyJDownloader browser extension and open the same url on local machine and port forwarding will forward to your JDownloader machine

In case you need further help with this, just contact us again
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 08.04.2018, 16:37
danielandross danielandross is offline
Baby Loader
 
Join Date: Mar 2010
Posts: 6
Default

Unfortunately it does not work:
1. JD2 does not always use 24613. I get all kinds of different ports in the log.
2. Even when I am reverse tunneling with ssh -R 24613:127.0.0.1:24613 myuser@myserver I get

Quote:
SEVERE [ Log.L.log ] -> java.io.IOException: Unsupported OpenBrowser:**External links are only visible to Support Staff****External links are only visible to Support Staff**
at org.appwork.utils.os.CrossSystem.openUrlOrThrowException(CrossSystem.java:427)
I think the software answering on my localmachine is missing. FireFox is running.

Last edited by danielandross; 08.04.2018 at 16:40.
Reply With Quote
  #11  
Old 09.04.2018, 16:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

You've got to run JDownloader with head so *openbrowser* works.
JDownloader tries to use last port and only in case it's not possible, it will use different one. Settings-Advanced Settings-BrowserCaptchaSolver.localhttpport
__________________
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 23:00.
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 - 2021, Jelsoft Enterprises Ltd.