Re: HTTPRequest Error: Unable to read status
By: Codefenix to All on Tue Aug 05 2025 04:33 pm
> 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
Does it work if you using HTTP instead of HTTPS?
--
digital man (rob)
Steven Wright quote #33:
Everyone has a photographic memory; some just don't have film.
Norco, CA WX: 87.7°F, 41.0% humidity, 14 mph WSW wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
|