Closed coeing closed 3 years ago
Yes, indeed. When the server responsed with HTTP-Statuscode 503 Service Unavailable we should not return true
in isAccessPossible()
.
In this case of a failed response and in case of a HTTP error code isAccessPossible()
has to return false
.
Yes, indeed. When the server responsed with HTTP-Statuscode 503 Service Unavailable we should return
true
inisAccessPossible ()
should or should not? :)
" should not " - I updated me comment
@GerdZanker I think this should go into 1.1 or should I prepare the pull request for openHAB already?
Yes, I also want a fix in 1.1 and provide code + PR during this week (at least that's my plan).
Do you @coeing already want to build a "1.1 Beta 1" version for testing?
@GerdZanker Sounds good, hope nothing gets in your way ;) The test version for #74 had almost everything in it that the pull request had, so I'd like to wait for the version to be complete before asking our users to test it.
I had this case while testing the fix for #74
The logs show it pretty good:
What we should do in my opinion is to check the return code of the response as well.