jarnedemeulemeester / findroid

Third-party native Jellyfin Android app
GNU General Public License v3.0
2.67k stars 167 forks source link

Invalid Http status error in homepage. #747

Closed Sarin-jacob closed 2 months ago

Sarin-jacob commented 6 months ago

Describe the bug When home, favorite, search tabs are opened it shows error. But media tab is accessible, and can play content by navigating from media tab. The jellyfin web is working as it is supposed to, official app is working too. Error:

Invalid HTTP status in response: 500
 G5.c: Invalid HTTP status in response: 500
    at F5.g.d(Unknown Source:517)
    at F5.f.q(Unknown Source:17)
    at C4.a.l(Unknown Source:8)
    at Y4.N.run(Unknown Source:112)
    at m.j.run(Unknown Source:12)
    at e5.m.run(Unknown Source:2)
    at e5.a.run(Unknown Source:97)

To Reproduce Steps to reproduce the behavior:

  1. Open findroid app (homepage)
  2. See error
  3. Go to search and enter
  4. See error
  5. Go to media tab
  6. App works without any error

Expected behavior Homepage can be seen

Screenshots Screenshot_2024-05-10-21-01-01-974_dev.jdtech.jellyfin.png

Screenshot_2024-05-10-21-00-39-693_dev.jdtech.jellyfin.png

Screenshot_2024-05-10-21-01-53-876_dev.jdtech.jellyfin.png

Device info:

Not sure if its problem of jellyfin, but had restarted the jellyfin container and the when checked jellyfin logs I found some errors, don't know if its related.

MarkusTieger commented 6 months ago

Does it work with the browser? At least for me, it seems like it is an issue with your jellyfin server.

Sarin-jacob commented 6 months ago

Yes it worked in browser, bt my jellyfin instance had some issues. The library database was corrupted, n there were issue with scanning and displaying images in one section of the home page.

I had a earlier backup which had the same corrupted library. Bt findroid showed the home screen properly.

So it might have been some other issue of my jellyfin instance that caused the issue. But somehow the official app and in the browser, the homepage was shown properly, search functional.

leekleak commented 6 months ago

Well http error 500 means "Internal Server Error" so It's probably not findroid's fault.

Sarin-jacob commented 6 months ago

Should I close the issue? It seems to be caused by a unique state of corrupted library. The chance of this occurring to someone else dosent seem to be much. Even though Im curious about why it reacted like that, its better to put in energy making this awesome app even better.

If someone else is curious I can put the corrupted library.db file somewhere. (Is there any security issue I should be know, before putting the library.db file in public? )

Thank you @MarkusTieger @leekleak for helping me. :)

Sidenote: Is it possible to add lazyloading to findroid? I will go through issues, n feature requests to see any are there, else I will create one.

jarnedemeulemeester commented 2 months ago

Closing since the issue seems to have been a corrupt library database on the Jellyfin server.