JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #41  
Old 09.11.2015, 11:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

What exactly does not work?
getDirectConnectionInfos, does it work?
/device/ping with IP:Port, does it work?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #42  
Old 09.11.2015, 13:47
Stepel
Guest
 
Posts: n/a
Default

getDirectConnectionInfos works when I call it from api.jdownloader.org
But it returns something only when I am connected to my.jdownloader.org from JD2 instance on my VPS linux. Maybe I don't understand something how I should do it.
I thought that I do all directly to my JD2 Instance..
I should be connected do My.JDownloader.org from my JD2 instance?
Reply With Quote
  #43  
Old 09.11.2015, 14:03
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

Client -> api.jdownloader.org (login)
api.jdownloader.org <- JDownloader (login

Client -> api.jdownloader.org -> JDownloader (getDirectConnectionInfos)

Client -> IP:PORT (JDownloader) (/device/ping)

A direct-connection just means you bypass the tunnel and directly connect to JDownloader via the same protocol!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #44  
Old 12.11.2015, 22:08
Stepel
Guest
 
Posts: n/a
Default

I get error Recv failure: Connection reset by peer
when i try to call DIRECT IP
Reply With Quote
  #45  
Old 13.11.2015, 11:52
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

This happens when you send an invalid request!
It is 100% the same request you would do via api.jdownloader.org
you ONLY change api.jdownloader.org with IP:PORT.
It is the same protocol/api!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #46  
Old 17.11.2015, 23:28
Stepel
Guest
 
Posts: n/a
Default

I only replace address but it doesn't work..I am not sure if CURL from PHP like http://IP:PORT is properly format.. but even i tried set alternative port in curl options.
Still the same :(
It looks like CLIENT doesn't see my JD Instance..
Reply With Quote
  #47  
Old 18.11.2015, 12:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

I can offer help via Teamviewer if you like! But you should first finish your work and then fine tuning for direct connections
__________________
JD-Dev & Server-Admin
Reply With Quote
  #48  
Old 18.11.2015, 14:29
Stepel
Guest
 
Posts: n/a
Default

Ok then I will write you on chat. I will try by myslef yet. I actually finished my tests with api.downloader.org

I send Link, getStatus, and then remove Link. It works as I want.
Reply With Quote
  #49  
Old 18.11.2015, 14:37
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

Just contact me if you need any help. And I can try to help with direct connection via teamviewer if you want
__________________
JD-Dev & Server-Admin
Reply With Quote
  #50  
Old 19.11.2015, 21:11
Stepel
Guest
 
Posts: n/a
Default

Hi..

example this is url to api.jdownloader.org:
Code:
http://api.jdownloader.org/t_eabba6c86a583f8118c363197ece9fc93c90748b_d4ac3236294b45302649a59e55d6d9af/device/getDirectConnectionInfos
and then I use:
Code:
http://IP:PORT/t_eabba6c86a583f8118c363197ece9fc93c90748b_d4ac3236294b45302649a59e55d6d9af/device/ping
Is it properly ?
Should I send this sessiontoken and device id ?
Reply With Quote
  #51  
Old 20.11.2015, 09:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

The request is the same, with all content. Only the host/port changes.
You still need the encrypted post content!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #52  
Old 20.11.2015, 10:48
Stepel
Guest
 
Posts: n/a
Default

Hmm so it looks I do it properly but still doesn't work.
Don't I have to set any options in my JD instance?
Reply With Quote
  #53  
Old 20.11.2015, 11:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

No, nothing to set in JDownloader, as long as you don't have changed any MyJDownloader Settings in Advanced Settings
I can take a look via Teamviewer if you want
__________________
JD-Dev & Server-Admin
Reply With Quote
  #54  
Old 25.11.2015, 10:49
Stepel
Guest
 
Posts: n/a
Default

Hi,

can we try teamviewer for while ?
Reply With Quote
  #55  
Old 25.11.2015, 10:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,943
Default

sure
you can reach me in chat, irc, freenode, #jdteam
__________________
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 22:03.
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 - 2025, Jelsoft Enterprises Ltd.