• 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 Support Troubleshooting Networking & Access SOLVED: Problem Connecting when Accessing JF from Kodi-Client

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Problem Connecting when Accessing JF from Kodi-Client

    Neom
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #1
    2023-11-18, 12:03 PM
    Hi guys,

    thank you for reading this:

    After setting up JF on my server everything was fine. I could access JF from several browsers and the official Ubuntu-App (all in home-network) and could play music everywhere.

    After that i tried to setup Kodi 19 as a streaming client on my home-PC. So far i have

    - Kody Sync Queue up and running on JF-server
    - external access on JF-server enabled / no particular IP set (field is open)
    - ufw on server disabled
    - downloaded/added JF-repository as .zip-file following the description under www.jellyfin.org/docs (Kodi/Client)
    - added Jellycon-addon from repository on Kodi and setting up correct IP and user (no password for user set on JF yet)

    Auto-detect doesn't work (no server found). I tried input of server-IP with (:8096/:8097) and without port number but nothing works. Jellycon addon doesn't connect to server but giving me standard Kodi error message instead to have a look at the logfile (see attached file).

    Any ideas on how to fix that?


    Attached Files
    .txt   kodi-log-11-18-23.txt (Size: 55.41 KB / Downloads: 92)
    Server: Intel Celeron J4125, 8GB RAM, 1TB SSD, running Dietpi-OS (Debian/Bookworm-based)
    Home-PC: Lenovo Ideacentre, i5-7400, 32GB RAM, 256 GB SSD, Kubuntu 18.04
    Notebook: Lenovo T460s, 8GB RAM, 256GB SSD, Kubuntu 22.04
    Go to solution
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #2
    2023-11-18, 02:22 PM
    I believe autodiscovery isn't working because you don't have the server set up properly. This log message:

    > requests.exceptions.MissingSchema: Invalid URL '192.168.178.45/QuickConnect/Initiate': No scheme supplied. Perhaps you meant https://192.168.178.45/QuickConnect/Initiate?

    generally indicates that you've received the connection URL from the server via autodiscovery, but only received the IP address. This needs to have a schema (http:// or https://), and port (if you're not using 80/443). So the server is providing incomplete data that the client doesn't know how to handle.
    1
    Neom
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #3
    2023-11-18, 03:53 PM (This post was last modified: 2023-11-18, 04:04 PM by Neom. Edited 2 times in total.)
    Thank you very much. I understand this is a problem which i should focus on later as i want my devices be able to find server automatically.

    Meanwhile i have solved my problems with connecting to server. My mistake was not adding the protocol (http://) and the right portnumber (:8097) to the IP-Adresss.

    After it i was asked to input my credentials and Jellycon asked me if it should be doing a connection speed test. I clicked yes and that test also failed. Adding my music library is still not possible.

    (Don't know if we can still discuss these follow-up problems in this thread or if i should open a new one).


    Attached Files Thumbnail(s)
       
    Server: Intel Celeron J4125, 8GB RAM, 1TB SSD, running Dietpi-OS (Debian/Bookworm-based)
    Home-PC: Lenovo Ideacentre, i5-7400, 32GB RAM, 256 GB SSD, Kubuntu 18.04
    Notebook: Lenovo T460s, 8GB RAM, 256GB SSD, Kubuntu 22.04
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #4
    2023-11-18, 04:21 PM
    This same thread is fine. I don't recall seeing that particular error in the past and I can't replicate it right now on any of my systems. First guess would be have you restarted Kodi since getting logged in? It shouldn't be necessary, but if you had failed connection attempts already maybe something funny got cached. If that doesn't work we may need to delete the user auth file entirely and give it a fresh start.
    Neom
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #5
    2023-11-18, 04:38 PM (This post was last modified: 2023-11-18, 10:27 PM by Neom. Edited 2 times in total.)
    I tried both: First connection speed test was done automatically by Jellycon addon after the right connection data was added.

    Then i restarted Kodi and repeated the process in the Jellycon addon to see if connection speed test was working after restart. The result was the same in both cases (like shown in the screenshot).

    Ok, checking cache first or deleting user auth file right away?
    Server: Intel Celeron J4125, 8GB RAM, 1TB SSD, running Dietpi-OS (Debian/Bookworm-based)
    Home-PC: Lenovo Ideacentre, i5-7400, 32GB RAM, 256 GB SSD, Kubuntu 18.04
    Notebook: Lenovo T460s, 8GB RAM, 256GB SSD, Kubuntu 22.04
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #6
    2023-11-18, 06:31 PM
    Restarting Kodi should have cleared the cache. So we'll try deleting the app's data and start fresh. Assuming Windows, it should be at "C:\Users\<YourUsername>\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.jellycon". If not Windows, you can find the relevant path here: https://kodi.wiki/view/Kodi_data_folder. At a minimum you should delete the 'auth.json' file, however if you wanna be real thorough you can delete the entire jellycon folder there.
    1
    Neom
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #7
    2023-11-18, 11:18 PM (This post was last modified: 2023-11-18, 11:19 PM by Neom. Edited 1 time in total.)
    First, thank you for your patience and your help.

    I looked for auth.json but didn't find any. Manual search in /home/[USER]/.kodi, searching by file managers search function. Kodi data folder first, home folder second and root folder at last. No auth.json on my system.

    But i have two Jellycon folders. One is /home/[USER]/.kodi/addons/plugin.video.jellycon/, second one is /home/[USER]/.kodi/userdata/addon_data/plugin.video.jellycon/.

    Delete a particular one or both?
    Server: Intel Celeron J4125, 8GB RAM, 1TB SSD, running Dietpi-OS (Debian/Bookworm-based)
    Home-PC: Lenovo Ideacentre, i5-7400, 32GB RAM, 256 GB SSD, Kubuntu 18.04
    Notebook: Lenovo T460s, 8GB RAM, 256GB SSD, Kubuntu 22.04
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #8
    2023-11-18, 11:43 PM
    addons/plugin.video.jellycon is the actual addon

    userdata/addon_data/plugin.video.jellycon is the addon's settings
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #9
    2023-11-19, 01:11 AM
    If there's no auth.json file, that would certainly explain why you're getting unauthorized when trying to make api requests, but I can't imagine how it could've gotten into this state. tmsrxzar is correct, you'll want to delete userdata/addon_data/plugin.video.jellycon. Probably best to have kodi turned off when you do so, and the next time you start it the install wizard should start again.
    Neom
    Offline

    Junior Member

    Posts: 10
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    Country:Germany
    #10
    2023-11-19, 01:48 AM
    Deleting the userdata/jellycon folder helped at least enough to complete the connection speed test. Auth.json is now in the userdata/jellycon folder. Now i try to add my music folder (see picture) but Kodi says it cannot find it.


    Attached Files Thumbnail(s)
       
    Server: Intel Celeron J4125, 8GB RAM, 1TB SSD, running Dietpi-OS (Debian/Bookworm-based)
    Home-PC: Lenovo Ideacentre, i5-7400, 32GB RAM, 256 GB SSD, Kubuntu 18.04
    Notebook: Lenovo T460s, 8GB RAM, 256GB SSD, Kubuntu 22.04
    Pages (2): 1 2 Next »

    « 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