Just got my system up and running and I’m getting the same thing (403 forbidden). I’m really hoping that this is an error in my code versus sony knocking that service out. I’ll be testing and trying to figure out - I’ll report back to you
I’m going to need you to PM me the full log if you would - those ‘exceptions’ really aren’t exceptions for you and aren’t the cause of the issue. However - from the exception message you are using an older version of the addon - I’d definitely upgrade to the latest to see if the issue has been fixed alread.
No - there is a separate encryption key for entering text into fields. That message is basically saying there is no public encryption key for the text form on the screen. Usually not an issue since the device probably doesn’t support that
I see what’s going on now - they have changed how both DIAL/IRCC authenticate (it now uses the same scalar authentication method). Yuck - I’ll hopefully have a change for it soon…
Just to give you all an update. This was a fairly messy change - I had to extract all the various authentication methods and make them work for all of the services (including a substantial rewrite of the http protcol in the background). Good new however - all my devices have come back online after the rewrite. I’ll be testing early next week and hope to release a new version at the end of the week.
A few bugs that were also found and quenched:
DIAL now works again with TVs (the old API was being blocked by not having the newer authentication APIs)
Worked around a sony bug that sometimes prevented the DIAL/IRCC from being discovered (basically their is a bug in the sony firmware that returns a malformed http header).
Fixed a few bugs surrounding when IRCC would go online even though it shouldn’t have.
Just an update - had to fly out earlier this week and didn’t have a ton of time to spend on this. I did run into an issue that I still need to solve but should have a new version next week if things go as planned.
Completely reworked the authentication - should enable ircc/dial to work now. Please note that this probably still contains bugs but give it a try and let me know.
Completely rewrote the web port - now available at “ipaddress:port\sony” (where ipaddress:port is where paperui is - likely ‘localhost:8080’). Note that I added a whole type editing tab to this - please don’t use it for now.
Fixed quite a few bugs along the way.
Hopefully @markus7017 can produce a 2.4 version of this (I’ve committed all the changes)…
Just installed it and will report if i find any bugs. I noticed the jar is a whopping 44mb. Most of the other bindings i have in the addons folder are 400-800kb. I don’t care about disk space, just wondering why is it so big?
That’s because I haven’t optimized the build yet so it’s including all sorts of libraries that it shouldn’t be including. The eventual size will still be alot bigger than most addons but it won’t be that large…
Unfortunately i still do not get the binding to start:
2019-07-24 18:32:28.760 [ERROR] [org.openhab.binding.sony ] - FrameworkEvent ERROR - org.openhab.binding.sony
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.sony [267]
Unresolved requirement: Import-Package: com.google.gson; version="[2.8.0,3.0.0)"
at org.eclipse.osgi.container.Module.start(Module.java:444) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1614) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528) ~[?:?]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) ~[?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [?:?]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [?:?]
Any useful hints/guidance? Above it was told to install certain bindings to get the missing modules, but that obviously didn’t work for me…