I keep on getting a HTTP protocol violation error on using HTTP GET to post to Weather Underground. I’m running 2.5.4 on a Raspberry Pi. The rule text is as follows
weather = “https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php”
weather = weather + “?ID=X&PASSWORD=X&dateutc=now”
weather = weather + “&humidity=” + humidity + “&tempf=” + tempf + “&dailyrainin=” + RainIn
weather = weather + “&windspeedmph=” + windave + “&winddir=” + winddir + “&solarradiation=” + radiation
weather = weather + “&baromin=” + wupressure +"&action=updateraw"
postresult = sendHttpGetRequest(weather)
postUpdate(Weather_Upload, postresult)
I get the following error. It repeats every 5 minutes for each upload. Weather Underground reports a ‘success’ for the GET request.
2020-08-30 14:20:00.591 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
2020-08-30 14:20:18.149 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
2020-08-30 14:20:37.168 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
2020-08-30 14:20:47.151 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
2020-08-30 14:20:52.160 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
2020-08-30 14:20:55.156 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
2020-08-30 14:20:57.165 [ERROR] [.smarthome.model.script.actions.HTTP] - Fatal transport error: java.util.concurrent.ExecutionException: org.eclipse.jetty.client.HttpResponseException: HTTP protocol violation: Authentication challenge without WWW-Authenticate header
Does anyone have any idea how to stop the error?