Logic Machine Forum
help with ssl.https - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: help with ssl.https (/showthread.php?tid=4016)



help with ssl.https - jose_dli - 25.04.2022

Hello,

I need some help with ssl.https. Friday I change my ISP and now the scripts that we have with ssl.https (API to solcast, esios.ree.es, tomorrow.io...) don't  work.

I tried the url directly on a Internet browser, and it works. But not from SpaceLynk. I get the response: "Try again"

Code:
   res, err = ssl.https.request(url)
   log (res, err)

Code:
  solcast 25.04.2022 17:07:39
* arg: 1
  * nil
* arg: 2
  * string: Try again



I don't think the new router or new ISP have anything to do with it, as the requests are resolved without any problem from a PC browser.

But after going round and round I'm lost, and I don't understand why all the requests have stopped responding.
 
Any ideas would be welcome

Thanks, and kind regards



I answer myself, the problem was DNS provider,

changing in SpaceLynk with the google 8.8.8.8, works. But not with my gateway (192.168.x.1) thats have Movistar DNS 80.58.61.250.

I'm curious why from a web browser it resolves the DNS with 80.58.61.250 and not from spacelynk. Undecided


RE: help with ssl.https - Daniel - 26.04.2022

Your PC is set to DHCP where SL is static.


RE: help with ssl.https - jose_dli - 26.04.2022

Also PC are static in this network.

I write to my ISP to undertand this trouble. But, I do not hope answer.