Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encryption Debugging #63

Open
Twoure opened this issue Apr 10, 2017 · 70 comments
Open

Encryption Debugging #63

Twoure opened this issue Apr 10, 2017 · 70 comments
Assignees
Milestone

Comments

@Twoure
Copy link
Owner

Twoure commented Apr 10, 2017

What is this?

An attempt to better debug the multiple encryption variations provided by the kiss sites. AFAIK, the kiss sites deal out different encryption code base on country and/or IP filtering. I can only code for what I'm given, as the Kiss sites do not allow VPN connections. Thus, I need a way to see the raw webpages that users are having issues with.

How can I Help?

  1. Download and install the latest dev branch
  2. Once installed, restart PMS, to ensure the changes take effect
  3. Optional: Access -->Cartoon Upgrade<-- from within the Developer Tools. The option will disappear after the channel has successfully upgraded.

Note: 3 can be skipped if concerned about using kimcartoon as temporary cartoon source.

  1. Next access the most recent video/comic published from each source and try to play/read them. i.e. for kissanime, open Recent Additions, select the first result, then drill down to the last video available. Important: at the video page, select the Play button. If it cannot play the content, that is fine, but you have to try otherwise the page will not cache properly.

Do the same for the Cartoon, Drama, Comic and Manga sections.
Again make sure to try and play/read the video/comics. If they fail, that means I can work at decrypting them.

  1. Once the latest video/comic have been access and played, navigate to the Cache Tools located within the Developer Tools. There is a new Zip Cache function, that will copy the HTTP cache, RKS cache, KissNetwork logs, and system logs into a zip file located within this channels Resources directory. Select Zip Cache and wait for it to reply.
  2. Once the zip file generates, reply to this issue with the latest zip file as an attachment and a short description of what sites worked/failed.

Concerns?

  • As the HTTP cache is copied into the zip file, I clean the users Public IP (believe kissanime is the only one using user IP in cookies, but still cleaning each site if they exists).
  • Users can opt to send me a Private PM in the Plex Forums with the zip file attached.

Notes:

To use this channel's DevTools, you must be the Plex Admin user (i.e. the account that setup your PMS) and enable the DevTools from this channel's preferences (located here).

This Channel's Resources directory can be found within KissNetwork.bundle/Contents/Resources/. The channel will be installed within the PMS Plug-ins directory.

@Twoure Twoure added this to the v1.3.0 milestone Apr 10, 2017
@Twoure Twoure self-assigned this Apr 10, 2017
@aW49qA2V3RxMqD
Copy link

aW49qA2V3RxMqD commented Apr 11, 2017

I want to help but whenever I click on Anime, Cartoon or anything else the channel goes directly to the "all" page and I can't go to recent additions. Am I doing something wrong?

Edit: Nevermind I had the simple UI checked but now when I try to zip the cache I get channel is not responding.

@forthedramas
Copy link

A 2nd person getting "channel not responding" when I try to zip the cache. For what it's worth, manga and comics worked fine, but no videos would play.

@spacecuppacake
Copy link

Before I begin, many thanks for what you bring to the plex community. Your channel has been awesome.

I'm trying to follow the instructions for zipping the cache, but I'm not having any luck. There doesn't seem to be a "Zip Cache" function in Cache Tools.

@Twoure
Copy link
Owner Author

Twoure commented Apr 13, 2017

@BluPixal ,@forthedramas and @spacecuppacake

Did you restart your Plex Media Server (PMS) after downloading and installing the current dev branch?

If so, please reproduce the error, then attach the com.plexapp.plugins.kissnetwork.log and com.plexapp.system.log files in a comment. Log file help here.


Edit: never mind, found the issue for windows users thanks to #53 (comment). Pushed fix to dev branch. Please re-download (or upgrade) and follow the test procedure above.

@spacecuppacake
Copy link

Sorry, no luck. Still not seeing the Zip Cache.I still see only "reset datacovers" and "reset datahttp".

