jeppevinkel / jellyfin-tizen-builds

The purpose of this repository is to automatically build the most up-to-date version of jellyfin-tizen.
547 stars 32 forks source link

failed to construct 'Headers' #36

Closed hossihub closed 4 months ago

hossihub commented 4 months ago

Tried installing the https://github.com/jeppevinkel/jellyfin-tizen-builds/releases/download/2024-05-12-1523/Jellyfin-master.wgt. but get an error about "failed to construct headers" when opening the app on the TV.

jeppevinkel commented 4 months ago

I'm trying out a slightly different build config to see if that works, but I would hold off a bit on using 10.9.0 until there have been some updates to the official jellyfin-tizen repository.

I haven't personally upgraded my main server to 10.9.0 yes since I'm expected some kinks for the first release version.

hossihub commented 4 months ago

Can I find download url for the 10.8 version? Seem to get the new one each time

jeppevinkel commented 4 months ago

This one should work for 10.8 https://github.com/jeppevinkel/jellyfin-tizen-builds/releases/tag/2024-05-04-1137

hossihub commented 4 months ago

Here’s the error from the app on the latest (10.9)version:

rror:%20Failed%20to%20construct%20'Headers'%3A%20No%20matching%20constructor%20signature.%20e%20(file%3A///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:22761)%0Aoader%20(file:///www/15434.028f60b4fcaf765c61da.chunk.js:1:5812)%0Av%20(file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:51494)%0Afile:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:52270%0Ad%20(file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:730)%0AGenerator.%20%E2%80%B9anonymous%3E%20(file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:2072)%0AGenerator.next%20(file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:1159)%0Ato%20(file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:6633)%0At%20u%20(file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:6836)%0Ait%20file:///www/node_modules.@remix-run.router.33c9ecbab57840d1d963.chunk.js:2:6895

hossihub commented 4 months ago

I get the same issue if I try to use the browser (Samsung 2018 The Frame) and connect .

jeppevinkel commented 4 months ago

This is probably an issue upstream that I can't fix in my build pipeline since I'm not touching any of the actual code. I'd like to follow this issue and see if a resolution is found. https://github.com/jellyfin/jellyfin-tizen/issues/258.

I have tried it with both 10.8.13 and 10.9.1 on my TV. It can't show either of them, which leads me to believe there's an issue with either jellyfin-web or with jellyfin-tizen.

burci commented 4 months ago

I only head a time on the top right corner, not even a login, but downgraded tohttps://github.com/jeppevinkel/jellyfin-tizen-builds/releases/download/2024-05-04-1137/Jellyfin.wgt and now it works again even with 10.9.1 server version.

kslenker commented 4 months ago

I found same issue but also found this -- https://github.com/remix-run/react-router/pull/11148

From the above link --- it is due to some react-router code. Turns out, this is due to a bug in Samsung's JavaScript implementation. new Headers(undefined) should be a valid constructor, but running this on Samsung, this errors.

Thus, like in other projects I've seen, I've implemented the fix of running the constructor with an empty object (new Headers({})) instead of undefined or null (new Headers(undefined)). ---- end

cheat2win commented 4 months ago

The 2024-05-20 16:47 PreRelease Version fixes this issue, at least for me.

Thank you @jeppevinkel

hossihub commented 4 months ago

same here! thanx for help :)

jeppevinkel commented 4 months ago

Great that it worked out. I'll close this issue now then. In the mean time, I'll probably have to rethink how I do releases to minimize problems 😄

ilteoood commented 2 months ago

Hi guys, sorry to necropost on this. I've just tried to install version 10.9.8 and it's still happening. Do you have any advice to solve it?