-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Description:
Since updating to RC1, the Pi-hole binding fails to communicate with the Pi-hole server. Attempting any operation triggers a COMMUNICATION_ERROR. The error appears to be related to HTTP authentication handling.
Steps to Reproduce:
Update the openhab to RC1.
Attempt to use any functionality that communicates with the Pi-hole server (e.g., fetching stats or toggling blocking).
Expected Behavior:
The binding should successfully communicate with the Pi-hole server and return the expected data or perform the requested action.
Actual Behavior:
Communication fails with the following error
COMMUNICATION_ERROR
Exception while sending request to Pi-hole. org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
Additional Information:
This issue did not occur in previous versions before RC1.
The error suggests that the binding is receiving an authentication challenge from the Pi-hole server without the proper WWW-Authenticate header, which violates HTTP protocol expectations.
Pi-hole version:
Binding version: RC1
###Possible Workarounds:
None identified so far.