For some time I have been using a WebView (like the one below) to display the local DarkSky weather forecast in my Sitemap UI. And until about one month ago, it was working perfectly. However of late I am getting a “darksky.net refused to connect” message.
The given URL still works fine in a browser, but it does not work anymore in the Sitemap frame.
I think the problem may have started with the migration from OH 2.5.0 to OH 2.5.2, and I am wondering if the problem is that OH has started sending different HTTP Headers (e.g. User-Agent) in its HTTP GET request, which darksky.net does not accept. => Does anyone know how to tweak the OH HTTP headers so that this will work again?
Webview icon="none" url="https://darksky.net/forecast/12.1234,12.1234/ca12/en" height=53