TL;dr, from WebTools, I "reinstalled with latest available," made sure I had "development" selected in options, and restarted PMS, PlexWebApp and Kiss Network Channel. I still see only "reset datacovers" and "reset datahttp".

@Twoure
Copy link
Owner Author

Twoure commented Apr 13, 2017

@spacecuppacake said:
TL;dr, from WebTools, I "reinstalled with latest available," made sure I had "development" selected in options, and restarted PMS, PlexWebApp and Kiss Network Channel. I still see only "reset datacovers" and "reset datahttp".

Unfortunately, switching to Development does not automatically update the channel. You should get a notification within the channel when there is an update.

However currently you will not, because the internal updater is keyed off of when you locally install the channel. So, if I pushed a dev update before you installed the channel, then the Update button will not show. The assumption, is whatever you initially install will always be the latest. After that, the updater checks github timestamps against the channels local install timestamp. Once a newer commit or release is available, the update button will appear.

i.e. in this instance, you need to manually download and install the dev branch.

@CastleArcade
Copy link

All of the different Kiss websites work fine on my browsers, but when it comes to Plex, nothing wants to play.

@Twoure
Copy link
Owner Author

Twoure commented Apr 13, 2017

@CastleArcade, please follow all the steps above, then attach zip file for debugging.

@CastleArcade
Copy link

The Zip Cache button didn't seem to work, so I manually zipped them instead.

DataZip.zip

@deeelwy
Copy link

deeelwy commented Apr 13, 2017

Neither my Apple TVv3/Plex Connect client or Plex's own Web client displayed where the zip file was located. But I found it manually located at:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Data/com.plexapp.plugins.kissnetwork/DataItems/Archives/KissNetwork_cache_20170413-013143.zip

Note: the beginning part of the path may differ based on OS and how Plex's username's home directory is. In my case plex's user's home directory is /var/lib/plexmediaserver. Anyway, it's in the same base directory as the Plug-ins directory is where you need to unzip the download to install this Plex Channel.

@spacecuppacake
Copy link

Many thanks, Twoure.

side note: still no streaming from Anime or Cartoon, whether server is KissNetwork, Openload, Stream, or Beta.

KissNetwork_cache_20170412-225934.zip

@NicholasLAranda
Copy link

Could you make a video on how to do this? I'll post my stuff ASAP!

@Yolley
Copy link

Yolley commented Apr 17, 2017

kissanime site is now available from my country, so i can gather requested info.
Anime and cartoons are not working still (enabled Cartoon upgrade, just get error with playing the item on every title i try to watch), manga is working weird (if i click on some page of manga, it won't open it in full screen), on drama i get "channel is not responding" on every category (so i can't even choose the title for test), on comic on every title i get "Channel is not responding". Here is zipped cache.
KissNetwork_cache_20170417-163539.zip

@Twoure
Copy link
Owner Author

Twoure commented Apr 17, 2017

@Yolley reset your Header_Dict, then clear all DataHTTP cache from channel, using the devtools.

I still need to add back in some error handling within my http request to handle when the channel encounters the cloud flare auth page. I'll get to it later today.

@Yolley
Copy link

Yolley commented Apr 17, 2017

@Twoure
Thanks!
For now i don't get the "Channel is not responding" error, but comics and manga still are working weird as before (in console i see Uncaught TypeError: Cannot read property 'length' of undefined and then 429), Anime, Drama, Cartoon show me "problem playing this item" error. Here are fresh zipped logs
KissNetwork_cache_20170417-182129.zip

@Twoure
Copy link
Owner Author

Twoure commented Apr 18, 2017

@Yolley, thanks for the cache zip. Was able to fix the cartoon variant from your cache, and spotted some errors of my own from the other day. Pushed patch to dev branch.

@CastleArcade
Copy link

I just installed the latest dev branch and everything seems to be working except for the Drama section. I figured I should let you know since it's pretty much the only section I use.
I really appreciate all the work you put into this!
KissNetwork_cache_20170417-233444.zip

@Yolley
Copy link

Yolley commented Apr 18, 2017

@Twoure, thanks for the answer.
Do i need to send cache zip after update?

