• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Development Web Development Runtime errors when naviagting to homepage

     
    • 0 Vote(s) - 0 Average

    Runtime errors when naviagting to homepage

    Dzvon2
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-04-06, 07:03 PM
    I was looking at potentially contributing to Jellyfin in the near future but I ran into issues getting a local serve spun up. Whenever I navigate to the homepage of my server I get uncaught runtime errors and from the console I get the stack trace below (note I removed any potential PII, but marked places where I removed such things). None of my libraries appear either which makes it pretty hard to see the changes I make. I know testing for 10.9 is well underway, so is this a bug or some additional feature coming in 10.9 I am not aware of?

    Code:
    {
      "stack": "AxiosError@webpack-internal:///../node_modules/axios/lib/core/AxiosError.js:38:18\nsettle@webpack-internal:///../node_modules/axios/lib/core/settle.js:24:12\nonloadend@webpack-internal:///../node_modules/axios/lib/adapters/xhr.js:159:67\n",
      "message": "Request failed with status code 404",
      "name": "AxiosError",
      "code": "ERR_BAD_REQUEST",
      "config": {
        "transitional": {
          "silentJSONParsing": true,
          "forcedJSONParsing": true,
          "clarifyTimeoutError": false
        },
        "adapter": [
          "xhr",
          "http"
        ],
        "transformRequest": [
          null
        ],
        "transformResponse": [
          null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
          "Accept": "application/json, text/plain, */*",
          "Content-Type": null,
          "Authorization": "MediaBrowser Client=\"Jellyfin%20Web\", Device=\"Firefox\", DeviceId=\"<my-device-id>\", Version=\"10.9.0\", Token=\"<token-here>\""
        },
        "method": "get",
        "signal": {},
        "url": "<localHost IP>/UserViews?userId=<my-user-id>"
      },
      "request": {},
      "response": {
        "data": "",
        "status": 404,
        "statusText": "Not Found",
        "headers": {
          "content-length": "0"
        },
        "config": {
          "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
          },
          "adapter": [
            "xhr",
            "http"
          ],
          "transformRequest": [
            null
          ],
          "transformResponse": [
            null
          ],
          "timeout": 0,
          "xsrfCookieName": "XSRF-TOKEN",
          "xsrfHeaderName": "X-XSRF-TOKEN",
          "maxContentLength": -1,
          "maxBodyLength": -1,
          "env": {},
          "headers": {
            "Accept": "application/json, text/plain, */*",
            "Content-Type": null,
            "Authorization": "MediaBrowser Client=\"Jellyfin%20Web\", Device=\"Firefox\", DeviceId=\"<device-id-here>\", Version=\"10.9.0\", Token=\"<token-here>\""
          },
          "method": "get",
          "signal": {},
          "url": "<localHost IP>/UserViews?userId=<user-id-here>"
        },
        "request": {}
      }
    }
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-06, 07:13 PM
    What OS and which install method?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    niels
    Offline

    Core Team

    Posts: 248
    Threads: 4
    Joined: 2023 Jun
    Reputation: 12
    Country:Netherlands
    #3
    2024-04-06, 07:27 PM (This post was last modified: 2024-04-06, 07:28 PM by niels. Edited 1 time in total.)
    Make sure to use a 10.9 server. The master branch of the web client is not compatible with 10.8 servers
    We've added new routes in our API to remove the need for a user id in the path, these routes are not available in 10.8 causing the 404 response.
    Dzvon2
    Offline

    Junior Member

    Posts: 20
    Threads: 8
    Joined: 2024 Apr
    Reputation: 0
    #4
    2024-04-06, 07:48 PM
    (2024-04-06, 07:27 PM)niels Wrote: Make sure to use a 10.9 server. The master branch of the web client is not compatible with 10.8 servers
    We've added new routes in our API to remove the need for a user id in the path, these routes are not available in 10.8 causing the 404 response.


    Oh this is the issue. I had the 10.9 interface but my server is on 10.8.13. Thanks for the help
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode