#41
|
||||
|
||||
![]()
What exactly does not work?
getDirectConnectionInfos, does it work? /device/ping with IP:Port, does it work?
__________________
JD-Dev & Server-Admin |
#42
|
|||
|
|||
![]()
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? |
#43
|
||||
|
||||
![]()
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 |
#44
|
|||
|
|||
![]()
I get error Recv failure: Connection reset by peer
when i try to call DIRECT IP |
#45
|
||||
|
||||
![]()
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 |
#46
|
|||
|
|||
![]()
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.. |
#47
|
||||
|
||||
![]()
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 |
#48
|
|||
|
|||
![]()
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. |
#49
|
||||
|
||||
![]()
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 |
#50
|
|||
|
|||
![]()
Hi..
example this is url to api.jdownloader.org: Code:
http://api.jdownloader.org/t_eabba6c86a583f8118c363197ece9fc93c90748b_d4ac3236294b45302649a59e55d6d9af/device/getDirectConnectionInfos Code:
http://IP:PORT/t_eabba6c86a583f8118c363197ece9fc93c90748b_d4ac3236294b45302649a59e55d6d9af/device/ping Should I send this sessiontoken and device id ? |
#51
|
||||
|
||||
![]()
The request is the same, with all content. Only the host/port changes.
You still need the encrypted post content!
__________________
JD-Dev & Server-Admin |
#52
|
|||
|
|||
![]()
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? |
#53
|
||||
|
||||
![]()
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 |
#54
|
|||
|
|||
![]()
Hi,
can we try teamviewer for while ? |
#55
|
||||
|
||||
![]()
sure
you can reach me in chat, irc, freenode, #jdteam
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|