dragonflylee / switchfin

Third-party native Jellyfin client for Nintendo Switch
Apache License 2.0
292 stars 6 forks source link

mbedtls_ssl_handsake returned -0x7280 #74

Open tlover-code opened 1 month ago

tlover-code commented 1 month ago

Describe the bug

Some M3U links have an SSL handshake error, but I tried the video link with NXMP, and it opened normally. image

To reproduce

  1. Go to '...'
  2. Tap on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

No response

Operating system

No response

Jellyfin Server

No response

Additional context

No response

dragonflylee commented 4 weeks ago

try latest nightly which updated mbedtls

tlover-code commented 4 weeks ago

Still not working, this is the m3u file that switchfin cannot open.

#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 01
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-01/d4e446d183bb45353452c45948949fa7-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 02
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_02/80d92e17fb5077d1c24a2149f3a83391_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 03
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-03/4a64955d47b5e4a38756b125545bd352-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 04
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_04/f63a3d2e6e0e7b1515506391dc401fe1_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 05
https://vod07-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-05/3af081d433628054d5c6cd89b1611746-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 06
https://vod02-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_06/c5f7faa7a45e7428a86996a14da637d7_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 07
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-07/1edfc2d1a3b71ccc7d502b9d3eb8ce08-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 08
https://vod02-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_08/84b29286f1b69f4f6fbdd3d7d054ba70_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 09
https://vod05-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-09/1afe1037666a0b64a5ea507083d5f4a9-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 10
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_10/59dc34fe95c1e4be17029dd36ff33432_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 11
https://vod02-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-11/faa0c88c1104ea9832b587cdacc65001-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 12
https://vod03-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_12/94b009b3c1c184fc4120510e05e2843c_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 13
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-13/f11b6b88fcd05dfec3538a0a010e6fe4-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 14
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_14/c53446750f7b6e0922f45dd388a5bb95_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 15
https://vod02-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_15/efca82d5a9d810d7ef4e56a5c20e858f_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 16
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_16/9fbad8f86832fd25c4069fa77accf623_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 17
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_17/d83df23e8159386e5ff4eef0026c7056_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 18
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-18/e2cc3fb2ed8eb40133d8b7f1a26e6a36-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 19
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_19/80806d7ab630fc731b46816248889bee_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 20
https://vod04-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-20/03a41089d7b31c540961312b2d056204-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 21
https://vod03-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_21/520dd832a6062cba3fe0ab4028e8597a_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 22
https://vod05-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-22/f683e7900727756584282adf0aee285d-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 23
https://vod04-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_23/cfdf88a879ce8106891ba1c073a416c1_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 24
https://vod03-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-24/f2976013171468712a620cbbc3e600a1-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 25
https://vod07-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_25/c0c7930ecacce3034923d347aa669ade_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 26
https://vod05-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-26/6ece906f2fab899de55682b1e8086898-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 27
https://vod02-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_27/80a56eb05507894db574b29e1c37b154_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 28
https://vod03-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_28/f41693f87d6a3f55795a5e58a9ceed1c_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 29
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_29/af69ffd76f54409354b85ac0ed91a7a9_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 30
https://vod05-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-30/6fc6b62a8de37e4950ea71f107be8cd8-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 31
https://vod05-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_31/540428d388b7495950269a1957e24df9_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 32
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-32/4787b5424d0605c70a49fe4ea7f29d94-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 33
https://vod04-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_33/d86713621b9371e94e080e53ed8bf467_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 34
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-34/cf0494d472b622ff9dc0c6f8b776e43f-1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 35
https://vod07-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_35/2929f57d1d03fe4c035b9db625fc0a35_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 36
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_36/20d6c9782c46f0506a0865114d0d2652_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 37
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_37/d4eff0bad4541ce4aa683451302b9a33_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 38
https://vod03-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_38/3ab108994e1e1d930ad71ef2f2df527e_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 39
https://vod06-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080_39/3a5913b59bf87a2fbb224c491e54643c_1080p.mp4/chunklist.m3u8?bycoca
#EXTINF:-1 group-title="🇰🇷|™ Hoa Du Ký"  tvg-logo="https://i.ibb.co/7zCwqF5/HDK.jpg",HDK - Tập 40
https://vod01-cdn.fptplay.net/ovod/_definst_/mp4/encoded/20201121/hdkdub1080-40/76529c3fa7cd6bd400b5af532b458191-1080p.mp4/chunklist.m3u8?bycoca
dragonflylee commented 4 weeks ago

@tlover-code try newly build version which use libnx for tls backend

https://nightly.link/dragonflylee/switchfin/actions/runs/11564259846

tlover-code commented 3 weeks ago

Screenshot 2024-10-29 01-39-20

The video still won't load; now it doesn't show 'play error' but gets stuck on loading. Also, there's an issue with switching episodes: it doesn't switch the episode but instead changes the channel's resolution. However, version 0.5.2 works well for this functionality. I have a suggestion: when a 'play error' appears, don’t exit to the main screen but stay on the player screen so the user can select a new episode.

tlover-code commented 3 weeks ago

https://github.com/user-attachments/assets/93975eb8-f0cc-4906-9ced-fdc573067416

Version 0.5.3 has a bug that prevents switching to a different episode.

https://github.com/user-attachments/assets/dae76b2e-4005-48aa-b784-ec13fe05ec6f

Version 0.5.2 works well and is faster than 0.5.3.

dragonflylee commented 3 weeks ago

@tlover-code new build https://nightly.link/dragonflylee/switchfin/actions/runs/11566665996 update mbedtls to 3.6.2 with full support of tls1.2

tlover-code commented 3 weeks ago

Sorry, but it still doesn't work. If possible, even when "play error" appears, it would be good to still allow episode selection because only some links don't work.

dragonflylee commented 3 weeks ago

auto play next episode when "play error" appears maybe a workaround ?

tlover-code commented 3 weeks ago

Yes, that's a good idea, but it's best to let the user choose another episode. Because each episode is a separate movie.

dragonflylee commented 2 weeks ago

@tlover-code add cancel button on play error dialog, you can test with nightly

tlover-code commented 2 weeks ago

There are still some issues. Although I selected 'Cancel,' choosing a different episode doesn’t work. Even though the episode title changes, it doesn’t actually switch. I also noticed another bug in this version: when I select a different channel, it doesn’t switch channels but instead changes the video quality. Additionally, there’s an issue where sometimes I can't use the arrow keys to select an episode and have to rely on the touchscreen.

https://github.com/user-attachments/assets/84b2b61c-739f-441e-a60c-d391656a7566

dragonflylee commented 2 weeks ago

@tlover-code try https://nightly.link/dragonflylee/switchfin/actions/runs/11744958561

tlover-code commented 2 weeks ago

I tried, but it still doesn't work. After the error message appeared, I chose cancel and tried changing the episode, but it didn't work.