24.04.2019, 06:47
This is probably caused by yr.no weather script. You need to modify it to use tlsv1.2 for secure communication.
Code:
url = 'PUT_XML_URL_HERE'
data = {}
res, err = require('ssl.https').request({
method = 'GET',
url = url,
protocol = 'tlsv12',
sink = require('ltn12').sink.table(data)
})
if res then
data = table.concat(data)
else
alert('Fetch failed: ' .. tostring(err))
end