@Twoure
Copy link
Owner Author

Twoure commented Apr 18, 2017

@Yolley said:
@Twoure, thanks for the answer.
Do i need to send cache zip after update?

Only if you're still experiencing playback issues.

@Yolley
Copy link

Yolley commented Apr 18, 2017

@Twoure, cartoon is working fine, but still have the same issues with anime, drama, manga, comic. Actually in anime i could watch one item (tested 3 items), but it had intro with 9anime sign for some reasons. Here is the cache zip.
KissNetwork_cache_20170418-182033.zip

@SpaceJedi
Copy link

@Twoure I can play any video from Kimcartoon.me within my browser but when I try to play it through Plex I can see the cartoons but when I try to play any of them I get the error "There was problem playing this item". I get this same error when trying to play any of the anime videos as well.
Attached is my zip file
DataZip.zip

@SiddhantArya
Copy link

SiddhantArya commented Apr 25, 2017

@Twoure I can't play anything including cartoon. It shows "There was an error playing this item" error for everything. I am able to play videos from kissanime etc on my browser but not through this plex channel.
Attached is my zip file:
KissNetwork_cache_20170425-152216.zip

@Twoure
Copy link
Owner Author

Twoure commented Apr 29, 2017

@SpaceJedi, fixed your variants in 3038109 and 08a7013

@Twoure
Copy link
Owner Author

Twoure commented Apr 29, 2017

@Yolley, current dev code should now work with your variants.

@NicholasLAranda
Copy link

I'm building my caches now as I purged them with the release from a few days ago.

It would appear so far that KimCartoon is working smoothly now as well any other form of changes needed to be made.

As soon as something I watch gives an error, I'll upload my cache.

Thanks for fixing it man. I appreciate all your hard work.

@j00j4nt200
Copy link

@Twoure Can you please tell me what is latest verison? I go to dev: clone or download-download zip. After install it's 1.2.9, but on this thread is 1.3.0. I can't find how to download 1.3.0?

@Twoure
Copy link
Owner Author

Twoure commented May 7, 2017

@j00j4nt200, v1.3.0 is a milestone, i.e. when this thread is finished it will help indicate that v1.3.0 is close or ready for release.

Edit: Sorry, to clarify, v1.2.9 is technically the latest release (which mirrors the master branch), but the dev branch (i.e. development) is farther ahead in fixes/patches. As you can see here. Once I get enough feedback that the current dev branch is working stably, then I'll merge it into the master branch and create v1.3.0 release.

@IJ08
Copy link

IJ08 commented May 12, 2017

@Twoure heads-up, looks like the captcha for kissanime just changed. Your latest dev branch isn't working anymore. Let me test and upload the logs

@IJ08
Copy link

IJ08 commented May 12, 2017

Updated with LOGS -
kissnetwork log.zip

p.s.

Can't watch anime again T_T

@IJ08
Copy link

IJ08 commented May 13, 2017

Update @Twoure only kissanime is affected on my latest issue posted. I tried kisscartoons and it is working fine.

@IJ08
Copy link

IJ08 commented May 16, 2017

Okay I tried the kissnetwork channel again after trying the fixes for the other channel but still no luck. Here are updated logs.
LOGS.zip

@Twoure
Copy link
Owner Author

Twoure commented May 16, 2017

@IJ08 said:
Okay I tried the kissnetwork channel again after trying the fixes for the other channel but still no luck.

Refer to Comment_1439247 for more info.

@IJ08
Copy link

IJ08 commented May 16, 2017

Thanks!. It was on the PLEX forum so I didn't notice.

@L2501
Copy link

L2501 commented May 24, 2017

you could use their mobile site to get rapidvideo links without captcha and other bs

@Twoure
Copy link
Owner Author

Twoure commented May 28, 2017

@L2501 said:
you could use their mobile site to get rapidvideo links without captcha and other bs

Thanks for the insight! Added mobile site as fallback for anime videos with captcha issues in 7130447.

@IJ08
Copy link

