-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add retryAfterSeconds/maxRequests - Disable HTTPS from UPnP action calls #128
Conversation
New setting etryAfterSeconds New setting maxRequests to trigger an automatic restart of the router after a certain number of executed requests Get the stack trace in DEBUG or TRACE level Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Disable all UPnP action calls based on HTTPS New setting retryAfterSeconds New setting maxRequests to trigger an automatic restart of the router after a certain number of executed requests Get the stack trace in DEBUG or TRACE level Signed-off-by: morph166955 <rosenblumb@gmail.com>
To be clear up front, I'm only submitting this for the merge, not looking to take credit for the code work. There are still bindings being impacted by some of these issues. I've pulled them all together and submitted one cohesive PR to hopefully resolve these issues. |
As a note, the Travis build failure I believe is unrelated to this PR. I get the same error when I try to compile the master in it's current state. The OGSi Test Common Library fails. The jar is however created successfully before the failure.
|
@kaikreuzer given the impending release of OH3.1.0, would it be possible to merge this in and update/release given that there is still a part of the community that is still having issues that this will help mitigate? |
Without digging further into the changes: Is https forbidden by the UPnP spec? |
Yes, this was a byproduct of errors found in the logs when used with openhab. I'm considering splitting this in half as I'm preparing a second PR to add some options to the threading to resolve other issues that have conflicts with this PR. |
Closing this as I've refactored a bunch of the code and this conflicts with that branch. I will reopen with a new PR from that branch. |
Code written by: lolodomo - Merged together and submitted by morph166955
Disable all UPnP action calls based on HTTPS - Fixed #109
From openhab/openhab-addons#5892
Mentioned in https://community.openhab.org/t/panasonictv-oh3/108124
https://community.openhab.org/t/too-much-time-before-a-sonos-thing-becomes-definitively-online/62214
New setting retryAfterSeconds
New setting maxRequests to trigger an automatic restart of the router after a certain number of executed requests
Get the stack trace in DEBUG or TRACE level
JAR available at https://github.com/morph166955/jupnp/releases/tag/2.6.0
Signed-off-by: morph166955 rosenblumb@gmail.com