06.05.2021, 09:44
You have an outdated firmware that causes this error.
Try requesting like this:
Try requesting like this:
Code:
https = require('ssl.https')
url = 'https://monitoringapi.solaredge.com/site/1234567/overview?api_key=mykey'
resp = {}
res, code, headers = https.request({
url = url,
method = 'GET',
sink = ltn12.sink.table(resp),
protocol = 'tlsv12'
})
resp = table.concat(resp)
log(res, code, resp)