-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 support #35
Comments
Hello, Can you try the following version? |
Hello Logs 2021-05-25 18:15:19.307 T:6932 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- |
Ah thank you .. this should be easy to fix .. will let you know when the new version is available |
Thanks |
Hi mate |
plugin.video.kodiconnect-0.3.1.zip It should fix the above problem .. but there still might be other issues .. please let me know if you have some other error thrown |
Thanks for the response I installed it on a fresh new Kodi installation. I have only one error now in the log related to this plugin.video.kodiconnect 2021-05-29 13:09:36.930 T:2568 INFO : CPythonInvoker(6, C:\Users\M-C\AppData\Roaming\Kodi\addons\plugin.video.kodiconnect\service.py): script successfully run I restarted the Kodi at start pop up appears as usual "Kodi Connect Connected" but after few minute another pop up comes saying it is disconnected . Same goes on webpage at Kodi startup the Connected is "Yes" but as the pop up appears in Kodi it goes to "No" |
I also tested the older version on my Kodi Leia which is installed on a Mac, it is working fine as expected so setup to the Skill is correct. I guess there is something to be done in addon |
Hello |
@BUGBEAR7 |
Sure , I will send it today |
Any progress on this? Or do you still need a full log file tkislan? In which case I can try to provide one. |
So I've attached a logfile. At first it says connected and then I try to give a command to watch a movie. In this case the father. Alexa replies with getting the father from kodi. Nothing happens however. At this point it states that kodi connect is still connected. Manually starting a movie and trying 'alexa, pause' doesn't do anything either. A few minutes later however kodi connect is no longer connected and in the log file it says connection closed as seen here: |
Not to rush you but have you found the time to take a look? I would really love to get this working as it seems great :) |
Yes, thank you ... I did take a look at the logs, but nothing irregular there .. no error at all .. so that's why it's taking longer |
Alright thanks for trying to figure it out |
Also waiting for a fix. This addon is the only reason that I an not upgrading to matrix. |
Hello tkislan, Any update on the status of the addon? First off thank you for this addon I have been using it for a long time now and love it, unfortunately I needed to upgrade all my kodi instances to 19 as well and was extremely sad when I found out they changed the python and kodi-connect stopped working, so THANK YOU for this add-on and taking the time to create and update it. I am very pleased to see you are getting it ready for 19. I tried the install the zip you linked early in this post. As the others stated it connects initially but after a minute it just disconnects with no error. I ran it with logging turned on but not a single error coming from kodi-connect. But like I said not a single error. I am not sure if this helps, but again thank you for the work you have done on this addon and I can not wait until the day you get it working with 19. |
Hello tkislan Sorry to bother you agin but is there any update on this ? We are waiting for this Thanks |
I apologise, that I've still haven't been able to get to this .. but I do have it in my TODO list, as I also plan to upgrade my device to Kodi 19 aswell |
Have you upgraded your device yet? |
plugin.video.kodiconnect-0.3.3.zip Can you please try this version? It is working on my Kodi box, but just want to confirm, that it works for others as well |
Works just fine! Thank you for the effort!
|
Major problem. I have 2 Kodi platforms, 1 is a kodi box running Coreelec and the second is an intel NUC running Libreelec. both are running Kodi Matrix and both are registered at the connect site. The new 3.3 version runs well on the Coreelec box, but I get an error the second that I start it on the Libreelec box. Can you please look into this? |
@Motisu |
sure. here it is |
@Motisu |
sorry,but it didnt work. I uninstalled the old version and installed the new one. same problem. Here is an upload of the relavant part of the log |
@Motisu I'm fairly confident, that this version should fix it |
@captainfearless |
Yes i read that, but didn’t know what an SSL certificate was! What’s my best plan of attack?, start from scratch? |
Looks like it's client has the old let's encrypt cert.
I think it's all in a transitioning state, python3 in Kodi is not mature enough, libreelec has old python ecc.
…________________________________
From: captainfearless ***@***.***>
Sent: Thursday, January 6, 2022 2:37:57 PM
To: kodi-connect/kodi-connect-addon ***@***.***>
Cc: Luca Piccirillo ***@***.***>; Mention ***@***.***>
Subject: Re: [kodi-connect/kodi-connect-addon] Python 3 support (#35)
Yes i read that, but didn’t know what an SSL certificate was!
What’s my best plan of attack?, start from scratch?
—
Reply to this email directly, view it on GitHub<#35 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACCRPNTGON7RGHKM5BM6GPTUUWLLLANCNFSM45PEWHGQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
So what should i do boys?, leave it installed and keep trying? I‘ve been waiting for the return of my number 1 add on, and now it’s back i can’t use it! |
@captainfearless Sorry, but I actually don't know Windows platform that well, to be able to solve this issue |
Thanks for clarifying Tomas, and for responding as always. I didn’t realise the SSL issue was a local one! I will google and resolve that way.
Paul Constance
… On 8 Jan 2022, at 08:38, Tomas Kislan ***@***.***> wrote:
@captainfearless Sorry, but I actually don't know Windows platform that well, to be able to solve this issue
It seems like it has outdated certificates installed? Because I'm using Letsencrypt as SSL certificate provider, which is pretty standard
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
@tkislan I think @captainfearless is not using Windows otherwise it's CA certs would have been updated. I guess it is using an old kodi box/distro (either Linux or Android) which has not been updated with new CA certs. CA cert of Let's Encrypt is expired a few months ago, old boxes without the new CA would not connect anymore to Let's Encrypt HTTPS websites. Once again I confirm this add-on now works fine on Windows (UWP Kodi version 19.3) |
Hi, just to confirm, i am running kodi on a PC with Windows 10, i am just 1 update behind, which is installing now. |
Log is the same after updating, also manually imported a new certificate earlier. |
Over on the Kodi forums i received this explanation. your target server https://138.68.100.216 is using a self-signed certificate, which is unknown to kodi. I'm confused by all of this, all i did was install a new version of Kodi Connect on a previously working set up. Is the target server my home PC? If so how can i ''use a proper DNS name and valid certificate'' |
Another great explanation, but i don’t know in laymans terms what to do! |
@captainfearless The thing is, that the code is connecting to http://kodiconnect.kislan.sk .. and not through the IP address |
Well i updated my Python package which didn’t fix it. It’s one of those things where some random update will fix it, so i’ll keep reinstalling. |
I'm not sure they correctly troubleshot this. I mean. that IP is the correct IP address of kodi-connect services, but when you contact that IP with correct hostname it responds with a valid certificate and no error is givem. It is correct for that IP to respond with such invalid self-signed cert when you reach it without using the kodi-connect hostname. So, why your kodi is using https://IP and not https://kodiconnect.kislan.sk/ ? I'm under windows too and its working fine here so this is a bit strange at least. Maybe you could try from another windows box? Otherwise, their troubleshooting is wrong and the issue is about the other proper let's encrypt cert as I previously guessed. |
I do appreciate your interest Luke. I’m baffled, i wonder if there is a way of forcing it to connect to https://kodiconnect.kislan.sk/? I was also wondering if my VPN could be the cause? |
Ok, it is definitely worth to try without the VPN. Also if you link us the Kodi forum where you asked for help I would be interested in reading it. |
https://forum.kodi.tv/showthread.php?tid=366429 I will try again without the VPN. |
Still failed. Also when Kodi Connect is installed, Kodi hangs on exiting. |
I confirm the troubleshoot done on kodi forums is likely wrong. The ssl error clearly states the cert is expired which has nothing to do with self-signing. As additional proof of what I'm saying, that self-signed cert is not expired. The user on kodi forum has been fooled by that misleading error message where the pure IP is shown. Try visiting https://kodiconnect.kislan.sk/ from your PC, using different browsers and see if any of them gives you certificate errors. Make sure you have no expired certs in their respective cert stores. If none of them give errors and you have no expired CA certs installed, then Kodi (or the Python interpreter) is using its own CA store and there is no valid CA for letsencrypt in there. Try using Kodi UWP (Windows Store) if you didn't so far. |
Update! My PC died, so i had to reset it, and now KC is working perfectly. |
Hi Tkislan, |
@Motisu |
Well, thanks for trying. I am managing without it now on my main box but it runs very well on my bedroom TV. I guess a 1/2 is better than none, and I wish you good luck in solving the bug. I'll still be waiting patiently. :-) |
I get the same/very simmilar error as @Motisu on Kodi 19.4 running LibreELEC 10.0.2 on Rasberry Pi 4B. Log file: https://paste.kodi.tv/aqukugonov.kodi
|
Hi @tkislan, Firstly thank you for this great add-on and also for the time and effort you have put into this. Anyway, if you can please look into it further, it would be much appreciated. Here's a link to the issue i found: https://stackoverflow.com/questions/51038793/error-happen-python3-6-while-using-tornado-in-multi-threading and also my debug log from kodi: |
Is this up and running yet ?? Great app by the way 👏 |
I had success asking GPT4 to fix the addon, give this a try ya’ll - it worked for me on Kodi v21 omega. plugin.video.kodiconnect-0.3.6-fixed.zip Update - once the skill was connected after I updated with my zip in kodi I have full control w/alexa again. I hope it works for you too. Changelog for
|
I can now connect but no commands work from Alexa |
Has anyone currently got this working? |
I haven't yet |
Hello
I have been using this addon for last 1 year in my Kodi Krypton , but recently have to update the Kodi because few addon now does not support in old Kodi build.
Recently updated to Kodi Matrix as we all it does not support old python so I was wondering will there be any update for this addon
Thanks
The text was updated successfully, but these errors were encountered: