-
Couldn't load subscription status.
- Fork 5.8k
Closed
Labels
bugSomething isn't working correctlySomething isn't working correctlyclirelated to cli/ dirrelated to cli/ dirtlsIssues related to TLS implementationIssues related to TLS implementation
Description
For some reason doing a GET on https://copernicus.discomap.eea.europa.eu/arcgis/rest/services/Corine/CLC2018_WM/MapServer/0?f=json
crashes Deno with:
error: Uncaught Http: error sending request for url (https://copernicus.discomap.eea.europa.eu/arcgis/rest/services/Corine/CLC2018_WM/MapServer/0?f=json):
error trying to connect: tls handshake eof
Works fine with curl and client side JS. Something wrong with SSL management in Deno? Calling on HTTP doesn't work either since Deno upgrades to HTTPS.
Steps to reproduce
Source:
const layerInfoURL = 'https://copernicus.discomap.eea.europa.eu/arcgis/rest/services/Corine/CLC2018_WM/MapServer/0?f=json';
const json = await fetch(layerInfoURL).then(r => r.json());
console.log(json);
or
deno run --allow-net https://deno.land/x/gh:enjikaka:terrain-server/poor_api.ts
Version
deno 1.1.1
v8 8.5.104
typescript 3.9.2
macOS 10.15.5 (19F101)
also fails in docker on hayd/alpine-deno:1.1.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't working correctlySomething isn't working correctlyclirelated to cli/ dirrelated to cli/ dirtlsIssues related to TLS implementationIssues related to TLS implementation