Quote:
Originally Posted by Patr100
Dunno why you are having a go. My original post with the error reported clearly stated the link I posted WORKED IN BROWSER but not in JD otherwise I would not have started the thread!
|
... because your log clearly shows that this issue was on their side already!
Code:
----------------Request Information-------------
URL: **External links are only visible to Support Staff**
SSLCipher: JVM:TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
ConnectIP: k2s.cc/104.20.192.117:443
Connection-Timeout: 90000ms
Read-Timeout: 60000ms
----------------Request-------------------------
POST /api/v2/getfilesinfo HTTP/1.1
Host: k2s.cc
User-Agent: JDownloader.4086141075
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-gb, en;q=0.8
Accept-Encoding: gzip, deflate, br
Cache-Control: no-cache
Content-Type: application/json; charset=UTF-8
Content-Length: 25
{"ids":["CENSORED"]}
----------------Response Information------------
Connection-Time: 9ms
Request-Time: 107ms
----------------Response------------------------
HTTP/1.1 502 Bad Gateway
Date: Fri, 16 Aug 2019 21:36:31 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=CENSORED; expires=Sat, 15-Aug-20 21:36:31 GMT; path=/; domain=.k2s.cc; HttpOnly
Set-Cookie: cf_use_ob=0; path=/; expires=Fri, 16-Aug-19 21:37:01 GMT
Expect-CT: max-age=604800, report-uri="**External links are only visible to Support Staff**
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Server: cloudflare
CF-RAY: CENSORED-LHR
------------------------------------------------
--ID:385TS:1565991392774-16/08/19 22:36:32 - [] -> Exception thrown at jd.plugins.hoster.K2SApi.checkLinks(K2SApi.java:356):
java.io.IOException: 502 Bad Gateway
The only way I could imagine that it worked via browser but not via JD would be if they had issues with the API.
In our plugin settings you can turn off the API (not recommended!) as a workaround if there are issues:
Settings --> Plugins --> keep2share.cc --> Use API --> UNCHECK that
-psp-