Jellyfin Forum
SOLVED: Problem Connecting when Accessing JF from Kodi-Client - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: SOLVED: Problem Connecting when Accessing JF from Kodi-Client (/t-solved-problem-connecting-when-accessing-jf-from-kodi-client)

Pages: 1 2


Problem Connecting when Accessing JF from Kodi-Client - Neom - 2023-11-18

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?


RE: Problem Connecting when Accessing JF from Kodi-Client - mcarlton00 - 2023-11-18

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.


RE: Problem Connecting when Accessing JF from Kodi-Client - Neom - 2023-11-18

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).


RE: Problem Connecting when Accessing JF from Kodi-Client - mcarlton00 - 2023-11-18

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.


RE: Problem Connecting when Accessing JF from Kodi-Client - Neom - 2023-11-18

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?


RE: Problem Connecting when Accessing JF from Kodi-Client - mcarlton00 - 2023-11-18

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.


RE: Problem Connecting when Accessing JF from Kodi-Client - Neom - 2023-11-18

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?


RE: Problem Connecting when Accessing JF from Kodi-Client - tmsrxzar - 2023-11-18

addons/plugin.video.jellycon is the actual addon

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


RE: Problem Connecting when Accessing JF from Kodi-Client - mcarlton00 - 2023-11-19

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.


RE: Problem Connecting when Accessing JF from Kodi-Client - Neom - 2023-11-19

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.