IJ08 commented May 29, 2017

I can confirm that videos are playing again due to mobile site fix. What an awesome workaround

@SiddhantArya
Copy link

The workaround seems to be ignoring the captcha for me too.
Thanks, @L2501 and @Twoure!

@bobula
Copy link

bobula commented May 31, 2017

Is there any setting i have to enable in the preferences to enable this mobile work around? I've updated to the latest deb branch and anime videos still do not work. Site is reachable and video playable in a browser without the use of a vpn. Any info is appreciated.

@Twoure
Copy link
Owner Author

Twoure commented May 31, 2017

@bobula, try restarting your PMS, beyond that no other action is required for the mobile workaround for anime videos. If you still have issues after restarting, then please include the proper logs (need com.plexapp.plugins.kissnetwork.log and com.plexapp.system.log).

@bobula
Copy link

bobula commented May 31, 2017

It looks like there was an update for my plex server. After installing it and restarting the server everything works great! Thank you for the quick response. Please continue to keep up the great work.

@IJ08
Copy link

IJ08 commented Jun 2, 2017

I notice that videos are buffering more slowly. Is this due to the mobile site workaround? The video buffs almost all the time as compared with previous

@Twoure
Copy link
Owner Author

Twoure commented Jun 2, 2017

@IJ08 yes/no. If your server is transcoding the rapidvideo links, then it can cause buffering issues. Also rapidvideo is not the best source and is generally slower than Google video links, but... is better than nothing.

@IJ08
Copy link

IJ08 commented Jun 2, 2017

Thanks for the update! Yeah that's probably it.

@L2501
Copy link

L2501 commented Jun 3, 2017

their current captcha Special/AreYouHuman2 with 5 pictures looks very bad, the answer is always either 0,2, or 1,3, and they haven't even stripped the exif data

@IJ08
Copy link

IJ08 commented Jun 3, 2017

I was watching with latest dev branch and suddenly the video broke. I tested other videos and it looks like the other newer videos are working fine. Is this a server source issue? It is an old video 2012

Attaching logs

kissnetwork_Logs.zip

@Twoure
Copy link
Owner Author

Twoure commented Jun 3, 2017

@IJ08 Sorry, but there are no errors in regards to KissNetwork within your logs. I'm assuming its an issue with the rapidvideo servers, but really don't know.

@IJ08
Copy link

IJ08 commented Jun 3, 2017

Got it. Yeah I suspect it is with the servers. Thanks

@IJ08
Copy link

IJ08 commented Jun 4, 2017

Servers are probably down. Kissnetwork isn't working at all. Anyobody else got the same problem?

@TStone123
Copy link

Been having some issues with Anime on Kissnetwork. Everything else works fine. Uploading logs.
com.plexapp.plugins.kissnetwork.zip

@Yolley
Copy link

Yolley commented Jul 3, 2017

Hi!
Bought new server, so now i have problems with this channel again. In anime in every list i just get the error "list is empty", in cartoon can't play any item.
KissNetwork_cache_20170703-124325.zip

@fleon92
Copy link

fleon92 commented Jul 22, 2017

Hi there! New to this... I've been having a problem for the past few months where every video, including the most recent additions, will not load on my Roku device. I've tried on my laptop as well and nothing seems to make it work, tried messing around with the fallback settings as well.. Here's my log, hope this helps you.
com.plexapp.plugins.kissnetwork.zip

@Atilla54
Copy link

@Twoure
All the recent media of Anime / Comic / Drama / Manga is working
NOT WORKING - Cartoon (The Channel is not responding)

I followed all the steps you have listed up there here is my cache
KissNetwork_cache_20171014-221012.zip

I hope I did everything right ;)

@IJ08
Copy link

IJ08 commented Oct 15, 2017

@Atilla54 how are you able to make it work? It isn't working for me anymore. None of the media. Are you using windows as the plex server?

@SiddhantArya
Copy link

I am also on the Mac and haven't been able to get the media (mostly anime) to play. The most recent ones play sometimes, but I just can't get the others/older ones to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests