JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 17.04.2020, 16:24
gjm gjm is offline
Junior Loader
 
Join Date: Apr 2020
Posts: 11
Default API Error 500

Hallo,
mittels API (MyAPI, PHP) bekomme ich jetzt immer 500 Error beim hinzufügen der Links vor dem vorletzten Update hatte das aber immer sehr gut funktioniert
Reply With Quote
  #2  
Old 17.04.2020, 19:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Es gab lediglich in der Funktion zum Verschieben von Links in ein neues Paket eine Änderung. Welcher Fehler genau kommt denn?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 17.04.2020, 19:31
gjm gjm is offline
Junior Loader
 
Join Date: Apr 2020
Posts: 11
Default Api error 500

response code: 500
response text: HTTP/2 500 date: Fri, 17 Apr 2020 17:29:47 GMT content-type: application/json; charset=utf-8 content-length: 42 server: AppWork GmbH NIO-Engine access-control-allow-origin: * x-upstreamaddr: 127.0.0.1:10202 x-upstreamctime: 0.000 x-upstreamhtime: 0.000 { "src" : "MYJD", "type" : "UNKNOWN" }

response info:

[url] => https://api.jdownloader.org/t_81db609cf8b7cbd20db65ca35edc99141f7b31ce_5eb95fdfbcc1111af32cbfbeefb96634JDownloader@gjm
[content_type] => application/json; charset=utf-8
[http_code] => 500
[header_size] => 265
[request_size] => 221
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.211953
[namelookup_time] => 0.011156
[connect_time] => 0.053151
[pretransfer_time] => 0.161059
[size_upload] => 152
[size_download] => 42
[speed_download] => 199
[speed_upload] => 720
[download_content_length] => 42
[upload_content_length] => 152
[starttransfer_time] => 0.161072
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 88.99.115.46
[certinfo] => Array


[primary_port] => 443
[local_ip] => 192.168.0.180
[local_port] => 27023
[http_version] => 3
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 160903
[connect_time_us] => 53151
[namelookup_time_us] => 11156
[pretransfer_time_us] => 161059
[redirect_time_us] => 0
[starttransfer_time_us] => 161072
[total_time_us] => 211953

Last edited by gjm; 17.04.2020 at 19:38.
Reply With Quote
  #4  
Old 17.04.2020, 19:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Die URL die den 500er Fehler sieht falsch aus! Oder Fehler bei Copy/Paste?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 17.04.2020, 19:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Welche API genau nutzt du denn da? Link?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 17.04.2020, 19:41
gjm gjm is offline
Junior Loader
 
Join Date: Apr 2020
Posts: 11
Default

github.com/tofika/my.jdownloader.org-api-php-class
/*
* My.jdownloader.org API class definition
* **External links are only visible to Support Staff****External links are only visible to Support Staff**
*
* @author Anatoliy Kultenko "tofik"
* @license BSD **External links are only visible to Support Staff****External links are only visible to Support Staff**
*/

Last edited by gjm; 17.04.2020 at 19:44.
Reply With Quote
  #7  
Old 17.04.2020, 19:45
gjm gjm is offline
Junior Loader
 
Join Date: Apr 2020
Posts: 11
Default

ich hab in der doku gelesen das es keinen 500 status gibt aber der request sieht denoch so aus
Reply With Quote
  #8  
Old 17.04.2020, 19:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Wir können uns das gerne noch eben via Teamviewer gemeinsam anschauen, schreib mir an support@jdownloader.org
Aus den *Log* Auszügen kann ich nicht wirklich was erkennen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #9  
Old 17.04.2020, 19:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Session frisch geholt/eingeloggt?
Steuerung über https://my.jdownloader.org geht ohne Probleme?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 17.04.2020, 20:23
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

Gelöst via Teamviewer -> falsches/von Hand JSON zusammengebaut
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 17.04.2020, 20:48
gjm gjm is offline
Junior Loader
 
Join Date: Apr 2020
Posts: 11
Default

Danke für die tolle Unterstützung, ich hab das Problem durch deine Hilfe lösen können, es war ein Leerzeichen am ende des Links
Super Unterstützung
Reply With Quote
  #12  
Old 17.04.2020, 21:05
gjm gjm is offline
Junior Loader
 
Join Date: Apr 2020
Posts: 11
Default

diesen tolle unterstützung war mir eine kleine Spende wert!
Reply With Quote
  #13  
Old 20.04.2020, 12:54
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,511
Default

Danke

Grüße, psp
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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:49.
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 - 2020, Jelsoft Enterprises Ltd.