I've been trying to understand why this API call to Open-Meteo fails with
HTTPRequest, even though the same URL succeeds in a browser window as well as
curl'ing from the command prompt.
load("http.js");
const url =
"https://geocoding-api.open-meteo.com/v1/search?name=Canton&format=json";
const req = new HTTPRequest();
var response = req.Get(url);
Result:
!JavaScript http.js line 147: Error: Unable to read status
And this gets logged to the Terminal Server:
TLS ERROR 'Received TLS alert message: Internal error' (-15) setting attribute
6001
TLS ERROR 'Received TLS alert message: Internal error' (-15) setting session
active
|15 ■ ∙ · codefenix · ∙ · ConstructiveChaos BBS · · ∙ ■ ■
|08 ■ ■ ∙ (https/telnet/ssh)://conchaos.synchro.net · ∙ ■
|07
---
■ Synchronet ■ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-
|