[quote=“reneboer, post:25, topic:198939”][quote=“RHCPNG, post:24, topic:198939”][quote=“reneboer, post:23, topic:198939”]Hi RHCPNG,
I truly do not understand why it returns closed. Maybe it is a timeout issue? In the ATLUI Lua test window can you try:
print(luup.inet.wget(“https://pvoutput.org/service/r2/getstatus.jsp?key=&sid=58416”))
and
print(luup.inet.wget(“https://pvoutput.org/service/r2/getstatus.jsp?key=&sid=58416”),20)
to see if there is a difference?
Cheers Rene[/quote]
The first URL gives me:
Return result: Nil
Console output: Closed Closed
The second URL:
Return result: Nil
Console output: Closed 20[/quote]
I am truly at a loss here. What system do you use for openLuup? I have a PI running the latest Jessy and I must say I have LUA Sec version 0.7 for some other application. Standard Pi has LUA Sec 0.4 or 0.5 I think.
Maybe you can try to use http instead of https?
Cheers Rene[/quote]
I don’t run it on Pi, but have the Vbox VM running.
I’ve run the HTTP URL instead of HTTPS and then the result looks promising:
Return result: Nil
Console output: 0 20180424,12:10,3100,1073,NaN,NaN,0.289,40.2,397.1 200
Is this what you expect? Any idea why the HTTPS wouldn’t work? I haven’t got a clue.